vendor: 4,137 bytes, line 1
1var LazyLoad=function(){"use strict";const e="undefined"!=typeof window,t=e&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),a=e&&window.devicePixelRatio>1,n={elements_selector:".lazy",container:t||e?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},s=e=>Object.assign({},n,e),l=function(e,t){let a;const n="LazyLoad::Initialized",s=new e(t);try{a=new CustomEvent(n,{detail:{instance:s}})}catch(e){a=document.createEvent("CustomEvent"),a.initCustomEvent(n,!1,!1,{instance:s})}window.dispatchEvent(a)},o="src",r="srcset",i="sizes",c="poster",d="llOriginalAttrs",_="data",u="loading",g="loaded",b="applied",h="error",m="native",p="data-",v="ll-status",f=(e,t)=>e.getAttribute(p+t),E=e=>f(e,v),I=(e,t)=>((e,t,a)=>{const n=p+t;null!==a?e.setAttribute(n,a):e.removeAttribute(n)})(e,v,t),k=e=>I(e,null),A=e=>null===E(e),L=e=>E(e)===m,y=[u,g,b,h],w=(e,t,a,n)=>{e&&"function"==typeof e&&(void 0===n?void 0===a?e(t):e(t,a):e(t,a,n))},C=(t,a)=>{e&&""!==a&&t.classList.add(a)},O=(t,a)=>{e&&""!==a&&t.classList.remove(a)},x=e=>e.llTempImage,M=(e,t)=>{if(!t)return;const a=t._observer;a&&a.unobserve(e)},z=(e,t)=>{e&&(e.loadingCount+=t)},N=(e,t)=>{e&&(e.toLoadCount=t)},R=e=>{let t=[];for(let a,n=0;a=e.children[n];n+=1)"SOURCE"===a.tagName&&t.push(a);return t},T=(e,t)=>{const a=e.parentNode;if(!a||"PICTURE"!==a.tagName)return;R(a).forEach(t)},G=(e,t)=>{R(e).forEach(t)},D=[o],H=[o,c],V=[o,r,i],F=[_],B=e=>!!e[d],J=e=>e[d],S=e=>delete e[d],j=(e,t)=>{if(B(e))return;const a={};t.forEach(t=>{a[t]=e.getAttribute(t)}),e[d]=a},P=(e,t)=>{if(!B(e))return;const a=J(e);t.forEach(t=>{((e,t,a)=>{a?e.setAttribute(t,a):e.removeAttribute(t)})(e,t,a[t])})},U=(e,t,a)=>{C(e,t.class_applied),I(e,b),a&&(t.unobserve_completed&&M(e,t),w(t.callback_applied,e,a))},$=(e,t,a)=>{C(e,t.class_loading),I(e,u),a&&(z(a,1),w(t.callback_loading,e,a))},q=(e,t,a)=>{a&&e.setAttribute(t,a)},K=(e,t)=>{q(e,i,f(e,t.data_sizes)),q(e,r,f(e,t.data_srcset)),q(e,o,f(e,t.data_src))},Q={IMG:(e,t)=>{T(e,e=>{j(e,V),K(e,t)}),j(e,V),K(e,t)},IFRAME:(e,t)=>{j(e,D),q(e,o,f(e,t.data_src))},VIDEO:(e,t)=>{G(e,e=>{j(e,D),q(e,o,f(e,t.data_src))}),j(e,H),q(e,c,f(e,t.data_poster)),q(e,o,f(e,t.data_src)),e.load()},OBJECT:(e,t)=>{j(e,F),q(e,_,f(e,t.data_src))}},W=["IMG","IFRAME","VIDEO","OBJECT"],X=(e,t)=>{!t||(e=>e.loadingCount>0)(t)||(e=>e.toLoadCount>0)(t)||w(e.callback_finish,t)},Y=(e,t,a)=>{e.addEventListener(t,a),e.llEvLisnrs[t]=a},Z=(e,t,a)=>{e.removeEventListener(t,a)},ee=e=>!!e.llEvLisnrs,te=e=>{if(!ee(e))return;const t=e.llEvLisnrs;for(let a in t){const n=t[a];Z(e,a,n)}delete e.llEvLisnrs},ae=(e,t,a)=>{(e=>{delete e.llTempImage})(e),z(a,-1),(e=>{e&&(e.toLoadCount-=1)})(a),O(e,t.class_loading),t.unobserve_completed&&M(e,a)},ne=(e,t,a)=>{const n=x(e)||e;if(ee(n))return;((e,t,a)=>{ee(e)||(e.llEvLisnrs={});const n="VIDEO"===e.tagName?"loadeddata":"load";Y(e,n,t),Y(e,"error",a)})(n,s=>{((e,t,a,n)=>{const s=L(t);ae(t,a,n),C(t,a.class_loaded),I(t,g),w(a.callback_loaded,t,n),s||X(a,n)})(0,e,t,a),te(n)},s=>{((e,t,a,n)=>{const s=L(t);ae(t,a,n),C(t,a.class_error),I(t,h),w(a.callback_error,t,n),a.restore_on_error&&P(t,V),s||X(a,n)})(0,e,t,a),te(n)})},se=(e,t,n)=>{(e=>{e.llTempImage=document.createElement("IMG")})(e),ne(e,t,n),(e=>{B(e)||(e[d]={backgroundImage:e.style.backgroundImage})})(e),((e,t,n)=>{const s=f(e,t.data_bg),l=f(e,t.data_bg_hidpi),r=a&&l?l:s;r&&(e.style.backgroundImage=`url("${r}")`,x(e).setAttribute(o,r),$(e,t,n))})(e,t,n),((e,t,n)=>{const s=f(e,t.data_bg_multi),l=f(e,t.data_bg_multi_hidpi),o=a&&l?l:s;
1o&&(e.style.backgroundImage=o,U(e,t,n))})(e,t,n),((e,t,a)=>{const n=f(e,t.data_bg_set);if(!n)return;let s=n.split("|").map(e=>`image-set(${e})`);e.style.backgroundImage=s.join(),U(e,t,a)})(e,t,n)},le=(e,t,a)=>{ne(e,t,a),((e,t,a)=>{const n=Q[e.tagName];n&&(n(e,t),$(e,t,a))})(e,t,a)},oe=(e,t,a)=>{(e=>W.indexOf(e.tagName)>-1)(e)?le(e,t,a):se(e,t,a)},re=(e,t,a)=>{e.setAttribute("loading","lazy"),ne(e,t,a),((e,t)=>{const a=Q[e.tagName];a&&a(e,t)})(e,t),I(e,m)},ie=e=>{e.removeAttribute(o),e.removeAttribute(r),e.removeAttribute(i)},ce=e=>{T(e,e=>{P(e,V)}),P(e,V)},de={IMG:ce,IFRAME:e=>{P(e,D)},VIDEO:e=>{G(e,e=>{P(e,D)}),P(e,H),e.load()},OBJECT:e=>{P(e,F)}},_e=e=>{const t=de[e.tagName];t?t(e):(e=>{if(!B(e))return;const t=J(e);e.style.backgroundImage=t.backgroundImage})(e)},ue=(e,t)=>{_e(e),((e,t)=>{A(e)||L(e)||(O(e,t.class_entered),O(e,t.class_exited),O(e,t.class_applied),O(e,t.class_loading),O(e,t.class_loaded),O(e,t.class_error))})(e,t),k(e),S(e)},ge=(e,t,a,n)=>{a.cancel_on_exit&&(e=>E(e)===u)(e)&&"IMG"===e.tagName&&(te(e),(e=>{T(e,e=>{ie(e)}),ie(e)})(e),ce(e),O(e,a.class_loading),z(n,-1),k(e),w(a.callback_cancel,e,t,n))},be=(e,t,a,n)=>{const s=(e=>y.indexOf(E(e))>=0)(e);I(e,"entered"),C(e,a.class_entered),O(e,a.class_exited),((e,t,a)=>{t.unobserve_entered&&M(e,a)})(e,a,n),w(a.callback_enter,e,t,n),s||oe(e,a,n)},he=["IMG","IFRAME","VIDEO"],me=e=>e.use_native&&"loading"in HTMLImageElement.prototype,pe=(e,t,a)=>{e.forEach(e=>(e=>e.isIntersecting||e.intersectionRatio>0)(e)?be(e.target,e,t,a):((e,t,a,n)=>{A(e)||(C(e,a.class_exited),ge(e,t,a,n),w(a.callback_exit,e,t,n))})(e.target,e,t,a))},ve=(e,t)=>{me(e)||(t._observer=new IntersectionObserver(a=>{pe(a,e,t)},(e=>({root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}))(e)))},fe=e=>Array.prototype.slice.call(e),Ee=e=>e.container.querySelectorAll(e.elements_selector),Ie=e=>(e=>E(e)===h)(e),ke=(e,t)=>(e=>fe(e).filter(A))(e||Ee(t)),Ae=(e,t)=>
1{var a;(a=Ee(e),fe(a).filter(Ie)).forEach(t=>{O(t,e.class_error),k(t)}),t.update()},Le=function(t,a){const n=s(t);this._settings=n,this.loadingCount=0,ve(n,this),((t,a)=>{e&&(a._onlineHandler=()=>{Ae(t,a)},window.addEventListener("online",a._onlineHandler))})(n,this),this.update(a)};return Le.prototype={update:function(e){const a=this._settings,n=ke(e,a);var s,l;(N(this,n.length),t)?this.loadAll(n):me(a)?((e,t,a)=>{e.forEach(e=>{-1!==he.indexOf(e.tagName)&&re(e,t,a)}),N(a,0)})(n,a,this):(s=this._observer,l=n,(e=>{e.disconnect()})(s),((e,t)=>{t.forEach(t=>{e.observe(t)})})(s,l))},destroy:function(){var t;this._observer&&this._observer.disconnect(),t=this,e&&window.removeEventListener("online",t._onlineHandler),Ee(this._settings).forEach(e=>{S(e)}),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){const t=this._settings;ke(e,t).forEach(e=>{M(e,this),oe(e,t,this)})},restoreAll:function(){const e=this._settings;Ee(e).forEach(t=>{ue(t,e)})}},Le.load=(e,t)=>{const a=s(t);oe(e,a)},Le.resetStatus=e=>{k(e)},e&&((e,t)=>{if(t)if(t.length)for(let a,n=0;a=t[n];n+=1)l(e,a);else l(e,t)})(Le,window.lazyLoadOptions),Le}();
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.