var a = document.createElement("link");
a.setAttribute("href", "https://catcheverycallai.com/chat_assets/css/style.css");
a.setAttribute("rel", "stylesheet");
document.head.appendChild(a);
var a = document.createElement("link");
a.setAttribute("href", "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
a.setAttribute("rel", "stylesheet");
document.head.appendChild(a);
var script1 = document.createElement("script");
script1.src = "https://unpkg.com/typed.js@2.0.16/dist/typed.umd.js";
script1.type = "text/javascript";
document.body.appendChild(script1);
var script1 = document.createElement("script");
script1.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js";
script1.type = "text/javascript";
script1.onload = function() {
var script = document.createElement("script");
script.src = "https://catcheverycallai.com/chatbot/run_bot/get_script_code/asst_Zd76LMYicUrNZfhaUcqXhNUV";
script.type = "text/javascript";
document.body.appendChild(script);
};
document.body.appendChild(script1);
// Create a new XMLHttpRequest object
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://catcheverycallai.com/chatbot/run_bot/get_html_code/asst_Zd76LMYicUrNZfhaUcqXhNUV', true);
xhr.onload = function() {
if (xhr.status >= 200 && xhr.status < 300) {
var htmlContent = xhr.responseText;
document.body.insertAdjacentHTML('beforeend', htmlContent);
}
};
xhr.send();