(function (a) { var d = a.getElementById("meteostar-2-beam"), b = a.getElementById("meteostar-2"); if (null === d || "DIV" != d.nodeName) b && b.parentNode.removeChild(b); else { if (null === b || "DIV" != b.nodeName) b = d.parentNode, b.id = "meteostar-2", b.style.margin = 0, b.style.padding = 0, b.style.display = "block", b.removeAttribute("data-widget"); var e = a.getElementsByTagName("head"); if (0 !== e.length) { var f = a.createElement("link"); f.href = "https://meteostar.com.ua/css/widget.css"; f.rel = "stylesheet"; e[0].appendChild(f) } else e = a.createElement("style"), e.textContent = "@import url(https://meteostar.com.ua/css/widget.css);", b.appendChild(e); var f = (e = b ? b.getAttribute("data-widget") : null) ? e.split("/") : [], c = a.getElementById("meteostar-widget-default-flink"); (a = a.createElement("iframe"), a.allowTransparency = "true", a.id = "meteostar-widget-default-forecast", a.frameBorder = "no", a.src = "https://meteostar.com.ua/ua/getwidget/" + e, a.scrolling = "no"); b.insertBefore(a, d); null !== c && (a = function () { c.href = c.href + c.getAttribute("data-ga") }, c.addEventListener ? c.addEventListener("click", a, !1) : c.attachEvent && c.attachEvent("onClick", a)); d = [b, d, c]; for (a = 0; a < d.length; a++) d[a] && (b = window.getComputedStyle ? getComputedStyle(d[a]).getPropertyValue("display") : d[a].currentStyle.display, "none" === b && (d[a].style.display = "A" !== d[a].nodeName ? "block" : "inline")) } })(document);