var ModalEffects=function(){!function(){var e=document.querySelector(".md-overlay");[].slice.call(document.querySelectorAll(".md-trigger")).forEach(function(t,c){function n(e){classie.remove(i,"md-show"),e&&classie.remove(document.documentElement,"md-perspective")}function s(){n(classie.has(t,"md-setperspective"))}var i=document.querySelector("#"+t.getAttribute("data-modal"));t.addEventListener("click",function(c){classie.add(i,"md-show"),e.removeEventListener("click",s),e.addEventListener("click",s),classie.has(t,"md-setperspective")&&setTimeout(function(){classie.add(document.documentElement,"md-perspective")},25)})})}()}();