{"version":3,"file":"Video_manager.Dsae9DI4.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/drevPpSB4UG2Y4fT9rj6/RCF1hkVvLgh3tadIqk5C/Video_manager.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Renders multiple uploaded videos stacked.\n * Only one (at the current index) is visible.\n */export function VideoList({videos}){const[index,setIndex]=React.useState(0);React.useEffect(()=>{window.__SET_VIDEO_INDEX__=setIndex;window.__FRAMER_VIDEOS__=videos||[];},[videos]);if(!videos?.length)return null;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\"},children:videos.map((v,i)=>/*#__PURE__*/_jsx(\"video\",{src:v,autoPlay:true,loop:true,muted:true,playsInline:true,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",opacity:i===index?1:0,transition:\"opacity 0.5s ease\"}},v))});}addPropertyControls(VideoList,{videos:{type:ControlType.Array,title:\"Videos\",propertyControl:{type:ControlType.File,allowedFileTypes:[\"mp4\",\"mov\"]}}});\nexport const __FramerMetadata__ = {\"exports\":{\"VideoList\":{\"type\":\"reactComponent\",\"name\":\"VideoList\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video_manager.map"],"mappings":"kTAGG,SAAgB,EAAU,CAAC,UAAQ,CAAC,GAAK,CAAC,EAAM,GAAUA,EAAe,EAAE,CAAyI,OAAxI,MAAoB,CAAC,EAAO,oBAAoB,EAAS,EAAO,kBAAkB,GAAQ,EAAE,EAAG,CAAC,EAAO,CAAC,CAAK,GAAQ,OAAuC,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,CAAC,SAAS,EAAO,KAAK,EAAE,IAAiB,EAAK,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAK,KAAK,GAAK,MAAM,GAAK,YAAY,GAAK,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,QAAQ,IAAI,EAAM,EAAE,EAAE,WAAW,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAA7V,0BAHvK,IAA4B,IAAoD,CAGsb,EAAoB,EAAU,CAAC,OAAO,CAAC,KAAK,EAAY,MAAM,MAAM,SAAS,gBAAgB,CAAC,KAAK,EAAY,KAAK,iBAAiB,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,CAAC"}