{"version":3,"file":"SourceVideo.CuU_tWd4.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6KXUkhaqckjveLJ09769/e7L05z4m6RhDQrA7xdM0/SourceVideo.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 960\n * @framerIntrinsicHeight 540\n */export default function SourceVideo({embed=\"\",title=\"Video demonstration\",poster=\"\",style}){if(!embed)return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",height:1}});const canvas=RenderTarget.current()===RenderTarget.canvas;return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\",aspectRatio:\"16 / 9\",height:\"auto\",background:\"#172342\",borderRadius:16,overflow:\"hidden\"},children:canvas&&poster?/*#__PURE__*/_jsx(\"img\",{src:poster,alt:title,style:{display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\"}}):/*#__PURE__*/_jsx(\"iframe\",{src:embed,title:title,loading:\"eager\",allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\",allowFullScreen:true,referrerPolicy:\"strict-origin-when-cross-origin\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0}})});}addPropertyControls(SourceVideo,{embed:{type:ControlType.String,title:\"Source embed URL\",defaultValue:\"\"},title:{type:ControlType.String,title:\"Video title\",defaultValue:\"Video demonstration\"},poster:{type:ControlType.String,title:\"Source poster URL\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SourceVideo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"540\",\"framerIntrinsicWidth\":\"960\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SourceVideo.map"],"mappings":"mKAKG,SAAwB,EAAY,CAAC,QAAM,GAAG,QAAM,sBAAsB,SAAO,GAAG,SAAO,CAAC,GAAG,CAAC,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,OAAO,CAAC,CAAC,CAAC,EAAE,IAAM,EAAO,EAAa,QAAQ,IAAI,EAAa,OAAO,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,OAAO,YAAY,SAAS,OAAO,OAAO,WAAW,UAAU,aAAa,GAAG,SAAS,QAAQ,EAAE,SAAS,GAAQ,EAAoB,EAAK,MAAM,CAAC,IAAI,EAAO,IAAI,EAAM,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,UAAU,OAAO,CAAC,CAAC,EAAe,EAAK,SAAS,CAAC,IAAI,EAAY,QAAM,QAAQ,QAAQ,MAAM,sGAAsG,gBAAgB,GAAK,eAAe,kCAAkC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBALl0B,IAAiE,EAKkwB,EAAoB,EAAY,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,mBAAmB,aAAa,EAAE,EAAE,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,qBAAqB,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,oBAAoB,aAAa,EAAE,CAAC,CAAC"}