window.INNUE_BASE_URL = "https://chatly.empirely.ai"; window.INNUE_USER_ID = 219; window.INNUE_INACTIVITY_TIMEOUT = 1; window.INNUE_BUSINESS_PROFILE_ID = 57; let innue_chatpopup = document.createElement("div"); innue_chatpopup.id = "innue_chatpopup"; document.body.appendChild(innue_chatpopup); let innueChatJs = document.createElement("script"); innueChatJs.src = "https://chatly.empirely.ai/bundle-widget/user/219/chat-bundle-widget.js?business_profile_id=57"; innueChatJs.async = true; innueChatJs.referrerPolicy = "origin"; innueChatJs.setAttribute("charset", "UTF-8"); innueChatJs.setAttribute("crossorigin", "anonymous"); innueChatJs.setAttribute("type", "module"); let innueChatCss = document.createElement("link"); innueChatCss.href = "https://chatly.empirely.ai/bundle-widget/user/219/chat-bundle-widget.css?business_profile_id=57"; innueChatCss.rel = "stylesheet"; innueChatCss.type = "text/css"; innueChatCss.referrerPolicy = "origin"; let innueChatHead = document.head || document.getElementsByTagName("head")[0]; innueChatHead.appendChild(innueChatJs); innueChatHead.appendChild(innueChatCss); try { (function(){ var SMALL=430, LARGE=560; function apply(){ try { var wrap=document.getElementById("innue_chatpopup"); if(!wrap) return; var isConversation=!!wrap.querySelector(".innue_conversation_divider,.innue_chat_messenger_chat_inputs,.innue_chat_messenger_footer"); var target=isConversation?LARGE:SMALL; wrap.style.setProperty("--innue-chat-panel-height", target+"px"); } catch(e) {} } apply(); try { var mo=new MutationObserver(function(){ apply(); }); var el=document.getElementById("innue_chatpopup"); if(el) mo.observe(el,{subtree:true,childList:true,attributes:true}); } catch(e2) {} window.addEventListener("load", apply); window.addEventListener("resize", apply); })(); } catch(e) {}
