{"version":3,"file":"m67_fmLdY.CTQLW-e0.mjs","names":["PlayButton","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Play"],"sources":["https:/framerusercontent.com/modules/AjRKuIJJFrwgQFZ4G8d3/GNZn7Wp2rcSijnZ6JEwC/m67_fmLdY.js"],"sourcesContent":["// Generated by Framer (4705d03)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,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 Play from\"https://framerusercontent.com/modules/ieQI6gbbjSMaQmEbZJZG/NiwlzismQ8kgNPkK6OMo/Nr9N73Jiy.js\";import PlayButton from\"https://framerusercontent.com/modules/aKX6duIGjmTPQoeycWBL/w29cX3HVMTXUu2Y5zwbo/QJHgPQxre.js\";const PlayButtonFonts=getFonts(PlayButton);const VideoFonts=getFonts(Video);const enabledGestures={N05g2neHJ:{hover:true}};const cycleOrder=[\"N05g2neHJ\",\"FhzfFXWoX\"];const serializationHash=\"framer-dVTmH\";const variantClassNames={FhzfFXWoX:\"framer-v-773gb0\",N05g2neHJ:\"framer-v-1iklvl1\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const M7GdAI5Rj=undefined;const KD7wlqT8G=undefined;const PThu4FTWi=undefined;const transition1={delay:0,duration:.45,ease:[.82,.11,.37,.82],type:\"tween\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;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 humanReadableVariantMap={Desktop:\"N05g2neHJ\",Phone:\"FhzfFXWoX\"};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,title1,videoURL,width,...props})=>{return{...props,KD7wlqT8G:title1??props.KD7wlqT8G??\"Play Showreel\",M7GdAI5Rj:click??props.M7GdAI5Rj,PThu4FTWi:videoURL??props.PThu4FTWi??\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",variant:humanReadableVariantMap[props.variant]??props.variant??\"N05g2neHJ\"};};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,M7GdAI5Rj,PThu4FTWi,KD7wlqT8G,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"N05g2neHJ\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1doq78u=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(M7GdAI5Rj){const res=await M7GdAI5Rj(...args);if(res===false)return false;}});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-1iklvl1\",className,classNames),\"data-framer-name\":\"Desktop\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"N05g2neHJ\",onTap:onTap1doq78u,ref:refBinding,style:{borderBottomLeftRadius:3,borderBottomRightRadius:3,borderTopLeftRadius:3,borderTopRightRadius:3,...style},variants:{FhzfFXWoX:{borderBottomLeftRadius:18,borderBottomRightRadius:18,borderTopLeftRadius:18,borderTopRightRadius:18}},...addPropertyOverrides({\"N05g2neHJ-hover\":{\"data-framer-name\":undefined},FhzfFXWoX:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1mzryyi\",layoutDependency:layoutDependency,layoutId:\"CxqHZPL1w\",children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:58,y:(componentViewport?.y||0)+(0+((componentViewport?.height||801)-0-800)/2)+347,...addPropertyOverrides({\"N05g2neHJ-hover\":{y:(componentViewport?.y||0)+(0+((componentViewport?.height||801)-0-800)/2)+371.6441},FhzfFXWoX:{y:(componentViewport?.y||0)+(0+((componentViewport?.height||779)-0-260)/2)+93.2}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-7mhtlu-container\",layoutDependency:layoutDependency,layoutId:\"oXr4mbskw-container\",nodeId:\"oXr4mbskw\",rendersWithMotion:true,scopeId:\"m67_fmLdY\",transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(PlayButton,{e6nt_8_hu:\"rgb(255, 255, 255)\",height:\"100%\",id:\"oXr4mbskw\",layoutId:\"oXr4mbskw\",n7Z5Hqyrh:KD7wlqT8G,style:{height:\"100%\"},variant:matchVariant(\"TDt8GZSA3\"),width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-jw86gd-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"yHOqZQztM-container\",nodeId:\"yHOqZQztM\",rendersWithMotion:true,scopeId:\"m67_fmLdY\",style:{filter:\"none\",scale:1,WebkitFilter:\"none\"},variants:{\"N05g2neHJ-hover\":{filter:\"blur(0px)\",scale:1.1,WebkitFilter:\"blur(0px)\"}},children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:5,bottomLeftRadius:5,bottomRightRadius:5,controls:false,height:\"100%\",id:\"yHOqZQztM\",isMixedBorderRadius:false,layoutId:\"yHOqZQztM\",loop:true,muted:true,objectFit:\"cover\",playing:true,posterEnabled:true,srcType:\"URL\",srcUrl:PThu4FTWi,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:5,topRightRadius:5,volume:25,width:\"100%\"})})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-dVTmH.framer-3rwvit, .framer-dVTmH .framer-3rwvit { display: block; }\",\".framer-dVTmH.framer-1iklvl1 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 4px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 1152px; will-change: var(--framer-will-change-override, transform); }\",\".framer-dVTmH .framer-1mzryyi { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-dVTmH .framer-7mhtlu-container { flex: none; height: 58px; left: 50%; position: absolute; top: 47%; width: auto; z-index: 1; }\",\".framer-dVTmH .framer-jw86gd-container { aspect-ratio: 1.4588377723970944 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 801px); position: relative; width: 1168px; }\",\".framer-dVTmH.framer-v-773gb0.framer-1iklvl1 { width: 390px; }\",\".framer-dVTmH.framer-v-773gb0 .framer-jw86gd-container { aspect-ratio: 1.5 / 1; height: var(--framer-aspect-ratio-supported, 779px); }\",\".framer-dVTmH.framer-v-1iklvl1.hover .framer-7mhtlu-container { top: 50%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 801\n * @framerIntrinsicWidth 1152\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"FhzfFXWoX\":{\"layout\":[\"fixed\",\"auto\"]},\"DkJuHWfOz\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"M7GdAI5Rj\":\"click\",\"PThu4FTWi\":\"videoURL\",\"KD7wlqT8G\":\"title1\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerm67_fmLdY=withCSS(Component,css,\"framer-dVTmH\");export default Framerm67_fmLdY;Framerm67_fmLdY.displayName=\"Video 2\";Framerm67_fmLdY.defaultProps={height:801,width:1152};addPropertyControls(Framerm67_fmLdY,{variant:{options:[\"N05g2neHJ\",\"FhzfFXWoX\"],optionTitles:[\"Desktop\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},M7GdAI5Rj:{title:\"Click\",type:ControlType.EventHandler},PThu4FTWi:{defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",title:\"Video URL\",type:ControlType.String},onPThu4FTWiChange:{changes:\"PThu4FTWi\",type:ControlType.ChangeHandler},KD7wlqT8G:{defaultValue:\"Play Showreel\",displayTextArea:false,title:\"Title 1\",type:ControlType.String},onKD7wlqT8GChange:{changes:\"KD7wlqT8G\",type:ControlType.ChangeHandler}});addFonts(Framerm67_fmLdY,[{explicitInter:true,fonts:[]},...PlayButtonFonts,...VideoFonts],{supportsExplicitInterCodegen:true});Framerm67_fmLdY.loader={load:(props,context)=>{const locale=context.locale;return Promise.allSettled([forwardLoader(Play,{},context),forwardLoader(PlayButton,{},context)]);}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerm67_fmLdY\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"801\",\"framerVariables\":\"{\\\"M7GdAI5Rj\\\":\\\"click\\\",\\\"PThu4FTWi\\\":\\\"videoURL\\\",\\\"KD7wlqT8G\\\":\\\"title1\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"FhzfFXWoX\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"DkJuHWfOz\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"1152\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./m67_fmLdY.map"],"mappings":"8fACogC,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,mDAAnnC,IAAmO,IAAkE,IAA4B,IAAsI,IAA+G,IAAqH,CAAM,EAAgB,EAASA,EAAW,CAAO,EAAW,EAAS,EAAM,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,CAA4Q,EAAY,CAAC,MAAM,EAAE,SAAS,IAAI,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,QAAQ,CAA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