'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })(); var customize_tawk = ""; /*Interval object*/ function customize_tawk_widget(){ const chat_right = jQuery("iframe[title='chat widget']").eq(0).css('right') if(chat_right !== "4px"){ jQuery("iframe[title='chat widget']").eq(0).css({ 'right': '4px', 'bottom': '68px' }); } else{ clearInterval(customize_tawk); } } /*Customize the widget as soon as the widget is loaded*/ Tawk_API = Tawk_API || {}; Tawk_API.onLoad = function(){ if(/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent) ) { let customize_tawk = setInterval(customize_tawk_widget, 100); } }; /*Customize the widget as soon as the widget is minimized*/ Tawk_API = Tawk_API || {}; Tawk_API.onChatMinimized = function(){ if(/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent) ) { let customize_tawk = setInterval(customize_tawk_widget, 100); } }; window.chat_widget={ showWidget:()=>{ if(Tawk_API && Tawk_API.showWidget){ Tawk_API.showWidget(); } }, hideWidget:()=>{ if(Tawk_API && Tawk_API.hideWidget){ Tawk_API.hideWidget(); } } }