text: // Double Lazy Load / dll.js | by dnp_theme | MIT License
  var dll=function(t,e){this.el="object"==typeof t?t:document.querySelector(t),this.fn="function"==typeof e?e:null,this.src=this.el&&this.el.getAttribute("data-src")||null,(this.src||null!==this.el.querySelector("[data-src]"))&&this.init()};dll.prototype={init:function(){for(var t=this,e=this.getElements(),n=0;n<e.length;n++)n===e.length-1&&t.fn?t.loader(e[n],t.fn):t.loader(e[n])},loader:function(t,e){var n=new Image,r=e,l=t.getAttribute("data-src");n.onload=function(){"IMG"===t.tagName?t.src=l:t.style.backgroundImage='url("'+l+'")',t.removeAttribute("data-src"),r&&r()},n.src=l},getElements:function(){var t,e=[],n=this.el.querySelectorAll("[data-src]");this.src&&!n?t=[this.el]:!this.src&&n?t=n:this.src&&n?(t=n,e.push(this.el)):this.src||n||(t=document.querySelectorAll("[data-src]"));for(var r=t.length-1;r>=0;r--)e.unshift(t[r]);return e}};var elementInViewport=function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=(window.innerHeight||document.documentElement.clientHeight)};
  