{"version":3,"file":"ProgressBar.DHc8vAVy.mjs","names":["useRef","muted","YouTubePlayer","VimeoPlayer","useState","useRef","videoId","useState","useRef","videoId","useState","useRef","videoId","p","useState","useRef","videoId"],"sources":["https:/framerusercontent.com/modules/6ffgsaDzsjdxRp9dCkQD/yJx69ySkr8Vo5V1RbVRq/VideoFrameShared.js","https:/framerusercontent.com/modules/iBoj3HPqfrCqnqNOPaXI/Z50xvZ5vUOlVbktGE0f0/VideoFrame.js","https:/framerusercontent.com/modules/qocbKKZPr1xgBC57i5yM/q7TpnacFVZLVqH8I8RwC/VideoButton.js","https:/framerusercontent.com/modules/R2NgRGZqlaqDbKw7xYcL/3QBzIQn55jpgUdoYka7n/VideoLabel.js","https:/framerusercontent.com/modules/TRRiSZeBtxVVKgPie3XB/2NRYNCnGuHWEdlpkF3AY/SpeedSelector.js","https:/framerusercontent.com/modules/YmggAKcrSS4eit65RsW2/zfGKTwPn1RbblQpz3q0w/ProgressBar.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{ControlType}from\"framer\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{motion}from\"framer-motion\";export const VIDEO_ID_ATTRIBUTE=\"custom-video-id\";export const useVideoStore=createStore({});export const speeds=[\"0.25\",\"0.5\",\"0.75\",\"1\",\"1.25\",\"1.5\",\"2\",\"3\"];export const playbackQualityOptions=[\"small\",\"medium\",\"large\",\"hd720\",\"hd1080\",\"highres\",\"default\"];export const playbackQualityTitles={small:[\"Small\",\"240p\"],medium:[\"Medium\",\"360p\"],large:[\"Large\",\"480p\"],hd720:[\"HD 720\",\"720p\"],hd1080:[\"HD 1080\",\"1080p\"],highres:[\"4K\",\"4K\"],default:[\"Auto\",\"Auto\"]};export const createId=()=>\"a\"+String(Math.floor(Math.random()*999999999));export function getVideoId(element){while(element){let id=element.getAttribute(VIDEO_ID_ATTRIBUTE);if(id){return id;}element=element.parentElement;}return null;}export function Icon({image,color,size,style={},defaultImage}){let colorValue=color||((image===null||image===void 0?void 0:image.src)?undefined:\"#999\");return /*#__PURE__*/_jsx(\"div\",{\"aria-label\":image===null||image===void 0?void 0:image.alt,style:{width:size,height:size,minWidth:size,minHeight:size,pointerEvents:\"none\",backgroundColor:colorValue,backgroundImage:colorValue?\"none\":`url('${image===null||image===void 0?void 0:image.src}')`,maskImage:(image===null||image===void 0?void 0:image.src)?`url('${image===null||image===void 0?void 0:image.src}')`:defaultImage,backgroundSize:\"contain\",backgroundPosition:\"center\",maskSize:\"contain\",maskPosition:\"center\",...style}});}Icon.displayName=\"VideoFrame/Icon\";export function borderProp({defaultValue=false}={}){return{type:ControlType.Object,optional:true,defaultValue:defaultValue?{color:\"#999\"}:undefined,controls:{color:{type:ControlType.Color,defaultValue:\"#999\"},width:{type:ControlType.Padding,defaultValue:\"1px\"},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}};}export function Border({width,style,color,borderRadius=\"inherit\",transition=null,opacity=1}){return /*#__PURE__*/_jsx(motion.div,{animate:{borderColor:color,opacity},style:{position:\"absolute\",inset:0,borderWidth:width,borderStyle:style,borderRadius,pointerEvents:\"none\"},initial:false,transition:transition});}Border.displayName=\"VideoFrame/Border\";\nexport const __FramerMetadata__ = {\"exports\":{\"createId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useVideoStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VIDEO_ID_ATTRIBUTE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"playbackQualityOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Icon\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"playbackQualityTitles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getVideoId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"speeds\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoFrameShared.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef}from\"react\";import{VIDEO_ID_ATTRIBUTE,useVideoStore,speeds}from\"https://framerusercontent.com/modules/6ffgsaDzsjdxRp9dCkQD/yJx69ySkr8Vo5V1RbVRq/VideoFrameShared.js\";import YouTubePlayer from\"react-player/youtube\";import VimeoPlayer from\"react-player/vimeo\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 640\n * @framerIntrinsicHeight 360\n * @framerDisableUnlink\n */export default function VideoFrame(props){const{source,border,thumbnail,startTime,autoPlay}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const muted=autoPlay?true:props.muted;const[videoState,setVideoState]=useVideoStore();const ref=useRef(null);const videoRef=useRef(null);const videoIdRef=useRef(null);const playerRef=useRef(null);const timeCallbacksRef=useRef([]);const state=videoState[videoIdRef.current];const stateRef=useRef(null);useEffect(()=>{var _ref_current_parentElement,_ref_current;const videoParentElement=(_ref_current=ref.current)===null||_ref_current===void 0?void 0:(_ref_current_parentElement=_ref_current.parentElement)===null||_ref_current_parentElement===void 0?void 0:_ref_current_parentElement.parentElement;if(!videoParentElement){return;}let newVideoId=videoParentElement.getAttribute(VIDEO_ID_ATTRIBUTE);if(!newVideoId){newVideoId=uuid();videoParentElement.setAttribute(VIDEO_ID_ATTRIBUTE,newVideoId);}const setPlaying=playing=>{if(videoRef.current){if(playing){videoRef.current.play();}else{videoRef.current.pause();}}else if(playerRef.current){setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],playing}}));}};const setFullscreen=fullscreen=>{if(typeof navigator!==\"undefined\"&&navigator.userAgent.includes(\"FramerElectron\")){console.log(\"Fullscreen is not supported in the Framer desktop app. Publish your website or use the Framer web app to preview fullscreen.\");}if(videoParentElement){if(!document.fullscreenElement){if(videoParentElement.requestFullscreen){videoParentElement.requestFullscreen();}else if(videoParentElement.mozRequestFullScreen){// Firefox\nvideoParentElement.mozRequestFullScreen();}else if(videoParentElement.webkitRequestFullscreen){// Chrome, Safari and Opera\nvideoParentElement.webkitRequestFullscreen();}else if(videoParentElement.msRequestFullscreen){// IE/Edge\nvideoParentElement.msRequestFullscreen();}}else{if(document.exitFullscreen){document.exitFullscreen();}else if(document.mozCancelFullScreen){// Firefox\ndocument.mozCancelFullScreen();}else if(document.webkitExitFullscreen){// Chrome, Safari and Opera\ndocument.webkitExitFullscreen();}else if(document.msExitFullscreen){// IE/Edge\ndocument.msExitFullscreen();}}}setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],fullscreen}}));if(fullscreen){var _props_enterFullscreenEvent;(_props_enterFullscreenEvent=props.enterFullscreenEvent)===null||_props_enterFullscreenEvent===void 0?void 0:_props_enterFullscreenEvent.call(props);}else{var _props_exitFullscreenEvent;(_props_exitFullscreenEvent=props.exitFullscreenEvent)===null||_props_exitFullscreenEvent===void 0?void 0:_props_exitFullscreenEvent.call(props);}};const setPiP=async pip=>{if(videoRef.current){if(document.pictureInPictureElement){await document.exitPictureInPicture();}else if(videoRef.current.requestPictureInPicture){await videoRef.current.requestPictureInPicture();}}setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],pip}}));if(pip){var _props_enterPictureInPictureEvent;(_props_enterPictureInPictureEvent=props.enterPictureInPictureEvent)===null||_props_enterPictureInPictureEvent===void 0?void 0:_props_enterPictureInPictureEvent.call(props);}else{var _props_exitPictureInPictureEvent;(_props_exitPictureInPictureEvent=props.exitPictureInPictureEvent)===null||_props_exitPictureInPictureEvent===void 0?void 0:_props_exitPictureInPictureEvent.call(props);}};const setMuted=muted=>{const videoId=videoIdRef.current;if(videoRef.current){videoRef.current.muted=muted;}setVideoState(prev=>({[videoId]:{...prev[videoId],muted}}));};const setVolume=volume=>{volume=Math.min(Math.max(volume,0),1);const videoId=videoIdRef.current;if(videoRef.current){videoRef.current.volume=volume;}setVideoState(prev=>({[videoId]:{...prev[videoId],volume}}));};const setLoop=loop=>{if(videoRef.current){if(videoRef.current.loop){videoRef.current.removeAttribute(\"loop\");}else{videoRef.current.setAttribute(\"loop\",\"\");}}setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],loop}}));};const setSpeed=speed=>{if(videoRef.current){videoRef.current.playbackRate=speed;}setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],speed}}));};// const setPlaybackQuality = (playbackQuality) => {\n//     console.log(\n//         playerRef.current,\n//         playerRef.current.getInternalPlayer()\n//     )\n//     if (playerRef.current && source == \"youTube\") {\n//         console.log(playbackQuality)\n//         playerRef.current\n//             .getInternalPlayer()\n//             .setPlaybackQuality(playbackQuality)\n//     }\n//     setVideoState((prev) => ({\n//         [videoIdRef.current]: {\n//             ...prev[videoIdRef.current],\n//             playbackQuality,\n//         },\n//     }))\n// }\nconst setTime=time=>{var _stateRef_current;let duration=0;if(videoRef.current){duration=videoRef.current.duration;}else if(playerRef.current){duration=playerRef.current.getDuration();}const newTime=((_stateRef_current=stateRef.current)===null||_stateRef_current===void 0?void 0:_stateRef_current.loop)?loopValue(time,0,duration):clamp(time,0,duration);if(videoRef.current){videoRef.current.currentTime=newTime;}else if(playerRef.current){playerRef.current.seekTo(newTime,\"seconds\");}for(const callback of timeCallbacksRef.current){callback([newTime,null]);}};const getTime=()=>{if(videoRef.current){var _videoRef_current;var _videoRef_current_currentTime;return(_videoRef_current_currentTime=(_videoRef_current=videoRef.current)===null||_videoRef_current===void 0?void 0:_videoRef_current.currentTime)!==null&&_videoRef_current_currentTime!==void 0?_videoRef_current_currentTime:0;}else if(playerRef.current){return playerRef.current.getCurrentTime();}};const getLoadedTime=()=>{if(playerRef.current){return playerRef.current.getSecondsLoaded();}return null;};const addTimeCallback=callback=>{if(typeof callback!==\"function\"){return;}if(!Array.isArray(timeCallbacksRef.current)){timeCallbacksRef.current=[callback];}else{timeCallbacksRef.current=[...timeCallbacksRef.current,callback];}callback([getTime(),getLoadedTime()]);};const removeTimeCallback=callback=>{if(Array.isArray(timeCallbacksRef.current)){timeCallbacksRef.current=timeCallbacksRef.current.filter(value=>value!==callback);}else{timeCallbacksRef.current=[];}};setVideoState({[newVideoId]:{videoRef,playerRef,videoParentElement,playing:autoPlay,fullscreen:false,pip:false,muted:muted,volume:props.volume,loop:props.loop,duration:0,speed:Number(props.speed),// playbackQuality: props.playbackQuality,\nsetPlaying,setFullscreen,setPiP,setMuted,setVolume,setLoop,setSpeed,// setPlaybackQuality,\nsetTime,getTime,addTimeCallback,removeTimeCallback}});if(videoIdRef.current!==newVideoId){videoIdRef.current=newVideoId;}if(startTime&&isHTMLVideoType(source)){setTime(parseTimeToSeconds(startTime));}const onVideoEnded=()=>{if(!videoRef.current.loop){var _props_endedEvent;setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],playing:false}}));(_props_endedEvent=props.endedEvent)===null||_props_endedEvent===void 0?void 0:_props_endedEvent.call(props);}else{var _props_loopedEvent;(_props_loopedEvent=props.loopedEvent)===null||_props_loopedEvent===void 0?void 0:_props_loopedEvent.call(props);}};const updateVideoTime=()=>{if(videoRef.current){for(const callback of timeCallbacksRef.current){callback([videoRef.current.currentTime,null]);}}setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],duration:videoRef.current.duration}}));};if(videoRef.current){videoRef.current.addEventListener(\"ended\",onVideoEnded);videoRef.current.addEventListener(\"loadedmetadata\",updateVideoTime);videoRef.current.addEventListener(\"timeupdate\",updateVideoTime);if(props.speed!==\"1\"){videoRef.current.playbackRate=Number(props.speed);}}return()=>{if(videoRef.current){videoRef.current.removeEventListener(\"ended\",onVideoEnded);videoRef.current.removeEventListener(\"loadedmetadata\",updateVideoTime);videoRef.current.removeEventListener(\"timeupdate\",updateVideoTime);}};},[]);useEffect(()=>{stateRef.current=videoState[videoIdRef.current];},[videoState[videoIdRef.current]]);const onClick=()=>{if(props.tapToPlay&&state){state.setPlaying(!state.playing);}};const onVideoPlayingChanged=playing=>{setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],playing}}));if(playing){var _props_playingEvent;(_props_playingEvent=props.playingEvent)===null||_props_playingEvent===void 0?void 0:_props_playingEvent.call(props);}else{var _props_pausedEvent;(_props_pausedEvent=props.pausedEvent)===null||_props_pausedEvent===void 0?void 0:_props_pausedEvent.call(props);}};let videoElement=null;if(!isHTMLVideoType(source)){const onDurationChange=duration=>{setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],duration}}));};const onTimeChange=time=>{for(const callback of timeCallbacksRef.current){callback(time);}};const onPlayerReady=()=>{if(startTime){var _stateRef_current;(_stateRef_current=stateRef.current)===null||_stateRef_current===void 0?void 0:_stateRef_current.setTime(parseTimeToSeconds(startTime));}};const videoProps={ref:playerRef,playing:state?state.playing:autoPlay,loop:state?state.loop:props.loop,volume:state?state.volume:props.volume,muted:state?state.muted:muted,pip:state?state.pip:false,width:\"100%\",height:\"100%\",playbackRate:state?state.speed:Number(props.speed),controls:false,onProgress:progress=>onTimeChange([progress.playedSeconds,progress.loadedSeconds]),onDuration:onDurationChange,onReady:onPlayerReady};if(source==\"youTube\"){videoElement=/*#__PURE__*/_jsx(YouTubePlayer,{url:props.youTubeType==\"text\"?props.youTubeUrl:props.youTubeLink,...videoProps});}else if(source==\"vimeo\"){videoElement=/*#__PURE__*/_jsx(VimeoPlayer,{url:props.vimeoType==\"text\"?props.vimeoUrl:props.vimeoLink,...videoProps});}}else{videoElement=/*#__PURE__*/_jsx(\"video\",{ref:videoRef,src:props.source==\"file\"?props.videoFile:props.urlType==\"text\"?props.videoUrl:props.videoLink,autoPlay:autoPlay,loop:props.loop,preload:props.preload,muted:muted,poster:thumbnail,playsInline:true,onPlay:()=>onVideoPlayingChanged(true),onPause:()=>onVideoPlayingChanged(false),style:{width:\"100%\",height:\"100%\",objectFit:props.sizing,backgroundColor:props.fill}});}return /*#__PURE__*/_jsx(\"div\",{\"data-videoframe\":true,ref:ref,onClick:onClick,style:{position:\"relative\",borderRadius:props.radius,overflow:\"hidden\",userSelect:\"none\",...props.style},children:isCanvas?isHTMLVideoType(source)?/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:props.fill,backgroundImage:`url('${thumbnail}')`,backgroundSize:props.sizing==\"fill\"?\"100% 100%\":props.sizing,backgroundPosition:\"center\",backgroundRepeat:\"no-repeat\"}}):/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:props.fill}}):videoElement});}addPropertyControls(VideoFrame,{source:{type:ControlType.Enum,defaultValue:\"url\",options:[\"url\",\"file\",\"youTube\",\"vimeo\"],optionTitles:[\"URL\",\"File\",\"YouTube\",\"Vimeo\"]},urlType:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"link\"],optionTitles:[\"Text\",\"Link\"],displaySegmentedControl:true,title:\"Video URL\",hidden:props=>props.source!==\"url\"},videoUrl:{type:ControlType.String,defaultValue:\"\",title:\" \",placeholder:\"URL\",description:\"MP4 or WebM file URL\",displayTextArea:true,preventLocalization:true,hidden:props=>props.source!==\"url\"||props.urlType!==\"text\"},videoLink:{type:ControlType.Link,title:\" \",description:\"MP4 or WebM file URL\",hidden:props=>props.source!==\"url\"||props.urlType!==\"link\"},videoFile:{type:ControlType.File,allowedFileTypes:[\"mp4\",\"webm\"],description:\"MP4 or WebM\",title:\"File\",hidden:props=>props.source!==\"file\"},youTubeType:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"link\"],optionTitles:[\"Text\",\"Link\"],displaySegmentedControl:true,title:\"Video URL\",hidden:props=>props.source!==\"youTube\"},youTubeUrl:{type:ControlType.String,defaultValue:\"\",title:\" \",placeholder:\"https://www.youtube.com/watch?v=\",displayTextArea:true,preventLocalization:true,hidden:props=>props.source!==\"youTube\"||props.youTubeType!==\"text\"},youTubeLink:{type:ControlType.Link,title:\" \",hidden:props=>props.source!==\"youTube\"||props.youTubeType!==\"link\"},vimeoType:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"link\"],optionTitles:[\"Text\",\"Link\"],displaySegmentedControl:true,title:\"Video URL\",hidden:props=>props.source!==\"vimeo\"},vimeoUrl:{type:ControlType.String,defaultValue:\"\",title:\" \",placeholder:\"https://vimeo.com/\",displayTextArea:true,preventLocalization:true,hidden:props=>props.source!==\"vimeo\"||props.vimeoType!==\"text\"},vimeoLink:{type:ControlType.Link,title:\" \",hidden:props=>props.source!==\"vimeo\"||props.vimeoType!==\"link\"},thumbnail:{type:ControlType.Image,hidden:props=>!isHTMLVideoType(props.source)},sizing:{type:ControlType.Enum,defaultValue:\"contain\",options:[\"cover\",\"contain\",\"fill\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],hidden:props=>props.source===\"youTube\"},startTime:{type:ControlType.String,defaultValue:\"0:00\",placeholder:\"HH:MM:SS\",preventLocalization:true},autoPlay:{type:ControlType.Boolean,defaultValue:false},muted:{type:ControlType.Boolean,defaultValue:true,hidden:props=>props.autoPlay},volume:{type:ControlType.Number,defaultValue:1,min:0,max:1,step:.01,hidden:props=>props.autoPlay||props.muted},loop:{type:ControlType.Boolean,defaultValue:false},tapToPlay:{type:ControlType.Boolean,defaultValue:true,title:\"Tap to Play\",hidden:props=>props.source===\"youTube\"},speed:{type:ControlType.Enum,defaultValue:\"1\",options:speeds,optionTitles:speeds.map(speed=>`${speed}\\xd7`)},// playbackQuality: {\n//     type: ControlType.Enum,\n//     defaultValue: \"default\",\n//     options: playbackQualityOptions,\n//     optionTitles: playbackQualityOptions.map(\n//         (id) => playbackQualityTitles[id][0]\n//     ),\n//     title: \"Quality\",\n//     hidden: (props) => props.source !== \"youTube\",\n// },\npreload:{type:ControlType.Enum,defaultValue:\"none\",options:[\"auto\",\"none\"],optionTitles:[\"Auto\",\"None\"],displaySegmentedControl:true,hidden:props=>!isHTMLVideoType(props.source)||props.autoPlay},fill:{type:ControlType.Color,defaultValue:\"#000\",optional:true},radius:{type:ControlType.BorderRadius,defaultValue:\"0px\"},endedEvent:{type:ControlType.EventHandler,title:\"Video Ended\"},loopedEvent:{type:ControlType.EventHandler,title:\"Looped\"},playingEvent:{type:ControlType.EventHandler,title:\"Playing\"},pausedEvent:{type:ControlType.EventHandler,title:\"Paused\"},enterFullscreenEvent:{type:ControlType.EventHandler,title:\"Enter Fullscreen\"},exitFullscreenEvent:{type:ControlType.EventHandler,title:\"Exit Fullscreen\"},enterPictureInPictureEvent:{type:ControlType.EventHandler,title:\"Enter Picture-in-Picture\"},exitPictureInPictureEvent:{type:ControlType.EventHandler,title:\"Exit Picture-in-Picture\"}});function uuid(){let d=new Date().getTime()// Timestamp\n;let d2=performance&&performance.now&&performance.now()*1e3||0// Time in microseconds since page-load or 0 if unsupported\n;return\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,function(c){let r=Math.random()*16// random number between 0 and 16\n;if(d>0){// Use timestamp until depleted\nr=(d+r)%16|0;d=Math.floor(d/16);}else{// Use microseconds since page-load if supported\nr=(d2+r)%16|0;d2=Math.floor(d2/16);}return(c===\"x\"?r:r&3|8).toString(16);});}function loopValue(value,min,max){const range=max-min+1;return((value-min)%range+range)%range+min;}function clamp(value,min,max){if(value<min){return min;}else if(value>max){return max;}else{return value;}}function parseTimeToSeconds(timeString){// Remove any leading/trailing whitespace\ntimeString=timeString.trim();// Split the time string into parts\nconst parts=timeString.split(\":\");let seconds=0;if(parts.length===3){// HH:MM:SS format\nseconds+=parseInt(parts[0])*3600// Hours to seconds\n;seconds+=parseInt(parts[1])*60// Minutes to seconds\n;seconds+=parseInt(parts[2])// Seconds\n;}else if(parts.length===2){// MM:SS format\nseconds+=parseInt(parts[0])*60// Minutes to seconds\n;seconds+=parseInt(parts[1])// Seconds\n;}else if(parts.length===1){// SS format\nseconds+=parseInt(parts[0])// Seconds\n;}return seconds;}function isHTMLVideoType(source){return source===\"url\"||source===\"file\";}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoFrame\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"640\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"360\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoFrame.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState,useRef}from\"react\";import{Icon,useVideoStore,getVideoId}from\"https://framerusercontent.com/modules/6ffgsaDzsjdxRp9dCkQD/yJx69ySkr8Vo5V1RbVRq/VideoFrameShared.js\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 40\n * @framerIntrinsicHeight 40\n * @framerDisableUnlink\n */export default function VideoButton(props){var _state_videoRef,_state_playerRef;const{type,skipTime}=props;const[videoState,setVideoState]=useVideoStore();const[videoId,setVideoId]=useState(null);const state=videoState[videoId];const ref=useRef(null);const videoRef=state===null||state===void 0?void 0:(_state_videoRef=state.videoRef)===null||_state_videoRef===void 0?void 0:_state_videoRef.current;const playerRef=state===null||state===void 0?void 0:(_state_playerRef=state.playerRef)===null||_state_playerRef===void 0?void 0:_state_playerRef.current;useEffect(()=>{setVideoState({});},[]);useEffect(()=>{const videoId=getVideoId(ref.current);setVideoId(videoId);},[ref]);let icon=null;let defaultIcon=null;let onClick=null;switch(type){case\"play\":icon=(state===null||state===void 0?void 0:state.playing)?props.pauseIcon:props.playIcon;defaultIcon=(state===null||state===void 0?void 0:state.playing)?`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='currentColor' class='icon icon-tabler icons-tabler-filled icon-tabler-player-pause'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9 4h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h2a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2z' /%3E%3Cpath d='M17 4h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h2a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2z' /%3E%3C/svg%3E\")`:`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='currentColor' class='icon icon-tabler icons-tabler-filled icon-tabler-player-play'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setPlaying){state.setPlaying(!state.playing);}};break;case\"fullscreen\":icon=props.fullscreenIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-arrows-maximize'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M16 4l4 0l0 4' /%3E%3Cpath d='M14 10l6 -6' /%3E%3Cpath d='M8 20l-4 0l0 -4' /%3E%3Cpath d='M4 20l6 -6' /%3E%3Cpath d='M16 20l4 0l0 -4' /%3E%3Cpath d='M14 14l6 6' /%3E%3Cpath d='M8 4l-4 0l0 4' /%3E%3Cpath d='M4 4l6 6' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setFullscreen){state.setFullscreen(!state.fullscreen);}};break;case\"skipForward\":icon=props.skipIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-reload'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747' /%3E%3Cpath d='M20 4v5h-5' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setTime){state.setTime(state.getTime()+skipTime);}};break;case\"skipBackward\":icon=props.skipIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.06694 13.041C4.25577 14.4809 4.83302 15.8423 5.73677 16.9792C6.64053 18.116 7.83669 18.9853 9.19698 19.494C10.5573 20.0027 12.0304 20.1315 13.4583 19.8666C14.8862 19.6017 16.2151 18.953 17.3024 17.9903C18.3897 17.0275 19.1944 15.787 19.6303 14.4016C20.0661 13.0163 20.1166 11.5384 19.7764 10.1266C19.4361 8.7147 18.718 7.42208 17.699 6.38734C16.6799 5.3526 15.3984 4.61477 13.9919 4.25298C10.0929 3.25298 6.05694 5.25998 4.56694 8.99998' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 4V9H9' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setTime){state.setTime(state.getTime()-skipTime);}};break;case\"mute\":icon=(state===null||state===void 0?void 0:state.muted)?props.unmuteIcon:props.muteIcon;defaultIcon=(state===null||state===void 0?void 0:state.muted)?`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-volume-off'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M15 8a5 5 0 0 1 1.912 4.934m-1.377 2.602a5 5 0 0 1 -.535 .464' /%3E%3Cpath d='M17.7 5a9 9 0 0 1 2.362 11.086m-1.676 2.299a9 9 0 0 1 -.686 .615' /%3E%3Cpath d='M9.069 5.054l.431 -.554a.8 .8 0 0 1 1.5 .5v2m0 4v8a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l1.294 -1.664' /%3E%3Cpath d='M3 3l18 18' /%3E%3C/svg%3E\")`:`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-volume'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M15 8a5 5 0 0 1 0 8' /%3E%3Cpath d='M17.7 5a9 9 0 0 1 0 14' /%3E%3Cpath d='M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setMuted){state.setMuted(!state.muted);}};break;case\"pictureInPicture\":icon=props.pictureInPictureIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-picture-in-picture'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M11 19h-6a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v4' /%3E%3Cpath d='M14 14m0 1a1 1 0 0 1 1 -1h5a1 1 0 0 1 1 1v3a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1z' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setPiP){state.setPiP(!state.pip);}};break;case\"restart\":icon=props.restartIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='currentColor' class='icon icon-tabler icons-tabler-filled icon-tabler-player-track-prev'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M20.341 4.247l-8 7a1 1 0 0 0 0 1.506l8 7c.647 .565 1.659 .106 1.659 -.753v-14c0 -.86 -1.012 -1.318 -1.659 -.753z' /%3E%3Cpath d='M9.341 4.247l-8 7a1 1 0 0 0 0 1.506l8 7c.647 .565 1.659 .106 1.659 -.753v-14c0 -.86 -1.012 -1.318 -1.659 -.753z' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setTime){state.setTime(0);}};break;case\"toggleLoop\":icon=(state===null||state===void 0?void 0:state.loop)?props.loopOnIcon:props.loopOffIcon;defaultIcon=(state===null||state===void 0?void 0:state.loop)?`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-repeat'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M4 12v-3a3 3 0 0 1 3 -3h13m-3 -3l3 3l-3 3' /%3E%3Cpath d='M20 12v3a3 3 0 0 1 -3 3h-13m3 3l-3 -3l3 -3' /%3E%3C/svg%3E\")`:`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-repeat-off'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M4 12v-3c0 -1.336 .873 -2.468 2.08 -2.856m3.92 -.144h10m-3 -3l3 3l-3 3' /%3E%3Cpath d='M20 12v3a3 3 0 0 1 -.133 .886m-1.99 1.984a3 3 0 0 1 -.877 .13h-13m3 3l-3 -3l3 -3' /%3E%3Cpath d='M3 3l18 18' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setLoop){state.setLoop(!state.loop);}};break;}return /*#__PURE__*/_jsx(\"div\",{\"data-videoframe\":true,ref:ref,onMouseEnter:props.hoverEvent,onClick:()=>{var _props_clickEvent;onClick===null||onClick===void 0?void 0:onClick();(_props_clickEvent=props.clickEvent)===null||_props_clickEvent===void 0?void 0:_props_clickEvent.call(props);},style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",...props.style},children:/*#__PURE__*/_jsx(Icon,{image:icon,color:props.iconColor,size:props.iconSize,defaultImage:defaultIcon})});}VideoButton.displayName=\"Video Button\";addPropertyControls(VideoButton,{type:{type:ControlType.Enum,defaultValue:\"play\",options:[\"play\",\"fullscreen\",\"skipForward\",\"skipBackward\",\"mute\",\"pictureInPicture\",\"restart\",\"toggleLoop\"],optionTitles:[\"Play/Pause\",\"Fullscreen\",\"Skip Forward\",\"Skip Backward\",\"Mute\",\"Picture-in-Picture\",\"Restart\",\"Toggle Loop\"],title:\"Action\"},skipTime:{type:ControlType.Number,defaultValue:10,min:1,step:1,displayStepper:true,unit:\"s\",title:\"Time\",hidden:props=>props.type!==\"skipForward\"&&props.type!==\"skipBackward\"},playIcon:{type:ControlType.ResponsiveImage,hidden:props=>props.type!==\"play\"},pauseIcon:{type:ControlType.ResponsiveImage,hidden:props=>props.type!==\"play\"},fullscreenIcon:{type:ControlType.ResponsiveImage,title:\"Fullscreen\",hidden:props=>props.type!==\"fullscreen\"},minimizeIcon:{type:ControlType.ResponsiveImage,title:\"Minimize\",hidden:props=>props.type!==\"fullscreen\"},skipIcon:{type:ControlType.ResponsiveImage,title:\"Icon\",hidden:props=>props.type!==\"skipForward\"&&props.type!==\"skipBackward\"},muteIcon:{type:ControlType.ResponsiveImage,title:\"Mute\",hidden:props=>props.type!==\"mute\"},unmuteIcon:{type:ControlType.ResponsiveImage,title:\"Unmute\",hidden:props=>props.type!==\"mute\"},pictureInPictureIcon:{type:ControlType.ResponsiveImage,title:\"Icon\",hidden:props=>props.type!==\"pictureInPicture\"},restartIcon:{type:ControlType.ResponsiveImage,title:\"Icon\",hidden:props=>props.type!==\"restart\"},loopOnIcon:{type:ControlType.ResponsiveImage,title:\"Loop On\",hidden:props=>props.type!==\"toggleLoop\"},loopOffIcon:{type:ControlType.ResponsiveImage,title:\"Loop Off\",hidden:props=>props.type!==\"toggleLoop\"},iconColor:{type:ControlType.Color,defaultValue:\"#FFF\",optional:true},iconSize:{type:ControlType.Number,defaultValue:20,min:1,step:1,displayStepper:true},hoverEvent:{type:ControlType.EventHandler,title:\"Hover\"},clickEvent:{type:ControlType.EventHandler,title:\"Click\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoButton\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"40\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"40\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoButton.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState,useRef}from\"react\";import{getVideoId,useVideoStore}from\"https://framerusercontent.com/modules/6ffgsaDzsjdxRp9dCkQD/yJx69ySkr8Vo5V1RbVRq/VideoFrameShared.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export default function VideoLabel(props){const{type}=props;const[videoState,setVideoState]=useVideoStore();const[videoId,setVideoId]=useState(null);const[videoTime,setVideoTime]=useState(0);const state=videoState[videoId];const ref=useRef(null);useEffect(()=>{const callback=time=>{setVideoTime(time[0]);};if((state===null||state===void 0?void 0:state.addTimeCallback)&&type==\"currentTime\"){state.addTimeCallback(callback);}return()=>{if((state===null||state===void 0?void 0:state.removeTimeCallback)&&type==\"currentTime\"){state.removeTimeCallback();}};},[!state,type]);useEffect(()=>{const videoId=getVideoId(ref.current);setVideoId(videoId);},[ref]);return /*#__PURE__*/_jsx(\"p\",{\"data-videoframe\":true,ref:ref,style:{userSelect:props.selectable?undefined:\"none\",color:props.color,whiteSpace:\"pre\",margin:0,...props.font,...props.style},children:formatTime(type==\"currentTime\"?videoTime:(state===null||state===void 0?void 0:state.duration)||0)});}VideoLabel.displayName=\"Video Time Label\";addPropertyControls(VideoLabel,{type:{type:ControlType.Enum,defaultValue:\"currentTime\",options:[\"currentTime\",\"duration\"],optionTitles:[\"Current Time\",\"Duration\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.2}},color:{type:ControlType.Color,defaultValue:\"#999999\"},selectable:{type:ControlType.Boolean,defaultValue:false}});function formatTime(seconds){if(isNaN(seconds)){return\"0:00\";}const hours=Math.floor(seconds/3600);const minutes=Math.floor(seconds%3600/60);const secs=Math.floor(seconds%60);if(hours>0){return`${hours}:${minutes<10?\"0\":\"\"}${minutes}:${secs<10?\"0\":\"\"}${secs}`;}else{return`${minutes}:${secs<10?\"0\":\"\"}${secs}`;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoLabel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoLabel.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState,useRef}from\"react\";import{getVideoId,useVideoStore,Border,borderProp,Icon,speeds}from\"https://framerusercontent.com/modules/6ffgsaDzsjdxRp9dCkQD/yJx69ySkr8Vo5V1RbVRq/VideoFrameShared.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function SpeedSelector(props){const{icon}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[videoState,setVideoState]=useVideoStore();const[videoId,setVideoId]=useState(null);const state=videoState[videoId];const ref=useRef(null);const currentSpeed=!isCanvas&&state?state.speed:1;const[pt,pr,pb,pl]=parsePadding(props.padding);useEffect(()=>{setVideoState({});},[]);useEffect(()=>{const videoId=getVideoId(ref.current);setVideoId(videoId);},[ref]);const changeSpeed=event=>{if(state===null||state===void 0?void 0:state.setSpeed){state.setSpeed(parseFloat(event.target.value));}};return /*#__PURE__*/_jsxs(\"div\",{\"data-videoframe\":true,ref:ref,style:{position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:props.radius,boxShadow:props.shadows,color:props.color,...createBackground(props.fill),...props.style},children:[/*#__PURE__*/_jsx(\"select\",{onChange:changeSpeed,value:currentSpeed,style:{appearance:\"none\",border:\"none\",background:\"none\",color:props.color,padding:icon?`${pt}px ${pr+icon.size+8}px ${pb}px ${pl}px`:props.padding,...props.font,...props.style},children:speeds.map(speed=>/*#__PURE__*/_jsxs(\"option\",{value:speed,children:[props.prefix,speed,props.suffix]}))}),icon&&/*#__PURE__*/_jsx(Icon,{...icon,style:{position:\"absolute\",right:pr,top:\"50%\",transform:\"translateY(-50%)\"},defaultImage:`url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path d=\"M 3.5 6 L 8 10.5 L 12.5 6\" fill=\"transparent\" stroke-width=\"2\" stroke=\"rgb(153, 153, 153)\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path></svg>')`}),/*#__PURE__*/_jsx(Border,{...props.border,borderRadius:props.radius})]});}SpeedSelector.displayName=\"Speed Selector\";addPropertyControls(SpeedSelector,{prefix:{type:ControlType.String,defaultValue:\"\",placeholder:\"Prefix\"},suffix:{type:ControlType.String,defaultValue:\"\\xd7\",placeholder:\"Suffix\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.2}},color:{type:ControlType.Color,defaultValue:\"#999999\"},fill:{type:ControlType.Object,optional:true,icon:\"color\",controls:{type:{type:ControlType.Enum,options:[\"color\",\"linearGradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},color:{type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.type!==\"color\"},colorA:{type:ControlType.Color,defaultValue:\"#FFF\",title:\"Colors\",hidden:props=>props.type!==\"linearGradient\"},colorB:{type:ControlType.Color,defaultValue:\"#858585\",title:\" \",hidden:props=>props.type!==\"linearGradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"linearGradient\"}}},icon:{type:ControlType.Object,buttonTitle:\"Caret\",optional:true,defaultValue:{color:\"#999\",size:14},controls:{image:{type:ControlType.ResponsiveImage},color:{type:ControlType.Color,optional:true,defaultValue:\"#999\"},size:{type:ControlType.Number,defaultValue:14,min:1,step:1,displayStepper:true}}},radius:{type:ControlType.BorderRadius,defaultValue:\"8px\"},padding:{type:ControlType.Padding,defaultValue:\"6px\"},border:borderProp(),shadows:{type:ControlType.BoxShadow}});function createBackground(fill){if(fill){if(fill.type==\"color\"){return{backgroundColor:fill.color,backgroundImage:\"none\"};}else{return{backgroundColor:\"none\",backgroundImage:`linear-gradient(${fill.gradientAngle}deg, ${fill.colorB}, ${fill.colorA})`};}}return{background:\"none\"};}export function parsePadding(padding){if(typeof padding!==\"string\"){return[0,0,0,0];}const values=padding.split(\" \");const parsedValues=values.map(value=>parseInt(value.replace(\"px\",\"\"),10));switch(parsedValues.length){case 1:const p=parsedValues[0];return[p,p,p,p];case 4:return parsedValues;}return[0,0,0,0];}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SpeedSelector\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"parsePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SpeedSelector.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useState,useRef}from\"react\";import{useVideoStore,getVideoId,createId}from\"https://framerusercontent.com/modules/6ffgsaDzsjdxRp9dCkQD/yJx69ySkr8Vo5V1RbVRq/VideoFrameShared.js\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 200\n * @framerDisableUnlink\n */export default function ProgressBar(props){var _handle_border,_handle_border1;const{line,handle}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const id=props.id||createId();const[videoState,setVideoState]=useVideoStore();const[videoId,setVideoId]=useState(null);const[isDragging,setIsDragging]=useState(false);const[dragValue,setDragValue]=useState(0);const[videoTime,setVideoTime]=useState(0);const[loadedTime,setLoadedTime]=useState(0);const state=videoState[videoId];const duration=(state===null||state===void 0?void 0:state.duration)||0;const ref=useRef(null);const inputRef=useRef(null);const wasPlayingRef=useRef(false);useEffect(()=>{const callback=time=>{if(time[0]!==null){setVideoTime(time[0]);}if(time[1]!==null){setLoadedTime(time[1]);}};if(state===null||state===void 0?void 0:state.addTimeCallback){state.addTimeCallback(callback);}return()=>{if(state===null||state===void 0?void 0:state.removeTimeCallback){state.removeTimeCallback(callback);}};},[!state]);useEffect(()=>{setVideoState({});},[]);useEffect(()=>{const videoId=getVideoId(ref.current);setVideoId(videoId);},[ref]);const value=isDragging?dragValue:videoTime;const step=.1;var _handle_border_color;const handleCSS=`appearance: none;\n        -webkit-appearance: none;\n        width: ${handle.size}px;\n        height: ${handle.size}px;\n        border-radius: ${handle.radius};\n        background-color: ${handle.fill};\n        box-sizing: border-box;\n        border-width: ${((_handle_border=handle.border)===null||_handle_border===void 0?void 0:_handle_border.width)||0}px;\n        border-style: ${handle.border?\"solid\":\"none\"};\n        border-color: ${(_handle_border_color=(_handle_border1=handle.border)===null||_handle_border1===void 0?void 0:_handle_border1.color)!==null&&_handle_border_color!==void 0?_handle_border_color:\"none\"};\n        box-shadow: ${handle.shadows};`;const lineCSS=`appearance: none;\n        -webkit-appearance: none;\n        height: ${line.height}px;`;const percent=isCanvas?props.preview:getPercentage(value,0,duration);const loadedPercent=getPercentage(loadedTime,0,duration);const onChange=event=>{if(isDragging){const newTime=Number(event.target.value);setDragValue(newTime);}};const onDragStart=()=>{if(state===null||state===void 0?void 0:state.playing){wasPlayingRef.current=true;state.setPlaying(false);}setIsDragging(true);};const onDragEnd=()=>{if(state){state.setTime(dragValue);if(wasPlayingRef.current){wasPlayingRef.current=false;state.setPlaying(true);}}setIsDragging(false);};return /*#__PURE__*/_jsxs(\"div\",{\"data-videoframe\":true,ref:ref,id:id,style:{display:\"flex\",flexDirection:\"row\",alignItems:\"center\",...props.style},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",flex:1,height:Math.max(handle.size,line.height),display:\"flex\",flexDirection:\"row\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{height:line.height,background:loadedPercent>percent&&line.loadedFill?`linear-gradient(to right, ${line.playedFill} ${percent}%, ${line.loadedFill} ${percent}%, ${line.loadedFill} ${loadedPercent}%, ${line.unplayedFill} ${loadedPercent}%)`:`linear-gradient(to right, ${line.playedFill} ${percent}%, ${line.unplayedFill} ${percent}%)`,boxShadow:line.shadows,borderRadius:line.radius,flex:1}}),/*#__PURE__*/_jsx(\"input\",{ref:inputRef,type:\"range\",name:props.name,min:0,max:isCanvas?100:duration,step:step,value:isCanvas?props.preview:value,onChange:onChange,onMouseDown:onDragStart,onMouseUp:onDragEnd,style:{position:\"absolute\",inset:0,display:\"block\",appearance:\"none\",outline:\"none\",margin:0,cursor:\"pointer\",background:\"none\"}})]}),/*#__PURE__*/_jsx(\"style\",{children:`#${id} input[type=range]::-webkit-slider-thumb {${handleCSS}\n                    translate: 0 ${(-handle.size+line.height)/2-(line.border?Math.min(line.border.width,line.height/2):0)}px;    \n                }\n                #${id} input[type=range]::-moz-range-thumb {${handleCSS}}\n\n                #${id} input[type=range]::-webkit-slider-runnable-track {${lineCSS}}\n                #${id} input[type=range]::-moz-range-track {${lineCSS}}\n                #${id} input[type=range]::-moz-range-progress {${lineCSS}}`})]});}ProgressBar.displayName=\"Progress Bar\";addPropertyControls(ProgressBar,{line:{type:ControlType.Object,buttonTitle:\"Style\",controls:{height:{type:ControlType.Number,defaultValue:4,min:1,step:1,displayStepper:true},playedFill:{type:ControlType.Color,defaultValue:\"#FFF\",title:\"Played\"},unplayedFill:{type:ControlType.Color,defaultValue:\"rgba(187, 187, 187, 0.3)\",title:\"Unplayed\"},loadedFill:{type:ControlType.Color,optional:true,defaultValue:\"rgba(187, 187, 187, 0.5)\",title:\"Loaded\",description:\"Only for YouTube and Vimeo videos\"},radius:{type:ControlType.BorderRadius,defaultValue:\"2px\"},shadows:{type:ControlType.BoxShadow}}},handle:{type:ControlType.Object,buttonTitle:\"Style\",icon:\"boolean\",controls:{size:{type:ControlType.Number,defaultValue:16,min:0,step:1},fill:{type:ControlType.Color,defaultValue:\"#FFF\"},radius:{type:ControlType.BorderRadius,defaultValue:\"8px\"},border:{type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#222\"},width:{type:ControlType.Number,defaultValue:1,min:0,step:1,displayStepper:true},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}},shadows:{type:ControlType.BoxShadow,defaultValue:\"0px 4px 6px 0px rgba(0, 0, 0, 0.2)\"}}},preview:{type:ControlType.Number,defaultValue:50,min:0,max:100,step:1,unit:\"%\"}});function getPercentage(value,min,max){if(min===max){return value===min?0:100;}// Ensure min is less than max by swapping if necessary\nif(min>max){[min,max]=[max,min];}// Clamp the value to be within the min and max range\nvalue=Math.max(min,Math.min(value,max));const percentage=(value-min)/(max-min)*100;return percentage;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProgressBar\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"200\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProgressBar.map"],"mappings":"iiBAA2sB,SAAgB,EAAW,EAAQ,CAAC,KAAM,GAAQ,CAAC,IAAI,EAAG,EAAQ,aAAa,EAAmB,CAAC,GAAG,EAAI,OAAO,EAAI,EAAQ,EAAQ,cAAe,OAAO,KAAM,SAAgB,EAAK,CAAC,QAAM,QAAM,OAAK,QAAM,EAAE,CAAC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