{"version":3,"file":"DxtoNegvo.CyG7JPUn.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/DbVwWp7Kee7L32KBnyLP/hRbjR2o7YLdKAUr1PgNe/DxtoNegvo.js"],"sourcesContent":["// Generated by Framer (08999ac)\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 cycleOrder=[\"kr3rEGsZp\",\"B_o2Hv7LY\"];const serializationHash=\"framer-FADYA\";const variantClassNames={B_o2Hv7LY:\"framer-v-xbnzwm\",kr3rEGsZp:\"framer-v-1mnu607\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const djfm39UN2=undefined;const mcQSNZAG2=undefined;const HQZztD3Lk=undefined;const MXcywxl4Z=undefined;const gAfqFtFAK=undefined;const transition1={bounce:0,delay:0,duration:1.1,type:\"spring\"};const convertFromEnum=(value,activeLocale)=>{switch(value){case\"IjASwxjZr\":return true;case\"O3bUpIvnj\":return false;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\"IjASwxjZr\":return false;case\"O3bUpIvnj\":return true;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:\"IjASwxjZr\",Video:\"O3bUpIvnj\"};const humanReadableVariantMap={\"Variant 2\":\"B_o2Hv7LY\",Default:\"kr3rEGsZp\"};const getProps=({height,id,image,imageVideo,videoFile,videoSource,videoURL,width,...props})=>{return{...props,djfm39UN2:humanReadableEnumMap[imageVideo]??imageVideo??props.djfm39UN2??\"IjASwxjZr\",gAfqFtFAK:videoFile??props.gAfqFtFAK,HQZztD3Lk:videoSource??props.HQZztD3Lk??\"URL\",mcQSNZAG2:image??props.mcQSNZAG2,MXcywxl4Z:videoURL??props.MXcywxl4Z,variant:humanReadableVariantMap[props.variant]??props.variant??\"kr3rEGsZp\"};};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,djfm39UN2,mcQSNZAG2,HQZztD3Lk,MXcywxl4Z,gAfqFtFAK,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"kr3rEGsZp\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=toBoolean(convertFromEnum(djfm39UN2,activeLocale));const visible1=toBoolean(convertFromEnum1(djfm39UN2,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-1mnu607\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"kr3rEGsZp\",ref:refBinding,style:{...style},...addPropertyOverrides({B_o2Hv7LY:{\"data-framer-name\":\"Variant 2\"}},baseVariant,gestureVariant),children:[visible!==false&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0),pixelHeight:1856,pixelWidth:2464,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(mcQSNZAG2)},className:\"framer-ftl6d1\",\"data-framer-name\":\"Image\",layoutDependency:layoutDependency,layoutId:\"Q0cCrRDjB\",style:{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderTopLeftRadius:0,borderTopRightRadius:0},variants:{B_o2Hv7LY:{borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10}}}),visible1!==false&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1h2bav0-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"l3vxyT5g9-container\",nodeId:\"l3vxyT5g9\",rendersWithMotion:true,scopeId:\"DxtoNegvo\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,controls:false,height:\"100%\",id:\"l3vxyT5g9\",isMixedBorderRadius:false,layoutId:\"l3vxyT5g9\",loop:true,muted:true,objectFit:\"cover\",playing:true,posterEnabled:false,srcFile:gAfqFtFAK,srcType:HQZztD3Lk,srcUrl:MXcywxl4Z,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-FADYA.framer-wq0c7s, .framer-FADYA .framer-wq0c7s { display: block; }\",\".framer-FADYA.framer-1mnu607 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: 397px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 556px; }\",\".framer-FADYA .framer-ftl6d1 { bottom: 0px; flex: none; gap: 8px; left: 0px; overflow: hidden; position: absolute; right: 0px; top: 0px; will-change: var(--framer-will-change-filter-override, filter); z-index: 0; }\",\".framer-FADYA .framer-1h2bav0-container { bottom: 0px; flex: none; left: 0px; position: absolute; right: 0px; top: 0px; z-index: 1; }\",\".framer-FADYA.framer-v-xbnzwm .framer-ftl6d1 { will-change: var(--framer-will-change-override, transform); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 397\n * @framerIntrinsicWidth 556\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"B_o2Hv7LY\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"djfm39UN2\":\"imageVideo\",\"mcQSNZAG2\":\"image\",\"HQZztD3Lk\":\"videoSource\",\"MXcywxl4Z\":\"videoURL\",\"gAfqFtFAK\":\"videoFile\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerDxtoNegvo=withCSS(Component,css,\"framer-FADYA\");export default FramerDxtoNegvo;FramerDxtoNegvo.displayName=\"Image - Video\";FramerDxtoNegvo.defaultProps={height:397,width:556};addPropertyControls(FramerDxtoNegvo,{variant:{options:[\"kr3rEGsZp\",\"B_o2Hv7LY\"],optionTitles:[\"Default\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum},djfm39UN2:{defaultValue:\"IjASwxjZr\",options:[\"IjASwxjZr\",\"O3bUpIvnj\"],optionTitles:[\"Image\",\"Video\"],title:\"Image/Video\",type:ControlType.Enum},mcQSNZAG2:{title:\"Image\",type:ControlType.ResponsiveImage},HQZztD3Lk:VideoControls?.[\"srcType\"]&&{...VideoControls[\"srcType\"],defaultValue:\"URL\",description:undefined,hidden:undefined,title:\"Video source\"},MXcywxl4Z:{defaultValue:\"\",description:\"Direct video link\",title:\"Video URL\",type:ControlType.String},gAfqFtFAK:VideoControls?.[\"srcFile\"]&&{...VideoControls[\"srcFile\"],__defaultAssetReference:\"\",description:\".mp4\",hidden:undefined,title:\"Video file\"}});addFonts(FramerDxtoNegvo,[{explicitInter:true,fonts:[]},...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerDxtoNegvo\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"B_o2Hv7LY\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"djfm39UN2\\\":\\\"imageVideo\\\",\\\"mcQSNZAG2\\\":\\\"image\\\",\\\"HQZztD3Lk\\\":\\\"videoSource\\\",\\\"MXcywxl4Z\\\":\\\"videoURL\\\",\\\"gAfqFtFAK\\\":\\\"videoFile\\\"}\",\"framerIntrinsicWidth\":\"556\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"397\",\"framerContractVersion\":\"1\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DxtoNegvo.map"],"mappings":"2ZACkwB,SAAS,EAAqB,EAAU,GAAG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