1"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function _iterableToArrayLimit(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,a,i,c=[],l=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=a.call(o)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=o.return&&(i=o.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function ownKeys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(o),!0).forEach((function(t){_defineProperty(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _defineProperty(e,t,o){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof(t)?t:String(t)}function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function setCookie(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(o=_objectSpread({path:"/"},o)).expires instanceof Date&&(o.expires=o.expires.toUTCString());var n=encodeURIComponent(e)+"="+encodeURIComponent(t);for(var r in o){n+="; "+r;var a=o[r];!0!==a&&(n+="="+a)}document.cookie=n}function getCookie(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}function lineClamp(e,t,o,n){if(CSS.supports("-webkit-line-clamp",t.toString()))e.style.display="-webkit-box",e.style.webkitLineClamp=t.toString(),e.style.webkitBoxOrient="vertical",e.style.overflow="hidden";else{n&&(e.style.display=n);var r=e.textContent;if(r.length>o){var a=r.substring(0,o);e.textContent=a+"..."}}}function addArticleCarma(e){var t=new URLSearchParams({article_pk:document.querySelector(e).getAttribute("data-article-pk")}).toString();fetch("/ajax/articles/add/carma/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t}).then((function(e){return e.json()})).then((function(t){if("count"in t){var o=e.querySelector(".article_carma_plus_count");o&&(o.innerHTML=t.count)}})).catch((function(e){return console.error("Error:",e)}))}function showCommentForm(e){var t=e.parentElement.parentElement.nextElementSibling,o=window.getComputedStyle(t).display;t.style.display="none"===o?"":"none"}function addUserComment(e){var t=e.parentElement.parentElement,o=t.querySelector(".name_users"),n=t.querySelector(".text_users"),r=t.querySelector(".parent_pk"),a=t.querySelector(".comment_status"),i=t.querySelector(".comment_user_error"),c=document.querySelector(".js-public_comment");
1if(n.value.length<3||o.value.length<3)o.classList.add("required"),n.classList.add("required"),i.style.display="";else{var l=document.querySelector("#article_pk").value;if(parseInt(l)>0)if(0!==grecaptcha.getResponse().length){var s=new URLSearchParams({name:o.value,content:n.value,parent_pk:r.value,article_pk:l,comment_status:a.value}).toString();o.value="",n.value="",c.disabled=!0,c.style.cursor="not-allowed",fetch("/ajax/add/comment/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}).then((function(e){return e.json()})).then((function(e){if("success"in e&&e.success){n.classList.remove("required"),o.classList.remove("required"),i.style.display="none";var r=t.parentNode.parentNode;if(t.classList.contains("comments_article")&&(r.style.display="none"),document.querySelector("div.share_fb input[type=checkbox]").checked&&window.open("https://www.facebook.com/sharer/sharer.php?u="+window.location),1===parseInt(a.value))swal("ÐовÑдомленнÑ!","ÐÐ°Ñ ÐºÐ¾Ð¼ÐµÐ½ÑÐ°Ñ Ð±Ñде опÑблÑковано пÑÑÐ»Ñ Ð¼Ð¾Ð´ÐµÑаÑÑÑ.","info");else if(document.querySelector("div.root_comments").innerHTML=e.html,"count"in e)document.querySelector(".article_comments_count").innerHTML=e.count}})).catch((function(e){return console.error("Error:",e)})).finally((function(){c.disabled=!1,c.style.cursor="pointer",grecaptcha.reset()}))}else swal("Ðомилка!","ÐапÑа не пÑойÑла пеÑевÑÑкÑ.","error"),grecaptcha.reset()}}function addCommentCarma(e){var t=new URLSearchParams({comment_pk:e.getAttribute("data-comment-pk")}).toString();fetch("/ajax/add/comment/plus/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t}).then((function(e){return e.json()})).then((function(t){if("carma_plus"in t){var o=e.querySelector(".article_carma_plus_count");o&&(o.innerHTML=t.carma_plus)}})).catch((function(e){return console.error("Error:",e)}))}function minusCommentCarma(e){var t=new URLSearchParams({comment_pk:e.getAttribute("data-comment-pk")}).toString();fetch("/ajax/add/comment/minus/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t}).then((function(e){return e.json()})).then((function(t){if("carma_minus"in t){var o=e.querySelector(".article_carma_minus_count");o&&(o.innerHTML=t.carma_minus)}})).catch((function(e){return console.error("Error:",e)}))}$(document).ready((function(){var e=document.querySelectorAll(".main-content .mobileSlider .owl-carousel"),t=document.querySelectorAll(".main-content .mobileSlider_prev_slider .item");if(t&&t.length)for(var o=0;o<t.length;o++){var n=t[o].cloneNode(!0);e[0].append(n)}e.forEach((function(e){$(e).owlCarousel({items:1,dots:!0,loop:!0,margin:30,rewind:!0,autoHeight:!0,lazyLoad:!0,lazyLoadEager:0,onInitialized:function(){e.previousElementSibling&&e.previousElementSibling.remove();for(var t=e.querySelectorAll(".owl-dot"),o=0;o<t.length;o++)t[o].setAttribute("aria-label",o+1)}})}))})),$((function(e){if(e(window).width()<768&&(e(".fds_section .topArticleSlider .owl-carousel").owlCarousel({loop:!0,items:1,margin:30,dots:!0,lazyLoad:!0,lazyLoadEager:0}),e(".boxing.owl-carousel").owlCarousel({items:1,loop:!0,margin:30,fade:!0,lazyLoad:!0,lazyLoadEager:0,onInitialized:function(e){for(var t=e.currentTarget.querySelectorAll(".owl-dot"),o=0;o<t.length;o++)t[o].setAttribute("aria-label",o+1)}}),e(".seven_top_slider .pvs.owl-carousel").owlCarousel({loop:!0,items:1,margin:30,nav:!1,dots:!0,lazyLoad:!0,lazyLoadEager:0}),e(".last_news .boxing1").owlCarousel({loop:!0,items:1,margin:10,nav:!0,dots:!0,lazyLoad:!0,lazyLoadEager:0}),e(".articles_list_slider .pvs.owl-carousel").owlCarousel({loop:!0,items:1,margin:30,nav:!1,dots:!0,lazyLoad:!0,lazyLoadEager:0,onInitialized:function(e){for(var t=e.currentTarget.querySelectorAll(".owl-dot"),o=0;o<t.length;o++)t[o].setAttribute("aria-label",o+1)}})),e(window).width()<1024&&(e(".boxing.owl-carousel").owlCarousel({loop:!0,items:2,margin:20,nav:!0,dots:!0,lazyLoad:!0,lazyLoadEager:0,onInitialized:function(e){for(var t=e.currentTarget.querySelectorAll(".owl-dot"),o=0;o<t.length;o++)t[o].setAttribute("aria-label",o+1)}}),e(".seven_top_slider .pvs.owl-carousel").owlCarousel({loop:!0,items:2,margin:15,nav:!0,dots:!0,lazyLoad:!0,lazyLoadEager:0}),e(".articles_list_slider .pvs.owl-carousel").owlCarousel({loop:!0,items:2,margin:15,nav:!0,dots:!0,lazyLoad:!0,lazyLoadEager:0})),e(window).width()<=1200){var t=e(".last_news .boxing1");t.addClass("owl-carousel"),t.owlCarousel({items:2,nav:!0,dots:!0,loop:!0,margin:60,lazyLoad:!0,lazyLoadEager:0})}e(".slider_for_photo.owl-carousel, .slider_for_video.owl-carousel").owlCarousel({items:1,nav:!0,loop:!0,margin:30,dots:!1,lazyLoad:!0,lazyLoadEager:0,responsive:{1200:{dots:!1,nav:!0},0:{dots:!0,nav:!1}},onInitialized:function(e){for(var t=e.currentTarget.querySelectorAll(".owl-dot"),o=0;o<t.length;o++)t[o].setAttribute("aria-label",o+1)}}),e(".photoVideo .pvs.owl-carousel").owlCarousel({loop:!1,items:3,margin:60,nav:!0,lazyLoad:!0,lazyLoadEager:0,responsive:{0:{items:1,margin:10,loop:!0,dots:!0,nav:!1},768:{items:2,margin:18},1024:{items:3,margin:20},1200:{items:3,margin:60,dots:!1}}}),e(".archive-opp.owl-carousel").owlCarousel({items:3,nav:!0,margin:60,loop:!0,dots:!1,lazyLoad:!0,lazyLoadEager:0,responsive:{0:{items:1,margin:10,dots:!0,nav:!1},768:{items:3,margin:18},1024:{margin:60}
1}}),e(".oppositeView .owl-carousel").owlCarousel({items:3,nav:!0,loop:!0,dots:!0,lazyLoad:!0,lazyLoadEager:0,responsive:{1024:{margin:20},1200:{margin:60}}}),e(".main-content .mobileColumnSlider.owl-carousel").owlCarousel({items:1,loop:!0,dots:!0,nav:!1,arrows:!1,lazyLoad:!0,lazyLoadEager:0,onInitialized:function(){for(var e=document.querySelector(".main-content .mobileColumnSlider.owl-carousel").querySelectorAll(".owl-dot"),t=0;t<e.length;t++)e[t].setAttribute("aria-label",t+1)}}),e(".ov_section .mobileColumnSlider.owl-carousel").owlCarousel({items:2,loop:!0,dots:!0,nav:!1,arrows:!1,lazyLoad:!0,lazyLoadEager:0,responsive:{0:{items:1},768:{items:2}},onInitialized:function(){for(var e=document.querySelector(".ov_section .mobileColumnSlider.owl-carousel").querySelectorAll(".owl-dot"),t=0;t<e.length;t++)e[t].setAttribute("aria-label",t+1)}})})),function(){if(document.addEventListener("DOMContentLoaded",(function(){function e(e,t){document.querySelectorAll(e).forEach((function(e){var o=e.querySelector(t);o&&(e.addEventListener("mouseenter",(function(){o.style.display="block",o.style.opacity="1"})),e.addEventListener("mouseleave",(function(){o.style.opacity="0",setTimeout((function(){"0"===o.style.opacity&&(o.style.display="none")}),150)})))}))}e(".view-icon",".chooseView"),e(".comments_icon",".chooseView"),e(".like-icon",".chooseView"),e(".pen-icon",".chooseView")})),document.querySelector(".mobile-nav .mobile-toggle").addEventListener("click",(function(){var e=document.querySelector(".mobile-nav");e.classList.toggle("opened"),document.body.classList.toggle("open-menu",e.classList.contains("opened")),this.classList.toggle("toggled");var t=document.querySelector(".nav-list");t.classList.toggle("hidden"),t.classList.contains("hidden")?t.style.display="flex":t.style.display="none",window.innerWidth<=1200&&(t.classList.contains("hidden")?t.style.display="none":t.style.display="flex")})),document.querySelector(".searchIcon svg").addEventListener("click",(function(){document.body.classList.toggle("open-menu"),document.querySelector(".wrapper .bottom-nav").style.cssText="display: block;\n\t\t\theight: 0;\n ",document.querySelector(".wrapper .bottom-nav .container .search-form").style.display="block"})),document.querySelector(".wrapper .bottom-nav .container .search-form .mobile-toggle").addEventListener("click",(function(e){e.preventDefault(),document.body.classList.toggle("open-menu"),document.querySelector(".wrapper .bottom-nav").style.display="none",document.querySelector(".wrapper .bottom-nav .container .search-form").style.display="none"})),innerWidth<=1200){var e=document.querySelector(".onws_section .left_part"),t=document.querySelector(".onws_section .center_part .article_avtor:nth-child(4)"),o=document.querySelector(".onws_section .center_part");e&&t&&(t.parentNode.insertBefore(e,t.nextSibling),e.style.display="block"),o&&(o.style.display="block")}}(),$(document).ready((function(){})),function(){var e=document.getElementById("js-popupCookie");e&&("show"!==getCookie("popupCookie")?setTimeout((function(){e.closest(".popupCookie").classList.add("active"),e.addEventListener("click",(function(){e.closest(".popupCookie").classList.remove("active"),setCookie("popupCookie","show",{secure:!0,"max-age":31536e3})}))}),4e3):e.closest(".popupCookie").style.display="none")}(),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelectorAll(".popularTabContent .item p");e&&e.forEach((function(e){return e?lineClamp(e,3,50):null}));var t=document.querySelectorAll(".persont-text p");t&&t.forEach((function(e){return e?lineClamp(e,4,90):null}));var o=document.querySelectorAll(".secondary_themes ul li p");o&&o.forEach((function(e){return e?lineClamp(e,3,55,"inline-block"):null}));var n=document.querySelectorAll(".athr_section .secondary_themes a p");n&&n.forEach((function(e){return e?lineClamp(e,3,55,"inline-block"):null}));var r=document.querySelectorAll(".subMainArticle .itemArticle p a");r&&r.forEach((function(e){return e?lineClamp(e,3,120):null}));var a=function(e,t,o){e.style.opacity=0,e.style.display=o||"block",e.style.transition="opacity ".concat(t,"ms"),setTimeout((function(){e.style.opacity=1}),10)},i=function(e,t){e.style.opacity=1,e.style.transition="opacity ".concat(t,"ms"),e.style.opacity=0,setTimeout((function(){e.style.display="none"}),t)};if(window.matchMedia("(max-width: 767px)").matches){var c=document.querySelector(".tabsForOpposite"),l=document.querySelector(".footerMenu"),s=document.querySelector(".footerNavigation");c&&c.remove();var d=document.querySelector(".footerNav"),u=document.querySelector(".secondNavFooter");i(d,0),i(u,0),l&&l.addEventListener("click",(function(){this.classList.toggle("show"),"none"===d.style.display?a(d,300):i(d,300)})),s&&s.addEventListener("click",(function(){this.classList.toggle("show"),"none"===u.style.display?a(u,300):i(u,300)}))}if(window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches){var m=document.querySelector(".mobileAp
1ps .container"),p=document.querySelector(".socialList");m&&p&&m.appendChild(p)}window.matchMedia("(min-width: 1024px) and (max-width: 1200px)").matches&&($(".mobNav").insertBefore(".search-form"),$(".mobileApps").insertAfter(".mobNav"))})),document.addEventListener("DOMContentLoaded",(function(){if(document.querySelector(".onws_section")){var e=window.location.href,t=document.querySelector("#js-print_content1").textContent;document.querySelector(".share_social_fb a").setAttribute("href","https://www.facebook.com/sharer/sharer.php?u="+e),document.querySelector(".share_social_tw a").setAttribute("href","".concat("https://twitter.com/intent/tweet?url=").concat(e,"&text=").concat(t))}})),document.addEventListener("DOMContentLoaded",(function(){document.querySelector("#article_pk")&&fetch("/ajax/article/info/?article_pk=".concat(document.querySelector("#article_pk").value),{method:"GET"}).then((function(e){return e.json()})).then((function(e){if(e.success){var t=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";document.querySelectorAll(e).forEach((function(e){e.innerHTML=void 0!==t?t:o}))};t(".onws_section .article_view","views_count"in e?e.views_count:void 0),t(".onws_section .article_carma_plus_count","carma_plus"in e?e.carma_plus:void 0),t(".onws_section .article_carma_minus_count","carma_minus"in e?e.carma_minus:void 0),t(".onws_section .article_comments_count","comments_count"in e?e.comments_count:void 0),"comments_html"in e&&t(".onws_section .ajax_comments_list",e.comments_html)}})).catch((function(e){return console.error("Error:",e)}))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".archive-section"),t=document.querySelector("#datetimepicker12"),o={dateFormat:"Y-m-d",minDate:"2017-01",maxDate:"2030-01",disableMobile:!0};if(e){var n=document.querySelector("#date_timepicker_start"),r=document.querySelector("#date_timepicker_end");innerWidth<=1023?(n.setAttribute("type","date"),r.setAttribute("type","date")):(flatpickr("#date_timepicker_start",o),flatpickr("#date_timepicker_end",o))}else t&&flatpickr("#datetimepicker12",{inline:!0,dateFormat:"Y-m-d",minDate:"2017-01",maxDate:"2030-01",disableMobile:!0,onChange:function(e,t,o){var n=t;window.location="/archives/?start_date=".concat(n,"&end_date=").concat(n)}})})),document.addEventListener("DOMContentLoaded",(function(){var e,t,o,n,r,a,i;[["a#articles_lazy_load",".scrollbar.tab-content.current"],["a#lazy_feeds_load",".boxing_articles"],["a#lazy_photo_video_load",".photo_video_content"],["a#lazy_pp_load",".photo_video_content"],["a#lazy_7_40_load",".seven_publication_content"],["a#lazy_author_load",".scrollbar.tab-content.current"]].forEach((function(e){var t=_slicedToArray(e,2),o=t[0],n=t[1];document.querySelector(o)&&function(e,t){if(e){document.querySelector(e).setAttribute("data-lazy-load-url",window.location.href);var o=document.querySelector(e),n=document.querySelector(t);o.addEventListener("click",(function(e){e.preventDefault();var t=o.getAttribute("data-lazy-load-url");fetch(t,{method:"GET",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}}).then((function(e){if(!e.ok)throw new Error("HTTP error! Status: ".concat(e.status));return e.json()})).then((function(e){e.allowed_load&&(e.html&&(n.innerHTML+=e.html),e.url&&o.setAttribute("data-lazy-load-url",e.url))})).catch((function(e){console.error("SERVER ERROR",e)}))}))}}(o,n)})),e="a#lazy_tags_load",t=".scrollbar.tab-content.current",o=window.location.search,n=new URLSearchParams(o),r={},a=document.querySelector(e),i=document.querySelector(t),a&&i&&(o?(n.forEach((function(e,t){"page"===t?r.page=parseInt(e,10)+1:r[t]=e})),a.setAttribute("data-lazy-load-url","".concat(window.location.pathname,"?").concat(function(e){var t=[];for(var o in e)e.hasOwnProperty(o)&&t.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return t.join("&")}(r)))):a.setAttribute("data-lazy-load-url",window.location.href),function(e,t){e.addEventListener("click",(function(o){o.preventDefault();var n=e.getAttribute("data-lazy-load-url");fetch(n,{method:"GET",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}}).then((function(e){if(!e.ok)throw new Error("HTTP error! Status: ".concat(e.status));return e.json()})).then((function(o){o.load&&(o.html&&(t.innerHTML+=o.html),o.url&&e.setAttribute("data-lazy-load-url",o.url),"last"===o.load&&(e.style.display="none"))})).catch((function(e){console.error("SERVER ERROR:",e)}))}
1))}(a,i))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#archiveList"),t=document.querySelector("a#archives_lazy_articles_load");document.querySelectorAll("#archiveList > .item").length>=25?(t.setAttribute("data-lazy-load-url",window.location.href),t.addEventListener("click",(function(o){var n=this;if(o.preventDefault(),this.classList.contains("hide")){document.querySelectorAll("#archiveList > div").forEach((function(e,t){return t>=29?e.remove():null}));var r={top:e.getBoundingClientRect().top+window.scrollY,behavior:"smooth"};window.scrollTo(r),t.setAttribute("data-lazy-load-url",window.location.href),this.classList.remove("hide"),this.innerHTML="ÐивиÑиÑÑ Ð´Ð°Ð»Ñ <i class='arrow_down'></i>"}else fetch("".concat(this.getAttribute("data-lazy-load-url")),{method:"GET",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"}}).then((function(e){if(!e.ok)throw new Error("HTTP error! Status: ".concat(e.status));return e.json()})).then((function(t){if("allowed_load"in t&&t.allowed_load){if("html"in t){e.innerHTML+=t.html;var o=document.createElement("div");o.innerHTML=t.html,o.querySelectorAll(".item").length<20&&(self.classList.add("hide"),self.innerHTML="ÐÑиÑ
оваÑи <i class='arrow_down'></i>")}"url"in t&&n.setAttribute("data-lazy-load-url",t.url)}else n.classList.add("hide"),n.innerHTML="ÐÑиÑ
оваÑи <i class='arrow_down'></i>"})).catch((function(e){console.error("SERVER ERROR",e)}))}))):t&&(t.style.display="none")})),function(){var e=0;document.addEventListener("touchend",(function(t){var o=(new Date).getTime();o-e<=300&&t.preventDefault(),e=o}),!1)}(),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#youtube_iframe");e&&(device.mobile()?document.addEventListener("scroll",(function t(){e.src?document.removeEventListener("scroll",t):e.getBoundingClientRect().top-window.innerHeight<0&&(e.src=e.dataset.src)})):e.src||(e.src=e.dataset.src))})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".youtube_iframe-details").forEach((function(e){var t=document.createElement("div");t.classList.add("youtube_btn"),t.innerHTML='\n\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="68" height="48" viewBox="0 0 68 48">\n\t\t\t\t <path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path>\n\t\t\t\t</svg>\n\t\t\t',e.append(t),e.addEventListener("click",(function(o){o.preventDefault(),e.querySelectorAll("img").forEach((function(o){var n=document.createElement("iframe"),r=o.getAttribute("data-video_id");r.includes("?")?r+="&autoplay=1":r+="?autoplay=1",n.src=r,n.setAttribute("frameborder","0"),n.setAttribute("width","675"),n.setAttribute("height","352"),n.setAttribute("allowfullscreen",""),n.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),n.setAttribute("referrerpolicy","strict-origin-when-cross-origin"),t.innerHTML="",e.innerHTML="",e.append(n)}))}))}))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#js-print_content2");if(e)for(var t=e.querySelectorAll("iframe"),o=function(){var e=t[n];e&&(e.src||e.getBoundingClientRect().top-window.innerHeight<0&&(e.src=e.dataset.src,e.removeAttribute("data-src")),document.addEventListener("scroll",(function(){e.src||e.getBoundingClientRect().top-window.innerHeight<0&&(e.src=e.dataset.src,e.removeAttribute("data-src"))})))},n=0;n<t.length;n++)o()})),document.addEventListener("DOMContentLoaded",(function(){window.innerWidth<1024&&document.querySelector(".wrapper").classList.remove("news_full_size")})),document.addEventListener("DOMContentLoaded",(function(){if(window.innerWidth<768){var e=document.querySelector(".article_description_banner"),t=document.querySelector(".article_description > p:nth-of-type(2)");e&&t&&t.insertAdjacentElement("afterend",e)}})),document.addEventListener("DOMContentLoaded",(function(){if(document.querySelector("#article_pk")){var e=document.querySelector(".error_printer");e&&e.addEventListener("click",(function(){var e,t,o;e=document.querySelector("#js-print_content1").innerHTML,t=document.querySelector("#js-print_content2").innerHTML,(o=window.open("","Print","height=600,width=800")).document.write("<html><head><title>Print</title></head><body>"),o.document.write(e),o.document.write(t),o.document.write("</body></html>"),o.document.close(),o.focus(),o.print(),o.close()}))}})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".article_description > p").forEach((function(e){" "!==e.innerHTML.trim()&&""!==e.innerHTML.trim()&&" "!==e.innerHTML.trim()||e.remove(),e.querySelector("iframe")&&e.classList.add("center_iframe")})),document.querySelectorAll(".onws_section .article_description table").forEach((function(e){var t=document.createElement("div");t.className="table_responsive",e.parentNode.insertBefore(t,e),t.appendChild(e)})),document.querySelectorAll(".onws_section .article_description iframe").forEach((function(e){var t=e.getAttribute("src")||e.getAttribute("data-src");if(t&&t.length){if(t.startsWith("https://www.youtube.com")||t.startsWith("http://www.youtube.com")){var o=document.createElement("div");o.className="responsive-box";var n=document.createElement("div");
1n.className="content_iframe",o.appendChild(n),e.parentNode.insertBefore(o,e),n.appendChild(e)}if(t.startsWith("https://24tv.ua/news/showPlayer.do")||t.startsWith("http://24tv.ua/news/showPlayer.do")){var r=document.createElement("div");r.className="content_iframe_tv",e.parentNode.insertBefore(r,e),r.appendChild(e)}if(t.startsWith("https://www.facebook.com/plugins/video.php")||t.startsWith("http://www.facebook.com/plugins/video.php")){var a=document.createElement("div");a.className="content_iframe_fb",e.parentNode.insertBefore(a,e),a.appendChild(e)}}})),document.querySelectorAll(".onws_section .article_description p > img[align='center']").forEach((function(e){var t=document.createElement("div");t.className="img_center",e.parentNode.insertBefore(t,e),t.appendChild(e)})),document.querySelectorAll(".onws_section .article_description img").forEach((function(e){if(e.clientWidth>=675){var t=e.parentNode;t&&(t.style.alignItems="flex-start")}})),document.querySelectorAll(".onws_section .youtube_iframe-details img").forEach((function(e){if(e.clientWidth>=675){var t=e.parentNode;t&&(t.style.alignItems="flex-start")}}))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelectorAll(".onws_section .article_description img"),t=document.querySelectorAll(".onws_section .article_description .img_center img");function o(e){var t=e.naturalWidth,o=e.offsetWidth,n=e.naturalHeight,r=e.offsetHeight;0!==t&&e.setAttribute("width",t),0!==o&&e.setAttribute("width",o),0!==n&&e.setAttribute("height",n),0!==r&&e.setAttribute("height",r)}e.forEach((function(e){var t=e.getAttribute("align");t&&e.classList.add("".concat(t,"_parent")),o(e)})),t.forEach((function(e){o(e)}))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".popup-banner"),t=document.querySelector(".close_top-banner");function o(){t.addEventListener("click",(function(){var t,o;o=500,(t=e).style.transition="height ".concat(o,"ms, margin ").concat(o,"ms, padding ").concat(o,"ms"),t.style.height=t.offsetHeight+"px",t.offsetHeight,t.style.overflow="hidden",t.style.height="0",t.style.marginTop="0",t.style.marginBottom="0",t.style.paddingTop="0",t.style.paddingBottom="0",setTimeout((function(){t.style.display="none",t.style.removeProperty("height"),t.style.removeProperty("margin-top"),t.style.removeProperty("margin-bottom"),t.style.removeProperty("padding-top"),t.style.removeProperty("padding-bottom"),t.style.removeProperty("overflow"),t.style.removeProperty("transition")}),o)}))}e&&t&&setTimeout((function(){e.querySelector(".ads-block")&&function(e,t){e.style.removeProperty("display"),"none"===window.getComputedStyle(e).display&&(e.style.display="block");var o=e.offsetHeight;e.style.overflow="hidden",e.style.height="0",e.style.marginTop="0",e.style.marginBottom="0",e.style.paddingTop="0",e.style.paddingBottom="0",e.offsetHeight,e.style.transition="height ".concat(t,"ms, margin ").concat(t,"ms, padding ").concat(t,"ms"),e.style.height=o+"px",e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),setTimeout((function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition")}),t)}(e,500),o()}),6e3)})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#js-print_content2");if(e){var t=new IntersectionObserver((function(o){if(o[0].isIntersecting){var n=document.createElement("div");n.setAttribute("data-type","_mgwidget"),n.setAttribute("data-widget-id","1585343"),e.appendChild(n);var r=document.createElement("script");r.textContent='\n (function(w,q){w[q]=w[q]||[];w[q].push(["_mgc.load"])})(window,"_mgq");\n ',e.appendChild(r),t.disconnect()}}),{threshold:.1});window.innerWidth<768?setTimeout((function(){t.observe(e)}),3500):t.observe(e)}}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.