{"version":3,"file":"VideoCarousel.CvCF36bN.mjs","names":["useState","useRef","__esmMin","init_ssg_sandbox_shims","te","window","_e","de","init_jsx_runtime","p","init_npm_react_18_3_1","ce","motion","AnimatePresence","init_framer_motion_DhsWWWsN","addPropertyControls","init_framer_CKT6jEEQ","ControlType","VideoCarousel","props","currentIndex","setCurrentIndex","direction","setDirection","videoRef","autoPlayTimerRef","isPlaying","setIsPlaying","currentVideo","videos","convertDropboxUrl","url","handleNext","prev","handlePrevious","autoPlay","enableInterval","autoPlayInterval","buttonStyle","buttonBackground","buttonSize","buttonIconColor","isGrouped","controlLayout","isDistance","controlSpacing","showControls","showTitle","titleColor","titleFont","showDots","index","activeDotColor","dotColor","groupedPosition","groupedBottom","groupedGap","init_VideoCarousel"],"sources":["https:/framerusercontent.com/modules/cwngFY9oeQmDNTebqma4/oBM6d8AbSXLoe8uXP3Lu/VideoCarousel.js"],"sourcesContent":["// Video carousel component with Dropbox URL support, next/previous controls, and autoplay\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useRef,useEffect,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function VideoCarousel(props){const{videos,autoPlay,autoPlayInterval,enableInterval,showControls,controlsColor,backgroundColor,borderRadius,showTitle,titleColor,titleFont,buttonSize,buttonBackground,buttonIconColor,controlSpacing,showDots,dotColor,activeDotColor,controlLayout,groupedPosition,groupedBottom,groupedGap}=props;const[currentIndex,setCurrentIndex]=useState(0);const[direction,setDirection]=useState(0);const videoRef=useRef(null);const autoPlayTimerRef=useRef(null);const[isPlaying,setIsPlaying]=useState(false);const currentVideo=videos[currentIndex]||videos[0];const convertDropboxUrl=url=>{if(url.includes(\"dropbox.com\")){return url.replace(\"www.dropbox.com\",\"dl.dropboxusercontent.com\").replace(\"?dl=0\",\"\");}return url;};const handleNext=()=>{setDirection(1);startTransition(()=>{setCurrentIndex(prev=>(prev+1)%videos.length);});};const handlePrevious=()=>{setDirection(-1);startTransition(()=>{setCurrentIndex(prev=>(prev-1+videos.length)%videos.length);});};useEffect(()=>{if(videoRef.current){videoRef.current.load();if(autoPlay){videoRef.current.play().catch(()=>{// Autoplay might be blocked by browser\n});}}},[currentIndex]);useEffect(()=>{if(autoPlay&&enableInterval&&videos.length>1){if(autoPlayTimerRef.current){window.clearInterval(autoPlayTimerRef.current);}autoPlayTimerRef.current=window.setInterval(()=>{handleNext();},autoPlayInterval*1e3);return()=>{if(autoPlayTimerRef.current){window.clearInterval(autoPlayTimerRef.current);}};}},[autoPlay,enableInterval,autoPlayInterval,videos.length,currentIndex]);const nextIndex=(currentIndex+1)%videos.length;const nextVideo=videos[nextIndex];const buttonStyle={background:buttonBackground,border:\"none\",borderRadius:\"50%\",width:buttonSize,height:buttonSize,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",transition:\"background 0.2s\",color:buttonIconColor,flexShrink:0};const isGrouped=controlLayout===\"grouped\";const isDistance=controlLayout===\"distance\";return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:isDistance?controlSpacing:0},children:[showControls&&videos.length>1&&isDistance&&/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:handlePrevious,onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(0, 0, 0, 0.7)\";},onMouseLeave:e=>{e.currentTarget.style.background=buttonBackground;},\"aria-label\":\"Previous video\",children:/*#__PURE__*/_jsxs(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"title\",{children:\"Previous\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15 18l-6-6 6-6\"})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:isDistance?1:undefined,width:isGrouped?\"100%\":undefined,height:\"100%\",backgroundColor,borderRadius,overflow:\"hidden\",display:\"flex\",flexDirection:\"column\",position:\"relative\"},children:[/*#__PURE__*/_jsx(AnimatePresence,{initial:false,custom:direction,mode:\"wait\",children:/*#__PURE__*/_jsx(motion.div,{custom:direction,initial:{x:direction>0?\"100%\":\"-100%\",opacity:0},animate:{x:0,opacity:1},exit:{x:direction>0?\"-100%\":\"100%\",opacity:0},transition:{x:{type:\"spring\",stiffness:300,damping:30},opacity:{duration:.2}},style:{flex:1,position:\"relative\",overflow:\"hidden\"},children:/*#__PURE__*/_jsxs(\"video\",{ref:videoRef,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"},controls:true,autoPlay:autoPlay,muted:autoPlay,poster:currentVideo.poster?.src?convertDropboxUrl(currentVideo.poster.src):undefined,children:[/*#__PURE__*/_jsx(\"source\",{src:convertDropboxUrl(currentVideo.url),type:\"video/mp4\"}),\"Your browser does not support the video tag.\"]},currentIndex)},currentIndex)}),showTitle&&currentVideo.title&&/*#__PURE__*/_jsx(\"div\",{style:{padding:\"16px 20px\",backgroundColor:\"rgba(0, 0, 0, 0.8)\",color:titleColor,...titleFont},children:currentVideo.title}),showDots&&videos.length>1&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:showTitle?\"60px\":\"16px\",left:\"50%\",transform:\"translateX(-50%)\",display:\"flex\",gap:8,padding:\"8px 12px\",backgroundColor:\"rgba(0, 0, 0, 0.5)\",borderRadius:20},children:videos.map((_,index)=>/*#__PURE__*/_jsx(\"button\",{onClick:()=>{setDirection(index>currentIndex?1:-1);startTransition(()=>setCurrentIndex(index));},style:{width:8,height:8,borderRadius:\"50%\",border:\"none\",backgroundColor:index===currentIndex?activeDotColor:dotColor,cursor:\"pointer\",padding:0,transition:\"background-color 0.3s\"},\"aria-label\":`Go to video ${index+1}`},index))}),showControls&&videos.length>1&&isGrouped&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:groupedPosition.startsWith(\"bottom\")?groupedBottom:groupedPosition===\"center\"||groupedPosition.includes(\"center-\")?\"auto\":\"auto\",top:groupedPosition.startsWith(\"top\")?groupedBottom:groupedPosition===\"center\"||groupedPosition.includes(\"center-\")?\"50%\":\"auto\",left:groupedPosition.endsWith(\"left\")?groupedBottom:groupedPosition.includes(\"center\")||groupedPosition.includes(\"middle\")?\"50%\":\"auto\",right:groupedPosition.endsWith(\"right\")?groupedBottom:\"auto\",transform:groupedPosition.includes(\"center\")||groupedPosition.includes(\"middle\")?groupedPosition===\"center\"?\"translate(-50%, -50%)\":groupedPosition.includes(\"center-\")?\"translateY(-50%)\":\"translateX(-50%)\":undefined,display:\"flex\",gap:groupedGap,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:handlePrevious,onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(0, 0, 0, 0.7)\";},onMouseLeave:e=>{e.currentTarget.style.background=buttonBackground;},\"aria-label\":\"Previous video\",children:/*#__PURE__*/_jsxs(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"title\",{children:\"Previous\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15 18l-6-6 6-6\"})]})}),/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:handleNext,onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(0, 0, 0, 0.7)\";},onMouseLeave:e=>{e.currentTarget.style.background=buttonBackground;},\"aria-label\":\"Next video\",children:/*#__PURE__*/_jsxs(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"title\",{children:\"Next\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 18l6-6-6-6\"})]})})]})]}),showControls&&videos.length>1&&isDistance&&/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onClick:handleNext,onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(0, 0, 0, 0.7)\";},onMouseLeave:e=>{e.currentTarget.style.background=buttonBackground;},\"aria-label\":\"Next video\",children:/*#__PURE__*/_jsxs(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"title\",{children:\"Next\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 18l6-6-6-6\"})]})})]});}addPropertyControls(VideoCarousel,{videos:{type:ControlType.Array,control:{type:ControlType.Object,controls:{url:{type:ControlType.String,title:\"Video URL\",defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\"},poster:{type:ControlType.ResponsiveImage,title:\"Poster Image\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Video Title\"}}},defaultValue:[{url:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",title:\"Sample Video 1\"},{url:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",title:\"Sample Video 2\"}]},autoPlay:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},autoPlayInterval:{type:ControlType.Number,title:\"Interval (s)\",defaultValue:10,min:3,max:60,step:1,hidden:({autoPlay})=>!autoPlay},enableInterval:{type:ControlType.Boolean,title:\"Enable Interval\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:({autoPlay})=>!autoPlay},showControls:{type:ControlType.Boolean,title:\"Show Controls\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},controlLayout:{type:ControlType.Enum,title:\"Control Layout\",options:[\"grouped\",\"distance\"],optionTitles:[\"Grouped\",\"Distance\"],defaultValue:\"distance\",displaySegmentedControl:true,hidden:({showControls})=>!showControls},groupedPosition:{type:ControlType.Enum,title:\"Position\",options:[\"top-left\",\"top-center\",\"top-right\",\"center-left\",\"center\",\"center-right\",\"bottom-left\",\"bottom-middle\",\"bottom-right\"],optionTitles:[\"Top Left\",\"Top Center\",\"Top Right\",\"Center Left\",\"Center\",\"Center Right\",\"Bottom Left\",\"Bottom Middle\",\"Bottom Right\"],defaultValue:\"bottom-middle\",hidden:({showControls,controlLayout})=>!showControls||controlLayout!==\"grouped\"},groupedBottom:{type:ControlType.Number,title:\"Bottom\",defaultValue:0,min:0,max:200,step:1,unit:\"px\",hidden:({showControls,controlLayout})=>!showControls||controlLayout!==\"grouped\"},groupedGap:{type:ControlType.Number,title:\"Gap\",defaultValue:10,min:0,max:100,step:1,unit:\"px\",hidden:({showControls,controlLayout})=>!showControls||controlLayout!==\"grouped\"},controlsColor:{type:ControlType.Color,title:\"Controls Color\",defaultValue:\"#FFFFFF\"},buttonSize:{type:ControlType.Number,title:\"Button Size\",defaultValue:48,min:32,max:80,step:4,hidden:({showControls})=>!showControls},buttonBackground:{type:ControlType.Color,title:\"Button Background\",defaultValue:\"rgba(0, 0, 0, 0.5)\",hidden:({showControls})=>!showControls},buttonIconColor:{type:ControlType.Color,title:\"Button Icon\",defaultValue:\"#FFFFFF\",hidden:({showControls})=>!showControls},controlSpacing:{type:ControlType.Number,title:\"Control Spacing\",defaultValue:16,min:0,max:64,step:4,unit:\"px\",hidden:({showControls,controlLayout})=>!showControls||controlLayout!==\"distance\"},showDots:{type:ControlType.Boolean,title:\"Show Dots\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"rgba(255, 255, 255, 0.5)\",hidden:({showDots})=>!showDots},activeDotColor:{type:ControlType.Color,title:\"Active Dot\",defaultValue:\"#FFFFFF\",hidden:({showDots})=>!showDots},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32},showTitle:{type:ControlType.Boolean,title:\"Show Title\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#FFFFFF\",hidden:({showTitle})=>!showTitle},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},hidden:({showTitle})=>!showTitle}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoCarousel\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoCarousel.map"],"mappings":"A,uQAIG,SAAwBkB,EAAc,EAAM,CAAC,GAAK,CAAC,SAAO,WAAS,mBAAiB,iBAAe,eAAa,gBAAc,kBAAgB,eAAa,YAAU,aAAW,YAAU,aAAW,mBAAiB,kBAAgB,iBAAe,WAAS,WAAS,iBAAe,gBAAc,kBAAgB,gBAAc,cAAYC,EAAW,CAACC,EAAaC,GAAiBrB,EAAS,CAAC,EAAO,CAACsB,EAAUC,GAAcvB,EAAS,CAAC,EAAQwB,EAASvB,EAAO,IAAI,EAAQwB,EAAiBxB,EAAO,IAAI,EAAO,CAACyB,EAAUC,GAAc3B,EAAS,EAAK,EAAQ4B,EAAaC,EAAOT,IAAeS,EAAO,GAASC,EAAkB,GAASC,EAAI,SAAS,aAAa,EAAUA,EAAI,QAAQ,kBAAkB,2BAA2B,CAAC,CAAC,QAAQ,QAAQ,EAAE,EAAUA,EAAYC,MAAe,CAACT,EAAa,CAAC,EAAEnB,MAAoB,CAACiB,EAAgB,IAAOY,EAAK,GAAGJ,EAAO,MAAM,CAAE,CAAC,CAAE,EAAQK,MAAmB,CAACX,EAAa,EAAE,EAAEnB,MAAoB,CAACiB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