{"version":3,"file":"HubtalkAudioCardEnhanced.CYjK-Rlx.mjs","names":["useId","useRef","useState","startTransition","useCallback","useMemo","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","ie","window","te","pe","de","p","ne","init_jsx_runtime","ce","_e","addPropertyControls","init_framer_B6PCHH0A","ControlType","useIsStaticRenderer","HubtalkAudioCardEnhanced","props","isStatic","componentId","audioRef","audioContextRef","analyserRef","animationFrameRef","progressBarRef","isScrubbingRef","waveBarRefs","lastWaveUpdateRef","isPlaying","setIsPlaying","progress","setProgress","isLoading","setIsLoading","isHovered","setIsHovered","audioUrl","audio","audioContext","analyser","err","updateProgress","handleEnded","handleCanPlay","handleWaiting","handlePlaying","handleError","i","WAVE_BAR_COUNT","el","bufferLength","dataArray","binSize","updateFrequencyData","t","start","end","sum","j","scale","handleStopOthers","autoStopOthersKey","togglePlay","event","handleKeyDown","setProgressFromClientX","rect","x","clientX","pct","nextTime","handleProgressPointerDown","handleProgressPointerMove","endScrub","waveBars","tagColor","type","accentColor","voiceType","title","titleFont","textColor","metaFont","secondaryTextColor","durationLabel","delta","descriptionFont","description","showVoiceType","voiceTypeLabel","init_HubtalkAudioCardEnhanced"],"sources":["https:/framerusercontent.com/modules/e7nfumsXVUdX5dgOmpSu/0EIFtNtf3t4SVQdXI2r1/HubtalkAudioCardEnhanced.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useEffect,useRef,useState,useId,useCallback,useMemo,startTransition}from\"react\";// --- Constants & Styles ---\nconst WAVE_BAR_COUNT=16;// --- Component ---\n/**\n * HubtalkAudioCardEnhanced\n *\n * @framerIntrinsicWidth 340\n * @framerIntrinsicHeight 180\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function HubtalkAudioCardEnhanced(props){const{title,description,audioUrl=\"https://framerusercontent.com/assets/8w3IUatLX9a5JVJ6XPCVuHi94.mp3\",durationLabel,voiceType,voiceTypeLabel,showVoiceType,autoStopOthersKey,backgroundColor,accentColor,textColor,secondaryTextColor,titleFont,descriptionFont,metaFont,borderRadius,padding}=props;const isStatic=useIsStaticRenderer();const componentId=useId();const audioRef=useRef(null);const audioContextRef=useRef(null);const analyserRef=useRef(null);const animationFrameRef=useRef(null);const progressBarRef=useRef(null);const isScrubbingRef=useRef(false);const waveBarRefs=useRef([]);const lastWaveUpdateRef=useRef(0);// State\nconst[isPlaying,setIsPlaying]=useState(false);const[progress,setProgress]=useState(0);const[isLoading,setIsLoading]=useState(false);const[isHovered,setIsHovered]=useState(false);// Initialize Audio\nuseEffect(()=>{if(isStatic)return;if(!audioUrl){startTransition(()=>setIsLoading(false));return;}startTransition(()=>setIsLoading(true));const audio=new Audio;audio.preload=\"auto\";audio.crossOrigin=\"anonymous\";audio.src=audioUrl;audio.load();audioRef.current=audio;// Set up Web Audio API\ntry{const audioContext=new(window.AudioContext||window.webkitAudioContext);const analyser=audioContext.createAnalyser();analyser.fftSize=64// Small FFT for 32 frequency bins\n;analyser.smoothingTimeConstant=.7;const source=audioContext.createMediaElementSource(audio);source.connect(analyser);analyser.connect(audioContext.destination);audioContextRef.current=audioContext;analyserRef.current=analyser;}catch(err){console.error(\"Web Audio API not supported:\",err);}// Event Listeners\nconst updateProgress=()=>{if(audio.duration&&!isScrubbingRef.current){startTransition(()=>setProgress(audio.currentTime/audio.duration*100));}};const handleEnded=()=>{startTransition(()=>setIsPlaying(false));startTransition(()=>setProgress(0));};const handleCanPlay=()=>startTransition(()=>setIsLoading(false));const handleWaiting=()=>startTransition(()=>setIsLoading(true));const handlePlaying=()=>startTransition(()=>setIsLoading(false));const handleError=()=>startTransition(()=>setIsLoading(false));audio.addEventListener(\"timeupdate\",updateProgress);audio.addEventListener(\"ended\",handleEnded);audio.addEventListener(\"canplay\",handleCanPlay);audio.addEventListener(\"waiting\",handleWaiting);audio.addEventListener(\"playing\",handlePlaying);audio.addEventListener(\"error\",handleError);return()=>{audio.pause();audio.removeEventListener(\"timeupdate\",updateProgress);audio.removeEventListener(\"ended\",handleEnded);audio.removeEventListener(\"canplay\",handleCanPlay);audio.removeEventListener(\"waiting\",handleWaiting);audio.removeEventListener(\"playing\",handlePlaying);audio.removeEventListener(\"error\",handleError);if(animationFrameRef.current){cancelAnimationFrame(animationFrameRef.current);}if(audioContextRef.current){audioContextRef.current.close();}audioRef.current=null;};},[audioUrl,isStatic]);// Analyze audio and update frequency data\nuseEffect(()=>{if(isStatic)return;// When stopped, reset bars without re-rendering\nif(!isPlaying||!analyserRef.current){for(let i=0;i<WAVE_BAR_COUNT;i++){const el=waveBarRefs.current[i];if(!el)continue;el.style.transform=\"scaleY(0.12)\";}if(animationFrameRef.current)cancelAnimationFrame(animationFrameRef.current);animationFrameRef.current=null;return;}const analyser=analyserRef.current;const bufferLength=analyser.frequencyBinCount;const dataArray=new Uint8Array(bufferLength);const binSize=Math.max(1,Math.floor(bufferLength/WAVE_BAR_COUNT));const updateFrequencyData=t=>{// Throttle DOM updates for smoother, higher FPS rendering\nif(t-lastWaveUpdateRef.current<33){animationFrameRef.current=requestAnimationFrame(updateFrequencyData);return;}lastWaveUpdateRef.current=t;analyser.getByteFrequencyData(dataArray);for(let i=0;i<WAVE_BAR_COUNT;i++){const start=i*binSize;const end=Math.min(bufferLength,start+binSize);let sum=0;for(let j=start;j<end;j++)sum+=dataArray[j];const average=sum/Math.max(1,end-start);// Map 0..255 -> 0.12..1.0 (scaleY)\nconst scale=.12+average/255*.88;const el=waveBarRefs.current[i];if(!el)continue;el.style.transform=`scaleY(${scale.toFixed(3)})`;}animationFrameRef.current=requestAnimationFrame(updateFrequencyData);};animationFrameRef.current=requestAnimationFrame(updateFrequencyData);return()=>{if(animationFrameRef.current)cancelAnimationFrame(animationFrameRef.current);animationFrameRef.current=null;};},[isPlaying,isStatic]);// Handle Auto-Stop Grouping\nuseEffect(()=>{if(isStatic)return;const handleStopOthers=e=>{if(e.detail.group===autoStopOthersKey&&e.detail.id!==componentId){if(audioRef.current&&!audioRef.current.paused){audioRef.current.pause();startTransition(()=>setIsPlaying(false));}}};window.addEventListener(\"hubtalk-stop-others\",handleStopOthers);return()=>{window.removeEventListener(\"hubtalk-stop-others\",handleStopOthers);};},[autoStopOthersKey,componentId,isStatic]);// Play/Pause Logic\nconst togglePlay=useCallback(()=>{if(!audioRef.current||isLoading)return;if(isPlaying){audioRef.current.pause();startTransition(()=>setIsPlaying(false));}else{// Resume audio context if suspended\nif(audioContextRef.current&&audioContextRef.current.state===\"suspended\"){audioContextRef.current.resume();}// Notify others to stop\nconst event=new CustomEvent(\"hubtalk-stop-others\",{detail:{id:componentId,group:autoStopOthersKey}});window.dispatchEvent(event);audioRef.current.play().catch(err=>{console.error(\"Playback failed:\",err);startTransition(()=>setIsPlaying(false));});startTransition(()=>setIsPlaying(true));}},[isPlaying,isLoading,componentId,autoStopOthersKey]);// Keyboard Accessibility\nconst handleKeyDown=e=>{if(e.key===\" \"||e.key===\"Enter\"){e.preventDefault();togglePlay();}};const setProgressFromClientX=useCallback(clientX=>{if(!audioRef.current||!progressBarRef.current)return;const audio=audioRef.current;const rect=progressBarRef.current.getBoundingClientRect();const x=Math.max(0,Math.min(rect.width,clientX-rect.left));const pct=rect.width>0?x/rect.width:0;if(audio.duration&&Number.isFinite(audio.duration)){const nextTime=pct*audio.duration;audio.currentTime=Math.max(0,Math.min(audio.duration,nextTime));startTransition(()=>setProgress(pct*100));}},[]);const handleProgressPointerDown=useCallback(e=>{e.preventDefault();e.stopPropagation();if(isLoading)return;isScrubbingRef.current=true;try{e.currentTarget.setPointerCapture(e.pointerId);}catch{}setProgressFromClientX(e.clientX);},[isLoading,setProgressFromClientX]);const handleProgressPointerMove=useCallback(e=>{if(!isScrubbingRef.current)return;e.preventDefault();e.stopPropagation();setProgressFromClientX(e.clientX);},[setProgressFromClientX]);const endScrub=useCallback(e=>{if(!isScrubbingRef.current)return;isScrubbingRef.current=false;if(e?.clientX!=null)setProgressFromClientX(e.clientX);},[setProgressFromClientX]);// --- Render Helpers ---\nconst waveBars=useMemo(()=>Array.from({length:WAVE_BAR_COUNT}),[]);const getVoiceTypeColor=type=>{switch(type){case\"AI\":return\"#8855FF\"// Purple\n;case\"Customer\":return\"#0099FF\"// Blue\n;case\"Mixed\":return\"#FF8800\"// Orange\n;default:return accentColor;}};const tagColor=getVoiceTypeColor(voiceType);return /*#__PURE__*/_jsxs(\"div\",{role:\"button\",tabIndex:0,\"aria-label\":`Play audio: ${title}`,\"aria-pressed\":isPlaying,onKeyDown:handleKeyDown,onClick:togglePlay,onMouseEnter:()=>startTransition(()=>setIsHovered(true)),onMouseLeave:()=>startTransition(()=>setIsHovered(false)),style:{width:\"100%\",height:\"100%\",backgroundColor:backgroundColor,borderRadius:borderRadius,padding:padding,display:\"flex\",flexDirection:\"column\",justifyContent:\"space-between\",cursor:isLoading?\"wait\":\"pointer\",position:\"relative\",overflow:\"hidden\",border:`1px solid ${isPlaying?accentColor:\"transparent\"}`,boxShadow:isPlaying?`0 0 0 1px ${accentColor}, 0 4px 20px ${accentColor}20`:isHovered?\"0 4px 12px rgba(0,0,0,0.08)\":\"0 2px 6px rgba(0,0,0,0.04)\",transition:\"all 0.3s ease\",userSelect:\"none\",outline:\"none\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes hubtalk-pulse {\n                    0% { box-shadow: 0 0 0 0 ${accentColor}60; }\n                    70% { box-shadow: 0 0 0 10px ${accentColor}00; }\n                    100% { box-shadow: 0 0 0 0 ${accentColor}00; }\n                }\n                @keyframes hubtalk-spin {\n                    to { transform: rotate(360deg); }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"flex-start\",marginBottom:12},children:[/*#__PURE__*/_jsx(\"span\",{style:{...titleFont,color:textColor,flex:1,marginRight:8,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:title}),/*#__PURE__*/_jsx(\"span\",{style:{...metaFont,color:secondaryTextColor,opacity:.8},children:durationLabel})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:16,flex:1},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:48,height:48,borderRadius:\"50%\",backgroundColor:accentColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,color:\"#fff\",animation:isPlaying&&!isLoading?\"hubtalk-pulse 2s infinite\":\"none\",transition:\"transform 0.2s ease\",transform:isHovered?\"scale(1.05)\":\"scale(1)\"},children:isLoading?/*#__PURE__*/_jsx(\"div\",{style:{width:20,height:20,border:\"2px solid rgba(255,255,255,0.3)\",borderTopColor:\"#fff\",borderRadius:\"50%\",animation:\"hubtalk-spin 1s linear infinite\"}}):isPlaying?// Pause Icon\n/*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"currentColor\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"2\",width:\"4\",height:\"12\",rx:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"9\",y:\"2\",width:\"4\",height:\"12\",rx:\"1\"})]}):// Play Icon\n/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"currentColor\",style:{marginLeft:2},children:/*#__PURE__*/_jsx(\"path\",{d:\"M12.5 7.13397C13.1667 7.51887 13.1667 8.48113 12.5 8.86603L5 13.1962C4.33333 13.5811 3.5 13.0999 3.5 12.3301L3.5 3.66987C3.5 2.90007 4.33333 2.41895 5 2.80385L12.5 7.13397Z\"})})}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,height:32,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:2,opacity:isPlaying?1:.4,transition:\"opacity 0.3s ease\"},children:waveBars.map((_,i)=>/*#__PURE__*/_jsx(\"div\",{ref:el=>{waveBarRefs.current[i]=el;},style:{width:\"100%\",backgroundColor:isPlaying?accentColor:secondaryTextColor,borderRadius:4,height:\"100%\",transformOrigin:\"50% 100%\",transform:\"scaleY(0.12)\",willChange:\"transform\",transition:\"background-color 0.3s ease\"}},i))})]}),/*#__PURE__*/_jsxs(\"div\",{ref:progressBarRef,role:\"slider\",tabIndex:0,\"aria-label\":\"Audio progress\",\"aria-valuemin\":0,\"aria-valuemax\":100,\"aria-valuenow\":Math.round(progress),onPointerDown:handleProgressPointerDown,onPointerMove:handleProgressPointerMove,onPointerUp:e=>{e.stopPropagation();endScrub(e);},onPointerCancel:e=>{e.stopPropagation();endScrub(e);},onLostPointerCapture:e=>{e.stopPropagation();endScrub(e);},onKeyDown:e=>{if(!audioRef.current||isLoading)return;if(e.key===\"ArrowLeft\"||e.key===\"ArrowRight\"){e.preventDefault();e.stopPropagation();const audio=audioRef.current;const delta=e.key===\"ArrowLeft\"?-5:5;if(audio.duration&&Number.isFinite(audio.duration)){audio.currentTime=Math.max(0,Math.min(audio.duration,audio.currentTime+delta));startTransition(()=>setProgress(audio.currentTime/audio.duration*100));}}},style:{width:\"100%\",height:10,backgroundColor:`${secondaryTextColor}20`,borderRadius:999,marginTop:16,marginBottom:16,overflow:\"hidden\",position:\"relative\",cursor:isLoading?\"wait\":\"pointer\",outline:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:`${progress}%`,height:\"100%\",backgroundColor:accentColor,borderRadius:999,transition:isScrubbingRef.current?\"none\":\"width 0.1s linear\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`calc(${progress}% - 6px)`,top:\"50%\",width:12,height:12,borderRadius:999,backgroundColor:accentColor,transform:\"translateY(-50%)\",opacity:isHovered||isScrubbingRef.current?1:0,transition:\"opacity 0.2s ease\",pointerEvents:\"none\"}})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"flex-start\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...descriptionFont,color:secondaryTextColor,flex:1,minWidth:0,marginRight:12,whiteSpace:\"normal\",overflow:\"hidden\",textOverflow:\"ellipsis\",display:\"-webkit-box\",WebkitLineClamp:5,WebkitBoxOrient:\"vertical\"},children:description}),showVoiceType&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"4px 8px\",borderRadius:6,backgroundColor:`${tagColor}15`,border:`1px solid ${tagColor}30`,display:\"flex\",alignItems:\"center\",gap:4},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:6,height:6,borderRadius:\"50%\",backgroundColor:tagColor}}),/*#__PURE__*/_jsx(\"span\",{style:{...metaFont,fontSize:10,fontWeight:600,color:tagColor,textTransform:\"uppercase\",letterSpacing:\"0.05em\"},children:(voiceTypeLabel||voiceType).trim()})]})]})]});}// --- Property Controls ---\naddPropertyControls(HubtalkAudioCardEnhanced,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Sales Call Analysis\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"Objection handling segment\"},audioUrl:{type:ControlType.File,title:\"Audio\",allowedFileTypes:[\"mp3\",\"wav\",\"m4a\",\"aac\"]},durationLabel:{type:ControlType.String,title:\"Duration\",defaultValue:\"02:14\"},voiceType:{type:ControlType.Enum,title:\"Voice Type\",options:[\"AI\",\"Customer\",\"Mixed\"],defaultValue:\"AI\"},showVoiceType:{type:ControlType.Boolean,title:\"Show Voice Type\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},voiceTypeLabel:{type:ControlType.String,title:\"Voice Label\",defaultValue:\"\",placeholder:\"Overrides tag text…\",hidden:({showVoiceType})=>!showVoiceType},autoStopOthersKey:{type:ControlType.String,title:\"Group Key\",defaultValue:\"hubtalk-audio-group\",description:\"Cards with the same key will stop each other when played.\"},// Styling\nbackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#0099FF\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#111111\"},secondaryTextColor:{type:ControlType.Color,title:\"Secondary\",defaultValue:\"#888888\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:16,min:0,max:40},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:20,min:0,max:60},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultValue:{fontSize:16,variant:\"Semibold\",lineHeight:1.2}},descriptionFont:{type:ControlType.Font,title:\"Desc Font\",controls:\"extended\",defaultValue:{fontSize:13,variant:\"Regular\",lineHeight:1.4}},metaFont:{type:ControlType.Font,title:\"Meta Font\",controls:\"extended\",defaultValue:{fontSize:12,variant:\"Medium\",lineHeight:1}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HubtalkAudioCardEnhanced\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"340\",\"framerIntrinsicHeight\":\"180\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HubtalkAudioCardEnhanced.map"],"mappings":"A,4OASG,SAAwBuB,EAAyB,EAAM,CAAC,GAAK,CAAC,QAAM,cAAY,WAAS,qEAAqE,gBAAc,YAAU,iBAAe,gBAAc,oBAAkB,mBAAgB,cAAY,YAAU,qBAAmB,YAAU,kBAAgB,WAAS,eAAa,WAASC,EAAYC,EAASH,EAAoB,EAAQI,EAAY1B,EAAM,EAAQ2B,EAAS1B,EAAO,IAAI,EAAQ2B,EAAgB3B,EAAO,IAAI,EAAQ4B,EAAY5B,EAAO,IAAI,EAAQ6B,EAAkB7B,EAAO,IAAI,EAAQ8B,EAAe9B,EAAO,IAAI,EAAQ+B,EAAe/B,EAAO,EAAK,EAAQgC,EAAYhC,EAAO,CAAC,CAAC,EAAQiC,EAAkBjC,EAAO,CAAC,EAC/pB,CAACkC,EAAUC,GAAclC,EAAS,EAAK,EAAO,CAACmC,EAASC,GAAapC,EAAS,CAAC,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