{"version":3,"file":"nDBkJ7w2O.Bp6RotFb.mjs","names":["VideoThumbnailFile","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/pDX4zBpO1rVpQN0LzQND/Ako7zRafl5k76JOawCRQ/nDBkJ7w2O.js"],"sourcesContent":["// Generated by Framer (c0aead9)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import VideoThumbnailFile from\"https://framerusercontent.com/modules/ErTG4C1y61eWI4CYgw19/v3F0bu9CC2sUOU72PA3q/AiusdZuDp.js\";const VideoThumbnailFileFonts=getFonts(VideoThumbnailFile);const VideoThumbnailFileControls=getPropertyControls(VideoThumbnailFile);const cycleOrder=[\"GZLc716xu\",\"IGAwvaCj6\"];const serializationHash=\"framer-Zz7O6\";const variantClassNames={GZLc716xu:\"framer-v-wr3wy4\",IGAwvaCj6:\"framer-v-sg23ox\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const Bj2mb5aOI=undefined;const haVyWzmwB=undefined;const vtImTKA0r=undefined;const rkAKi3HWn=undefined;const BjZkDDk31=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return undefined;};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={\"Video Playing\":\"IYHPgRgVm\",Mobile:\"lpfA32m_p\"};const humanReadableVariantMap={Desktop:\"GZLc716xu\",Mobile:\"IGAwvaCj6\"};const getProps=({height,id,pausedPlaying,videoFileIfFromFile,videoPoster,videoSourceFrom,videoURLIfChoosingURL,width,...props})=>{return{...props,Bj2mb5aOI:humanReadableEnumMap[pausedPlaying]??pausedPlaying??props.Bj2mb5aOI??\"IYHPgRgVm\",BjZkDDk31:videoPoster??props.BjZkDDk31??{pixelHeight:1503,pixelWidth:2672,src:\"https://framerusercontent.com/images/uUNpmMeTnLnZuEqoVbY9aXpp0.png?width=2672&height=1503\",srcSet:\"https://framerusercontent.com/images/uUNpmMeTnLnZuEqoVbY9aXpp0.png?scale-down-to=512&width=2672&height=1503 512w,https://framerusercontent.com/images/uUNpmMeTnLnZuEqoVbY9aXpp0.png?scale-down-to=1024&width=2672&height=1503 1024w,https://framerusercontent.com/images/uUNpmMeTnLnZuEqoVbY9aXpp0.png?scale-down-to=2048&width=2672&height=1503 2048w,https://framerusercontent.com/images/uUNpmMeTnLnZuEqoVbY9aXpp0.png?width=2672&height=1503 2672w\"},haVyWzmwB:videoSourceFrom??props.haVyWzmwB??\"Upload\",rkAKi3HWn:videoFileIfFromFile??props.rkAKi3HWn??\"https://framerusercontent.com/assets/kBHPkHYW1dXeONsWIPlwJ1sFLAw.mp4\",variant:humanReadableVariantMap[props.variant]??props.variant??\"GZLc716xu\",vtImTKA0r:videoURLIfChoosingURL??props.vtImTKA0r};};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,BjZkDDk31,Bj2mb5aOI,haVyWzmwB,vtImTKA0r,rkAKi3HWn,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"GZLc716xu\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];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(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-wr3wy4\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"GZLc716xu\",ref:refBinding,style:{backgroundColor:\"var(--token-23843184-bfd8-4b87-b700-707a1b4d43d6, rgb(255, 255, 255))\",borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20,boxShadow:\"0px 10px 40px 0px rgba(0, 0, 0, 0.05)\",...style},variants:{IGAwvaCj6:{backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8}},...addPropertyOverrides({IGAwvaCj6:{\"data-framer-name\":\"Mobile\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:581,width:componentViewport?.width||\"100vw\",y:(componentViewport?.y||0)+0+(((componentViewport?.height||698)-0-581)/2+0+0),...addPropertyOverrides({IGAwvaCj6:{y:(componentViewport?.y||0)+0+(((componentViewport?.height||197)-0-581)/2+0+0)}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1kyfl4p-container\",layoutDependency:layoutDependency,layoutId:\"Lg8AYTS5y-container\",nodeId:\"Lg8AYTS5y\",rendersWithMotion:true,scopeId:\"nDBkJ7w2O\",children:/*#__PURE__*/_jsx(VideoThumbnailFile,{height:\"100%\",id:\"Lg8AYTS5y\",layoutId:\"Lg8AYTS5y\",neAUn1wfV:vtImTKA0r,SQ4oYdApH:toResponsiveImage(BjZkDDk31),style:{width:\"100%\"},T1yd7m88S:haVyWzmwB,tfUypyOpu:rkAKi3HWn,variant:matchVariant(Bj2mb5aOI),width:\"100%\",...addPropertyOverrides({IGAwvaCj6:{variant:matchVariant(\"IYHPgRgVm\")}},baseVariant,gestureVariant)})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Zz7O6.framer-w3o4fw, .framer-Zz7O6 .framer-w3o4fw { display: block; }\",\".framer-Zz7O6.framer-wr3wy4 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 32px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1240px; }\",\".framer-Zz7O6 .framer-1kyfl4p-container { flex: none; height: auto; position: relative; width: 100%; }\",\".framer-Zz7O6.framer-v-sg23ox.framer-wr3wy4 { width: 350px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 698\n * @framerIntrinsicWidth 1240\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"IGAwvaCj6\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"BjZkDDk31\":\"videoPoster\",\"Bj2mb5aOI\":\"pausedPlaying\",\"haVyWzmwB\":\"videoSourceFrom\",\"vtImTKA0r\":\"videoURLIfChoosingURL\",\"rkAKi3HWn\":\"videoFileIfFromFile\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramernDBkJ7w2O=withCSS(Component,css,\"framer-Zz7O6\");export default FramernDBkJ7w2O;FramernDBkJ7w2O.displayName=\"Video Container\";FramernDBkJ7w2O.defaultProps={height:698,width:1240};addPropertyControls(FramernDBkJ7w2O,{variant:{options:[\"GZLc716xu\",\"IGAwvaCj6\"],optionTitles:[\"Desktop\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum},BjZkDDk31:{__defaultAssetReference:\"data:framer/asset-reference,uUNpmMeTnLnZuEqoVbY9aXpp0.png?originalFilename=potoovideo1-cover.png&width=2672&height=1503\",title:\"Video Poster\",type:ControlType.ResponsiveImage},Bj2mb5aOI:VideoThumbnailFileControls?.[\"variant\"]&&{...VideoThumbnailFileControls[\"variant\"],defaultValue:\"IYHPgRgVm\",description:undefined,hidden:undefined,title:\"Paused/Playing\"},haVyWzmwB:VideoThumbnailFileControls?.[\"T1yd7m88S\"]&&{...VideoThumbnailFileControls[\"T1yd7m88S\"],defaultValue:\"Upload\",description:undefined,hidden:undefined,title:\"Video Source From\"},vtImTKA0r:{defaultValue:\"\",title:\"Video URL If Choosing URL\",type:ControlType.String},rkAKi3HWn:VideoThumbnailFileControls?.[\"tfUypyOpu\"]&&{...VideoThumbnailFileControls[\"tfUypyOpu\"],__defaultAssetReference:\"data:framer/asset-reference,kBHPkHYW1dXeONsWIPlwJ1sFLAw.mp4?originalFilename=PotooVideo1-small.mp4\",description:undefined,hidden:undefined,title:\"Video File If from File\"}});addFonts(FramernDBkJ7w2O,[{explicitInter:true,fonts:[]},...VideoThumbnailFileFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramernDBkJ7w2O\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1240\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"IGAwvaCj6\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"BjZkDDk31\\\":\\\"videoPoster\\\",\\\"Bj2mb5aOI\\\":\\\"pausedPlaying\\\",\\\"haVyWzmwB\\\":\\\"videoSourceFrom\\\",\\\"vtImTKA0r\\\":\\\"videoURLIfChoosingURL\\\",\\\"rkAKi3HWn\\\":\\\"videoFileIfFromFile\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicHeight\":\"698\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./nDBkJ7w2O.map"],"mappings":"oYACwxB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,mDAAr5B,IAAgN,IAAkE,IAA4B,IAAuJ,CAAM,EAAwB,EAASA,EAAmB,CAAO,EAA2B,EAAoBA,EAAmB,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,CAAgU,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,GAAc,GAAG,IAAO,CAAC,IAAI,IAAM,KAAO,EAAM,GAAG,GAAK,OAAO,GAAM,SAAS,OAAO,GAA8B,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,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