1"use strict";!function(){function a(t){t.style.display="block",setTimeout(function(){t.classList.add("active"),document.body.classList.add("modal-active")},e)}function i(t){t.classList.remove("active"),setTimeout(function(){t.style.display="none",document.body.classList.remove("modal-active")},e)}function c(t,e){if(e(t))return t;for(;t&&t.parentNode!==document;)if(e(t=t.parentNode))return t}var e=250;document.addEventListener("keyup",function(t){27===t.keyCode&&[].slice.call(document.querySelectorAll(".modal.active")).forEach(function(t){i(t)})}),document.addEventListener("click",function(t){var e=t.target;if(e.classList.contains("modal"))return i(e);if(e.classList.contains("modal-close"))return i(c(e,function(t){return t.classList.contains("modal")}));var o=c(e,function(t){if(t)return t.hasAttribute("data-toggle")&&"modal"===t.getAttribute("data-toggle")});if(o){var n=o.getAttribute("data-target");a(document.querySelector(n))}}),"function"!=typeof window.modal&&(window.modal=function(t){"string"==typeof t&&(t=document.querySelector(t)),t?t.classList.contains("active")?i(t):a(t):console.error("Modal target not found!")})}(); 2//# sourceMappingURL=modal.min.js.map
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.