PageSourceSearch

https://moj.sphere.sk/bundles/lazyload?v=CJA6zG1ga1Bb6xTxsvsG0IHMZ8y8yrt-X3v9UB1iT7c1

js sphere.sk collected 2026-09-26 10:06:47 UTC 2,861 bytes, 1 lines download raw bytes

1function initMapLazyLoad(){"IntersectionObserver"in window?window.setTimeout(function(){var n=new IntersectionObserver(callback,{root:null,rootMargin:"100px",thresold:.5}),t=document.querySelector(".sc-map");n.observe(t)},3e3):window.setTimeout(loadMap,3e3)}function callback(n,t){for(var i=0;i<n.length;i++)n[i].intersectionRatio>0&&(t.unobserve(n[i].target),loadMap())}function initLazyLoad(n,t,i){return"IntersectionObserver"in window?new MiniLazyload({rootMargin:"100px",threshold:.5,placeholder:n,onload:function(n){var r=$(n);r.parent().hasClass(i)&&refreshLogo(t,r);n.style.opacity=1}},"[loading=lazy]",MiniLazyload.IGNORE_NATIVE_LAZYLOAD):(noLazyload(),null)}var MiniLazyload=function(){"use strict";function n(){var t=this,r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},u=1<arguments.length?arguments[1]:void 0,f=2<arguments.length?arguments[2]:void 0;this.update=function(){t.enabled?t.loadImages(function(){},!1):function(n,t){n.allElements().forEach(function(t){(t.dataset.bg||t.dataset.lazyClass)&&n.newObserver().observe(t)});n.loadImages(function(n){n.loading="lazy";t&&t(n)})}(t)};this.allElements=function(){return[].slice.call(document.querySelectorAll(t.selector))};this.loadImages=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:function(){},r=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];t.allElements().forEach(function(u){o(u);n(u);!window.IntersectionObserver||r?i(u):t.newObserver().observe(u)})};this.newObserver=function(){return new IntersectionObserver(function(n,t){n.forEach(function(n){var u=n.intersectionRatio,r=n.target;0<u&&(t.unobserve(r),i(r,!0))})},t.options)};var i=function(n,t){var i=n.dataset,r=i.src,u=i.srcset,f=i.bg,o=i.lazyClass;t=t||!window.IntersectionObserver;r&&(n.src=r);u&&(n.srcset=u);t&&f&&(n.style.backgroundImage='url("'.concat(f,'")'));t&&o&&n.classList.add(o);e(n.parentElement)},e=function(n){window.HTMLPictureElement&&n instanceof HTMLPictureElement&&[].slice.call(n.querySelectorAll("[data-srcset]")).forEach(function(n){n.srcset=n.dataset.srcset})},o=function(n){function i(){e(n);n.classList.add("loaded")}var r=t.options,u=r.placeholder,f=r.onload,e=void 0===f?function(){}:f;n.addEventListener("error",function(){u&&!n.classList.contains("error")&&(n.src=u);n.classList.add("error");n.removeEventListener("load",i)});n.addEventListener("load",i)};this.selector=u||"[loading=lazy]";this.options=r;this.enabled=!HTMLImageElement.prototype.hasOwnProperty("loading")||f===n.IGNORE_NATIVE_LAZYLOAD;this.update()}return n.IGNORE_NATIVE_LAZYLOAD=!0,n}(),loadMap,noLazyload=function(){$("img[data-src]").each(function(n,t){var i=$(t),r=i.data("src");i.removeAttr("data-src");i.attr("src",r);i.css("opacity",1)});$("[data-bg]").each(function(n,t){var i=$(t),r=i.data("bg");i.removeAttr("data-bg");i.css({"background-image":"url('"+r+"')",opacity:1})})}

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.