{"version":3,"file":"ResponsiveVimeo.cMJNKST6.mjs","names":[],"sources":["https:/framerusercontent.com/modules/2SJ1PmuhRWMhbZpJWpN3/6PRm8Xkomwg2vUeuxcjr/ResponsiveVimeo.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{Frame,addPropertyControls,ControlType}from\"framer\";function extractVimeoID(url){if(!url)return\"\";const match=url.match(/vimeo\\.com\\/(\\d+)/);return match?match[1]:\"\";}export function ResponsiveVimeo({videoUrl}){const videoID=extractVimeoID(videoUrl);if(!videoID)return null;const embedUrl=`https://player.vimeo.com/video/${videoID}?autoplay=1&muted=1&background=1&loop=1`;return /*#__PURE__*/_jsx(Frame,{width:\"100%\",height:\"100%\",background:\"transparent\",overflow:\"hidden\",style:{position:\"relative\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\",width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"iframe\",{src:embedUrl,frameBorder:\"0\",allow:\"autoplay; fullscreen; picture-in-picture\",allowFullScreen:true,style:{aspectRatio:\"16 / 9\",width:\"100%\",height:\"auto\",minHeight:\"100%\",minWidth:\"100%\",pointerEvents:\"none\",display:\"block\"}})})});}addPropertyControls(ResponsiveVimeo,{videoUrl:{type:ControlType.String,title:\"Vimeo URL\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"ResponsiveVimeo\":{\"type\":\"reactComponent\",\"name\":\"ResponsiveVimeo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ResponsiveVimeo.map"],"mappings":"mKAAqG,SAAS,EAAe,EAAI,CAAC,GAAG,CAAC,EAAI,MAAM,GAAG,IAAM,EAAM,EAAI,MAAM,oBAAoB,CAAC,OAAO,EAAM,EAAM,GAAG,GAAI,SAAgB,EAAgB,CAAC,YAAU,CAAC,IAAM,EAAQ,EAAe,EAAS,CAA2H,OAAtH,EAA0I,EAAK,EAAM,CAAC,MAAM,OAAO,OAAO,OAAO,WAAW,cAAc,SAAS,SAAS,MAAM,CAAC,SAAS,WAAW,CAAC,SAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,MAAM,KAAK,MAAM,UAAU,wBAAwB,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,CAAC,SAAsB,EAAK,SAAS,CAAC,IAArc,kCAAkC,EAAQ,yCAAwa,YAAY,IAAI,MAAM,2CAA2C,gBAAgB,GAAK,MAAM,CAAC,YAAY,SAAS,MAAM,OAAO,OAAO,OAAO,UAAU,OAAO,SAAS,OAAO,cAAc,OAAO,QAAQ,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAA/rB,sBAAnR,IAA0D,CAA05B,EAAoB,EAAgB,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,CAAC,CAAC"}