!function(a){return"undefined"!=typeof window.callbackcityhost?null:(window.callbackcityhost=!0,void a.addEventListener("DOMContentLoaded",function(){function f(){if("undefined"!=typeof d){var a=XMLHttpRequest,b=new a;b.open("POST",e+"f",!0),b.onload=function(){h(this.responseText)},b.send()}}function g(a){return"{}"==JSON.stringify(a)||"[]"==JSON.stringify(a)}function h(b){function f(){var b=a.getElementById("cbch_modal_callback_button");b.classList.contains("showtext")?b.classList.remove("showtext"):b.classList.add("showtext")}var c;if("string"==typeof b&&0!=b.length){var d=JSON.parse(b);if("object"==typeof d&&null!=d.css&&null!=d.html&&""!=d.css&&""!=d.html){for(var e=0;e div").innerHTML=''+b.msg+"":(a.querySelector("#cbch_modal_callback button[type=submit]").disabled="",a.querySelector("#cbch_modal_callback .cbch_status").innerHTML=b.msg)}a.querySelector("#cbch_modal_callback form").onsubmit=f,a.getElementById("cbch_modal_callback_button").addEventListener("click",b),a.querySelector("#cbch_modal_callback a.cbch_close").onclick=c}var b=a.querySelector('script[src*="callback.cityhost.ua"]'),c=null!=b.getAttribute("data-lang")?b.getAttribute("data-lang")+"/":"",d=b.src.match(new RegExp("https?://[^/]+")),e=d+"/"+c;f()}))}(document);