PageSourceSearch

https://www.besarent.com/npm/js/lozad.min.js?v=-Oy8hqSE5YDlnJq0tc0gTaLjHSKf8ZTH8HIkAo_knsw

js besarent.com collected 2026-10-04 21:46:01 UTC 3,413 bytes, 3 lines download raw bytes

vendor: 3,413 bytes, lines 1-3
1/*! lozad.js - v1.16.0 - 2020-09-06
2* https://github.com/ApoorvSaxena/lozad.js
3* Copyright (c) 2020 Apoorv Saxena; Licensed MIT */ !function (t, e) { "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : t.lozad = e() }(this, function () { "use strict"; var t = "undefined" != typeof document && document.documentMode, e = { rootMargin: "0px", threshold: 0, load: function (e) { if ("picture" === e.nodeName.toLowerCase()) { var r = e.querySelector("img"), a = !1; null === r && (r = document.createElement("img"), a = !0), t && e.getAttribute("data-iesrc") && (r.src = e.getAttribute("data-iesrc")), e.getAttribute("data-alt") && (r.alt = e.getAttribute("data-alt")), a && e.append(r) } if ("video" === e.nodeName.toLowerCase() && !e.getAttribute("data-src") && e.children) { for (var i = e.children, o = void 0, n = 0; n <= i.length - 1; n++)(o = i[n].getAttribute("data-src")) && (i[n].src = o); e.load() } e.getAttribute("data-poster") && (e.poster = e.getAttribute("data-poster")), e.getAttribute("data-src") && (e.src = e.getAttribute("data-src")), e.getAttribute("data-srcset") && e.setAttribute("srcset", e.getAttribute("data-srcset")); var d = ","; if (e.getAttribute("data-background-delimiter") && (d = e.getAttribute("data-background-delimiter")), e.getAttribute("data-background-image")) e.style.backgroundImage = "url('" + e.getAttribute("data-background-image").split(d).join("'),url('") + "')"; else if (e.getAttribute("data-background-image-set")) { var g = e.getAttribute("data-background-image-set").split(d), u = g[0].substr(0, g[0].indexOf(" ")) || g[0]; u = -1 === u.indexOf("url(") ? "url(" + u + ")" : u, 1 === g.length ? e.style.backgroundImage = u : e.setAttribute("style", (e.getAttribute("style") || "") + "background-image: " + u + "; background-image: -webkit-image-set(" + g + "); background-image: image-set(" + g + ")") } e.getAttribute("data-toggle-class") && e.classList.toggle(e.getAttribute("data-toggle-class")) }, loaded: function () { } }; function r(t) { t.setAttribute("data-loaded", !0) } var a = function (t) { return "true" === t.getAttribute("data-loaded") }, i = function (t) { var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document; return t instanceof Element ? [t] : t instanceof NodeList ? t : e.querySelectorAll(t) }; return function () { var t, o, n = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : ".lozad", d = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, g = Object.assign({}, e, d), u = g.root, s = g.rootMargin, c = g.threshold, l = g.load, b = g.loaded, f = void 0; "undefined" != typeof window && window.IntersectionObserver && (f = new IntersectionObserver((t = l, o = b, function (e, i) { e.forEach(function (e) { (0 < e.intersectionRatio || e.isIntersecting) && (i.unobserve(e.target), a(e.target) || (t(e.target), r(e.target), o(e.target))) }) }), { root: u, rootMargin: s, threshold: c })); for (var A, v = i(n, u), m = 0; m < v.length; m++)(A = v[m]).getAttribute("data-placeholder-background") && (A.style.background = A.getAttribute("data-placeholder-background")); return { observe: function () { for (var t = i(n, u), e = 0; e < t.length; e++)a(t[e]) || (f ? f.observe(t[e]) : (l(t[e]), r(t[e]), b(t[e]))) }, triggerLoad: function (t) { a(t) || (l(t), r(t), b(t)) }, observer: f } } });

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.