{"version":3,"file":"phTHkN2ua.C2IvJSag.mjs","names":["VideoButton","Video1","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/2WG46x4mMQcGzveUldEk/92hKmn76GdHawXTCqtU6/phTHkN2ua.js"],"sourcesContent":["// Generated by Framer (a64543f)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,SmartComponentScopedContainer,useActiveVariantCallback,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\";import{Video as Video1}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/IZ0vSV62Dv7ax4rBiGUk/Video.js\";import VideoButton from\"https://framerusercontent.com/modules/wn9PTYtu6EAcnKf1PMIh/BZB4tjtsmf8aj0Fha8DO/jBQowjWly.js\";const VideoButtonFonts=getFonts(VideoButton);const VideoFonts=getFonts(Video);const Video1Controls=getPropertyControls(Video1);const cycleOrder=[\"g2u4PRCqR\",\"PZMoX9jNw\"];const serializationHash=\"framer-8e4xY\";const variantClassNames={g2u4PRCqR:\"framer-v-k2d226\",PZMoX9jNw:\"framer-v-rwop8y\"};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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Video Pause\":\"PZMoX9jNw\",\"Video Play\":\"g2u4PRCqR\"};const getProps=({height,id,video,width,...props})=>{return{...props,mRx3q7lOk:video??props.mRx3q7lOk,variant:humanReadableVariantMap[props.variant]??props.variant??\"g2u4PRCqR\"};};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,mRx3q7lOk,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"g2u4PRCqR\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const Dn_9rw3881x2humh=activeVariantCallback(async(...args)=>{setVariant(\"PZMoX9jNw\");});const Dn_9rw388d5i96=activeVariantCallback(async(...args)=>{setVariant(\"g2u4PRCqR\");});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__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-k2d226\",className,classNames),\"data-framer-name\":\"Video Play\",layoutDependency:layoutDependency,layoutId:\"g2u4PRCqR\",ref:refBinding,style:{borderBottomLeftRadius:22,borderBottomRightRadius:22,borderTopLeftRadius:22,borderTopRightRadius:22,...style},...addPropertyOverrides({PZMoX9jNw:{\"data-framer-name\":\"Video Pause\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:31,y:(componentViewport?.y||0)+(componentViewport?.height||600)-51,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-vn34nh-container\",\"data-framer-name\":\"Video Button\",isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"iBnh3yz7B-container\",name:\"Video Button\",nodeId:\"iBnh3yz7B\",rendersWithMotion:true,scopeId:\"phTHkN2ua\",children:/*#__PURE__*/_jsx(VideoButton,{Dn_9rw388:Dn_9rw3881x2humh,height:\"100%\",id:\"iBnh3yz7B\",layoutId:\"iBnh3yz7B\",name:\"Video Button\",variant:\"n1TG4ZPed\",width:\"100%\",...addPropertyOverrides({PZMoX9jNw:{Dn_9rw388:Dn_9rw388d5i96,variant:\"nVlsMN3VK\"}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1h4b7z6-container\",\"data-framer-name\":\"Video\",isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"AMv2rOYjm-container\",name:\"Video\",nodeId:\"AMv2rOYjm\",rendersWithMotion:true,scopeId:\"phTHkN2ua\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:20,bottomLeftRadius:20,bottomRightRadius:20,controls:false,height:\"100%\",id:\"AMv2rOYjm\",isMixedBorderRadius:false,layoutId:\"AMv2rOYjm\",loop:true,muted:true,name:\"Video\",objectFit:\"cover\",playing:true,posterEnabled:false,srcFile:mRx3q7lOk,srcType:\"Upload\",srcUrl:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:20,topRightRadius:20,volume:25,width:\"100%\",...addPropertyOverrides({PZMoX9jNw:{playing:false}},baseVariant,gestureVariant)})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-8e4xY.framer-1jqy2g9, .framer-8e4xY .framer-1jqy2g9 { display: block; }\",\".framer-8e4xY.framer-k2d226 { height: 600px; overflow: hidden; position: relative; width: 360px; will-change: var(--framer-will-change-override, transform); }\",\".framer-8e4xY .framer-vn34nh-container { bottom: 20px; flex: none; height: auto; left: 24px; position: absolute; width: auto; z-index: 3; }\",\".framer-8e4xY .framer-1h4b7z6-container { bottom: 0px; flex: none; left: 0px; position: absolute; right: 0px; top: 0px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 600\n * @framerIntrinsicWidth 360\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"PZMoX9jNw\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"mRx3q7lOk\":\"video\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerphTHkN2ua=withCSS(Component,css,\"framer-8e4xY\");export default FramerphTHkN2ua;FramerphTHkN2ua.displayName=\"Video\";FramerphTHkN2ua.defaultProps={height:600,width:360};addPropertyControls(FramerphTHkN2ua,{variant:{options:[\"g2u4PRCqR\",\"PZMoX9jNw\"],optionTitles:[\"Video Play\",\"Video Pause\"],title:\"Variant\",type:ControlType.Enum},mRx3q7lOk:Video1Controls?.[\"srcFile\"]&&{...Video1Controls[\"srcFile\"],__defaultAssetReference:\"\",description:undefined,hidden:undefined,title:\"Video\"}});addFonts(FramerphTHkN2ua,[{explicitInter:true,fonts:[]},...VideoButtonFonts,...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerphTHkN2ua\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"360\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"PZMoX9jNw\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"600\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"mRx3q7lOk\\\":\\\"video\\\"}\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./phTHkN2ua.map"],"mappings":"0dACqhC,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,+CAApoC,IAAyO,IAAkE,IAA4B,IAAsI,IAAsH,IAAsH,CAAM,EAAiB,EAASA,EAAY,CAAO,EAAW,EAAS,EAAM,CAAO,EAAe,EAAoBC,EAAO,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,EAAwB,CAAC,cAAc,YAAY,aAAa,YAAY,CAAO,GAAU,CAAC,SAAO,KAAG,QAAM,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAA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