function _extends(){return(_extends=object.assign||function(t){for(var e=1;e-1&&(k(t,e),h(t,o.class_loading)),m(t,e),function(t){s(t,"was-processed","true")}(t),d(o.callback_reveal,t),d(o.callback_set,t))},o=function(t){return!!n&&(t._observer=new intersectionobserver(function(e){e.foreach(function(e){return function(t){return t.isintersecting||t.intersectionratio>0}(e)?function(t,e){var n=e._settings;d(n.callback_enter,t),n.load_delay?a(t,e):l(t,e)}(e.target,t):function(t,e){var n=e._settings;d(n.callback_exit,t),n.load_delay&&x(t)}(e.target,t)})},{root:(e=t._settings).container===document?null:e.container,rootmargin:e.thresholds||e.threshold+"px"}),!0);var e},n=function(t,e){this._settings=function(t){return _extends({},r,t)}(t),this._loadingcount=0,o(this),this.update(e)};return n.prototype={update:function(t){var n=this,o=this._settings,r=t||o.container.queryselectorall(o.elements_selector);this._elements=function(t){return t.filter(function(t){return!i(t)})}(array.prototype.slice.call(r)),!e&&this._observer?this._elements.foreach(function(t){n._observer.observe(t)}):this.loadall()},destroy:function(){var t=this;this._observer&&(this._elements.foreach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){z(t,this,e)},loadall:function(){var t=this;this._elements.foreach(function(e){l(e,t)})}},t&&function(t,e){if(e)if(e.length)for(var n,o=0;n=e[o];o+=1)u(t,n);else u(t,e)}(n,window.lazyloadoptions),n}); //# sourcemappingurl=lazyload.min.js.map