1!function(){"use strict";(()=>{const e=document.querySelector(".header");window.addEventListener("scroll",(function(){window.pageYOffset>=window.innerHeight-250?e.classList.add("header--scroll"):e.classList.remove("header--scroll")}))})(),(()=>{const e=document.querySelectorAll(".past__year"),t=document.querySelectorAll(".past__block");e.forEach(o=>{o.addEventListener("click",()=>{e.forEach(e=>e.classList.remove("active")),o.classList.add("active");const s=o.getAttribute("data-target");t.forEach(e=>{e.getAttribute("data-year")===s?e.classList.add("active"):e.classList.remove("active")})})}),e[0]&&t&&(e[0].classList.add("active"),t.forEach(t=>{t.getAttribute("data-year")===e[0].getAttribute("data-target")&&t.classList.add("active")}))})(),function(){const e=document.querySelector(".js-mindbox-form");if(!e)return;const t=e.parentElement.querySelector(".js-mindbox-message-block");if(!t)return;const o=e.querySelector(".js-mindbox-email"),s=e.querySelector(".js-mindbox-submit");if(!o||!s)return;const n="js-mindbox-success subscribe__form-response_success subscription__form-response_success",c="js-mindbox-error subscribe__form-response_error subscription__form-response_error";function i(e,t){const o=document.createElement("p");return o.className=t,o.textContent=e,o}function r(e){t.querySelectorAll("."+e.split(" ")[0]).forEach((function(e){e.remove()}))}e.addEventListener("submit",(function(s){s.preventDefault(),r(n),r(c);var a,d=(a=o.value).length?!/[-.\w]+@([\w-]+\.)+[\w-]+/g.test(a)&&"ÐÑовеÑÑÑе Ð²Ð°Ñ e-mail, кажеÑÑÑ, в напиÑании оÑибка":"Ðоле e-mail не должно бÑÑÑ Ð¿ÑÑÑÑм";d?t.appendChild(i(d,c)):function(o){const s=e.dataset.mindboxTopic;mindbox("async",{operation:"FormRegistration",data:{customer:{email:o,subscriptions:[{pointOfContact:"Email",topic:s}]}},onSuccess:function(){r(c),t.appendChild(i("СпаÑибо за подпиÑкÑ! ÐдиÑе новоÑÑей",n)),e.reset(),console.log("ÑоÑма оÑпÑавлена")},onError:function(e){r(n),t.appendChild(i("ÐÑоизоÑла оÑибка, попÑобÑйÑе позже",c))}})}(o.value)})),o.addEventListener("input",(function(){r(c)}))}(),document.addEventListener("DOMContentLoaded",(function(){const e=document.getElementById("cookie-popup"),t=document.getElementById("accept-cookie"),o=document.getElementById("close-cookie");function s(){e.classList.remove("show"),setTimeout(()=>{e.style.display="none"},300)}localStorage.getItem("cookieAccepted")||(e.style.display="block",setTimeout(()=>{e.classList.add("show")},10)),t&&t.addEventListener("click",(function(){localStorage.setItem("cookieAccepted","true"),s()})),o&&o.addEventListener("click",(function(){s()}))}))}();
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.