{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/9xegmJlxvcX60DdbKEf4/ZoRsMDgscP7ndomPbdbK/gzSTSLgvO.js"],
  "sourcesContent": ["// Generated by Framer (63f9d4a)\nimport siteMetadata from\"https://framerusercontent.com/modules/hDreS9XD1QdwTFO4pzZl/y2X61DGmzQjYYZGKXhhy/siteMetadata.js\";export default function metadata(params,activeLocale){return{bodyClassName:\"framer-body-gzSTSLgvO\",breakpoints:[{hash:\"1bux2j3\",mediaQuery:\"(min-width: 1800px)\"},{hash:\"ivr38b\",mediaQuery:\"(min-width: 1200px) and (max-width: 1799px)\"},{hash:\"19ce2i6\",mediaQuery:\"(min-width: 1000px) and (max-width: 1199px)\"},{hash:\"1o9fgvs\",mediaQuery:\"(max-width: 999px)\"}],customHTMLBodyEnd:'&lt;<script>\\n(function() {\\n  var vapiInstance = null;\\n  const assistant = \"e0721de3-ebca-4a90-86c1-d56c6fd0acca\"; // Your assistant ID\\n  const apiKey = \"dd3227a1-f290-4cbc-b84e-15e61de26e8a\"; // Your Public key from Vapi Dashboard\\n\\n  const buttonConfig = {\\n    position: \"bottom\",\\n    offset: \"300px\",\\n    width: \"100px\",\\n    height: \"100px\",\\n    idle: {\\n      color: `#EECC6E`,\\n      type: \"round\",\\n      icon: `data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z\"></path><path d=\"M19 10v2a7 7 0 0 1-14 0v-2\"></path><line x1=\"12\" y1=\"19\" x2=\"12\" y2=\"23\"></line><line x1=\"8\" y1=\"23\" x2=\"16\" y2=\"23\"></line></svg>`,\\n    },\\n    loading: {\\n      color: `#EECC6E`,\\n      type: \"round\",\\n      icon: `data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"12\" y1=\"2\" x2=\"12\" y2=\"6\"></line><line x1=\"12\" y1=\"18\" x2=\"12\" y2=\"22\"></line><line x1=\"4.93\" y1=\"4.93\" x2=\"7.76\" y2=\"7.76\"></line><line x1=\"16.24\" y1=\"16.24\" x2=\"19.07\" y2=\"19.07\"></line><line x1=\"2\" y1=\"12\" x2=\"6\" y2=\"12\"></line><line x1=\"18\" y1=\"12\" x2=\"22\" y2=\"12\"></line><line x1=\"4.93\" y1=\"19.07\" x2=\"7.76\" y2=\"16.24\"></line><line x1=\"16.24\" y1=\"7.76\" x2=\"19.07\" y2=\"4.93\"></line></svg>`,\\n    },\\n    active: {\\n      color: `rgb(255, 0, 0)`,\\n      type: \"round\",\\n      icon: `data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\"></line><path d=\"M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6\"></path><path d=\"M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23\"></path><line x1=\"12\" y1=\"19\" x2=\"12\" y2=\"23\"></line><line x1=\"8\" y1=\"23\" x2=\"16\" y2=\"23\"></line></svg>`,\\n    },\\n  };\\n\\n  // Custom CSS to ensure the button is larger\\n  const customStyles = `\\n    .vapi-button {\\n      width: 100px !important;\\n      height: 100px !important;\\n    }\\n    .vapi-button svg {\\n      width: 40px !important;\\n      height: 40px !important;\\n    }\\n  `;\\n\\n  // Inject custom styles\\n  const styleElement = document.createElement(\\'style\\');\\n  styleElement.textContent = customStyles;\\n  document.head.appendChild(styleElement);\\n\\n  function loadScript(src) {\\n    return new Promise((resolve, reject) => {\\n      const script = document.createElement(\\'script\\');\\n      script.src = src;\\n      script.onload = resolve;\\n      script.onerror = reject;\\n      document.body.appendChild(script);\\n    });\\n  }\\n\\n  function initializeVapi() {\\n    console.log(\"Initializing Vapi...\");\\n    if (window.vapiSDK) {\\n      vapiInstance = window.vapiSDK.run({\\n        apiKey: apiKey,\\n        assistant: assistant,\\n        config: buttonConfig,\\n      });\\n      console.log(\"Vapi initialized successfully\");\\n    } else {\\n      console.error(\"Vapi SDK not found. Make sure the script is loaded properly.\");\\n    }\\n  }\\n\\n  function loadVapiSDK() {\\n    console.log(\"Loading Vapi SDK...\");\\n    return loadScript(\"https://cdn.jsdelivr.net/gh/VapiAI/html-script-tag@latest/dist/assets/index.js\")\\n      .then(() => {\\n        console.log(\"Vapi SDK loaded successfully\");\\n        return new Promise(resolve => {\\n          // Wait for the next tick to ensure vapiSDK is available\\n          setTimeout(() => {\\n            initializeVapi();\\n            resolve();\\n          }, 0);\\n        });\\n      })\\n      .catch(error => {\\n        console.error(\"Failed to load Vapi SDK:\", error);\\n      });\\n  }\\n\\n  // Attempt to load and initialize Vapi\\n  loadVapiSDK();\\n\\n  // Fallback: If the script hasn\\'t loaded after 3 seconds, try loading again\\n  setTimeout(() => {\\n    if (!vapiInstance) {\\n      console.log(\"Vapi not initialized after 3 seconds. Attempting to load again...\");\\n      loadVapiSDK();\\n    }\\n  }, 3000);\\n\\n  // Additional fallback: Check every second for 10 seconds\\n  let attempts = 0;\\n  const maxAttempts = 10;\\n  const checkInterval = setInterval(() => {\\n    if (vapiInstance) {\\n      console.log(\"Vapi initialized successfully\");\\n      clearInterval(checkInterval);\\n    } else if (attempts >= maxAttempts) {\\n      console.error(\"Failed to initialize Vapi after multiple attempts\");\\n      clearInterval(checkInterval);\\n    } else {\\n      console.log(`Checking Vapi initialization (Attempt ${attempts + 1}/${maxAttempts})`);\\n      if (window.vapiSDK && !vapiInstance) {\\n        initializeVapi();\\n      }\\n      attempts++;\\n    }\\n  }, 1000);\\n})();\\n</script>',description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-Q9xMw\",title:siteMetadata(params,activeLocale).title||\"Voice Ai\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "yCACyI,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,cAAc,wBAAwB,YAAY,CAAC,CAAC,KAAK,UAAU,WAAW,qBAAqB,EAAE,CAAC,KAAK,SAAS,WAAW,6CAA6C,EAAE,CAAC,KAAK,UAAU,WAAW,6CAA6C,EAAE,CAAC,KAAK,UAAU,WAAW,oBAAoB,CAAC,EAAE,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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