{"version":3,"file":"OptimizedHeroVideo.CewbAtOI.mjs","names":["addPropertyOverrides","cycleOrder","serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","humanReadableVariantMap","getProps","createLayoutDependency","useRef","React.useId","sharedStyle.className","sharedStyle1.className","Image","className","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useRef","useState","useMemo","useCallback","startTransition","__esmMin","pe","init_npm_react_18_3_1","ne","init_ssg_sandbox_shims","navigator","window","te","x","ie","_e","oe","p","c","J","init_jsx_runtime","ce","de","motion","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","getFontsFromSharedStyle","init_framer_Dt_XqoQa","useComponentViewport","SmartComponentScopedContainer","useVariantState","Link","RichText","useLocaleInfo","getLoadingLazyAtYPosition","getFonts","Image$1","withCSS","RenderTarget","ControlType","useIsStaticRenderer","ComponentViewportProvider","addFonts","cx","addPropertyControls","css$2","className","css$1","fonts$1","className$1","init_UZ214mtRd","fonts","init_Ticker","init_SlideShow","Ticker","Slideshow","init_RestoredGalleryImage","RestoredGalleryImage","addPropertyOverrides$1","variants","nextOverrides","variant","overrides","cycleOrder$1","serializationHash$1","variantClassNames$1","toResponsiveImage","transition1$1","Transition$1","Variants$1","humanReadableVariantMap$1","getProps$1","createLayoutDependency$1","Component","css","FramerjN0eVSnuH","init_jN0eVSnuH","init_Ykf8G4RWS","value","config","transition","contextValue","props","link","galleryImage","text","title","fallbackRef","refBinding","ref","defaultLayoutId","componentViewport","className$2","restProps","layoutDependency","scopingClassNames","layoutId","uT9VUlsrK","gestureHandlers","vW_XgmX7S","classNames","style","baseVariant","gestureVariant","ZZhxzK3ma","ZdCRhfd7T","addPropertyOverrides","RestoredGalleryImageFonts","TickerFonts","SlideshowFonts","cycleOrder","serializationHash","variantClassNames","transition1","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","FramerYZ4jHa1l8","init_YZ4jHa1l8","isDisplayed","isDisplayed1","OptimizedHeroVideo","defaultPosterBase","effectiveMobilePlayback","mobilePlay","mobilePlayback","isStaticRenderer","isCanvas","videoRef","containerRef","timerRef","inView","setInView","tabVisible","setTabVisible","isMobile","setIsMobile","shouldDisableVideo","setShouldDisableVideo","videoSrc","setVideoSrc","isPlaying","setIsPlaying","hasError","setHasError","objectFit","fit","posterSrc","poster","isUsingDefaultPoster","posterSrcSet","clearDeferredLoad","attemptPlay","video","reducedMotionMedia","mobileMedia","updateEnvironment","saveData","mobileMatch","disabledByMobile","disabled","onVisibilityChange","visible","observer","nextInView","entries","entry","source","delay","mobileDelay","desktopDelay","sharedMediaStyle","shouldRenderVideo","init_OptimizedHeroVideo"],"sources":["https:/framerusercontent.com/modules/3LVFgzN7XvkLNts6M78k/xFtMZm2FM1xKRM3eD6db/jN0eVSnuH.js","https:/framerusercontent.com/modules/LskR4E7K1czvAXo4dYvv/qEPrf9n58D93soe3N2XB/YZ4jHa1l8.js","https:/framerusercontent.com/modules/ZHOSWaX0N7WP8gbsho4K/CxqzNGfBXPzJkMSCO7uV/OptimizedHeroVideo.js"],"sourcesContent":["// Generated by Framer (e26a126)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,getLoadingLazyAtYPosition,Image,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/cFXUMBs5tFDWmAwh3Y1S/dzDbO0hTO4KtP9fJsZtI/UZ214mtRd.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/iFPgteZ1PG9oexkbJ0Q3/w1JR27ZkP0QvRDEGLRoQ/Ykf8G4RWS.js\";const cycleOrder=[\"TmqLsX7E7\",\"j_PxZTJFX\"];const serializationHash=\"framer-YW5C7\";const variantClassNames={j_PxZTJFX:\"framer-v-f4bk8v\",TmqLsX7E7:\"framer-v-85pxvc\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Desktop:\"TmqLsX7E7\",Phone:\"j_PxZTJFX\"};const getProps=({galleryImage,height,id,link,text,title,width,...props})=>{return{...props,uT9VUlsrK:link??props.uT9VUlsrK,variant:humanReadableVariantMap[props.variant]??props.variant??\"TmqLsX7E7\",vW_XgmX7S:galleryImage??props.vW_XgmX7S??{alt:\"Gallery Image\",pixelHeight:1400,pixelWidth:1380,src:\"https://framerusercontent.com/images/AE0gjJCsiAYU5CXjUcGThcrbxaA.png?scale-down-to=1024&width=1380&height=1400\",srcSet:\"https://framerusercontent.com/images/AE0gjJCsiAYU5CXjUcGThcrbxaA.png?scale-down-to=1024&width=1380&height=1400 1009w,https://framerusercontent.com/images/AE0gjJCsiAYU5CXjUcGThcrbxaA.png?width=1380&height=1400 1380w\"},ZdCRhfd7T:text??props.ZdCRhfd7T??\"Discover the secrets of the Basque lands\",ZZhxzK3ma:title??props.ZZhxzK3ma??\"Basque Tour\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,vW_XgmX7S,ZZhxzK3ma,ZdCRhfd7T,uT9VUlsrK,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"TmqLsX7E7\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:uT9VUlsrK,motionChild:true,nodeId:\"TmqLsX7E7\",openInNewTab:false,scopeId:\"jN0eVSnuH\",children:/*#__PURE__*/_jsx(Image,{...restProps,...gestureHandlers,as:\"a\",background:{alt:\"Gallery Image\",fit:\"fill\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:1400,pixelWidth:1380,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(vW_XgmX7S)},className:`${cx(scopingClassNames,\"framer-85pxvc\",className,classNames)} framer-rxdt8c`,\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"TmqLsX7E7\",ref:refBinding,style:{borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20,...style},...addPropertyOverrides({j_PxZTJFX:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1sp73uf\",\"data-framer-name\":\"text\",layoutDependency:layoutDependency,layoutId:\"KALBO3336\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h2,{className:\"framer-styles-preset-5idbvm\",\"data-styles-preset\":\"Ykf8G4RWS\",style:{\"--framer-text-color\":\"var(--extracted-1of0zx5, var(--token-7eafa80d-fe34-4055-95ee-a7f355ce92df, rgb(255, 255, 255)))\"},children:\"Basque Tour\"})}),className:\"framer-1j4sy1k\",\"data-framer-name\":\"Signature Design\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"kXLIcbiv9\",style:{\"--extracted-1of0zx5\":\"var(--token-7eafa80d-fe34-4055-95ee-a7f355ce92df, rgb(255, 255, 255))\",\"--framer-paragraph-spacing\":\"0px\"},text:ZZhxzK3ma,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-sey0f9\",\"data-styles-preset\":\"UZ214mtRd\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-7eafa80d-fe34-4055-95ee-a7f355ce92df, rgb(255, 255, 255)))\"},children:\"Discover the secrets of the Basque lands\"})}),className:\"framer-tr8n1y\",\"data-framer-name\":\"Play on a pristine, meticulously maintained course designed for players of all skill levels, offering challenges and rewards throughout every hole.\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"JrKJyLbSf\",style:{\"--extracted-r6o4lv\":\"var(--token-7eafa80d-fe34-4055-95ee-a7f355ce92df, rgb(255, 255, 255))\",\"--framer-paragraph-spacing\":\"0px\"},text:ZdCRhfd7T,verticalAlignment:\"top\",withExternalLayout:true})]})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-YW5C7.framer-rxdt8c, .framer-YW5C7 .framer-rxdt8c { display: block; }\",\".framer-YW5C7.framer-85pxvc { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 556px; justify-content: flex-end; overflow: hidden; padding: 40px 40px 27px 40px; position: relative; text-decoration: none; width: 559px; will-change: var(--framer-will-change-override, transform); }\",\".framer-YW5C7 .framer-1sp73uf { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 15px; height: min-content; justify-content: flex-start; max-width: 514px; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-YW5C7 .framer-1j4sy1k, .framer-YW5C7 .framer-tr8n1y { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 105%; word-break: break-word; word-wrap: break-word; }\",\".framer-YW5C7.framer-v-f4bk8v.framer-85pxvc { aspect-ratio: 0.875 / 1; height: var(--framer-aspect-ratio-supported, 400px); padding: 40px 20px 27px 20px; width: 350px; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 556\n * @framerIntrinsicWidth 559\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"j_PxZTJFX\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"vW_XgmX7S\":\"galleryImage\",\"ZZhxzK3ma\":\"title\",\"ZdCRhfd7T\":\"text\",\"uT9VUlsrK\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerjN0eVSnuH=withCSS(Component,css,\"framer-YW5C7\");export default FramerjN0eVSnuH;FramerjN0eVSnuH.displayName=\"Gallery Card\";FramerjN0eVSnuH.defaultProps={height:556,width:559};addPropertyControls(FramerjN0eVSnuH,{variant:{options:[\"TmqLsX7E7\",\"j_PxZTJFX\"],optionTitles:[\"Desktop\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},vW_XgmX7S:{__defaultAssetReference:\"data:framer/asset-reference,AE0gjJCsiAYU5CXjUcGThcrbxaA.png?originalFilename=gallery-img1.png&preferredSize=auto\",__vekterDefault:{alt:\"Gallery Image\",assetReference:\"data:framer/asset-reference,AE0gjJCsiAYU5CXjUcGThcrbxaA.png?originalFilename=gallery-img1.png&preferredSize=auto\"},title:\"Gallery Image\",type:ControlType.ResponsiveImage},ZZhxzK3ma:{defaultValue:\"Basque Tour\",displayTextArea:false,title:\"Title\",type:ControlType.String},ZdCRhfd7T:{defaultValue:\"Discover the secrets of the Basque lands\",displayTextArea:false,title:\"Text\",type:ControlType.String},uT9VUlsrK:{title:\"Link\",type:ControlType.Link}});addFonts(FramerjN0eVSnuH,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerjN0eVSnuH\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"556\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"j_PxZTJFX\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"vW_XgmX7S\\\":\\\"galleryImage\\\",\\\"ZZhxzK3ma\\\":\\\"title\\\",\\\"ZdCRhfd7T\\\":\\\"text\\\",\\\"uT9VUlsrK\\\":\\\"link\\\"}\",\"framerIntrinsicWidth\":\"559\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (fc3086c)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Ticker from\"https://framerusercontent.com/modules/B2xAlJLcN0gOnt11mSPw/jyRNgY7vYWXe6t31T0wo/Ticker.js\";import Slideshow from\"https://framerusercontent.com/modules/zvkTOpMSuRzRhLzZZIwG/vzgdvq3ezmf3RWurtT17/SlideShow.js\";import RestoredGalleryImage from\"https://framerusercontent.com/modules/o4J6buzF7LH99U1a7pVx/wR1OVDTBKxQNmpYWsYjZ/RestoredGalleryImage.js\";const RestoredGalleryImageFonts=getFonts(RestoredGalleryImage);const TickerFonts=getFonts(Ticker);const SlideshowFonts=getFonts(Slideshow);const cycleOrder=[\"JsPEI2Nz7\",\"VRMSXSC3R\"];const serializationHash=\"framer-rjU6J\";const variantClassNames={JsPEI2Nz7:\"framer-v-1tasq8t\",VRMSXSC3R:\"framer-v-zmbd4v\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Desktop:\"JsPEI2Nz7\",Mobile:\"VRMSXSC3R\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"JsPEI2Nz7\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"JsPEI2Nz7\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"VRMSXSC3R\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"VRMSXSC3R\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1tasq8t\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"JsPEI2Nz7\",ref:refBinding,style:{...style},...addPropertyOverrides({VRMSXSC3R:{\"data-framer-name\":\"Mobile\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-9nm1uq-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"yA5t_S9Xr-container\",nodeId:\"yA5t_S9Xr\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(Ticker,{alignment:\"flex-start\",direction:\"right\",fadeOptions:{fadeAlpha:0,fadeContent:false,fadeInset:0,fadeWidth:25,overflow:false},gap:32,height:\"100%\",hoverFactor:.5,id:\"yA5t_S9Xr\",layoutId:\"yA5t_S9Xr\",padding:0,paddingBottom:0,paddingLeft:0,paddingPerSide:false,paddingRight:0,paddingTop:0,sizingOptions:{heightType:false,widthType:true},slots:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-11m0uy4-container\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"TRMnfhfY8-container\",nodeId:\"TRMnfhfY8\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Two horses grazing in a mountain pasture at sunset\",height:\"100%\",id:\"TRMnfhfY8\",imageHeight:2046,imageWidth:1542,layoutId:\"TRMnfhfY8\",maxResolution:\"1600\",modernFormat:true,naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/gcWq8UyCvTFcaqV1rCW6AJuxbO4.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-17ng5l3-container\",\"data-framer-name\":\"Restored_uzP2PCElU\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"Taxmf_aTx-container\",name:\"Restored_uzP2PCElU\",nodeId:\"Taxmf_aTx\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Fishing boats and colourful houses in Saint-Jean-de-Luz harbour\",height:\"100%\",id:\"Taxmf_aTx\",imageHeight:2046,imageWidth:1542,layoutId:\"Taxmf_aTx\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_uzP2PCElU\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/uLFk2VgKsLJjKSOh18ycA7puKVc.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-12fnutf-container\",\"data-framer-name\":\"Restored_r3BUk41YI\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"G5IyLOof2-container\",name:\"Restored_r3BUk41YI\",nodeId:\"G5IyLOof2\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Green coastal cliffs above a rocky beach\",height:\"100%\",id:\"G5IyLOof2\",imageHeight:2046,imageWidth:1542,layoutId:\"G5IyLOof2\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_r3BUk41YI\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/ZBgns12MLJ2Iq6Vbuk8qRy3Ypmw.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-g51a5m-container\",\"data-framer-name\":\"Restored_dewqQxz4d\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"wHaRJtV9E-container\",name:\"Restored_dewqQxz4d\",nodeId:\"wHaRJtV9E\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Vineyards on a hillside overlooking the coast\",height:\"100%\",id:\"wHaRJtV9E\",imageHeight:2046,imageWidth:1542,layoutId:\"wHaRJtV9E\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_dewqQxz4d\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/CL3vKs7R8ZqnJYhb2d3ErNTSJ0.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-tdokfa-container\",\"data-framer-name\":\"Restored_C87Zz1upa\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"zC9dR9AfR-container\",name:\"Restored_C87Zz1upa\",nodeId:\"zC9dR9AfR\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Red, green and white fishing boat named Gazteria\",height:\"100%\",id:\"zC9dR9AfR\",imageHeight:2046,imageWidth:1542,layoutId:\"zC9dR9AfR\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_C87Zz1upa\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/Wot40BJ30QACBMwnNSfJQ0b0Jk.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1yqpc8n-container\",\"data-framer-name\":\"Restored_B4i7PK7n2\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"KWLqKiU_x-container\",name:\"Restored_B4i7PK7n2\",nodeId:\"KWLqKiU_x\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Guests enjoying drinks above the C\\xf4te des Basques coastline\",height:\"100%\",id:\"KWLqKiU_x\",imageHeight:2046,imageWidth:1542,layoutId:\"KWLqKiU_x\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_B4i7PK7n2\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/xEeBafxg5c4z2Jak7VNvpNhGbTE.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})],speed:35,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),isDisplayed1()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-12w13ve-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"X45woksrk-container\",nodeId:\"X45woksrk\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(Slideshow,{alignment:\"flex-start\",arrowOptions:{arrowFill:\"rgba(0, 0, 0, 0.2)\",arrowGap:10,arrowPadding:-10,arrowPaddingBottom:0,arrowPaddingLeft:0,arrowPaddingRight:0,arrowPaddingTop:0,arrowPosition:\"auto\",arrowRadius:40,arrowShouldFadeIn:false,arrowShouldSpace:true,arrowSize:40,showMouseControls:false},autoPlayControl:true,borderRadius:20,direction:\"left\",dragControl:true,effectsOptions:{effectsHover:true,effectsOpacity:1,effectsPerspective:1200,effectsRotate:0,effectsScale:1,playOffscreen:false},fadeOptions:{fadeAlpha:0,fadeContent:false,fadeInset:0,fadeWidth:25,overflow:true},gap:20,height:\"100%\",id:\"X45woksrk\",intervalControl:3,itemAmount:1,layoutId:\"X45woksrk\",padding:0,paddingBottom:50,paddingLeft:0,paddingPerSide:true,paddingRight:0,paddingTop:0,progressOptions:{dotsActiveOpacity:1,dotsBackground:\"rgba(0, 0, 0, 0)\",dotsBlur:0,dotsFill:\"var(--token-293955a5-6f9a-470e-8eb8-8f52a27509f0, rgb(16, 16, 20))\",dotsGap:10,dotsInset:10,dotSize:10,dotsOpacity:.5,dotsPadding:10,dotsRadius:50,showProgressDots:true},slots:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-11m0uy4-container\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"TRMnfhfY8-container\",nodeId:\"TRMnfhfY8\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Two horses grazing in a mountain pasture at sunset\",height:\"100%\",id:\"TRMnfhfY8\",imageHeight:2046,imageWidth:1542,layoutId:\"TRMnfhfY8\",maxResolution:\"1600\",modernFormat:true,naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/gcWq8UyCvTFcaqV1rCW6AJuxbO4.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-17ng5l3-container\",\"data-framer-name\":\"Restored_uzP2PCElU\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"Taxmf_aTx-container\",name:\"Restored_uzP2PCElU\",nodeId:\"Taxmf_aTx\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Fishing boats and colourful houses in Saint-Jean-de-Luz harbour\",height:\"100%\",id:\"Taxmf_aTx\",imageHeight:2046,imageWidth:1542,layoutId:\"Taxmf_aTx\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_uzP2PCElU\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/uLFk2VgKsLJjKSOh18ycA7puKVc.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-12fnutf-container\",\"data-framer-name\":\"Restored_r3BUk41YI\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"G5IyLOof2-container\",name:\"Restored_r3BUk41YI\",nodeId:\"G5IyLOof2\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Green coastal cliffs above a rocky beach\",height:\"100%\",id:\"G5IyLOof2\",imageHeight:2046,imageWidth:1542,layoutId:\"G5IyLOof2\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_r3BUk41YI\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/ZBgns12MLJ2Iq6Vbuk8qRy3Ypmw.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-g51a5m-container\",\"data-framer-name\":\"Restored_dewqQxz4d\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"wHaRJtV9E-container\",name:\"Restored_dewqQxz4d\",nodeId:\"wHaRJtV9E\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Vineyards on a hillside overlooking the coast\",height:\"100%\",id:\"wHaRJtV9E\",imageHeight:2046,imageWidth:1542,layoutId:\"wHaRJtV9E\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_dewqQxz4d\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/CL3vKs7R8ZqnJYhb2d3ErNTSJ0.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-tdokfa-container\",\"data-framer-name\":\"Restored_C87Zz1upa\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"zC9dR9AfR-container\",name:\"Restored_C87Zz1upa\",nodeId:\"zC9dR9AfR\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Red, green and white fishing boat named Gazteria\",height:\"100%\",id:\"zC9dR9AfR\",imageHeight:2046,imageWidth:1542,layoutId:\"zC9dR9AfR\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_C87Zz1upa\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/Wot40BJ30QACBMwnNSfJQ0b0Jk.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1yqpc8n-container\",\"data-framer-name\":\"Restored_B4i7PK7n2\",inComponentSlot:true,isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"KWLqKiU_x-container\",name:\"Restored_B4i7PK7n2\",nodeId:\"KWLqKiU_x\",rendersWithMotion:true,scopeId:\"YZ4jHa1l8\",children:/*#__PURE__*/_jsx(RestoredGalleryImage,{altText:\"Guests enjoying drinks above the C\\xf4te des Basques coastline\",height:\"100%\",id:\"KWLqKiU_x\",imageHeight:2046,imageWidth:1542,layoutId:\"KWLqKiU_x\",maxResolution:\"1600\",modernFormat:true,name:\"Restored_B4i7PK7n2\",naturalSize:false,radius:0,sizes:\"(max-width: 407px) 100vw, 408px\",source:\"https://framerusercontent.com/images/xEeBafxg5c4z2Jak7VNvpNhGbTE.jpg\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})],startFrom:0,style:{height:\"100%\",maxWidth:\"100%\",width:\"100%\"},transitionControl:{damping:40,delay:0,mass:1,stiffness:200,type:\"spring\"},width:\"100%\",...addPropertyOverrides({VRMSXSC3R:{autoPlayControl:false}},baseVariant,gestureVariant)})})})]})})})});});const css=[\".framer-rjU6J.framer-101m6ky, .framer-rjU6J .framer-101m6ky { display: block; }\",\".framer-rjU6J.framer-1tasq8t { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 40px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1440px; }\",\".framer-rjU6J .framer-9nm1uq-container { flex: none; height: 500px; position: relative; width: 100%; }\",\".framer-rjU6J .framer-11m0uy4-container, .framer-rjU6J .framer-17ng5l3-container, .framer-rjU6J .framer-g51a5m-container, .framer-rjU6J .framer-tdokfa-container, .framer-rjU6J .framer-1yqpc8n-container { height: 550px; position: relative; width: 400px; }\",\".framer-rjU6J .framer-12fnutf-container { height: 560px; position: relative; width: 407px; }\",\".framer-rjU6J .framer-12w13ve-container { aspect-ratio: 0.6542056074766355 / 1; flex: none; height: auto; max-width: 390px; position: relative; width: 100%; }\",\".framer-rjU6J.framer-v-zmbd4v.framer-1tasq8t { overflow: hidden; padding: 0px 20px 0px 20px; width: 390px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 500\n * @framerIntrinsicWidth 1440\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"VRMSXSC3R\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerYZ4jHa1l8=withCSS(Component,css,\"framer-rjU6J\");export default FramerYZ4jHa1l8;FramerYZ4jHa1l8.displayName=\"Gallery Home\";FramerYZ4jHa1l8.defaultProps={height:500,width:1440};addPropertyControls(FramerYZ4jHa1l8,{variant:{options:[\"JsPEI2Nz7\",\"VRMSXSC3R\"],optionTitles:[\"Desktop\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerYZ4jHa1l8,[{explicitInter:true,fonts:[]},...RestoredGalleryImageFonts,...TickerFonts,...SlideshowFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerYZ4jHa1l8\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"500\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"1440\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"VRMSXSC3R\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./YZ4jHa1l8.map","// User request: Lightweight Framer hero video component with SSR-first poster, in-view source attachment, autoplay-muted-loop playback (including mobile when enabled), reduced-motion/save-data fallback to poster, and Framer-friendly controls/style behavior.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{startTransition,useCallback,useEffect,useMemo,useRef,useState}from\"react\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function OptimizedHeroVideo(props){const defaultPosterBase=\"https://framerusercontent.com/images/H5MjM3N6CcjNrub3zyHpVBFK1e4.jpg\";const{source=\"https://framerusercontent.com/assets/w0eIfwOkiDuYNc6qHDkGzKfw.mp4\",poster={src:`${defaultPosterBase}?scale-down-to=1024&format=webp`,alt:\"\"},fit=\"cover\",desktopDelay=0,mobileDelay=0,mobilePlayback=true,mobilePlay,style}=props;const effectiveMobilePlayback=typeof mobilePlay===\"boolean\"?mobilePlay:mobilePlayback;const isStaticRenderer=useIsStaticRenderer();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const videoRef=useRef(null);const containerRef=useRef(null);const timerRef=useRef(null);const[inView,setInView]=useState(false);const[tabVisible,setTabVisible]=useState(true);const[isMobile,setIsMobile]=useState(false);const[shouldDisableVideo,setShouldDisableVideo]=useState(false);const[videoSrc,setVideoSrc]=useState(null);const[isPlaying,setIsPlaying]=useState(false);const[hasError,setHasError]=useState(false);const objectFit=useMemo(()=>fit===\"contain\"?\"contain\":\"cover\",[fit]);const posterSrc=poster.src||`${defaultPosterBase}?scale-down-to=1024&format=webp`;const isUsingDefaultPoster=!poster.src||poster.src.includes(\"H5MjM3N6CcjNrub3zyHpVBFK1e4.jpg\");const posterSrcSet=poster.srcSet||(isUsingDefaultPoster?`${defaultPosterBase}?scale-down-to=512&format=webp 512w, ${defaultPosterBase}?scale-down-to=1024&format=webp 1024w, ${defaultPosterBase}?scale-down-to=2048&format=webp 1280w`:undefined);const clearDeferredLoad=useCallback(()=>{if(typeof window===\"undefined\")return;if(timerRef.current!==null){window.clearTimeout(timerRef.current);timerRef.current=null;}},[]);const attemptPlay=useCallback(()=>{if(typeof document!==\"undefined\"&&document.visibilityState!==\"visible\")return;if(!inView||!tabVisible||shouldDisableVideo||hasError)return;const video=videoRef.current;if(!video)return;video.play().catch(()=>undefined);},[hasError,inView,shouldDisableVideo,tabVisible]);useEffect(()=>{if(isCanvas||isStaticRenderer)return;if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const reducedMotionMedia=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const mobileMedia=window.matchMedia(\"(max-width: 767px)\");const updateEnvironment=()=>{const connection=navigator.connection;const saveData=Boolean(connection?.saveData);const mobileMatch=mobileMedia.matches;const disabledByMobile=mobileMatch&&!effectiveMobilePlayback;const disabled=reducedMotionMedia.matches||saveData||disabledByMobile;startTransition(()=>{setIsMobile(mobileMatch);setShouldDisableVideo(disabled);setTabVisible(document.visibilityState===\"visible\");});};updateEnvironment();const onVisibilityChange=()=>{const visible=document.visibilityState===\"visible\";startTransition(()=>setTabVisible(visible));if(!visible){videoRef.current?.pause();}else if(visible&&inView&&videoSrc&&!shouldDisableVideo&&!hasError&&videoRef.current){attemptPlay();}};reducedMotionMedia.addEventListener?.(\"change\",updateEnvironment);mobileMedia.addEventListener?.(\"change\",updateEnvironment);document.addEventListener(\"visibilitychange\",onVisibilityChange);return()=>{reducedMotionMedia.removeEventListener?.(\"change\",updateEnvironment);mobileMedia.removeEventListener?.(\"change\",updateEnvironment);document.removeEventListener(\"visibilitychange\",onVisibilityChange);};},[hasError,inView,isCanvas,isStaticRenderer,effectiveMobilePlayback,shouldDisableVideo,attemptPlay,videoSrc]);useEffect(()=>{if(!shouldDisableVideo)return;if(typeof window===\"undefined\")return;clearDeferredLoad();videoRef.current?.pause();startTransition(()=>{setVideoSrc(null);setIsPlaying(false);});},[clearDeferredLoad,shouldDisableVideo]);useEffect(()=>{if(isCanvas||isStaticRenderer)return;if(typeof window===\"undefined\")return;if(!containerRef.current)return;const observer=new IntersectionObserver(entries=>{const nextInView=entries.some(entry=>entry.isIntersecting&&entry.intersectionRatio>0);startTransition(()=>setInView(nextInView));},{threshold:.01});observer.observe(containerRef.current);return()=>observer.disconnect();},[isCanvas,isStaticRenderer]);useEffect(()=>{if(isCanvas||isStaticRenderer)return;if(typeof window===\"undefined\")return;const canLoad=!shouldDisableVideo&&!hasError&&!!source&&inView&&tabVisible&&videoSrc===null;if(!canLoad)return;clearDeferredLoad();const delay=Math.max(0,isMobile?mobileDelay:desktopDelay);if(delay===0){startTransition(()=>setVideoSrc(source));return;}timerRef.current=window.setTimeout(()=>{startTransition(()=>setVideoSrc(source));},delay);return clearDeferredLoad;},[clearDeferredLoad,desktopDelay,hasError,inView,isCanvas,isMobile,isStaticRenderer,mobileDelay,shouldDisableVideo,source,tabVisible,videoSrc]);useEffect(()=>{return clearDeferredLoad;},[clearDeferredLoad]);const sharedMediaStyle=useMemo(()=>({position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit}),[objectFit]);const shouldRenderVideo=!isCanvas&&!isStaticRenderer&&!shouldDisableVideo&&!hasError&&videoSrc!==null;useEffect(()=>{if(!shouldRenderVideo)return;if(!tabVisible||!inView)return;attemptPlay();},[attemptPlay,inView,shouldRenderVideo,tabVisible]);useEffect(()=>{if(inView)return;videoRef.current?.pause();},[inView]);return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,\"aria-hidden\":true,style:{position:\"relative\",overflow:\"hidden\",width:\"100%\",height:\"100%\",minWidth:0,minHeight:0,...style},children:[/*#__PURE__*/_jsx(\"img\",{src:posterSrc,srcSet:posterSrcSet,sizes:\"100vw\",width:1280,height:720,alt:\"\",decoding:\"async\",fetchPriority:\"high\",loading:\"eager\",style:{...sharedMediaStyle,opacity:1}}),shouldRenderVideo?/*#__PURE__*/_jsx(\"video\",{ref:videoRef,src:videoSrc??undefined,preload:\"auto\",autoPlay:true,muted:true,loop:true,playsInline:true,controls:false,onCanPlay:attemptPlay,onLoadedData:attemptPlay,onPlaying:()=>startTransition(()=>setIsPlaying(true)),onPause:()=>startTransition(()=>setIsPlaying(false)),onError:()=>startTransition(()=>setHasError(true)),style:{...sharedMediaStyle,opacity:isPlaying?1:0,transition:\"opacity 140ms ease\"}}):null]});}addPropertyControls(OptimizedHeroVideo,{source:{type:ControlType.File,title:\"Source\",allowedFileTypes:[\"mp4\"]},poster:{type:ControlType.ResponsiveImage,title:\"Poster\"},fit:{type:ControlType.Enum,title:\"Fit\",defaultValue:\"cover\",options:[\"cover\",\"contain\"],optionTitles:[\"Cover\",\"Contain\"],displaySegmentedControl:true},desktopDelay:{type:ControlType.Number,title:\"Desktop Delay\",defaultValue:0,min:0,max:1e4,step:100,unit:\"ms\"},mobileDelay:{type:ControlType.Number,title:\"Mobile Delay\",defaultValue:0,min:0,max:12e3,step:100,unit:\"ms\"},mobilePlayback:{type:ControlType.Boolean,title:\"Mobile Play\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OptimizedHeroVideo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"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