{"version":3,"file":"j6n8ceb8j.Dv412Rtn.mjs","names":["YouTube","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/44rj9SIvGzi1COY8oUyI/FFIPRCkl8okFsPM5vJnc/j6n8ceb8j.js"],"sourcesContent":["// Generated by Framer (a9375b9)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Youtube as YouTube}from\"https://framerusercontent.com/modules/NEd4VmDdsxM3StIUbddO/4sbLnuatuUfmOTwFGSJM/YouTube.js\";const YouTubeFonts=getFonts(YouTube);const enabledGestures={KQniT7KQt:{hover:true}};const serializationHash=\"framer-Q6YqG\";const variantClassNames={KQniT7KQt:\"framer-v-6rkrwg\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};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 getProps=({height,id,videoURL,width,...props})=>{return{...props,rNwGiejQ9:videoURL??props.rNwGiejQ9??\"https://www.youtube.com/watch?v=YwlvRaY1UlQ\"};};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,rNwGiejQ9,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"KQniT7KQt\",enabledGestures,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-6rkrwg\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"KQniT7KQt\",ref:refBinding,style:{borderBottomLeftRadius:16,borderBottomRightRadius:16,borderTopLeftRadius:16,borderTopRightRadius:16,...style},...addPropertyOverrides({\"KQniT7KQt-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-u6enyu-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"C5ndg3Uyn-container\",nodeId:\"C5ndg3Uyn\",rendersWithMotion:true,scopeId:\"j6n8ceb8j\",children:/*#__PURE__*/_jsx(YouTube,{borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,height:\"100%\",id:\"C5ndg3Uyn\",isMixedBorderRadius:false,isRed:true,layoutId:\"C5ndg3Uyn\",play:\"On\",shouldMute:false,style:{height:\"100%\",width:\"100%\"},thumbnail:\"Medium Quality\",topLeftRadius:0,topRightRadius:0,url:rNwGiejQ9,width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Q6YqG.framer-phsdqq, .framer-Q6YqG .framer-phsdqq { display: block; }\",\".framer-Q6YqG.framer-6rkrwg { align-content: center; align-items: center; cursor: default; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 540px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 960px; will-change: var(--framer-will-change-override, transform); }\",\".framer-Q6YqG .framer-u6enyu-container { bottom: 0px; flex: none; left: 0px; position: absolute; right: 0px; top: 0px; z-index: 1; }\",\".framer-Q6YqG.framer-v-6rkrwg.hover.framer-6rkrwg { aspect-ratio: 1.7777777777777777 / 1; height: var(--framer-aspect-ratio-supported, 540px); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 540\n * @framerIntrinsicWidth 960\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"RLcFzxdsE\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"rNwGiejQ9\":\"videoURL\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerj6n8ceb8j=withCSS(Component,css,\"framer-Q6YqG\");export default Framerj6n8ceb8j;Framerj6n8ceb8j.displayName=\"Video/Youtube video\";Framerj6n8ceb8j.defaultProps={height:540,width:960};addPropertyControls(Framerj6n8ceb8j,{rNwGiejQ9:{defaultValue:\"https://www.youtube.com/watch?v=YwlvRaY1UlQ\",displayTextArea:true,placeholder:\"URL\",title:\"Video URL\",type:ControlType.String}});addFonts(Framerj6n8ceb8j,[{explicitInter:true,fonts:[]},...YouTubeFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerj6n8ceb8j\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"960\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"540\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"rNwGiejQ9\\\":\\\"videoURL\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"RLcFzxdsE\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./j6n8ceb8j.map"],"mappings":"kYAC2oB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAAxwB,IAA4L,IAAkE,IAA4B,IAAqJ,CAAM,EAAa,EAASA,EAAQ,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAA8L,EAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,KAAK,QAAQ,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,GAAU,CAAC,SAAO,KAAG,WAAS,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAU,EAAM,WAAW,8CAA8C,EAAS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