{"version":3,"file":"Hero_Unit_Visual.CX77oSWF.mjs","names":["React.useRef","React.useState","React.useMemo","React.useCallback"],"sources":["https:/framerusercontent.com/modules/lil6tHfYcbGMsU7FA17P/9Am63Pr1BIcOlhPumzrh/Hero_Unit_Visual.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";const CATEGORY_ORDER=[{key:\"avatar\",title:\"Avatar Videos\"},{key:\"product\",title:\"Product Ads\"},{key:\"animation\",title:\"Animation\"},{key:\"shortFilms\",title:\"Short Films\"},{key:\"musicVideos\",title:\"Music Videos\"},{key:\"educational\",title:\"Educational\"},{key:\"storyboarding\",title:\"Storyboarding\"}];function clamp(n,min,max){return Math.max(min,Math.min(max,n));}// Animation timing constants (in ms)\nconst TIMING={typingSpeed:15,dropdownFadeDelay:0,dropdownFadeDuration:150,attachmentsFadeDelay:100,attachmentsFadeDuration:150,step1Buffer:200,col2SlideDuration:200,frameStagger:80,frameDuration:80,timestampDelay:50,step2Buffer:150,col3SlideDuration:300,shimmerDuration:200,videoFadeDuration:300,videoPlaytime:6e3,colFadeoutDuration:100,col1CenterDuration:100,contentFadeoutDuration:100,transitionBuffer:50};export default function VideoCreationFramer(props){const radius=props.cornerRadius;const rootRef=React.useRef(null);const containerRef=React.useRef(null);const[scale,setScale]=React.useState(1);const[isMobile,setIsMobile]=React.useState(false);const[containerWidth,setContainerWidth]=React.useState(0);React.useEffect(()=>{const el=rootRef.current;if(!el)return;const ro=new ResizeObserver(entries=>{const entry=entries[0];const w=entry?.contentRect?.width??0;if(w<=0)return;setIsMobile(w<=810);if(w>810){const shellW=Math.min(w,1222);setScale(clamp(shellW/1222,.55,1.2));}else{setScale(clamp(w/810,.5,1));}});ro.observe(el);return()=>ro.disconnect();},[]);// Track container inner width for centering calculations\nReact.useEffect(()=>{const el=containerRef.current;if(!el)return;const ro=new ResizeObserver(entries=>{const entry=entries[0];const w=entry?.contentRect?.width??0;if(w>0)setContainerWidth(w);});ro.observe(el);return()=>ro.disconnect();},[]);const scaleStyle=React.useMemo(()=>{return{[\"--s\"]:scale};},[scale]);const[activeKey,setActiveKey]=React.useState(props.autoRotate?\"animation\":props.activeCategory);// Animation phases: which columns are visible\nconst[visibleCols,setVisibleCols]=React.useState(1);// Step 1 states\nconst[typedWords,setTypedWords]=React.useState(0);const[showCursor,setShowCursor]=React.useState(true);const[showDropdownText,setShowDropdownText]=React.useState(false);const[showAttachments,setShowAttachments]=React.useState(false);// Step 2 states\nconst[showCol2,setShowCol2]=React.useState(false);const[visibleFrames,setVisibleFrames]=React.useState(0);const[showTimestamps,setShowTimestamps]=React.useState([false,false,false,false]);// Step 3 states\nconst[showCol3,setShowCol3]=React.useState(false);const[videoShimmer,setVideoShimmer]=React.useState(false);const[showVideo,setShowVideo]=React.useState(false);// Fadeout states\nconst[contentVisible,setContentVisible]=React.useState(true);const videoRef=React.useRef(null);const[videoFailed,setVideoFailed]=React.useState(false);const tabsRowRef=React.useRef(null);const tabRefs=React.useRef({});const[rotationNonce,setRotationNonce]=React.useState(0);const bumpRotation=React.useCallback(()=>{setRotationNonce(n=>n+1);},[]);React.useEffect(()=>{if(!props.autoRotate)setActiveKey(props.activeCategory);},[props.activeCategory,props.autoRotate]);const data=props[activeKey];const words=(data.instructions||\"\").split(/\\s+/).filter(Boolean);const totalWords=words.length;// Cursor blink effect\nReact.useEffect(()=>{const interval=setInterval(()=>{setShowCursor(prev=>!prev);},530);return()=>clearInterval(interval);},[]);// Main animation sequence\nReact.useEffect(()=>{// Reset all states\nsetVisibleCols(1);setTypedWords(0);setShowDropdownText(false);setShowAttachments(false);setShowCol2(false);setVisibleFrames(0);setShowTimestamps([false,false,false,false]);setShowCol3(false);setVideoShimmer(false);setShowVideo(false);setContentVisible(true);setVideoFailed(false);const timeouts=[];let currentTime=50;// Step 1: Dropdown text fades in immediately\ntimeouts.push(setTimeout(()=>setShowDropdownText(true),currentTime));// Step 1: Type words one by one\nfor(let i=1;i<=totalWords;i++){timeouts.push(setTimeout(()=>setTypedWords(i),currentTime+i*TIMING.typingSpeed));}const typingEndTime=currentTime+totalWords*TIMING.typingSpeed;// Step 1: Attachments fade in after typing\ntimeouts.push(setTimeout(()=>setShowAttachments(true),typingEndTime+TIMING.attachmentsFadeDelay));const step1EndTime=typingEndTime+TIMING.attachmentsFadeDelay+TIMING.attachmentsFadeDuration+TIMING.step1Buffer;if(!isMobile){// Step 2: Col-2 appears (desktop only)\ntimeouts.push(setTimeout(()=>{setVisibleCols(2);setShowCol2(true);},step1EndTime));// Step 2: Cascade frames\nconst cascadeStartTime=step1EndTime+TIMING.col2SlideDuration;for(let i=0;i<4;i++){timeouts.push(setTimeout(()=>setVisibleFrames(i+1),cascadeStartTime+i*TIMING.frameStagger));timeouts.push(setTimeout(()=>{setShowTimestamps(prev=>{const next=[...prev];next[i]=true;return next;});},cascadeStartTime+i*TIMING.frameStagger+TIMING.timestampDelay));}const step2EndTime=cascadeStartTime+4*TIMING.frameStagger+TIMING.step2Buffer;// Step 3: Col-3 appears\ntimeouts.push(setTimeout(()=>{setVisibleCols(3);setShowCol3(true);},step2EndTime));timeouts.push(setTimeout(()=>setVideoShimmer(true),step2EndTime+TIMING.col3SlideDuration));timeouts.push(setTimeout(()=>{setVideoShimmer(false);setShowVideo(true);},step2EndTime+TIMING.col3SlideDuration+TIMING.shimmerDuration));const playEndTime=step2EndTime+TIMING.col3SlideDuration+TIMING.shimmerDuration+TIMING.videoFadeDuration+TIMING.videoPlaytime;// Fadeout sequence\nif(props.autoRotate){timeouts.push(setTimeout(()=>{setShowCol2(false);setShowCol3(false);},playEndTime));timeouts.push(setTimeout(()=>{setVisibleCols(1);setContentVisible(false);},playEndTime+TIMING.colFadeoutDuration));timeouts.push(setTimeout(()=>{setActiveKey(prev=>{const idx=CATEGORY_ORDER.findIndex(c=>c.key===prev);return CATEGORY_ORDER[(idx+1)%CATEGORY_ORDER.length].key;});setRotationNonce(n=>n+1);},playEndTime+TIMING.colFadeoutDuration+TIMING.col1CenterDuration+TIMING.contentFadeoutDuration+TIMING.transitionBuffer));}}else{// Mobile: Skip step 2, go directly to step 3\ntimeouts.push(setTimeout(()=>{setVisibleCols(3);setShowCol3(true);},step1EndTime));timeouts.push(setTimeout(()=>setVideoShimmer(true),step1EndTime+TIMING.col3SlideDuration));timeouts.push(setTimeout(()=>{setVideoShimmer(false);setShowVideo(true);},step1EndTime+TIMING.col3SlideDuration+TIMING.shimmerDuration));const playEndTime=step1EndTime+TIMING.col3SlideDuration+TIMING.shimmerDuration+TIMING.videoFadeDuration+TIMING.videoPlaytime;// Fadeout sequence (mobile)\nif(props.autoRotate){timeouts.push(setTimeout(()=>{setShowCol3(false);},playEndTime));timeouts.push(setTimeout(()=>{setVisibleCols(1);setContentVisible(false);},playEndTime+TIMING.colFadeoutDuration));timeouts.push(setTimeout(()=>{setActiveKey(prev=>{const idx=CATEGORY_ORDER.findIndex(c=>c.key===prev);return CATEGORY_ORDER[(idx+1)%CATEGORY_ORDER.length].key;});setRotationNonce(n=>n+1);},playEndTime+TIMING.colFadeoutDuration+TIMING.col1CenterDuration+TIMING.contentFadeoutDuration+TIMING.transitionBuffer));}}return()=>timeouts.forEach(clearTimeout);},[activeKey,props.autoRotate,rotationNonce,totalWords,isMobile]);// Autoplay video when it becomes visible\nReact.useEffect(()=>{if(!showVideo)return;const el=videoRef.current;if(!el)return;el.currentTime=0;el.muted=true;const p=el.play();if(p&&typeof p.catch===\"function\")p.catch(()=>{});},[showVideo,activeKey]);// Center active tab\nReact.useEffect(()=>{const row=tabsRowRef.current;const btn=tabRefs.current[activeKey];if(!row||!btn)return;const rowRect=row.getBoundingClientRect();const btnRect=btn.getBoundingClientRect();const delta=btnRect.left-rowRect.left+btnRect.width/2-rowRect.width/2;row.scrollTo({left:row.scrollLeft+delta,behavior:\"smooth\"});},[activeKey]);const attachmentsRaw=[data.attachment1,data.attachment2,data.attachment3];const attachments=attachmentsRaw.filter(Boolean);const frames=[{img:data.frame1,time:data.time1},{img:data.frame2,time:data.time2},{img:data.frame3,time:data.time3},{img:data.frame4,time:data.time4}];const bigPreviewImg=frames.find(x=>x.img)?.img||\"\";// Build typed text with cursor\nconst displayedText=words.slice(0,typedWords).join(\" \");const isTypingComplete=typedWords>=totalWords;// Calculate centering offset based on visible columns\nconst gap=16*scale;const padding=32*scale;const innerHeight=containerWidth>0?containerWidth/2-padding:0;const col3Width=innerHeight;const col2FrameHeight=(innerHeight-3*(8*scale))/4;const col2Width=col2FrameHeight*2;const innerWidth=containerWidth-padding;const col1RefWidth=280*scale;let offsetX=0;if(!isMobile&&containerWidth>0){if(visibleCols===1){offsetX=(innerWidth-col1RefWidth)/2;}else if(visibleCols===2){const totalWidth2=col1RefWidth+gap+col2Width;offsetX=(innerWidth-totalWidth2)/2;}else{offsetX=0;}}const ClockIcon=()=>/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{width:`calc(20px * var(--s))`,height:`calc(20px * var(--s))`},children:/*#__PURE__*/_jsx(\"path\",{d:\"M9.99984 18.3332C5.39734 18.3332 1.6665 14.6023 1.6665 9.99984C1.6665 5.39734 5.39734 1.6665 9.99984 1.6665C14.6023 1.6665 18.3332 5.39734 18.3332 9.99984C18.3332 14.6023 14.6023 18.3332 9.99984 18.3332ZM9.99984 16.6665C11.7679 16.6665 13.4636 15.9641 14.7139 14.7139C15.9641 13.4636 16.6665 11.7679 16.6665 9.99984C16.6665 8.23173 15.9641 6.53603 14.7139 5.28579C13.4636 4.03555 11.7679 3.33317 9.99984 3.33317C8.23173 3.33317 6.53603 4.03555 5.28579 5.28579C4.03555 6.53603 3.33317 8.23173 3.33317 9.99984C3.33317 11.7679 4.03555 13.4636 5.28579 14.7139C6.53603 15.9641 8.23173 16.6665 9.99984 16.6665ZM10.8332 9.99984H14.1665V11.6665H9.1665V5.83317H10.8332V9.99984Z\",fill:\"#200000\",fillOpacity:\"0.4\"})});const AspectRatioIcon=()=>/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{width:`calc(20px * var(--s))`,height:`calc(20px * var(--s))`},children:/*#__PURE__*/_jsx(\"path\",{d:\"M17.4998 2.5C17.7209 2.5 17.9328 2.5878 18.0891 2.74408C18.2454 2.90036 18.3332 3.11232 18.3332 3.33333V16.6667C18.3332 16.8877 18.2454 17.0996 18.0891 17.2559C17.9328 17.4122 17.7209 17.5 17.4998 17.5H2.49984C2.27882 17.5 2.06686 17.4122 1.91058 17.2559C1.7543 17.0996 1.6665 16.8877 1.6665 16.6667V3.33333C1.6665 3.11232 1.7543 2.90036 1.91058 2.74408C2.06686 2.5878 2.27882 2.5 2.49984 2.5H17.4998ZM16.6665 4.16667H3.33317V15.8333H16.6665V4.16667ZM10.8332 14.1667V12.5H13.3332V10H14.9998V14.1667H10.8332ZM9.1665 5.83333V7.5H6.6665V10H4.99984V5.83333H9.1665Z\",fill:\"#200000\",fillOpacity:\"0.4\"})});const CameraIcon=()=>/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{width:`calc(20px * var(--s))`,height:`calc(20px * var(--s))`},children:/*#__PURE__*/_jsx(\"path\",{d:\"M8.18984 4.16667L6.52317 5.83333H3.33317V15.8333H16.6665V5.83333H13.4765L11.8098 4.16667H8.18984ZM7.49984 2.5H12.4998L14.1665 4.16667H17.4998C17.7209 4.16667 17.9328 4.25446 18.0891 4.41074C18.2454 4.56702 18.3332 4.77899 18.3332 5V16.6667C18.3332 16.8877 18.2454 17.0996 18.0891 17.2559C17.9328 17.4122 17.7209 17.5 17.4998 17.5H2.49984C2.27882 17.5 2.06686 17.4122 1.91058 17.2559C1.7543 17.0996 1.6665 16.8877 1.6665 16.6667V5C1.6665 4.77899 1.7543 4.56702 1.91058 4.41074C2.06686 4.25446 2.27882 4.16667 2.49984 4.16667H5.83317L7.49984 2.5ZM9.99984 15C8.78426 15 7.61847 14.5171 6.75893 13.6576C5.89939 12.798 5.4165 11.6322 5.4165 10.4167C5.4165 9.20109 5.89939 8.0353 6.75893 7.17576C7.61847 6.31622 8.78426 5.83333 9.99984 5.83333C11.2154 5.83333 12.3812 6.31622 13.2407 7.17576C14.1003 8.0353 14.5832 9.20109 14.5832 10.4167C14.5832 11.6322 14.1003 12.798 13.2407 13.6576C12.3812 14.5171 11.2154 15 9.99984 15ZM9.99984 13.3333C10.7734 13.3333 11.5153 13.026 12.0622 12.4791C12.6092 11.9321 12.9165 11.1902 12.9165 10.4167C12.9165 9.64312 12.6092 8.90125 12.0622 8.35427C11.5153 7.80729 10.7734 7.5 9.99984 7.5C9.22629 7.5 8.48442 7.80729 7.93744 8.35427C7.39046 8.90125 7.08317 9.64312 7.08317 10.4167C7.08317 11.1902 7.39046 11.9321 7.93744 12.4791C8.48442 13.026 9.22629 13.3333 9.99984 13.3333Z\",fill:\"#200000\",fillOpacity:\"0.4\"})});const ChevronDownIcon=()=>/*#__PURE__*/_jsx(\"svg\",{width:\"10\",height:\"6\",viewBox:\"0 0 10 6\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{width:`calc(10px * var(--s))`,height:`calc(6px * var(--s))`},children:/*#__PURE__*/_jsx(\"path\",{d:\"M0.530273 0.530273L4.53027 4.53027L8.53027 0.530273\",stroke:\"#200000\",strokeOpacity:\"0.4\",strokeWidth:\"1.5\"})});// Calculate dynamic cycle time for progress bar\nconst typingTime=totalWords*TIMING.typingSpeed;const step1Time=typingTime+TIMING.attachmentsFadeDelay+TIMING.attachmentsFadeDuration+TIMING.step1Buffer;const step2Time=isMobile?0:TIMING.col2SlideDuration+4*TIMING.frameStagger+TIMING.step2Buffer;const step3Time=TIMING.col3SlideDuration+TIMING.shimmerDuration+TIMING.videoFadeDuration+TIMING.videoPlaytime;const fadeoutTime=TIMING.colFadeoutDuration+TIMING.col1CenterDuration+TIMING.contentFadeoutDuration+TIMING.transitionBuffer;const totalCycleMs=step1Time+step2Time+step3Time+fadeoutTime;const cycleDurationSecs=totalCycleMs/1e3;return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"vc-root\",style:scaleStyle,children:[/*#__PURE__*/_jsx(GlobalStyles,{radius:radius}),/*#__PURE__*/_jsx(\"div\",{className:\"vc-tabsRow\",ref:tabsRowRef,children:CATEGORY_ORDER.map(c=>{const isActive=c.key===activeKey;return /*#__PURE__*/_jsxs(\"button\",{ref:el=>{tabRefs.current[c.key]=el;},className:`vc-tab ${isActive?\"isActive\":\"\"}`,onClick:()=>{setActiveKey(c.key);if(props.autoRotate)bumpRotation();},style:{cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"span\",{className:\"vc-tabLabel\",children:c.title}),props.autoRotate&&isActive&&/*#__PURE__*/_jsx(\"span\",{className:\"vc-tabProgress\",style:{animation:`progressFill ${cycleDurationSecs}s linear forwards`}},rotationNonce)]},c.key);})}),/*#__PURE__*/_jsx(\"div\",{className:\"vc-main-container\",ref:containerRef,children:/*#__PURE__*/_jsxs(motion.div,{className:\"vc-columns-wrapper\",animate:{x:isMobile?0:offsetX},transition:{duration:.2,ease:\"easeOut\"},children:[/*#__PURE__*/_jsxs(motion.div,{className:\"vc-col-1\",animate:!isMobile?{width:visibleCols===3?\"auto\":`${280*scale}px`}:{},transition:{duration:.2,ease:\"easeOut\"},style:!isMobile?{flex:visibleCols===3?1:\"none\"}:{},children:[/*#__PURE__*/_jsx(\"div\",{className:\"vc-instructions-box\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"vc-instructions-inner\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"vc-instructions\",animate:{opacity:contentVisible?1:0},transition:{duration:TIMING.contentFadeoutDuration/1e3},children:[displayedText,!isTypingComplete&&/*#__PURE__*/_jsx(\"span\",{className:\"vc-cursor\",style:{opacity:showCursor?1:0},children:\"|\"})]}),attachments.length>0&&/*#__PURE__*/_jsx(motion.div,{className:\"vc-attachments\",animate:{opacity:showAttachments&&contentVisible?1:0},transition:{duration:TIMING.attachmentsFadeDuration/1e3},children:attachments.map((src,i)=>/*#__PURE__*/_jsx(\"div\",{className:\"vc-attachmentBox\",children:/*#__PURE__*/_jsx(\"img\",{className:\"vc-attachmentImg\",src:src,alt:\"\"})},i))})]})}),/*#__PURE__*/_jsxs(\"div\",{className:\"vc-input-wrapper\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"vc-input\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"vc-ddIcon\",children:/*#__PURE__*/_jsx(ClockIcon,{})}),/*#__PURE__*/_jsx(motion.div,{className:\"vc-ddValue\",animate:{opacity:showDropdownText&&contentVisible?1:0},transition:{duration:TIMING.dropdownFadeDuration/1e3},children:data.duration}),/*#__PURE__*/_jsx(\"div\",{className:\"vc-ddChev\",children:/*#__PURE__*/_jsx(ChevronDownIcon,{})})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"vc-input\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"vc-ddIcon\",children:/*#__PURE__*/_jsx(AspectRatioIcon,{})}),/*#__PURE__*/_jsx(motion.div,{className:\"vc-ddValue\",animate:{opacity:showDropdownText&&contentVisible?1:0},transition:{duration:TIMING.dropdownFadeDuration/1e3},children:data.aspect}),/*#__PURE__*/_jsx(\"div\",{className:\"vc-ddChev\",children:/*#__PURE__*/_jsx(ChevronDownIcon,{})})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"vc-input vc-input-style\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"vc-ddIcon\",children:/*#__PURE__*/_jsx(CameraIcon,{})}),/*#__PURE__*/_jsx(motion.div,{className:\"vc-ddValue\",animate:{opacity:showDropdownText&&contentVisible?1:0},transition:{duration:TIMING.dropdownFadeDuration/1e3},children:data.style}),/*#__PURE__*/_jsx(\"div\",{className:\"vc-ddChev\",children:/*#__PURE__*/_jsx(ChevronDownIcon,{})})]})]})]}),!isMobile&&/*#__PURE__*/_jsx(motion.div,{className:\"vc-col-2\",initial:{opacity:0,x:100},animate:{opacity:showCol2?1:0,x:showCol2?0:100},transition:{duration:TIMING.col2SlideDuration/1e3,ease:\"easeOut\"},children:frames.map((f,idx)=>{const isVisible=idx<visibleFrames;const showTimestamp=showTimestamps[idx];return /*#__PURE__*/_jsxs(\"div\",{className:\"vc-storyboard\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"vc-storyboard-skeleton\",animate:{opacity:isVisible?0:1},transition:{duration:.1}}),/*#__PURE__*/_jsx(motion.div,{className:\"vc-storyboard-content\",initial:{opacity:0,scale:.95},animate:{opacity:isVisible?1:0,scale:isVisible?1:.95},transition:{duration:TIMING.frameDuration/1e3,ease:\"easeOut\"},children:f.img?/*#__PURE__*/_jsx(\"img\",{className:\"vc-storyboard-img\",src:f.img,alt:\"\"}):/*#__PURE__*/_jsx(\"div\",{className:\"vc-storyboard-placeholder\"})}),/*#__PURE__*/_jsx(motion.div,{className:\"vc-timeChip\",initial:{opacity:0,y:4},animate:{opacity:showTimestamp?1:0,y:showTimestamp?0:4},transition:{duration:.1,ease:\"easeOut\"},children:f.time||\"0:00 - 0:15\"})]},idx);})}),/*#__PURE__*/_jsxs(motion.div,{className:\"vc-col-3\",initial:{opacity:0,x:100},animate:{opacity:showCol3?1:0,x:showCol3?0:100},transition:{duration:TIMING.col3SlideDuration/1e3,ease:\"easeOut\"},children:[/*#__PURE__*/_jsx(motion.div,{className:\"vc-preview-skeleton\",animate:{opacity:showVideo?0:1},transition:{duration:.15}}),/*#__PURE__*/_jsx(motion.div,{className:\"vc-preview-shimmer\",animate:{opacity:videoShimmer?1:0},transition:{duration:.1}}),/*#__PURE__*/_jsx(motion.div,{className:\"vc-preview-wrap\",initial:{opacity:0,scale:.98},animate:{opacity:showVideo?1:0,scale:showVideo?1:.98},transition:{duration:TIMING.videoFadeDuration/1e3,ease:\"easeOut\"},children:data.finalVideo&&!videoFailed?/*#__PURE__*/_jsx(\"video\",{ref:videoRef,src:data.finalVideo,className:\"vc-preview-media\",muted:true,autoPlay:true,playsInline:true,loop:true,onError:()=>setVideoFailed(true)}):bigPreviewImg?/*#__PURE__*/_jsx(\"img\",{src:bigPreviewImg,alt:\"\",className:\"vc-preview-media\"}):/*#__PURE__*/_jsx(\"div\",{className:\"vc-preview-empty\",children:\"Set storyboard frames (or a final video) in the right panel.\"})})]})]})})]});}function GlobalStyles({radius}){const css=`\n@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');\n.vc-root { --s: 1; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; font-family: \"Hanken Grotesk\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Inter, Roboto, Helvetica, Arial, sans-serif; gap: calc(16px * var(--s)); padding: calc(16px * var(--s)); }\n.vc-tabsRow { width: 100%; display: flex; gap: calc(8px * var(--s)); align-items: center; justify-content: center; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding: calc(4px * var(--s)); -webkit-overflow-scrolling: touch; }\n.vc-tabsRow::-webkit-scrollbar { height: calc(8px * var(--s)); }\n.vc-tabsRow::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.18); border-radius: 999px; }\n.vc-tab { position: relative; flex: 0 0 auto; border: none; outline: none; background: rgba(32, 0, 0, 0.16); color: rgba(32, 0, 0, 0.8); border-radius: 999px; padding: 0 calc(24px * var(--s)); height: calc(34px * var(--s)); box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: calc(12px * var(--s)); line-height: 1; letter-spacing: calc(0.8px * var(--s)); text-transform: uppercase; font-weight: 800; overflow: hidden; opacity: 0.64; backdrop-filter: blur(calc(8px * var(--s))); white-space: nowrap; font-family: inherit; }\n.vc-tab.isActive { opacity: 1; }\n.vc-tabLabel { position: relative; z-index: 2; }\n.vc-tabProgress { position: absolute; left: 0; top: 0; height: 100%; background: rgba(32, 0, 0, 0.16); z-index: 1; width: 0%; transition: none; }\n.vc-main-container { background: rgba(239, 239, 239, 0.67); padding: calc(16px * var(--s)); display: flex; border-radius: calc(${radius}px * var(--s)); width: 100%; aspect-ratio: 2; position: relative; box-sizing: border-box; backdrop-filter: blur(calc(40px * var(--s))); box-shadow: 0 calc(8px * var(--s)) calc(48px * var(--s)) rgba(0, 0, 0, 0.24); overflow: hidden; min-height: 0; }\n.vc-columns-wrapper { display: flex; gap: calc(16px * var(--s)); height: 100%; align-items: stretch; }\n.vc-col-1 { flex: 1; min-width: calc(200px * var(--s)); max-width: calc(320px * var(--s)); height: 100%; display: flex; gap: calc(8px * var(--s)); flex-direction: column; min-height: 0; overflow: hidden; }\n.vc-instructions-box { width: 100%; flex: 1; background: rgba(255, 255, 255, 0.5); border-radius: calc(8px * var(--s)); padding: calc(16px * var(--s)); box-sizing: border-box; overflow: hidden; min-height: 0; }\n.vc-instructions-inner { width: 100%; height: 100%; display: flex; flex-direction: column; }\n.vc-instructions { font-size: calc(16px * var(--s)); line-height: 1.35; color: rgba(40, 40, 40, 0.88); font-weight: 500; letter-spacing: calc(0.1px * var(--s)); white-space: pre-wrap; }\n.vc-cursor { color: rgba(40, 40, 40, 0.88); font-weight: 400; margin-left: 1px; }\n.vc-attachments { margin-top: auto; display: flex; gap: calc(14px * var(--s)); align-items: center; padding-top: calc(14px * var(--s)); }\n.vc-attachmentBox { width: calc(100px * var(--s)); height: calc(100px * var(--s)); border-radius: calc(12px * var(--s)); overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.5); }\n.vc-attachmentImg { width: 100%; height: 100%; object-fit: contain; }\n.vc-input-wrapper { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: calc(8px * var(--s)); flex-shrink: 0; }\n.vc-input { width: 100%; height: calc(48px * var(--s)); background: rgba(255, 255, 255, 0.5); border-radius: calc(8px * var(--s)); display: grid; grid-template-columns: calc(44px * var(--s)) 1fr calc(22px * var(--s)); align-items: center; padding: 0 calc(14px * var(--s)) 0 0; box-sizing: border-box; }\n.vc-input-style { grid-column: 1 / -1; }\n.vc-ddIcon { display: flex; align-items: center; justify-content: center; }\n.vc-ddValue { font-size: calc(16px * var(--s)); color: rgba(45, 45, 45, 0.85); font-weight: 600; letter-spacing: calc(0.2px * var(--s)); }\n.vc-ddChev { display: flex; align-items: center; justify-content: flex-end; }\n.vc-col-2 { display: grid; grid-template-rows: repeat(4, 1fr); gap: calc(8px * var(--s)); height: 100%; flex-shrink: 0; overflow: hidden; min-height: 0; }\n.vc-storyboard { background: rgba(255, 255, 255, 0.6); aspect-ratio: 2; height: 100%; border-radius: calc(8px * var(--s)); overflow: hidden; position: relative; box-shadow: 0 calc(2px * var(--s)) calc(4px * var(--s)) rgba(0, 0, 0, 0.08); min-height: 0; min-width: 0; }\n.vc-storyboard-skeleton { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.04) 100%); background-size: 200% 100%; animation: shimmerDiagonal 1.5s ease-in-out infinite; }\n.vc-storyboard-content { position: absolute; inset: 0; width: 100%; height: 100%; }\n.vc-storyboard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }\n.vc-storyboard-placeholder { width: 100%; height: 100%; background: rgba(0, 0, 0, 0.03); }\n.vc-timeChip { position: absolute; left: calc(12px * var(--s)); bottom: calc(12px * var(--s)); padding: calc(8px * var(--s)) calc(12px * var(--s)); border-radius: 999px; background: rgba(20, 20, 20, 0.55); color: rgba(255, 255, 255, 0.92); font-size: calc(10px * var(--s)); font-weight: 600; letter-spacing: calc(0.2px * var(--s)); backdrop-filter: blur(calc(8px * var(--s))); z-index: 2; }\n.vc-col-3 { background: rgba(255, 255, 255, 0.55); aspect-ratio: 1; height: 100%; border-radius: calc(8px * var(--s)); overflow: hidden; position: relative; box-shadow: 0 calc(2px * var(--s)) calc(4px * var(--s)) rgba(0, 0, 0, 0.08); flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-height: 0; min-width: 0; }\n.vc-preview-skeleton { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.04) 100%); background-size: 200% 100%; animation: shimmerDiagonal 1.5s ease-in-out infinite; z-index: 1; }\n.vc-preview-shimmer { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%); background-size: 200% 100%; animation: shimmerFlash 0.4s ease-out forwards; z-index: 2; }\n.vc-preview-wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 3; }\n.vc-preview-media { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; display: block; }\n.vc-col-3, .vc-preview-wrap { min-width: 0; min-height: 0; }\n.vc-preview-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: calc(24px * var(--s)); text-align: center; color: rgba(50, 50, 50, 0.55); font-size: calc(16px * var(--s)); font-weight: 600; z-index: 3; }\n@keyframes shimmerDiagonal { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }\n@keyframes shimmerFlash { 0% { background-position: 200% 0; opacity: 0; } 50% { opacity: 1; } 100% { background-position: -200% 0; opacity: 0; } }\n@keyframes progressFill { 0% { width: 0%; } 100% { width: 100%; } }\n@media (max-width: 810px) {\n  .vc-main-container { flex-direction: column; aspect-ratio: auto; height: auto; padding: calc(12px * var(--s)); gap: calc(12px * var(--s)); overflow: hidden; }\n  .vc-columns-wrapper { flex-direction: column; width: 100%; height: auto; }\n  .vc-col-1 { width: 100% !important; max-width: 100% !important; height: auto; gap: calc(8px * var(--s)); overflow: visible; flex: none !important; }\n  .vc-instructions-box { height: auto; min-height: 0; padding: 8px; flex: none; }\n  .vc-instructions-inner { height: auto; }\n  .vc-col-2 { display: none; }\n  .vc-attachments { display: none; }\n  .vc-col-3 { width: 100%; height: auto; max-height: none; }\n  .vc-input-wrapper { display: flex; flex-direction: row; gap: calc(6px * var(--s)); }\n  .vc-input { height: calc(40px * var(--s)); grid-template-columns: calc(28px * var(--s)) 1fr calc(16px * var(--s)); padding: 0 calc(8px * var(--s)) 0 0; }\n  .vc-input { height: auto; padding: 8px; }\n  .vc-input-style { grid-column: auto; }\n  .vc-tabsRow { flex-wrap: wrap; overflow-x: visible; justify-content: center; gap: calc(6px * var(--s)); }\n  .vc-tab { font-size: max(10px, calc(12px * var(--s))); padding: 0 calc(14px * var(--s)); height: max(28px, calc(34px * var(--s))); }\n  .vc-instructions { font-size: max(12px, calc(16px * var(--s))); }\n  .vc-ddValue { font-size: max(12px, calc(14px * var(--s))); }\n}\n`;return /*#__PURE__*/_jsx(\"style\",{children:css});}const durationOptions=[\"15 secs\",\"30 secs\",\"45 secs\",\"60 secs\"];const aspectOptions=[\"16 : 9\",\"9 : 16\",\"1 : 1\",\"4 : 5\"];const styleOptions=[\"Realistic\",\"Cinematic\",\"Minimal\",\"Bold\",\"Playful\"];function categoryObjectControl(title){return{type:ControlType.Object,title,controls:{instructions:{type:ControlType.String,title:\"Instructions\",displayTextArea:true},attachment1:{type:ControlType.String,title:\"Attachment 1 URL\"},attachment2:{type:ControlType.String,title:\"Attachment 2 URL\"},attachment3:{type:ControlType.String,title:\"Attachment 3 URL\"},duration:{type:ControlType.Enum,title:\"Duration\",options:durationOptions,optionTitles:durationOptions},aspect:{type:ControlType.Enum,title:\"Aspect\",options:aspectOptions,optionTitles:aspectOptions},style:{type:ControlType.Enum,title:\"Style\",options:styleOptions,optionTitles:styleOptions},frame1:{type:ControlType.String,title:\"Frame 1 URL\"},time1:{type:ControlType.String,title:\"Time 1\"},frame2:{type:ControlType.String,title:\"Frame 2 URL\"},time2:{type:ControlType.String,title:\"Time 2\"},frame3:{type:ControlType.String,title:\"Frame 3 URL\"},time3:{type:ControlType.String,title:\"Time 3\"},frame4:{type:ControlType.String,title:\"Frame 4 URL\"},time4:{type:ControlType.String,title:\"Time 4\"},finalVideo:{type:ControlType.String,title:\"Final Video URL\"}}};}const defaultCategoryData={instructions:\"\",attachment1:\"\",attachment2:\"\",attachment3:\"\",duration:\"45 secs\",aspect:\"16 : 9\",style:\"Realistic\",frame1:\"\",frame2:\"\",frame3:\"\",frame4:\"\",time1:\"0:00 - 0:15\",time2:\"0:15 - 0:30\",time3:\"0:30 - 0:45\",time4:\"0:45 - 1:00\",finalVideo:\"\"};VideoCreationFramer.defaultProps={autoRotate:true,rotateEverySeconds:10,cornerRadius:28,activeCategory:\"animation\",avatar:{...defaultCategoryData,instructions:\"Create an avatar-led welcome video. Friendly, confident tone. Keep it tight and benefits-first.\"},product:{...defaultCategoryData,instructions:\"Create an ad for this protein shake using a mix of sports and lifestyle shots, with quick cuts. Create visuals of the shake on a bed of clouds as well.\"},animation:{...defaultCategoryData,instructions:\"Create an animation brief. Define the visual style, motion language, pacing, and key transitions. Keep scenes simple and readable.\"},shortFilms:{...defaultCategoryData,instructions:\"Create a short film concept. Strong hook, clear arc, minimal scenes, cinematic framing, and a satisfying payoff.\"},musicVideos:{...defaultCategoryData,instructions:\"Create a music video concept. Rhythm-matched cuts, strong visual motifs, and a consistent color/mood direction.\"},educational:{...defaultCategoryData,instructions:\"Create an educational video. Step-by-step structure, clear on-screen text, and strong visual hierarchy for comprehension.\"},storyboarding:{...defaultCategoryData,instructions:\"Create a storyboarding plan. Define scene beats, framing notes, transitions, and timing per frame to guide production.\"}};addPropertyControls(VideoCreationFramer,{autoRotate:{type:ControlType.Boolean,title:\"Auto Rotate\",defaultValue:true},rotateEverySeconds:{type:ControlType.Number,title:\"Rotate (s)\",min:2,max:30,step:.5,defaultValue:10,hidden:p=>!p.autoRotate},cornerRadius:{type:ControlType.Number,title:\"Radius\",min:10,max:50,step:1},activeCategory:{type:ControlType.Enum,title:\"Active\",options:CATEGORY_ORDER.map(c=>c.key),optionTitles:CATEGORY_ORDER.map(c=>c.title),defaultValue:\"animation\",hidden:p=>p.autoRotate},avatar:categoryObjectControl(\"Avatar Videos\"),product:categoryObjectControl(\"Product Ads\"),animation:categoryObjectControl(\"Animation\"),shortFilms:categoryObjectControl(\"Short Films\"),musicVideos:categoryObjectControl(\"Music Videos\"),educational:categoryObjectControl(\"Educational\"),storyboarding:categoryObjectControl(\"Storyboarding\")});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoCreationFramer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Hero_Unit_Visual.map"],"mappings":"+PAAmd,SAAS,EAAM,EAAE,EAAI,EAAI,CAAC,OAAO,KAAK,IAAI,EAAI,KAAK,IAAI,EAAI,CAAC,CAAC,CAAE,CAC1H,SAAwB,EAAoB,EAAM,CAAC,IAAM,EAAO,EAAM,aAAmB,EAAQA,EAAa,IAAI,EAAQ,EAAaA,EAAa,IAAI,EAAO,CAAC,EAAM,GAAUC,EAAe,CAAC,EAAO,CAAC,EAAS,GAAaA,EAAe,EAAK,EAAO,CAAC,EAAe,GAAmBA,EAAe,CAAC,EAAE,MAAoB,CAAC,IAAM,EAAG,EAAQ,QAAQ,GAAG,CAAC,EAAG,OAAO,IAAM,EAAG,IAAI,eAAe,GAAS,CAAwB,IAAM,EAAjB,EAAQ,EAAgB,EAAE,aAAa,OAAO,EAAK,GAAG,IAAS,EAAY,GAAG,GAAG,EAA0C,EAArC,EAAE,IAA4C,EAA1B,KAAK,IAAI,EAAE,IAA0B,EAAE,KAAK,IAAI,GAAG,EAAkB,EAAM,EAAE,IAAI,GAAG,CAAC,CAAC,EAAG,CAAC,EAAiB,OAAf,EAAG,QAAQ,CAAE,MAAY,EAAG,WAAW,CAAE,EAAE,CAAC,CAAC,EACviC,MAAoB,CAAC,IAAM,EAAG,EAAa,QAAQ,GAAG,CAAC,EAAG,OAAO,IAAM,EAAG,IAAI,eAAe,GAAS,CAAwB,IAAM,E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