{"version":3,"file":"q5makchfs.DRIQm8fe.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/mhyu2vTaodjHWHHLK6py/AjboCTHY1ceyo2dad31D/q5makchfs.js"],"sourcesContent":["// Generated by Framer (04b9457)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getLoadingLazyAtYPosition,getPropertyControls,Image,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Video}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/7qT0r3So12155VV5Jq5x/Video.js\";const VideoFonts=getFonts(Video);const VideoControls=getPropertyControls(Video);const serializationHash=\"framer-KiHib\";const variantClassNames={NKfvI5wbf:\"framer-v-qsvriz\"};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 convertFromEnum=(value,activeLocale)=>{switch(value){case\"McWcSUQS9\":return false;case\"TtnQC_rxa\":return true;default:return true;}};const toBoolean=value=>{return Boolean(value);};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const convertFromEnum1=(value,activeLocale)=>{switch(value){case\"McWcSUQS9\":return true;case\"TtnQC_rxa\":return false;default:return true;}};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 humanReadableEnumMap={Image:\"TtnQC_rxa\",Video:\"McWcSUQS9\"};const getProps=({height,id,image,videoFile,videoImage,videoSource,videoURL,width,...props})=>{return{...props,D8U6SstZa:videoFile??props.D8U6SstZa??\"https://framerusercontent.com/assets/QvLulg0pZq1vK3tRI9hxALTpuw.mp4\",F2bnHimgf:humanReadableEnumMap[videoImage]??videoImage??props.F2bnHimgf??\"McWcSUQS9\",FLPX_D28f:videoURL??props.FLPX_D28f??\"https://videos.pexels.com/video-files/7815751/7815751-hd_1920_1080_25fps.mp4\",pN1GW6Bkp:image??props.pN1GW6Bkp,QuXBgThl9:videoSource??props.QuXBgThl9??\"Upload\"};};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,F2bnHimgf,pN1GW6Bkp,QuXBgThl9,D8U6SstZa,FLPX_D28f,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"NKfvI5wbf\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=toBoolean(convertFromEnum(F2bnHimgf,activeLocale));const visible1=toBoolean(convertFromEnum1(F2bnHimgf,activeLocale));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-qsvriz\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"NKfvI5wbf\",ref:refBinding,style:{...style},children:[visible&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||533)-0-((componentViewport?.height||533)-0)*1)/2)),sizes:`max(${componentViewport?.width||\"100vw\"} / 0, 1px)`,...toResponsiveImage(pN1GW6Bkp)},className:\"framer-1xmu1w9\",layoutDependency:layoutDependency,layoutId:\"u4BSwQsR7\"}),visible1&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-v88pw9-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"DY2XCq1rs-container\",nodeId:\"DY2XCq1rs\",rendersWithMotion:true,scopeId:\"q5makchfs\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,controls:false,height:\"100%\",id:\"DY2XCq1rs\",isMixedBorderRadius:false,layoutId:\"DY2XCq1rs\",loop:true,muted:true,objectFit:\"cover\",playing:true,posterEnabled:false,srcFile:D8U6SstZa,srcType:QuXBgThl9,srcUrl:FLPX_D28f,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\"})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-KiHib.framer-iqz4vt, .framer-KiHib .framer-iqz4vt { display: block; }\",\".framer-KiHib.framer-qsvriz { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 533px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 764px; }\",\".framer-KiHib .framer-1xmu1w9 { flex: 1 0 0px; height: 100%; overflow: visible; position: relative; width: 1px; }\",\".framer-KiHib .framer-v88pw9-container { flex: 1 0 0px; height: 100%; position: relative; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 533\n * @framerIntrinsicWidth 764\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"F2bnHimgf\":\"videoImage\",\"pN1GW6Bkp\":\"image\",\"QuXBgThl9\":\"videoSource\",\"D8U6SstZa\":\"videoFile\",\"FLPX_D28f\":\"videoURL\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerq5makchfs=withCSS(Component,css,\"framer-KiHib\");export default Framerq5makchfs;Framerq5makchfs.displayName=\"Video - Image\";Framerq5makchfs.defaultProps={height:533,width:764};addPropertyControls(Framerq5makchfs,{F2bnHimgf:{defaultValue:\"McWcSUQS9\",options:[\"McWcSUQS9\",\"TtnQC_rxa\"],optionTitles:[\"Video\",\"Image\"],title:\"Video/Image\",type:ControlType.Enum},pN1GW6Bkp:{title:\"Image\",type:ControlType.ResponsiveImage},QuXBgThl9:VideoControls?.[\"srcType\"]&&{...VideoControls[\"srcType\"],defaultValue:\"Upload\",description:undefined,hidden:undefined,title:\"Video Source\"},D8U6SstZa:VideoControls?.[\"srcFile\"]&&{...VideoControls[\"srcFile\"],__defaultAssetReference:\"data:framer/asset-reference,QvLulg0pZq1vK3tRI9hxALTpuw.mp4?originalFilename=7300689-hd_2048_1080_25fps.mp4\",description:\".mp4\",hidden:undefined,title:\"Video file\"},FLPX_D28f:{defaultValue:\"https://videos.pexels.com/video-files/7815751/7815751-hd_1920_1080_25fps.mp4\",description:\"Works with direct video URLs\",title:\"Video URL\",type:ControlType.String}});addFonts(Framerq5makchfs,[{explicitInter:true,fonts:[]},...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerq5makchfs\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"533\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"F2bnHimgf\\\":\\\"videoImage\\\",\\\"pN1GW6Bkp\\\":\\\"image\\\",\\\"QuXBgThl9\\\":\\\"videoSource\\\",\\\"D8U6SstZa\\\":\\\"videoFile\\\",\\\"FLPX_D28f\\\":\\\"videoURL\\\"}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"764\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./q5makchfs.map"],"mappings":"4cACyD,IAAgP,IAAkE,IAA4B,IAAsI,CAAM,EAAW,EAAS,EAAM,CAAO,EAAc,EAAoB,EAAM,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAiB,EAAM,IAAe,CAAC,OAAO,EAAP,CAAc,IAAI,YAAY,MAAO,GAAM,IAAI,YAAY,MAAO,GAAK,QAAQ,MAAO,KAAc,EAAU,GAAe,EAAQ,EAAe,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,GAAkB,EAAM,IAAe,CAAC,OAAO,EAAP,CAAc,IAAI,YAAY,MAAO,GAAK,IAAI,YAAY,MAAO,GAAM,QAAQ,MAAO,KAAc,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,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