1/******/ (() => { // webpackBootstrap 2/******/ "use strict"; 3var __webpack_exports__ = {}; 4 5;// CONCATENATED MODULE: ./node_modules/micromodal/dist/micromodal.es.js 6function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(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}var n,i,a,r,s,l=(n=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],i=function(){function o(e){var n=e.targetModal,i=e.triggers,a=void 0===i?[]:i,r=e.onShow,s=void 0===r?function(){}:r,l=e.onClose,c=void 0===l?function(){}:l,d=e.openTrigger,u=void 0===d?"data-micromodal-trigger":d,f=e.closeTrigger,h=void 0===f?"data-micromodal-close":f,v=e.openClass,g=void 0===v?"is-open":v,m=e.disableScroll,b=void 0!==m&&m,y=e.disableFocus,p=void 0!==y&&y,w=e.awaitCloseAnimation,E=void 0!==w&&w,k=e.awaitOpenAnimation,M=void 0!==k&&k,A=e.debugMode,C=void 0!==A&&A;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),this.modal=document.getElementById(n),this.config={debugMode:C,disableScroll:b,openTrigger:u,closeTrigger:h,openClass:g,onShow:s,onClose:c,awaitCloseAnimation:E,awaitOpenAnimation:M,disableFocus:p},a.length>0&&this.registerTriggers.apply(this,t(a)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var i,a,r;return i=o,(a=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];o.filter(Boolean).forEach((function(t){t.addEventListener("click",(function(t){return e.showModal(t)}))}))}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var o=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",o,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var o=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(o),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}}
6,{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(n);return Array.apply(void 0,t(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var o=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));o.length>0&&o[0].focus(),0===o.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var o=t.indexOf(document.activeElement);e.shiftKey&&0===o&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&o===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&e(i.prototype,a),r&&e(i,r),o}(),a=null,r=function(e){if(!document.getElementById(e))return console.warn("MicroModal: âSeems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},s=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: âPlease specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var o in t)r(o);return!0},{init:function(e){var o=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=t(document.querySelectorAll("[".concat(o.openTrigger,"]"))),r=function(e,t){var o=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===o[n]&&(o[n]=[]),o[n].push(e)})),o}(n,o.openTrigger);if(!0!==o.debugMode||!1!==s(n,r))for(var l in r){var c=r[l];o.targetModal=l,o.triggers=t(c),a=new i(o)}},show:function(e,t){var o=t||{};o.targetModal=e,!0===o.debugMode&&!1===r(e)||(a&&a.removeEventListeners(),(a=new i(o)).showModal())},close:function(e){e?a.closeModalById(e):a.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=l);/* harmony default export */ const micromodal_es = (l); 7 8;// CONCATENATED MODULE: ./src/assets/index.js 9function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; } 10function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } 11function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } 12 13 14document.addEventListener('DOMContentLoaded', function () { 15 var hamburger = document.getElementById("hamburger"); 16 var menu = document.getElementById("menu"); 17 hamburger.addEventListener("click", function () { 18 this.classList.toggle("is-active"); 19 menu.classList.toggle("is-active"); 20 }); 21 var menuLinks = document.querySelectorAll('.menu-item'); 22 var currentMegaMenu = null; 23 var timeoutId; 24 function openMegaMenu(target) { 25 if (currentMegaMenu && currentMegaMenu === target) return; 26 if (currentMegaMenu) { 27 currentMegaMenu.classList.remove('open'); 28 } 29 target.classList.add('open'); 30 currentMegaMenu = target; 31 } 32 function closeMegaMenu(target) { 33 if (target !== currentMegaMenu) return; 34 target.classList.remove('open'); 35 currentMegaMenu = null; 36 } 37 menuLinks.forEach(function (link) { 38 var targetID = link.getAttribute("data-template"); 39 if (!targetID) return; 40 var target = document.getElementById(targetID); 41 if (!target) return; 42 link.addEventListener("mouseover", function () { 43 clearTimeout(timeoutId); 44 timeoutId = setTimeout(function () { 45 openMegaMenu(target); 46 }, 200); 47 }); 48 link.addEventListener("mouseout", function () { 49 clearTimeout(timeoutId); 50 timeoutId = setTimeout(function () { 51 if (!currentMegaMenu) return; 52 closeMegaMenu(target); 53 }, 200); 54 }); 55 target.addEventListener("mouseover", function () { 56 clearTimeout(timeoutId); 57 }); 58 target.addEventListener("mouseout", function () { 59 var _this = this; 60 clearTimeout(timeoutId); 61 timeoutId = setTimeout(function () { 62 closeMegaMenu(_this); 63 }, 200); 64 }); 65 }); 66}); 67 68// Handle click events on the top-level menu items 69var menuItems = document.querySelectorAll('.has-dropdown > a'); 70for (var assets_i = 0; assets_i < menuItems.length; assets_i++) { 71 menuItems[assets_i].addEventListener('click', function (e) { 72 e.preventDefault(); 73 74 // Get the corresponding submenu and toggle its "open" class 75 var submenu = this.parentNode.querySelector('.sub-menu'); 76 submenu.classList.toggle('opened'); 77 //menuLink.classList.toggle('has-dropdown__link-green') 78 79 // Hide any previously open submenus 80 var openSubmenus = document.querySelectorAll('.sub-menu.opened'); 81 for (var j = 0; j < openSubmenus.length; j++) { 82 if (openSubmenus[j] !== submenu) { 83 openSubmenus[j].classList.remove('opened'); 84 } 85 } 86 }); 87} 88 89//ÐкÑивнÑй ÑÐ°Ð¹Ð´Ð±Ð°Ñ 90var assets_anchors = document.querySelectorAll('a[href*="#"]'); 91if (document.documentElement.clientWidth > 1023) { 92 var _iterator = _createForOfIteratorHelper(assets_anchors), 93 _step; 94 try { 95 var _loop = function _loop() { 96 var anchor = _step.value; 97 anchor.addEventListener('click', function (event) { 98 event.preventDefault(); 99 var target = document.querySelector(anchor.getAttribute('href')); 100 var headerHeight = document.getElementById('header-main').offsetHeight; 101 var offset = headerHeight + 50; 102 window.scrollTo({ 103 top: target.offsetTop - offset, 104 left: 0, 105 behavior: 'smooth' 106 }); 107 }); 108 }; 109 for (_iterator.s();
109 !(_step = _iterator.n()).done;) { 110 _loop(); 111 } 112 } catch (err) { 113 _iterator.e(err); 114 } finally { 115 _iterator.f(); 116 } 117} 118if (document.documentElement.clientWidth < 1023) { 119 var _iterator2 = _createForOfIteratorHelper(assets_anchors), 120 _step2; 121 try { 122 var _loop2 = function _loop2() { 123 var anchor = _step2.value; 124 anchor.addEventListener('click', function (event) { 125 event.preventDefault(); 126 var target = document.querySelector(anchor.getAttribute('href')); 127 var headerHeight = document.getElementById('header-mobile').offsetHeight; 128 var offset = headerHeight + 50; 129 window.scrollTo({ 130 top: target.offsetTop - offset, 131 left: 0, 132 behavior: 'smooth' 133 }); 134 }); 135 }; 136 for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { 137 _loop2(); 138 } 139 } catch (err) { 140 _iterator2.e(err); 141 } finally { 142 _iterator2.f(); 143 } 144} 145 146//Ðоле поиÑка 147var searchBtns = document.querySelectorAll(".search-btn"); 148searchBtns.forEach(function (btn) { 149 btn.addEventListener("click", function () { 150 var searchWrapper = btn.closest(".search-wrap"); 151 var searchBox = searchWrapper.querySelector(".search-box"); 152 searchBox.classList.toggle("show"); 153 }); 154}); 155document.getElementById("searchsubmit").onclick = setTimeout(function (e) { 156 document.getElementById("s").value = ""; 157}, 500); 158micromodal_es.init({ 159 onShow: function onShow(modal) { 160 var iframe = modal.querySelector('iframe'); 161 iframe.setAttribute('src', iframe.getAttribute('data-src')); 162 }, 163 onClose: function onClose(modal) { 164 var iframe = modal.querySelector('iframe'); 165 iframe.setAttribute('src', ''); 166 } 167}); 168function stopYouTubeVideo(iframe) { 169 var playerWindow = iframe.contentWindow; 170 playerWindow.postMessage('{"event":"command","func":"' + 'stopVideo' + '","args":""}', '*'); 171} 172document.querySelectorAll('button[data-micromodal-trigger]').forEach(function (button) { 173 button.addEventListener('click', function () { 174 var youtubeLink = this.getAttribute('data-youtube-link'); 175 var modal = document.querySelector('#modal-' + youtubeLink); 176 var iframe = modal.querySelector('iframe'); 177 iframe.setAttribute('src', iframe.getAttribute('data-src')); 178 stopYouTubeVideo(iframe); 179 }); 180}); 181 182// Sticky HEADER 183if (document.documentElement.clientWidth > 1023) { 184 var stickyHeader = function stickyHeader() { 185 if (window.scrollY) { 186 headerMain.classList.add("header-stick"); 187 header.classList.add("header__container-sticky"); 188 headerTop.style.marginTop = "-100px"; 189 headerTop.style.opacity = "0"; 190 } else { 191 headerMain.classList.remove("header-stick"); 192 header.classList.remove("header__container-sticky"); 193 headerTop.style.marginTop = "0px"; 194 headerTop.style.opacity = "1"; 195 } 196 }; 197 window.onscroll = function () { 198 stickyHeader(); 199 }; 200 var headerMain = document.getElementById("header-main"); 201 var headerTop = document.getElementById("header-top"); 202 var header = document.getElementById("header-container"); 203 var sticky = headerMain.offsetTop; 204} else { 205 var stickyMobileHeader = function stickyMobileHeader() { 206 if (window.pageYOffset - 1 >= stickyMobile) { 207 headerMobile.classList.add("header-mobile__sticky"); 208 } else { 209 headerMobile.classList.remove("header-mobile__sticky"); 210 } 211 }; 212 window.onscroll = function () { 213 stickyMobileHeader(); 214 }; 215 var headerMobile = document.getElementById("header-mobile"); 216 var stickyMobile = headerMobile.offsetTop; 217} 218 219// ÐакÑÑÑие ÑÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ ÑвеÑÑ Ñ 220// Notification close 221/*function notificationClose() { 222 var notificationBar = document.getElementById('header-notice'); 223 var notificationButton = document.getElementById('close-notification'); 224 var breadcrumbs = document.getElementById('breadcrumbs'); 225 var headerMain = document.getElementById('header-main'); 226 var headerMobile = document.getElementById('header-mobile'); 227 var main = document.getElementById('main'); 228 229 notificationBar.style.marginTop = '-100px'; 230 headerMain.style.margin = '0px'; 231 headerMobile.style.marginTop = '0px'; 232 headerMobile.style.top = '0px'; 233 main.style.paddingTop = '0px'; 234 breadcrumbs.style.padding = '0px'; 235}*/ 236/******/ })() 237;
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.