{"version":3,"file":"VideoSlider.CRu1VMo7.mjs","names":["useState","useRef","useCallback","startTransition","p","_Fragment"],"sources":["https:/framerusercontent.com/modules/9AjLhZLjkX5Brjnqfgrm/lcJejhroGR93XzC9miYZ/VideoSlider.js"],"sourcesContent":["// Simple, elegant, and cinematic video slider with support for YouTube and Vimeo links\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useCallback,useRef,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";/**\n * Cinematic Video Slider\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 450\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function VideoSlider(props){const{videos=[{url:\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\",title:\"Sample Video 1\"},{url:\"https://vimeo.com/147365861\",title:\"Sample Video 2\"},{url:\"https://www.youtube.com/watch?v=ScMzIvxBSi4\",title:\"Sample Video 3\"}],autoPlay=false,autoPlayInterval=5e3,showTitles=true,showArrows=true,backgroundColor=\"#000000\",dotColor=\"#FFFFFF\",activeDotColor=\"#FF0000\",titleColor=\"#FFFFFF\",arrowColor=\"#FFFFFF\",arrowBackgroundColor=\"rgba(0,0,0,0.5)\",titleFont,borderRadius=12,aspectRatio=\"16:9\",showGlow=true,glowIntensity=.6,glowBlur=60,glowSize=120}=props;const[currentIndex,setCurrentIndex]=useState(0);const[dominantColors,setDominantColors]=useState([]);const[isGlowVisible,setIsGlowVisible]=useState(false);const canvasRef=useRef(null);const isStatic=useIsStaticRenderer();// color → rgba\nconst toRgba=(color,alpha)=>{const a=Math.max(0,Math.min(1,alpha));const hex=color.trim().match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);if(hex){const raw=hex[1];const r=raw.length===3?parseInt(raw[0]+raw[0],16):parseInt(raw.slice(0,2),16);const g=raw.length===3?parseInt(raw[1]+raw[1],16):parseInt(raw.slice(2,4),16);const b=raw.length===3?parseInt(raw[2]+raw[2],16):parseInt(raw.slice(4,6),16);return`rgba(${r}, ${g}, ${b}, ${a})`;}const rgb=color.match(/rgba?\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)/i);if(rgb)return`rgba(${rgb[1]}, ${rgb[2]}, ${rgb[3]}, ${a})`;return`rgba(255,255,255,${a})`;};// dominant colors (same logic as before)\nconst extractDominantColors=imageData=>{const data=imageData.data;const counts={};for(let i=0;i<data.length;i+=8){const r=data[i],g=data[i+1],b=data[i+2],a=data[i+3];if(a>128){const bright=(r+g+b)/3;if(bright>30&&bright<225){const key=`${Math.floor(r/24)*24},${Math.floor(g/24)*24},${Math.floor(b/24)*24}`;counts[key]=(counts[key]||0)+1;}}}const top=Object.entries(counts).sort(([,A],[,B])=>B-A).slice(0,3).map(([k])=>{const[r,g,b]=k.split(\",\").map(Number);const e=x=>Math.min(255,Math.floor(x*1.2));return`rgb(${e(r)}, ${e(g)}, ${e(b)})`;});return top.length?top:[\"#FF6B6B\",\"#4ECDC4\",\"#45B7D1\"];};const extractColorsFromVideo=useCallback(async url=>{try{let thumb=\"\";const yt=url.match(/(?:youtube\\.com\\/(?:[^\\/]+\\/.+\\/|(?:v|e(?:mbed)?)\\/|.*[?&]v=)|youtu\\.be\\/)([^\"&?\\/\\s]{11})/);if(yt)thumb=`https://img.youtube.com/vi/${yt[1]}/maxresdefault.jpg`;else{const vm=url.match(/vimeo\\.com\\/(\\d+)/);if(vm){const sets=[[\"#FF6B6B\",\"#4ECDC4\",\"#45B7D1\"],[\"#96CEB4\",\"#FFEAA7\",\"#DDA0DD\"],[\"#74B9FF\",\"#A29BFE\",\"#FD79A8\"]];setDominantColors(sets[parseInt(vm[1])%sets.length]);setIsGlowVisible(true);return;}}if(thumb&&canvasRef.current){const ctx=canvasRef.current.getContext(\"2d\");if(!ctx)return;const img=new Image;img.crossOrigin=\"anonymous\";img.onload=()=>{canvasRef.current.width=160;canvasRef.current.height=90;ctx.drawImage(img,0,0,160,90);setDominantColors(extractDominantColors(ctx.getImageData(0,0,160,90)));setIsGlowVisible(true);};img.onerror=()=>{setDominantColors([\"#FF6B6B\",\"#4ECDC4\",\"#45B7D1\"]);setIsGlowVisible(true);};img.src=thumb;}}catch{setDominantColors([\"#FF6B6B\",\"#4ECDC4\",\"#45B7D1\"]);setIsGlowVisible(true);}},[]);// update on slide, with fallback to default colors\nuseEffect(()=>{if(!videos.length||!showGlow)return;setIsGlowVisible(false);extractColorsFromVideo(videos[currentIndex].url);const fallback=setTimeout(()=>{if(!isGlowVisible&&dominantColors.length===0){setDominantColors([\"#FF6B6B\",\"#4ECDC4\",\"#45B7D1\"]);setIsGlowVisible(true);}},120);return()=>clearTimeout(fallback);},[currentIndex,videos,showGlow])// eslint-disable-line\n;// autoplay + keys\nuseEffect(()=>{if(!autoPlay||videos.length<=1)return;const id=setInterval(()=>startTransition(()=>setCurrentIndex(p=>(p+1)%videos.length)),autoPlayInterval);return()=>clearInterval(id);},[autoPlay,autoPlayInterval,videos.length]);useEffect(()=>{if(videos.length<=1)return;const onKey=e=>{if(e.key===\"ArrowLeft\"){e.preventDefault();startTransition(()=>setCurrentIndex(p=>(p-1+videos.length)%videos.length));}if(e.key===\"ArrowRight\"){e.preventDefault();startTransition(()=>setCurrentIndex(p=>(p+1)%videos.length));}};window.addEventListener(\"keydown\",onKey);return()=>window.removeEventListener(\"keydown\",onKey);},[videos.length]);const getEmbedUrl=useCallback(url=>{const yt=url.match(/(?:youtube\\.com\\/(?:[^\\/]+\\/.+\\/|(?:v|e(?:mbed)?)\\/|.*[?&]v=)|youtu\\.be\\/)([^\"&?\\/\\s]{11})/);if(yt){// Critical: rel MUST be 0 (not 1) and must come first in the query string\n// Using standard youtube.com instead of youtube-nocookie.com as it may handle rel differently\nreturn`https://www.youtube.com/embed/${yt[1]}?rel=0&loop=1&playlist=${yt[1]}&modestbranding=1&controls=1&fs=1&iv_load_policy=3&disablekb=0&cc_load_policy=0&color=white&playsinline=1`;}const vm=url.match(/vimeo\\.com\\/(\\d+)/);if(vm)return`https://player.vimeo.com/video/${vm[1]}?title=0&byline=0&portrait=0`;return url;},[]);const getAspectRatioStyle=()=>{switch(aspectRatio){case\"4:3\":return{paddingBottom:\"75%\"};case\"1:1\":return{paddingBottom:\"100%\"};default:return{paddingBottom:\"56.25%\"}// 16:9\n;}};if(!videos.length){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor,borderRadius,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:titleColor,...titleFont},children:\"No videos available\"});}const currentVideo=videos[currentIndex];// Thumbnail click state\nconst[showVideo,setShowVideo]=useState(false);useEffect(()=>{setShowVideo(false);},[currentIndex]);// Helper: is YouTube or Vimeo\nconst isYouTube=currentVideo.url.match(/(?:youtube\\.com|youtu\\.be)/);const isVimeo=currentVideo.url.match(/vimeo\\.com/);// Helper: get thumbnail\nconst getThumbnail=()=>{if(currentVideo.thumbnail&&currentVideo.thumbnail.src)return currentVideo.thumbnail;if(isYouTube){const yt=currentVideo.url.match(/(?:youtube\\.com\\/(?:[^\\/]+\\/.+\\/|(?:v|e(?:mbed)?)\\/|.*[?&]v=)|youtu\\.be\\/)([^\"&?\\/\\s]{11})/);if(yt)return{src:`https://img.youtube.com/vi/${yt[1]}/maxresdefault.jpg`,alt:currentVideo.title};}if(isVimeo){// No easy public thumbnail, fallback\nreturn{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:currentVideo.title};}return{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:currentVideo.title};};// Only show thumbnail overlay if a custom thumbnail is provided\nconst hasCustomThumbnail=!!(currentVideo.thumbnail&&currentVideo.thumbnail.src);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"visible\",isolation:\"isolate\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",backgroundColor,borderRadius,display:\"flex\",flexDirection:\"column\",zIndex:1},tabIndex:0,role:\"region\",\"aria-label\":\"Video slider\",\"aria-live\":\"polite\",children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",overflow:\"visible\",...getAspectRatioStyle()},children:[showGlow&&/*#__PURE__*/_jsx(AnimatePresence,{children:isGlowVisible&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.35,ease:\"easeOut\"},style:{position:\"absolute\",// bleed out so blur never clips\ntop:-glowBlur*2,right:-glowBlur*2,bottom:-glowBlur*2,left:-glowBlur*2,zIndex:1,pointerEvents:\"none\",filter:`blur(${glowBlur}px)`,// paint a single centered radial blob; size driven by background-size\nbackgroundRepeat:\"no-repeat\",backgroundPosition:\"center\",backgroundSize:`${glowSize}% ${glowSize}%`,backgroundImage:`radial-gradient(circle,\n                      ${toRgba(dominantColors[0]||\"#FF6B6B\",glowIntensity)} 0%,\n                      ${toRgba(dominantColors[1]||dominantColors[0]||\"#4ECDC4\",glowIntensity*.7)} 45%,\n                      ${toRgba(dominantColors[2]||dominantColors[0]||\"#45B7D1\",glowIntensity*.45)} 75%,\n                      transparent 100%)`}})}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"hidden\",borderRadius,zIndex:2},children:/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",children:/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:\"easeInOut\"},style:{position:\"absolute\",inset:0},children:!showVideo&&hasCustomThumbnail?/*#__PURE__*/_jsxs(\"button\",{style:{width:\"100%\",height:\"100%\",border:\"none\",padding:0,margin:0,background:\"none\",cursor:\"pointer\",position:\"relative\",display:\"block\"},\"aria-label\":`Play video: ${currentVideo.title}`,onClick:()=>startTransition(()=>setShowVideo(true)),children:[/*#__PURE__*/_jsx(\"img\",{src:getThumbnail().src,alt:getThumbnail().alt,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:0,width:\"100%\",height:\"100%\",background:\"linear-gradient(0deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 100%)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"64\",height:\"64\",viewBox:\"0 0 64 64\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"32\",cy:\"32\",r:\"32\",fill:\"rgba(0,0,0,0.5)\"}),/*#__PURE__*/_jsx(\"polygon\",{points:\"26,20 48,32 26,44\",fill:\"#fff\"})]})})]}):!showVideo&&!hasCustomThumbnail?// No custom thumbnail: show video embed immediately\n/*#__PURE__*/_jsx(\"iframe\",{src:getEmbedUrl(currentVideo.url),style:{width:\"100%\",height:\"100%\",border:\"none\"},allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",allowFullScreen:true,title:currentVideo.title}):/*#__PURE__*/_jsx(\"iframe\",{src:getEmbedUrl(currentVideo.url),style:{width:\"100%\",height:\"100%\",border:\"none\"},allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",allowFullScreen:true,title:currentVideo.title})},currentIndex+(showVideo?\"-video\":\"-thumb\"))})}),showArrows&&videos.length>1&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.button,{onClick:()=>startTransition(()=>setCurrentIndex(p=>(p-1+videos.length)%videos.length)),whileHover:{scale:1.1},whileTap:{scale:.9},style:{position:\"absolute\",left:16,top:\"50%\",transform:\"translateY(-50%)\",width:48,height:48,borderRadius:\"50%\",border:\"none\",backgroundColor:arrowBackgroundColor,color:arrowColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:3},\"aria-label\":\"Previous video\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"15,18 9,12 15,6\"})})}),/*#__PURE__*/_jsx(motion.button,{onClick:()=>startTransition(()=>setCurrentIndex(p=>(p+1)%videos.length)),whileHover:{scale:1.1},whileTap:{scale:.9},style:{position:\"absolute\",right:16,top:\"50%\",transform:\"translateY(-50%)\",width:48,height:48,borderRadius:\"50%\",border:\"none\",backgroundColor:arrowBackgroundColor,color:arrowColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:3},\"aria-label\":\"Next video\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"9,18 15,12 9,6\"})})})]})]}),showTitles&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3,delay:.2},style:{padding:\"16px 20px 12px\",color:titleColor,textAlign:\"center\",...titleFont},children:currentVideo.title},`title-${currentIndex}`),videos.length>1&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",gap:\"12px\",padding:showTitles?\"0 20px 20px\":\"16px 20px 20px\"},role:\"tablist\",\"aria-label\":\"Video navigation\",children:videos.map((v,i)=>/*#__PURE__*/_jsx(motion.button,{onClick:()=>startTransition(()=>setCurrentIndex(i)),whileHover:{scale:1.2},whileTap:{scale:.9},style:{width:12,height:12,borderRadius:\"50%\",border:\"none\",backgroundColor:i===currentIndex?activeDotColor:dotColor,cursor:\"pointer\",transition:\"background-color 0.3s ease\",opacity:i===currentIndex?1:.6},role:\"tab\",\"aria-selected\":i===currentIndex,\"aria-label\":`Go to video ${i+1}: ${v.title}`},i))}),/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{position:\"absolute\",left:\"-10000px\",width:1,height:1,visibility:\"hidden\"}})]})});}addPropertyControls(VideoSlider,{videos:{type:ControlType.Array,title:\"Videos\",control:{type:ControlType.Object,controls:{url:{type:ControlType.String,title:\"Video URL\",placeholder:\"YouTube or Vimeo URL\"},title:{type:ControlType.String,title:\"Title\",placeholder:\"Video title\"},thumbnail:{type:ControlType.ResponsiveImage,title:\"Thumbnail\"}}},defaultValue:[{url:\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\",title:\"Sample Video 1\"},{url:\"https://vimeo.com/147365861\",title:\"Sample Video 2\"},{url:\"https://www.youtube.com/watch?v=ScMzIvxBSi4\",title:\"Sample Video 3\"}],maxCount:10},autoPlay:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},autoPlayInterval:{type:ControlType.Number,title:\"Auto Play Interval\",defaultValue:5e3,min:1e3,max:3e4,step:500,unit:\"ms\",hidden:({autoPlay})=>!autoPlay},aspectRatio:{type:ControlType.Enum,title:\"Aspect Ratio\",options:[\"16:9\",\"4:3\",\"1:1\"],optionTitles:[\"16:9 (Widescreen)\",\"4:3 (Standard)\",\"1:1 (Square)\"],defaultValue:\"16:9\",displaySegmentedControl:true},showTitles:{type:ControlType.Boolean,title:\"Show Titles\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showArrows:{type:ControlType.Boolean,title:\"Show Arrows\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"},dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"#FFFFFF\"},activeDotColor:{type:ControlType.Color,title:\"Active Dot Color\",defaultValue:\"#FF0000\"},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"#FFFFFF\",hidden:({showArrows})=>!showArrows},arrowBackgroundColor:{type:ControlType.Color,title:\"Arrow Background\",defaultValue:\"rgba(0,0,0,0.5)\",hidden:({showArrows})=>!showArrows},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#FFFFFF\",hidden:({showTitles})=>!showTitles},titleFont:{type:ControlType.Font,title:\"Title Font\",defaultValue:{fontSize:\"16px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({showTitles})=>!showTitles},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:12,min:0,max:32,step:1,unit:\"px\"},showGlow:{type:ControlType.Boolean,title:\"Show Glow\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},glowIntensity:{type:ControlType.Number,title:\"Glow Intensity\",defaultValue:.6,min:.1,max:1,step:.1,hidden:({showGlow})=>!showGlow},glowBlur:{type:ControlType.Number,title:\"Glow Blur\",defaultValue:60,min:10,max:100,step:5,unit:\"px\",hidden:({showGlow})=>!showGlow},glowSize:{type:ControlType.Number,title:\"Glow Size\",defaultValue:120,min:50,max:200,step:10,unit:\"%\",hidden:({showGlow})=>!showGlow}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoSlider\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"450\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"800\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoSlider.map"],"mappings":"qdAOG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,SAAO,CAAC,CAAC,IAAI,8CAA8C,MAAM,iBAAiB,CAAC,CAAC,IAAI,8B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