1!function(){function e(e,o){for(var n=0;n<o.length;n++){var t=o[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}var o=function(){"use strict";function o(){var e=this;!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,o),window.addEventListener("load",(function(){e.init(document)}))}var n,t,a;return n=o,(t=[{key:"init",value:function(e){var o=this;e&&e.querySelectorAll("[data-modal]").forEach((function(e){var n=document.querySelector("#".concat(e.dataset.modal,".modal"));n&&o.listener(e,n)}))}},{key:"listener",value:function(e,o){var n=this;e&&e.addEventListener("click",(function(e){e.preventDefault(),n.scrollPosition=n.getWindowYScroll(),n.open(o),n.loadScriptAndMedia(o),o.dispatchEvent(new Event("open"))})),o.querySelector(".modal__close").addEventListener("click",(function(){n.close(o),o.dispatchEvent(new Event("close"))}))}},{key:"loadScriptAndMedia",value:function(e){window.lazyloadScriptManager&&e.querySelectorAll("*[data-lazyload]").forEach((function(e){return window.lazyloadScriptManager.lazyloadScript(e)})),window.lazyloadMediaManager&&window.lazyloadMediaManager.lazyloadIframes(e)}},{key:"open",value:function(e){this.bodyIsAlreadyLocked=document.querySelector("body").classList.contains("body-locked"),e.classList.add("modal--isOpen"),document.body.classList.add("body-locked")}},{key:"close",value:function(e){e.classList.add("modal--isClosed"),e.addEventListener("transitionend",(function o(n){var t=e;t.removeEventListener("transitionend",o),t.classList.remove("modal--isClosed"),t.classList.remove("modal--isOpen")})),this.bodyIsAlreadyLocked||document.body.classList.remove("body-locked")}},{key:"scrollBackTo",value:function(){if(this.scrollPosition){var e=document.querySelector("html");e.style["scroll-behavior"]="initial",window.scrollTo(0,this.scrollPosition),e.removeAttribute("style")}}},{key:"getWindowYScroll",value:function(){return window.pageYOffset||document.body.scrollTop||document.documentElement.scrollTop||0}}])&&e(n.prototype,t),a&&e(n,a),o}();window.modalManager=new o}();
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.