{"version":3,"file":"VideoGallery.Cs0-g0LB.mjs","names":["React.useState","React.useRef","React.useLayoutEffect","_jsx","React.useCallback","React.useEffect","_jsxs","_Fragment","__esmMin","ne","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","le","ce","init_jsx_runtime","l","c","_e","de","addPropertyControls","init_framer_ChujFWHC","ControlType","clamp","value","min","max","getYouTubeId","url","match","getDirectVideoSource","video","getImageSource","getImageSrcSet","getImageAlt","getThumbnailSources","sources","manual","youtubeId","addPreconnect","origin","selector","link","PosterImage","srcSet","sizes","alt","priority","syncDecode","sourceIndex","setSourceIndex","isLoaded","setIsLoaded","imageRef","source","image","current","getAspectRatio","PlayIcon","color","size","Chevron","direction","TGACentredVideoCarousel","props","videos","initialVideo","aspectRatio","desktopCardWidth","mobileCardWidth","mobileBreakpoint","gap","radius","sideScale","sideOpacity","backgroundColor","borderColor","arrowColor","arrowBackground","dotColor","activeDotColor","captionColor","captionSize","showArrows","showArrowsOnMobile","showDots","showCaption","autoplay","muteAutoplay","loop","onVideoChange","style","rootRef","scrollerRef","itemRefs","scrollTimerRef","ignoreClickRef","mouseDragRef","safeInitial","activeIndex","setActiveIndex","containerWidth","setContainerWidth","isMouseDragging","setIsMouseDragging","playingIndex","setPlayingIndex","isMobile","maxMobileWidth","cardWidth","cardHeight","edgePadding","arrowsVisible","activeVideo","notifyChange","index","next","scrollToIndex","behavior","scroller","item","left","nearestIndex","centre","nearest","nearestDistance","itemCentre","distance","settleOnNearest","root","updateWidth","observer","frame","handleScroll","handlePointerDown","event","handlePointerMove","drag","finishMouseDrag","selectVideo","move","p","isActive","directSource","thumbnailSources","thumbnail","thumbnailSrcSet","thumbnailAlt","hasPlayableSource","isPlaying","isNearActive","node","init_VideoGallery"],"sources":["https:/framerusercontent.com/modules/NvIFcT7JPQJcwXeuMhdW/ijEAARWug6tYU3JSKBUw/VideoGallery.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function clamp(value,min,max){return Math.min(Math.max(value,min),max);}function getYouTubeId(url){if(!url)return null;const match=url.match(/(?:youtube(?:-nocookie)?\\.com\\/(?:watch\\?(?:.*&)?v=|shorts\\/|embed\\/)|youtu\\.be\\/)([a-zA-Z0-9_-]{11})/);return match?match[1]:null;}function getDirectVideoSource(video){return video?.videoUrl?.trim()||video?.videoFile?.trim()||null;}function getImageSource(value){if(!value)return null;return typeof value===\"string\"?value:value.src||null;}function getImageSrcSet(value){if(!value||typeof value===\"string\")return undefined;return value.srcSet||undefined;}function getImageAlt(value){if(!value||typeof value===\"string\")return undefined;return value.alt||undefined;}function getThumbnailSources(video){const sources=[];const manual=getImageSource(video?.thumbnail);if(manual)sources.push(manual);const youtubeId=getDirectVideoSource(video)?null:getYouTubeId(video?.youtubeUrl);if(youtubeId){sources.push(`https://img.youtube.com/vi/${youtubeId}/maxresdefault.jpg`,`https://img.youtube.com/vi/${youtubeId}/hqdefault.jpg`,`https://i.ytimg.com/vi/${youtubeId}/hqdefault.jpg`,`https://img.youtube.com/vi/${youtubeId}/mqdefault.jpg`);}return Array.from(new Set(sources));}function getThumbnail(video){return getThumbnailSources(video)[0]||null;}function addPreconnect(origin){if(typeof document===\"undefined\")return;const selector=`link[data-tga-preconnect=\"${origin}\"]`;if(document.head.querySelector(selector))return;const link=document.createElement(\"link\");link.rel=\"preconnect\";link.href=origin;link.crossOrigin=\"anonymous\";link.dataset.tgaPreconnect=origin;document.head.appendChild(link);}function PosterImage({sources,srcSet,sizes,alt,priority,syncDecode}){const[sourceIndex,setSourceIndex]=React.useState(0);const[isLoaded,setIsLoaded]=React.useState(false);const imageRef=React.useRef(null);const source=sources[sourceIndex];React.useLayoutEffect(()=>{const image=imageRef.current;// Cached images can finish before React attaches onLoad when Framer\n// restores this component after client-side navigation.\nif(image?.complete&&image.naturalWidth>0){setIsLoaded(true);}},[source]);if(!source)return null;return /*#__PURE__*/_jsx(\"img\",{ref:imageRef,src:source,srcSet:sourceIndex===0?srcSet:undefined,sizes:sizes,alt:alt,loading:\"eager\",fetchPriority:priority,decoding:syncDecode?\"sync\":\"async\",draggable:false,onLoad:()=>setIsLoaded(true),onError:()=>{setIsLoaded(false);setSourceIndex(current=>Math.min(current+1,sources.length));},style:{position:\"absolute\",inset:0,zIndex:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",opacity:isLoaded?1:0,pointerEvents:\"none\"}},source);}function getAspectRatio(value){switch(value){case\"4:5\":return 4/5;case\"1:1\":return 1;case\"16:9\":return 16/9;default:return 9/16;}}function PlayIcon({color=\"#FFFFFF\",size=9}){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"block\",width:0,height:0,marginLeft:size*.2,borderStyle:\"solid\",borderWidth:`${size}px 0 ${size}px ${size*1.55}px`,borderColor:`transparent transparent transparent ${color}`}});}function Chevron({direction,color}){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{width:9,height:9,display:\"block\",borderTop:`2px solid ${color}`,borderRight:`2px solid ${color}`,transform:direction===\"left\"?\"rotate(-135deg)\":\"rotate(45deg)\"}});}export default function TGACentredVideoCarousel(props){const{videos=[],initialVideo,aspectRatio,desktopCardWidth,mobileCardWidth,mobileBreakpoint,gap,radius,sideScale,sideOpacity,backgroundColor,borderColor,arrowColor,arrowBackground,dotColor,activeDotColor,captionColor,captionSize,showArrows,showArrowsOnMobile,showDots,showCaption,autoplay,muteAutoplay,loop,onVideoChange,style}=props;const rootRef=React.useRef(null);const scrollerRef=React.useRef(null);const itemRefs=React.useRef([]);const scrollTimerRef=React.useRef(null);const ignoreClickRef=React.useRef(false);const mouseDragRef=React.useRef({active:false,startX:0,startScrollLeft:0,moved:false});const safeInitial=clamp(Math.round(initialVideo||1)-1,0,Math.max(0,videos.length-1));const[activeIndex,setActiveIndex]=React.useState(safeInitial);const[containerWidth,setContainerWidth]=React.useState(1e3);const[isMouseDragging,setIsMouseDragging]=React.useState(false);const[playingIndex,setPlayingIndex]=React.useState(autoplay?safeInitial:null);const isMobile=containerWidth<=mobileBreakpoint;const maxMobileWidth=Math.max(180,containerWidth-56);const cardWidth=Math.min(isMobile?containerWidth*(mobileCardWidth/100):desktopCardWidth,maxMobileWidth);const cardHeight=cardWidth/getAspectRatio(aspectRatio);const edgePadding=Math.max(0,(containerWidth-cardWidth)/2);const arrowsVisible=showArrows&&(!isMobile||showArrowsOnMobile);const activeVideo=videos[activeIndex]??null;const notifyChange=React.useCallback(index=>{const next=videos[index];if(!next)return;setActiveIndex(index);setPlayingIndex(autoplay?index:null);onVideoChange?.(next,index);},[autoplay,onVideoChange,videos]);const scrollToIndex=React.useCallback((index,behavior=\"smooth\")=>{const scroller=scrollerRef.current;const item=itemRefs.current[index];if(!scroller||!item)return;const left=item.offsetLeft-(scroller.clientWidth-item.offsetWidth)/2;if(Math.abs(scroller.scrollLeft-left)<.5)return;scroller.scrollTo({left,behavior});},[]);const nearestIndex=React.useCallback(()=>{const scroller=scrollerRef.current;if(!scroller||videos.length===0)return 0;const centre=scroller.scrollLeft+scroller.clientWidth/2;let nearest=0;let nearestDistance=Number.POSITIVE_INFINITY;itemRefs.current.forEach((item,index)=>{if(!item)return;const itemCentre=item.offsetLeft+item.offsetWidth/2;const distance=Math.abs(itemCentre-centre);if(distance<nearestDistance){nearest=index;nearestDistance=distance;}});return nearest;},[videos.length]);const settleOnNearest=React.useCallback(()=>{const index=nearestIndex();if(index!==activeIndex)notifyChange(index);scrollToIndex(index);},[activeIndex,nearestIndex,notifyChange,scrollToIndex]);React.useLayoutEffect(()=>{const root=rootRef.current;if(!root)return;const updateWidth=()=>setContainerWidth(root.getBoundingClientRect().width||1);updateWidth();const observer=new ResizeObserver(updateWidth);observer.observe(root);return()=>observer.disconnect();},[]);React.useEffect(()=>{if(!videos.some(video=>!getDirectVideoSource(video)&&getYouTubeId(video.youtubeUrl)))return;addPreconnect(\"https://img.youtube.com\");addPreconnect(\"https://i.ytimg.com\");addPreconnect(\"https://www.youtube-nocookie.com\");},[videos]);React.useEffect(()=>{if(videos.length===0){setActiveIndex(0);setPlayingIndex(null);return;}if(activeIndex>=videos.length){setActiveIndex(videos.length-1);setPlayingIndex(autoplay?videos.length-1:null);}},[activeIndex,autoplay,videos.length]);React.useEffect(()=>{setPlayingIndex(autoplay?activeIndex:null);},[activeIndex,autoplay]);React.useEffect(()=>{setActiveIndex(safeInitial);setPlayingIndex(autoplay?safeInitial:null);},[autoplay,safeInitial]);React.useLayoutEffect(()=>{const frame=requestAnimationFrame(()=>scrollToIndex(activeIndex,\"auto\"));return()=>cancelAnimationFrame(frame);},[activeIndex,cardWidth,containerWidth,gap,scrollToIndex,videos.length]);React.useEffect(()=>{return()=>{if(scrollTimerRef.current)clearTimeout(scrollTimerRef.current);};},[]);const handleScroll=()=>{if(mouseDragRef.current.active)return;if(scrollTimerRef.current)clearTimeout(scrollTimerRef.current);scrollTimerRef.current=setTimeout(settleOnNearest,120);};const handlePointerDown=event=>{if(event.pointerType!==\"mouse\"||event.button!==0)return;// Let the native player receive clicks and drags on its controls.\nif(event.target instanceof Element&&event.target.closest(\"video, iframe, button, input, select, textarea, a\"))return;const scroller=scrollerRef.current;if(!scroller)return;mouseDragRef.current={active:true,startX:event.clientX,startScrollLeft:scroller.scrollLeft,moved:false};setIsMouseDragging(true);scroller.setPointerCapture(event.pointerId);};const handlePointerMove=event=>{const drag=mouseDragRef.current;const scroller=scrollerRef.current;if(!drag.active||!scroller)return;const distance=event.clientX-drag.startX;if(Math.abs(distance)>4){drag.moved=true;ignoreClickRef.current=true;}scroller.scrollLeft=drag.startScrollLeft-distance;};const finishMouseDrag=event=>{const scroller=scrollerRef.current;if(!mouseDragRef.current.active||!scroller)return;mouseDragRef.current.active=false;setIsMouseDragging(false);if(scroller.hasPointerCapture(event.pointerId))scroller.releasePointerCapture(event.pointerId);settleOnNearest();window.setTimeout(()=>{ignoreClickRef.current=false;},0);};const selectVideo=index=>{if(ignoreClickRef.current)return;notifyChange(index);scrollToIndex(index);};const move=direction=>{if(videos.length<2)return;const next=(activeIndex+direction+videos.length)%videos.length;notifyChange(next);scrollToIndex(next);};if(videos.length===0){return /*#__PURE__*/_jsx(\"section\",{ref:rootRef,style:{...style,width:\"100%\",minHeight:320,display:\"grid\",placeItems:\"center\",borderRadius:radius,background:backgroundColor,color:captionColor,fontFamily:\"Montserrat, sans-serif\",fontSize:14},children:\"Add videos in the Framer properties panel\"});}return /*#__PURE__*/_jsxs(\"section\",{ref:rootRef,style:{...style,width:\"100%\",minWidth:0,overflow:\"hidden\",boxSizing:\"border-box\",background:backgroundColor,fontFamily:\"Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{ref:scrollerRef,onScroll:handleScroll,onPointerDown:handlePointerDown,onPointerMove:handlePointerMove,onPointerUp:finishMouseDrag,onPointerCancel:finishMouseDrag,style:{display:\"flex\",alignItems:\"center\",gap,width:\"100%\",height:cardHeight+16,paddingLeft:edgePadding,paddingRight:edgePadding,overflowX:\"auto\",overflowY:\"hidden\",boxSizing:\"border-box\",scrollSnapType:isMouseDragging?\"none\":\"x mandatory\",scrollBehavior:\"smooth\",WebkitOverflowScrolling:\"touch\",touchAction:\"pan-x pan-y\",cursor:isMouseDragging?\"grabbing\":\"grab\",scrollbarWidth:\"none\",msOverflowStyle:\"none\"},className:\"tga-centred-video-scroller\",children:videos.map((video,index)=>{const isActive=index===activeIndex;const directSource=getDirectVideoSource(video);const youtubeId=directSource?null:getYouTubeId(video.youtubeUrl);const thumbnailSources=getThumbnailSources(video);const thumbnail=thumbnailSources[0]||null;const thumbnailSrcSet=getImageSrcSet(video.thumbnail);const thumbnailAlt=getImageAlt(video.thumbnail);const hasPlayableSource=Boolean(youtubeId||directSource);const isPlaying=isActive&&playingIndex===index;const isNearActive=Math.abs(index-activeIndex)<=1;return /*#__PURE__*/_jsxs(\"div\",{ref:node=>{itemRefs.current[index]=node;},\"data-index\":index,role:isActive?undefined:\"button\",tabIndex:isActive?-1:0,\"aria-label\":isActive?undefined:`Show ${video.title||`video ${index+1}`}`,onClick:()=>!isActive&&selectVideo(index),onKeyDown:event=>{if(!isActive&&(event.key===\"Enter\"||event.key===\" \")){event.preventDefault();selectVideo(index);}},style:{position:\"relative\",flex:`0 0 ${cardWidth}px`,width:cardWidth,height:cardHeight,overflow:\"hidden\",borderRadius:radius,border:`1px solid ${borderColor}`,boxSizing:\"border-box\",scrollSnapAlign:\"center\",scrollSnapStop:\"always\",background:thumbnailSources.length>0?\"transparent\":video.fallbackColor||\"transparent\",opacity:isActive?1:sideOpacity,transform:`scale(${isActive?1:sideScale})`,transition:isMouseDragging?\"none\":\"transform 320ms cubic-bezier(.2,.8,.2,1), opacity 320ms ease\",cursor:isActive?\"default\":\"pointer\",isolation:\"isolate\",contain:\"layout paint\"},children:[thumbnailSources.length>0&&/*#__PURE__*/_jsx(PosterImage,{sources:thumbnailSources,srcSet:thumbnailSrcSet,sizes:isMobile?`${mobileCardWidth}vw`:`${Math.ceil(cardWidth)}px`,alt:thumbnailAlt||video.title||\"Video preview\",priority:isActive?\"high\":isNearActive?\"auto\":\"low\",syncDecode:isActive},thumbnailSources.join(\"|\")),isPlaying&&youtubeId&&/*#__PURE__*/_jsx(\"iframe\",{src:`https://www.youtube-nocookie.com/embed/${youtubeId}?autoplay=1&mute=${autoplay&&muteAutoplay?1:0}&playsinline=1&rel=0&loop=${loop?1:0}${loop?`&playlist=${youtubeId}`:\"\"}`,title:video.title||`Video ${index+1}`,allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\",allowFullScreen:true,loading:\"eager\",onLoad:event=>{event.currentTarget.style.opacity=\"1\";event.currentTarget.style.pointerEvents=\"auto\";},style:{position:\"absolute\",inset:0,zIndex:1,display:\"block\",width:\"100%\",height:\"100%\",border:0,opacity:0,pointerEvents:\"none\",transition:\"opacity 120ms ease\",background:\"transparent\"}},`${youtubeId}-${activeIndex}`),isPlaying&&directSource&&/*#__PURE__*/_jsx(\"video\",{className:\"tga-centred-direct-video\",src:directSource,\"aria-label\":video.title||`Video ${index+1}`,poster:thumbnail||undefined,controls:true,autoPlay:true,muted:autoplay&&muteAutoplay,loop:loop,playsInline:true,preload:\"auto\",onCanPlay:event=>{event.currentTarget.style.opacity=\"1\";event.currentTarget.style.pointerEvents=\"auto\";},style:{position:\"absolute\",inset:0,zIndex:1,display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",opacity:0,pointerEvents:\"none\",transition:\"opacity 120ms ease\",background:\"transparent\"}},`${directSource}-${activeIndex}`),!thumbnail&&isActive&&directSource&&!isPlaying&&/*#__PURE__*/_jsx(\"video\",{src:directSource,muted:true,playsInline:true,preload:\"metadata\",style:{display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",pointerEvents:\"none\"}}),!isActive&&/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,display:\"grid\",placeItems:\"center\",background:\"rgba(0,0,0,.16)\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"span\",{style:{width:42,height:42,display:\"grid\",placeItems:\"center\",borderRadius:\"50%\",background:\"rgba(0,0,0,.52)\",boxShadow:\"0 3px 14px rgba(0,0,0,.2)\"},children:/*#__PURE__*/_jsx(PlayIcon,{size:7})})}),isActive&&hasPlayableSource&&!isPlaying&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":`Play ${video.title||`video ${index+1}`}`,onClick:event=>{event.stopPropagation();if(!ignoreClickRef.current)setPlayingIndex(index);},style:{position:\"absolute\",inset:0,zIndex:2,display:\"grid\",placeItems:\"center\",padding:0,border:0,background:\"rgba(0,0,0,.12)\",cursor:\"pointer\",appearance:\"none\"},children:/*#__PURE__*/_jsx(\"span\",{style:{width:60,height:60,display:\"grid\",placeItems:\"center\",borderRadius:\"50%\",background:\"rgba(0,0,0,.58)\",boxShadow:\"0 5px 18px rgba(0,0,0,.24)\"},children:/*#__PURE__*/_jsx(PlayIcon,{size:9})})}),isActive&&!hasPlayableSource&&/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,display:\"grid\",placeItems:\"center\",background:\"rgba(0,0,0,.12)\"},children:/*#__PURE__*/_jsx(\"span\",{style:{width:58,height:58,display:\"grid\",placeItems:\"center\",borderRadius:\"50%\",background:\"rgba(0,0,0,.55)\"},children:/*#__PURE__*/_jsx(PlayIcon,{size:9})})})]},`${index}-${directSource||video.youtubeUrl||video.title||\"video\"}`);})}),arrowsVisible&&videos.length>1&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Previous video\",onClick:()=>move(-1),style:{position:\"absolute\",zIndex:5,top:\"50%\",left:isMobile?10:`max(10px, calc(50% - ${cardWidth/2+Math.min(42,gap+28)}px))`,width:38,height:38,display:\"grid\",placeItems:\"center\",padding:0,border:0,borderRadius:\"50%\",transform:isMobile?\"translateY(-50%)\":\"translate(-50%, -50%)\",background:arrowBackground,cursor:\"pointer\",appearance:\"none\"},children:/*#__PURE__*/_jsx(Chevron,{direction:\"left\",color:arrowColor})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Next video\",onClick:()=>move(1),style:{position:\"absolute\",zIndex:5,top:\"50%\",right:isMobile?10:`max(10px, calc(50% - ${cardWidth/2+Math.min(42,gap+28)}px))`,width:38,height:38,display:\"grid\",placeItems:\"center\",padding:0,border:0,borderRadius:\"50%\",transform:isMobile?\"translateY(-50%)\":\"translate(50%, -50%)\",background:arrowBackground,cursor:\"pointer\",appearance:\"none\"},children:/*#__PURE__*/_jsx(Chevron,{direction:\"right\",color:arrowColor})})]})]}),showDots&&videos.length>1&&/*#__PURE__*/_jsx(\"div\",{role:\"tablist\",\"aria-label\":\"Choose a video\",style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",flexWrap:\"wrap\",gap:8,paddingTop:12},children:videos.map((video,index)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"tab\",\"aria-selected\":index===activeIndex,\"aria-label\":`Show ${video.title||`video ${index+1}`}`,onClick:()=>selectVideo(index),style:{width:index===activeIndex?26:8,height:8,padding:0,border:0,borderRadius:999,background:index===activeIndex?activeDotColor:dotColor,transition:\"width 220ms ease, background 220ms ease\",cursor:\"pointer\",appearance:\"none\"}},`dot-${index}`))}),showCaption&&activeVideo?.title&&/*#__PURE__*/_jsx(\"div\",{\"aria-live\":\"polite\",style:{paddingTop:14,paddingLeft:20,paddingRight:20,color:captionColor,fontSize:captionSize,lineHeight:1.4,fontWeight:600,textAlign:\"center\"},children:activeVideo.title}),/*#__PURE__*/_jsx(\"style\",{children:`\n                video.tga-centred-direct-video:fullscreen {\n                    object-fit: contain !important;\n                    background: #000 !important;\n                }\n                video.tga-centred-direct-video:-webkit-full-screen {\n                    object-fit: contain !important;\n                    background: #000 !important;\n                }\n                .tga-centred-video-scroller::-webkit-scrollbar {\n                    display: none;\n                }\n            `})]});}TGACentredVideoCarousel.defaultProps={videos:[{title:\"Inside our quality checks\",youtubeUrl:\"\",videoUrl:\"\",videoFile:\"\",fallbackColor:\"#27500A\"},{title:\"Meet the people behind our safety promise\",youtubeUrl:\"\",videoUrl:\"\",videoFile:\"\",fallbackColor:\"#3B6D11\"},{title:\"How we keep children safe every day\",youtubeUrl:\"\",videoUrl:\"\",videoFile:\"\",fallbackColor:\"#854F0B\"}],initialVideo:2,aspectRatio:\"9:16\",desktopCardWidth:330,mobileCardWidth:72,mobileBreakpoint:600,gap:28,radius:20,sideScale:.84,sideOpacity:.52,backgroundColor:\"rgba(255,255,255,0)\",borderColor:\"rgba(39,80,10,.18)\",arrowColor:\"#27500A\",arrowBackground:\"rgba(255,255,255,.94)\",dotColor:\"rgba(39,80,10,.28)\",activeDotColor:\"#27500A\",captionColor:\"#27500A\",captionSize:16,showArrows:true,showArrowsOnMobile:false,showDots:true,showCaption:true,autoplay:false,muteAutoplay:true,loop:false};addPropertyControls(TGACentredVideoCarousel,{videos:{type:ControlType.Array,title:\"Videos\",maxCount:12,control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\"},videoUrl:{type:ControlType.String,title:\"Direct URL\",defaultValue:\"\",placeholder:\"https://your-video-domain.com/video.mp4\",description:\"Public video file URL from Cloudflare R2. Takes priority over Upload and YouTube. Add a thumbnail for the preview cards.\"},youtubeUrl:{type:ControlType.Link,title:\"YouTube\"},videoFile:{type:ControlType.File,title:\"Upload\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},thumbnail:{type:ControlType.ResponsiveImage,title:\"Thumbnail\"},fallbackColor:{type:ControlType.Color,title:\"Fallback\"}}}},initialVideo:{type:ControlType.Number,title:\"Start Video\",min:1,max:12,step:1,displayStepper:true},aspectRatio:{type:ControlType.Enum,title:\"Video Ratio\",options:[\"9:16\",\"4:5\",\"1:1\",\"16:9\"],optionTitles:[\"Portrait 9:16\",\"Portrait 4:5\",\"Square\",\"Landscape 16:9\"],displaySegmentedControl:false},desktopCardWidth:{type:ControlType.Number,title:\"Card Width\",min:180,max:600,step:1},mobileCardWidth:{type:ControlType.Number,title:\"Mobile Width\",min:55,max:92,step:1,unit:\"%\"},mobileBreakpoint:{type:ControlType.Number,title:\"Mobile At\",min:320,max:900,step:1,unit:\"px\"},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:80,step:1},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:80,step:1},sideScale:{type:ControlType.Number,title:\"Side Scale\",min:.6,max:1,step:.01},sideOpacity:{type:ControlType.Number,title:\"Side Opacity\",min:.15,max:1,step:.01},backgroundColor:{type:ControlType.Color,title:\"Background\"},borderColor:{type:ControlType.Color,title:\"Border\"},arrowColor:{type:ControlType.Color,title:\"Arrow\"},arrowBackground:{type:ControlType.Color,title:\"Arrow BG\"},dotColor:{type:ControlType.Color,title:\"Dots\"},activeDotColor:{type:ControlType.Color,title:\"Active Dot\"},captionColor:{type:ControlType.Color,title:\"Caption\"},captionSize:{type:ControlType.Number,title:\"Caption Size\",min:10,max:36,step:1,hidden:props=>!props.showCaption},showArrows:{type:ControlType.Boolean,title:\"Arrows\"},showArrowsOnMobile:{type:ControlType.Boolean,title:\"Mobile Arrows\",hidden:props=>!props.showArrows},showDots:{type:ControlType.Boolean,title:\"Dots\"},showCaption:{type:ControlType.Boolean,title:\"Caption\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay\"},muteAutoplay:{type:ControlType.Boolean,title:\"Mute Auto\",hidden:props=>!props.autoplay},loop:{type:ControlType.Boolean,title:\"Loop\"},onVideoChange:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TGACentredVideoCarousel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoGallery.map"],"mappings":"A,6NAA+J,SAASuB,GAAMC,EAAMC,EAAIC,EAAI,CAAC,OAAO,KAAK,IAAI,KAAK,IAAIF,EAAMC,CAAG,EAAEC,CAAG,CAAE,CAAC,SAASC,EAAaC,EAAI,CAAC,GAAG,CAACA,EAAI,OAAO,KAAK,IAAMC,EAAMD,EAAI,MAAM,uGAAuG,EAAE,OAAOC,EAAMA,EAAM,GAAG,IAAK,CAAC,SAASC,EAAqBC,EAAM,CAAC,OAAOA,GAAO,UAAU,KAAK,GAAGA,GAAO,WAAW,KAAK,GAAG,IAAK,CAAC,SAASC,EAAeR,EAAM,CAAuB,OAAlBA,EAAyB,OAAOA,GAAQ,SAASA,EAAMA,EAAM,KAAK,KAArD,IAA0D,CAAC,SAASS,GAAeT,EAAM,CAAC,GAAIA,GAAO,OAAOA,GAAQ,SAA0B,OAAOA,EAAM,QAAQ,IAAA,EAAU,CAAC,SAASU,GAAYV,EAAM,CAAC,GA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