{"version":3,"file":"Pluginvideo.DPZUlTeu.mjs","names":[],"sources":["https:/framerusercontent.com/modules/lfnzr7os7EmwcQCjNuJp/dBrYqQGvwHVcZb8GSKFf/Pluginvideo.js"],"sourcesContent":["// HeroBanner — page width, full frame, height follows the video.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 675\n */export default function HeroBanner({videoUrl=\"\",fallbackImage=\"\",overlayOpacity=0,overlayColor=\"#000000\"}){const hasVideo=typeof videoUrl===\"string\"&&videoUrl.trim()!==\"\";const imageSrc=typeof fallbackImage===\"string\"?fallbackImage:fallbackImage?.src;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"auto\",overflow:\"hidden\",background:\"#111\",lineHeight:0},children:[hasVideo&&/*#__PURE__*/_jsx(\"video\",{src:videoUrl,autoPlay:true,muted:true,loop:true,playsInline:true,style:{display:\"block\",width:\"100%\",height:\"auto\",objectFit:\"contain\",objectPosition:\"center\"}}),!hasVideo&&imageSrc&&/*#__PURE__*/_jsx(\"img\",{src:imageSrc,alt:\"\",style:{display:\"block\",width:\"100%\",height:\"auto\"}}),overlayOpacity>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:overlayColor,opacity:overlayOpacity,pointerEvents:\"none\"}})]});}addPropertyControls(HeroBanner,{videoUrl:{type:ControlType.String,title:\"Video URL\",defaultValue:\"\"},fallbackImage:{type:ControlType.Image,title:\"Fallback Image\"},overlayColor:{type:ControlType.Color,title:\"Overlay Color\",defaultValue:\"#000000\"},overlayOpacity:{type:ControlType.Number,title:\"Overlay Opacity\",defaultValue:0,min:0,max:1,step:.05}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroBanner\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"675\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"1200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Pluginvideo.map"],"mappings":"mKAMG,SAAwB,EAAW,CAAC,WAAS,GAAG,gBAAc,GAAG,iBAAe,EAAE,eAAa,WAAW,CAAC,IAAM,EAAS,OAAO,GAAW,UAAU,EAAS,KAAK,IAAI,GAAS,EAAS,OAAO,GAAgB,SAAS,EAAc,GAAe,IAAI,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,WAAW,OAAO,WAAW,CAAC,EAAE,SAAS,CAAC,GAAuB,EAAK,QAAQ,CAAC,IAAI,EAAS,SAAS,GAAK,MAAM,GAAK,KAAK,GAAK,YAAY,GAAK,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,UAAU,UAAU,eAAe,QAAQ,CAAC,CAAC,EAAE,CAAC,GAAU,GAAuB,EAAK,MAAM,CAAC,IAAI,EAAS,IAAI,GAAG,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,MAAM,CAAC,CAAC,EAAE,EAAe,GAAgB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,WAAW,EAAa,QAAQ,EAAe,cAAc,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBAL/yB,IAAoD,EAK4vB,EAAoB,EAAW,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,EAAE,EAAE,cAAc,CAAC,KAAK,EAAY,MAAM,MAAM,gBAAgB,EAAE,aAAa,CAAC,KAAK,EAAY,MAAM,MAAM,gBAAgB,aAAa,SAAS,EAAE,eAAe,CAAC,KAAK,EAAY,OAAO,MAAM,kBAAkB,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,GAAG,CAAC,CAAC"}