var Delighters=new function(){function h(){document.addEventListener("scroll",m);for(var f=document.querySelectorAll("["+c.attribute+"]"),d=0;d=b&&!a.startLine&&(a.startLine=document.createElement("div"),document.body.appendChild(a.startLine),a.startLine.style="position:fixed;height:0;width:100%;border-bottom:dotted red 2px;top:"+100*a.start+"vh"),(ea.start&&a.started&& (a.started=!1,a.el.classList.remove(c.classNames[1]));ea.end&&a.ended&&(a.ended=!1,a.el.classList.remove(c.classNames[2]))}}var k=this.dels=[],c={attribute:"data-delighter",classNames:["delighter","started","ended"],start:.5,end:.5,autoInit:!0};document.addEventListener("DOMContentLoaded",function(){c.autoInit&&h()});this.init=h;this.config=function(f){for(var d in f)c[d]=f[d]}};