PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /proc/thread-self/root/proc/self/root/proc/self/cwd/wp-content/themes/jnews/assets/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //proc/thread-self/root/proc/self/root/proc/self/cwd/wp-content/themes/jnews/assets/js/ls.bgset.js |
!function(e,t){"use strict";var a=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,(function(e,t,a){"use strict";if(e.addEventListener){var i=/\s+/g,r=/\s*\|\s+|\s+\|\s*/g,s=/^(.+?)(?:\s+\[\s*(.+?)\s*\])?$/,n=/\(|\)|'/,l={contain:1,cover:1},d=function(e){if(e.target._lazybgset){var t=e.target,i=t._lazybgset,r=t.currentSrc||t.src;r&&(i.style.backgroundImage="url("+(n.test(r)?JSON.stringify(r):r)+")"),t._lazybgsetLoading&&(a.fire(i,"_lazyloaded",{},!1,!0),delete t._lazybgsetLoading)}};addEventListener("lazybeforeunveil",(function(e){var n,l,o;!e.defaultPrevented&&(n=e.target.getAttribute("data-bgset"))&&(o=e.target,(l=t.createElement("img")).alt="",l._lazybgsetLoading=!0,e.detail.firesLoad=!0,function(e,a,n){var l=t.createElement("picture"),d=a.getAttribute(lazySizesConfig.sizesAttr),o=a.getAttribute("data-ratio"),z=a.getAttribute("data-optimumx");a._lazybgset&&a._lazybgset.parentNode==a&&a.removeChild(a._lazybgset),Object.defineProperty(n,"_lazybgset",{value:a,writable:!0}),Object.defineProperty(a,"_lazybgset",{value:l,writable:!0}),e=e.replace(i," ").split(r),l.style.display="none",n.className=lazySizesConfig.lazyClass,1!=e.length||d||(d="auto"),e.forEach((function(e){var a=t.createElement("source");d&&"auto"!=d&&a.setAttribute("sizes",d),e.match(s)&&(a.setAttribute(lazySizesConfig.srcsetAttr,RegExp.$1),RegExp.$2&&a.setAttribute("media",lazySizesConfig.customMedia[RegExp.$2]||RegExp.$2)),l.appendChild(a)})),d&&(n.setAttribute(lazySizesConfig.sizesAttr,d),a.removeAttribute(lazySizesConfig.sizesAttr),a.removeAttribute("sizes")),z&&n.setAttribute("data-optimumx",z),o&&n.setAttribute("data-ratio",o),l.appendChild(n),a.appendChild(l)}(n,o,l),setTimeout((function(){a.loader.unveil(l),a.rAF((function(){a.fire(l,"_lazyloaded",{},!0,!0),l.complete&&d({target:l})}))})))})),t.addEventListener("load",d,!0),e.addEventListener("lazybeforesizes",(function(e){if(e.detail.instance==a&&e.target._lazybgset&&e.detail.dataAttr){var t=function(e){var t;return t=(getComputedStyle(e)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!l[t]&&l[e.style.backgroundSize]&&(t=e.style.backgroundSize),t}(e.target._lazybgset);l[t]&&(e.target._lazysizesParentFit=t,a.rAF((function(){e.target.setAttribute("data-parent-fit",t),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit})))}}),!0),t.documentElement.addEventListener("lazybeforesizes",(function(e){var t,i;!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==a&&(e.detail.width=(t=e.target._lazybgset,i=a.gW(t,t.parentNode),(!t._lazysizesWidth||i>t._lazysizesWidth)&&(t._lazysizesWidth=i),t._lazysizesWidth))}))}}));