{"version":3,"file":"CallMeButton.CL5G74iY.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/Z81eJboRRAsJewfD9EHn/XkGyah1QRDEHSRkXEsWe/CallMeButton.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,useRef}from\"react\";import{motion,AnimatePresence}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";// Script injection function\nconst loadRetellSDK=()=>{if(typeof window!==\"undefined\"&&!window.RetellSDK){const script=document.createElement(\"script\");script.src=\"https://cdn.zeitgewinn.ai/retell.bundle.js\";script.async=true;document.head.appendChild(script);}};// Load SDK on initial render\nloadRetellSDK();// Custom EventEmitter\nclass EventEmitter{on(event,listener){if(!this.events[event]){this.events[event]=[];}this.events[event].push(listener);return this;}emit(event,...args){if(this.events[event]){this.events[event].forEach(listener=>listener(...args));}return true;}constructor(){this.events={};}}// Custom RetellClient implementation as fallback\nclass CustomRetellClient extends EventEmitter{async startCall(options){console.log(\"CustomRetellClient: Starte simulierten Anruf mit Token\",options.accessToken);setTimeout(()=>{this.connected=true;this.emit(\"call_started\");// Simulate agent talking after 2 seconds\nthis.talkTimer=setTimeout(()=>{this.isAgentTalking=true;this.emit(\"agent_start_talking\");},2e3);},1e3);return true;}stopCall(){console.log(\"CustomRetellClient: Beende simulierten Anruf\");this.connected=false;if(this.callTimer){clearTimeout(this.callTimer);this.callTimer=null;}if(this.talkTimer){clearTimeout(this.talkTimer);this.talkTimer=null;}this.emit(\"call_ended\");return true;}mute(){console.log(\"CustomRetellClient: Mikrofon stumm geschaltet\");return true;}unmute(){console.log(\"CustomRetellClient: Mikrofon-Stummschaltung aufgehoben\");return true;}constructor(){super();this.connected=false;this.isAgentTalking=false;this.callTimer=null;this.talkTimer=null;console.log(\"CustomRetellClient initialisiert\");}}export function CallMeButton(props){// Destructure props with defaults\nconst{buttonText=\"MIT AMARA VON ZEITGEWINN REDEN\",buttonColor=\"#D4A344\",buttonHoverColor=\"#C99A3B\",activeButtonColor=\"#ef4444\",buttonTextColor=\"#FFFFFF\",iconColor=\"#FFFFFF\",iconSize=16,font=\"Inter\",fontWeight=\"Bold\",fontSize=14,borderColor=\"transparent\",borderRadius=54,borderWidth=0,paddingLeft=24,paddingRight=24,paddingTop=0,paddingBottom=0,waveSpacing=12,hoverScale=1.02,hoverRotate=0,activeWaveColor=\"#D4A344\",activeWaveHeight=15,activeWaveSpeed=.8,idleWaveColor=\"#D4A344\",idleWaveHeight=3,idleWaveSpeed=.4,webhookUrl=\"https://n8n.zeitgewinn.boris-nicolai.de/webhook/amara-von-zeitgewinn-access-token\",useCustomClient=false,showStatusText=true}=props;// Component state\nconst[isLoading,setIsLoading]=useState(false);const[isCallActive,setIsCallActive]=useState(false);const[statusMessage,setStatusMessage]=useState(\"\");const[isAgentSpeaking,setIsAgentSpeaking]=useState(false);const[buttonBgColor,setButtonBgColor]=useState(convertColor(buttonColor));// Refs to prevent unnecessary re-renders\nconst clientRef=useRef(null);const containerRef=useRef(null);// Initialize client only once\nuseEffect(()=>{if(clientRef.current)return;try{console.log(\"RetellWebClient wird initialisiert...\");let client;if(useCustomClient){client=new CustomRetellClient;}else if(window.RetellSDK&&window.RetellSDK.RetellWebClient){client=new window.RetellSDK.RetellWebClient;}else{client=new CustomRetellClient;}// Event listeners\nconst handleCallStarted=()=>{setIsLoading(false);setIsCallActive(true);displayStatus(\"Call active\");};const handleCallEnded=()=>{setIsLoading(false);setIsCallActive(false);setIsAgentSpeaking(false);displayStatus(\"Call ended\");};const handleAgentStartTalking=()=>{setIsAgentSpeaking(true);displayStatus(\"Agent is speaking\");};const handleAgentStopTalking=()=>{setIsAgentSpeaking(false);displayStatus(\"Call active\");};const handleError=error=>{console.error(\"Retell error:\",error);setIsLoading(false);displayStatus(`Error: ${error.message||\"Unknown error\"}`);setTimeout(()=>{setIsCallActive(false);setStatusMessage(\"\");},3e3);};// Register all event listeners\nclient.on(\"call_started\",handleCallStarted);client.on(\"call_ended\",handleCallEnded);client.on(\"agent_start_talking\",handleAgentStartTalking);client.on(\"agent_stop_talking\",handleAgentStopTalking);client.on(\"error\",handleError);// Disable update logs completely\nclient.on(\"update\",()=>{});// Store client in ref\nclientRef.current=client;console.log(\"RetellWebClient erfolgreich initialisiert\");// Cleanup function\nreturn()=>{try{client.stopCall();}catch(e){console.error(\"Error cleaning up client:\",e);}};}catch(err){console.error(\"Fehler bei der Initialisierung des RetellWebClient:\",err);}},[]);// Display status without console logging\nconst displayStatus=message=>{setStatusMessage(message);};// Handle call toggle\nconst toggleCall=async()=>{if(!clientRef.current){displayStatus(\"Error: Client nicht bereit\");return;}if(isCallActive){// Stop call\nsetIsLoading(true);try{clientRef.current.stopCall();}catch(error){console.error(\"Error stopping call:\",error);setIsLoading(false);setIsCallActive(false);displayStatus(\"Error stopping call\");}return;}// Start call\ntry{const stream=await navigator.mediaDevices.getUserMedia({audio:true});stream.getTracks().forEach(track=>track.stop());setIsLoading(true);displayStatus(\"Verbindung wird hergestellt...\");const endpointUrl=webhookUrl||\"/api/retell-token\";const response=await fetch(endpointUrl,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({})});if(!response.ok){throw new Error(`HTTP error! Status: ${response.status}`);}const data=await response.json();await clientRef.current.startCall({accessToken:data.access_token});}catch(error){console.error(\"Error starting call:\",error);setIsLoading(false);displayStatus(`Error: ${error.message||\"Failed to start call\"}`);setTimeout(()=>{setStatusMessage(\"\");},3e3);}};// Audio visualization component\nconst AudioWave=({active,color,maxHeight,speed,barCount=30})=>{const barsData=Array.from({length:barCount},(_,i)=>({id:i,height:Math.floor(Math.random()*maxHeight)+2,delay:i*(.5/barCount)*speed}));return /*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:\"20px\",width:\"100%\",padding:\"2px 0\",marginTop:active?waveSpacing:waveSpacing/2},children:barsData.map(bar=>/*#__PURE__*/_jsx(motion.div,{style:{width:\"2px\",marginLeft:\"1px\",marginRight:\"1px\",backgroundColor:color,borderRadius:\"2px\"},initial:{height:0},animate:{height:active?bar.height:Math.min(bar.height,idleWaveHeight)},transition:{duration:.2+bar.delay*speed,repeat:Infinity,repeatType:\"reverse\",ease:\"easeInOut\",delay:bar.delay}},bar.id))});};// Convert Framer color to CSS color\nfunction convertColor(color){if(typeof color===\"object\"&&color.hasOwnProperty(\"r\")){return`rgba(${color.r}, ${color.g}, ${color.b}, ${color.a||1})`;}return color;}// Spring transition for hover effect\nconst springTransition={type:\"spring\",stiffness:500,damping:60,mass:1};// Calculate which button color to use\nconst getButtonBackgroundColor=()=>{if(isCallActive){return convertColor(activeButtonColor);}return buttonBgColor;};// Map font weight to CSS value\nconst getFontWeight=()=>{const weightMap={Light:300,\"Light Italic\":300,Regular:400,Italic:400,Medium:500,\"Medium Italic\":500,Bold:700,\"Bold Italic\":700,Black:900,\"Black Italic\":900};return weightMap[fontWeight]||400;};// Check if italic style should be applied\nconst isItalic=fontWeight.includes(\"Italic\");return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{fontFamily:font,position:\"relative\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",width:\"auto\"},children:[/*#__PURE__*/_jsxs(motion.button,{onClick:toggleCall,disabled:isLoading,initial:{scale:1,rotate:0},whileHover:{scale:hoverScale,rotate:hoverRotate,transition:springTransition},onHoverStart:()=>{if(!isCallActive){setButtonBgColor(convertColor(buttonHoverColor));}},onHoverEnd:()=>{if(!isCallActive){setButtonBgColor(convertColor(buttonColor));}},style:{position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",width:\"100%\",minWidth:\"260px\",height:\"48px\",paddingLeft:`${paddingLeft}px`,paddingRight:`${paddingRight}px`,paddingTop:`${paddingTop}px`,paddingBottom:`${paddingBottom}px`,borderRadius,fontSize,fontWeight:getFontWeight(),fontStyle:isItalic?\"italic\":\"normal\",color:convertColor(buttonTextColor),backgroundColor:getButtonBackgroundColor(),border:`${borderWidth}px solid ${convertColor(borderColor)}`,boxShadow:\"0 2px 10px rgba(0,0,0,0.1)\",cursor:isLoading?\"not-allowed\":\"pointer\",transition:\"background-color 0.3s ease\",opacity:isLoading?.7:1,textTransform:\"uppercase\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:1,textAlign:\"center\",marginRight:\"8px\"},children:isCallActive?\"Anruf beenden\":buttonText}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:convertColor(iconColor)},children:isCallActive?/*#__PURE__*/_jsxs(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"1\",y1:\"1\",x2:\"23\",y2:\"23\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"19\",x2:\"12\",y2:\"23\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"8\",y1:\"23\",x2:\"16\",y2:\"23\"})]}):/*#__PURE__*/_jsxs(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M19 10v2a7 7 0 0 1-14 0v-2\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"19\",x2:\"12\",y2:\"23\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"8\",y1:\"23\",x2:\"16\",y2:\"23\"})]})}),isLoading&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"rgba(0,0,0,0.3)\",borderRadius},children:/*#__PURE__*/_jsx(\"div\",{style:{width:\"20px\",height:\"20px\",border:\"2px solid white\",borderTopColor:\"transparent\",borderRadius:\"50%\",animation:\"spin 1s linear infinite\"}})})]}),showStatusText&&statusMessage&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:\"8px\",fontSize:\"12px\",color:\"#888888\",textAlign:\"center\"},children:statusMessage}),/*#__PURE__*/_jsx(AnimatePresence,{children:/*#__PURE__*/_jsx(AudioWave,{active:isCallActive,color:isCallActive?convertColor(activeWaveColor):convertColor(idleWaveColor),maxHeight:isCallActive?activeWaveHeight:idleWaveHeight,speed:isCallActive?activeWaveSpeed:idleWaveSpeed,barCount:30})}),/*#__PURE__*/_jsx(\"style\",{children:`\n          @keyframes spin {\n            0% { transform: rotate(0deg); }\n            100% { transform: rotate(360deg); }\n          }\n        `})]});}// Font options matching Framer's UI\nconst fontOptions=[\"Inter\",\"Arial\",\"Satoshi\",\"Helvetica\",\"Roboto\",\"Archivo\",\"Open Sans\",\"Montserrat\",\"Poppins\",\"Sora\",\"DM Sans\",\"Playfair Display\",\"Raleway\",\"Merriweather\",\"Lato\",\"Source Serif Pro\"];// Font weight options matching Framer's UI\nconst fontWeightOptions=[\"Light\",\"Light Italic\",\"Regular\",\"Italic\",\"Medium\",\"Medium Italic\",\"Bold\",\"Bold Italic\",\"Black\",\"Black Italic\"];// Add Framer property controls\naddPropertyControls(CallMeButton,{buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"MIT AMARA VON ZEITGEWINN REDEN\"},buttonColor:{type:ControlType.Color,title:\"Button Color\",defaultValue:\"#D4A344\"},buttonHoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#C99A3B\"},activeButtonColor:{type:ControlType.Color,title:\"Active Call Color\",defaultValue:\"#ef4444\"},buttonTextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},iconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#FFFFFF\"},iconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:16,min:8,max:32,step:1},font:{type:ControlType.Enum,title:\"Font\",options:fontOptions,defaultValue:\"Inter\",displaySegmentedControl:false},fontWeight:{type:ControlType.Enum,title:\"Weight\",options:fontWeightOptions,defaultValue:\"Bold\",displaySegmentedControl:false},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:10,max:24,step:1},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"transparent\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:54,min:0,max:100,step:1},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:0,min:0,max:10,step:1},paddingLeft:{type:ControlType.Number,title:\"Padding Left\",defaultValue:24,min:0,max:50,step:1},paddingRight:{type:ControlType.Number,title:\"Padding Right\",defaultValue:24,min:0,max:50,step:1},paddingTop:{type:ControlType.Number,title:\"Padding Top\",defaultValue:0,min:0,max:30,step:1},paddingBottom:{type:ControlType.Number,title:\"Padding Bottom\",defaultValue:0,min:0,max:30,step:1},waveSpacing:{type:ControlType.Number,title:\"Wave Spacing\",defaultValue:12,min:0,max:40,step:1},hoverScale:{type:ControlType.Number,title:\"Hover Scale\",defaultValue:1.02,min:1,max:1.2,step:.01},hoverRotate:{type:ControlType.Number,title:\"Hover Rotate (deg)\",defaultValue:0,min:-5,max:5,step:.5},activeWaveColor:{type:ControlType.Color,title:\"Active Wave Color\",defaultValue:\"#D4A344\"},activeWaveHeight:{type:ControlType.Number,title:\"Active Wave Height\",defaultValue:15,min:1,max:30,step:1},activeWaveSpeed:{type:ControlType.Number,title:\"Active Wave Speed\",defaultValue:.8,min:.1,max:2,step:.1},idleWaveColor:{type:ControlType.Color,title:\"Idle Wave Color\",defaultValue:\"#D4A344\"},idleWaveHeight:{type:ControlType.Number,title:\"Idle Wave Height\",defaultValue:3,min:0,max:10,step:1},idleWaveSpeed:{type:ControlType.Number,title:\"Idle Wave Speed\",defaultValue:.4,min:.1,max:1,step:.1},webhookUrl:{type:ControlType.String,title:\"Webhook URL\",defaultValue:\"https://n8n.zeitgewinn.boris-nicolai.de/webhook/amara-von-zeitgewinn-access-token\"},useCustomClient:{type:ControlType.Boolean,title:\"Use Custom Client\",defaultValue:false,description:\"Aktivieren f\\xfcr simulierten Modus ohne SDK (kein echter Anruf)\"},showStatusText:{type:ControlType.Boolean,title:\"Show Status Text\",defaultValue:true}});export default CallMeButton;\nexport const __FramerMetadata__ = {\"exports\":{\"CallMeButton\":{\"type\":\"reactComponent\",\"name\":\"CallMeButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"CallMeButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CallMeButton.map"],"mappings":"qbAK2sB,SAAgB,EAAa,EAAM,CAC9uB,GAAK,CAAC,aAAW,iCAAiC,cAAY,UAAU,mBAAiB,UAAU,oBAAkB,UAAU,kBAAgB,UAAU,YAAU,UAAU,WAAS,GAAG,OAAK,QAAQ,aAAW,OAAO,WAAS,GAAG,cAAY,cAAc,eAAa,GAAG,cAAY,EAAE,cAAY,GAAG,eAAa,GAAG,aAAW,EAAE,gBAAc,EAAE,cAAY,GAAG,aAAW,KAAK,cAAY,EAAE,kBAAgB,UAAU,mBAAiB,GAAG,kBAAgB,GAAG,gBAAc,UAAU,iBAAe,EAAE,gBAAc,GAAG,aAAW,oFAAoF,kBAAgB,GAAM,iBAAe,IAAM,EACroB,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAM,CAAC,EAAa,GAAiBA,EAAS,GAAM,CAAM,CAAC,EAAc,GAAkBA,EAAS,GAAG,CAAM,CAAC,GAAgB,G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