![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/cwd/wp-content/plugins/bdthemes-element-pack/assets/vendor/js/ |
!function(t){t.fn.recliner=function(o){var n,a,i=t(window),e=this,l=this.selector;o=t.extend({attrib:"data-src",throttle:300,threshold:100,printable:!0,live:!0,getScript:!1},o);function r(t){t.removeClass("lazy-loading"),t.addClass("lazy-loaded"),t.trigger("lazyshow")}function d(){var a=void 0!==window.innerHeight?window.innerHeight:i.height(),l=window.innerHeight+window.scrollY>=document.body.offsetHeight,r=e.filter((function(){var n=t(this);if("none"!=n.css("display")){var e=i.scrollTop(),r=e+a,d=n.offset().top;return d+n.height()>=e-o.threshold&&d<=r+o.threshold||l}}));n=r.trigger("lazyload"),e=e.not(n)}function c(n){n.one("lazyload",(function(){var n,a,i;n=t(this),a=n.attr(o.attrib),i=n.prop("tagName"),a?(n.addClass("lazy-loading"),/^(IMG|IFRAME|AUDIO|EMBED|SOURCE|TRACK|VIDEO)$/.test(i)?(n.attr("src",a),n[0].onload=function(t){r(n)}):n.data("script")?t.getScript(a,(function(t){r(n)})):n.load(a,(function(t){r(n)}))):r(n)})),d()}return i.on("scroll.lazy resize.lazy lookup.lazy",(function(t){a&&clearTimeout(a),a=setTimeout((function(){i.trigger("lazyupdate")}),o.throttle)})),i.on("lazyupdate.lazy",(function(t){d()})),o.live&&t(document).on("ajaxSuccess.lazy",(function(){var o=t(l).not(".lazy-loaded").not(".lazy-loading");e=e.add(o),c(o)})),o.printable&&window.matchMedia&&window.matchMedia("print").addListener((function(o){o.matches&&t(l).trigger("lazyload")})),c(this),this},t.fn.derecliner=function(o){var n=t(window);n.off("scroll.lazy resize.lazy lookup.lazy"),n.off("lazyupdate.lazy"),t(document).off("ajaxSuccess.lazy")}}(jQuery);