text: !function(t,e){var i=function(n,d){"use strict";if(d.getElementsByClassName){var u,f,m=d.documentElement,s=n.Date,a=n.HTMLPictureElement,r="addEventListener",z="getAttribute",e=n[r],v=n.setTimeout,i=n.requestAnimationFrame||v,o=n.requestIdleCallback,y=/^picture$/i,l=["load","error","lazyincluded","_lazyloaded"],c={},g=Array.prototype.forEach,h=function(t,e){return c[e]||(c[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),c[e].test(t[z]("class")||"")&&c[e]},p=function(t,e){h(t,e)||t.setAttribute("class",(t[z]("class")||"").trim()+" "+e)},C=function(t,e){var i;(i=h(t,e))&&t.setAttribute("class",(t[z]("class")||"").replace(i," "))},b=function(e,i,t){var n=t?r:"removeEventListener";t&&b(e,i),l.forEach(function(t){e[n](t,i)})},A=function(t,e,i,n,a){var s=d.createEvent("CustomEvent");return i||(i={}),i.instance=u,s.initCustomEvent(e,!n,!a,i),t.dispatchEvent(s),s},E=function(t,e){var i;!a&&(i=n.picturefill||f.pf)?(e&&e.src&&!t[z]("srcset")&&t.setAttribute("srcset",e.src),i({reevaluate:!0,elements:[t]})):e&&e.src&&(t.src=e.src)},w=function(t,e){return(getComputedStyle(t,null)||{})[e]},M=function(t,e,i){for(i=i||t.offsetWidth;i<f.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i},N=(At=[],Et=bt=[],(Mt=function(t,e){pt&&!e?t.apply(this,arguments):(Et.push(t),Ct||(Ct=!0,(d.hidden?v:i)(wt)))})._lsFlush=wt=function(){var t=Et;for(Et=bt.length?At:bt,Ct=!(pt=!0);t.length;)t.shift()();pt=!1},Mt),t=function(i,t){return t?function(){N(i)}:function(){var t=this,e=arguments;N(function(){i.apply(t,e)})}},_=function(t){var e,i,n=function(){e=null,t()},a=function(){var t=s.now()-i;t<99?v(a,99-t):(o||n)(n)};return function(){i=s.now(),e||(e=v(a,99))}};!function(){var t,e={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in f=n.lazySizesConfig||n.lazysizesConfig||{},e)t in f||(f[t]=e[t]);n.lazySizesConfig=f,v(function(){f.init&&T()})}();var W=(it=/^img$/i,nt=/^iframe$/i,at="onscroll"in n&&!/(gle|ing)bot/.test(navigator.userAgent),ot=-1,lt=function(t){rt--,t&&t.target&&b(t.target,lt),(!t||rt<0||!t.target)&&(rt=0)},ct=function(t,e){var i,n=t,a="hidden"==w(d.body,"visibility")||"hidden"!=w(t.parentNode,"visibility")&&"hidden"!=w(t,"visibility");for(I-=e,G+=e,q-=e,j+=e;a&&(n=n.offsetParent)&&n!=d.body&&n!=m;)(a=0<(w(n,"opacity")||1))&&"visible"!=w(n,"overflow")&&(i=n.getBoundingClientRect(),a=j>i.left&&q<i.right&&G>i.top-1&&I<i.bottom+1);return a},U=dt=function(){var t,e,i,n,a,s,r,o,l,c=u.elements;if((H=f.loadMode)&&rt<8&&(t=c.length)){e=0,ot++,null==K&&("expand"in f||(f.expand=500<m.clientHeight&&500<m.clientWidth?500:370),J=f.expand,K=J*f.expFactor),st<K&&rt<1&&2<ot&&2<H&&!d.hidden?(st=K,ot=0):st=1<H&&1<ot&&rt<6?J:0;for(;e<t;e++)if(c[e]&&!c[e]._lazyRace)if(at)if((o=c[e][z]("data-expand"))&&(s=1*o)||(s=st),l!==s&&(P=innerWidth+s*Q,$=innerHeight+s,r=-1*s,l=s),i=c[e].getBoundingClientRect(),(G=i.bottom)>=r&&(I=i.top)<=$&&(j=i.right)>=r*Q&&(q=i.left)<=P&&(G||j||q||I)&&(f.loadHidden||"hidden"!=w(c[e],"visibility"))&&(k&&rt<3&&!o&&(H<3||ot<4)||ct(c[e],s))){if(gt(c[e]),a=!0,9<rt)break}else!a&&k&&!n&&rt<4&&ot<4&&2<H&&(R[0]||f.preloadAfterLoad)&&(R[0]||!o&&(G||j||q||I||"auto"!=c[e][z](f.sizesAttr)))&&(n=R[0]||c[e]);else gt(c[e]);n&&!a&&gt(n)}},X=rt=st=0,Y=f.throttleDelay,Z=f.ricTimeout,tt=function(){V=!1,X=s.now(),U()},et=o&&49<Z?function(){o(tt,{timeout:Z}),Z!==f.ricTimeout&&(Z=f.ricTimeout)}:t(function(){v(tt)},!0),ut=function(t){var e;(t=!0===t)&&(Z=33),V||(V=!0,(e=Y-(s.now()-X))<0&&(e=0),t||e<9?et():v(et,e))},mt=t(ft=function(t){p(t.target,f.loadedClass),C(t.target,f.loadingClass),b(t.target,zt),A(t.target,"lazyloaded")}),zt=function(t){mt({target:t.target})},vt=function(t){var e,i=t[z](f.srcsetAttr);(e=f.customMedia[t[z]("data-media")||t[z]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},yt=t(function(t,e,i,n,a){var s,r,o,l,c,d;(c=A(t,"lazybeforeunveil",e)).defaultPrevented||(n&&(i?p(t,f.autosizesClass):t.setAttribute("sizes",n)),r=t[z](f.srcsetAttr),s=t[z](f.srcAttr),a&&(o=t.parentNode,l=o&&y.test(o.nodeName||"")),d=e.firesLoad||"src"in t&&(r||s||l),c={target:t},d&&(b(t,lt,!0),clearTimeout(D),D=v(lt,2500),p(t,f.loadingClass),b(t,zt,!0)),l&&g.call(o.getElementsByTagName("source"),vt),r?t.setAttribute("srcset",r):s&&!l&&(nt.test(t.nodeName)?function(e,i){try{e.contentWindow.location.replace(i)}catch(t){e.src=i}}(t,s):t.src=s),a&&(r||l)&&E(t,{src:s})),t._lazyRace&&delete t._lazyRace,C(t,f.lazyClass),N(function(){(!d||t.complete&&1<t.naturalWidth)&&(d?lt(c):rt--,ft(c))},!0)}),ht=function(){if(!k){if(s.now()-O<999)return void v(ht,999);var t=_(function(){f.loadMode=3,ut()});k=!0,f.loadMode=3,ut(),e("scroll",function(){3==f.loadMode&&(f.loadMode=2),t()},!0)}},{_:function(){O=s.now(),u.elements=d.getElementsByClassName(f.lazyClass),R=d.getElementsByClassName(f.lazyClass+" "+f.preloadClass),Q=f.hFac,e("scroll",ut,!0),e("resize",ut,!0),n.MutationObserver?new MutationObserver(ut).observe(m,{childList:!0,subtree:!0,attributes:!0}):(m[r]("DOMNodeInserted",ut,!0),m[r]("DOMAttrModified",ut,!0),setInterval(ut,999)),e("hashchange",ut,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){d[r](t,ut,!0)}),/d$|^c/.test(d.readyState)?ht():(e("load",ht),d[r]("DOMContentLoaded",ut),v(ht,2e4)),u.elements.length?(dt(),N._lsFlush()):ut()},checkElems:ut,unveil:gt=function(t){var e,i=it.test(t.nodeName),n=i&&(t[z](f.sizesAttr)||t[z]("sizes")),a="auto"==n;(!a&&k||!i||!t[z]("src")&&!t.srcset||t.complete||h(t,f.errorClass)||!h(t,f.lazyClass))&&(e=A(t,"lazyunveilread").detail,a&&x.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,rt++,yt(t,e,a,n,i))}}),x=(F=t(function(t,e,i,n){var a,s,r;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),y.test(e.nodeName||""))for(a=e.getElementsByTagName("source"),s=0,r=a.length;s<r;s++)a[s].setAttribute("sizes",n);i.detail.dataAttr||E(t,i.detail)}),S=function(t,e,i){var n,a=t.parentNode;a&&(i=M(t,a,i),(n=A(t,"lazybeforesizes",{width:i,dataAttr:!!e})).defaultPrevented||(i=n.detail.width)&&i!==t._lazysizesWidth&&F(t,a,n,i))},{_:function(){B=d.getElementsByClassName(f.autosizesClass),e("resize",L)},checkElems:L=_(function(){var t,e=B.length;if(e)for(t=0;t<e;t++)S(B[t])}),updateElem:S}),T=function(){T.i||(T.i=!0,x._(),W._())};return u={cfg:f,autoSizer:x,loader:W,init:T,uP:E,aC:p,rC:C,hC:h,fire:A,gW:M,rAF:N}}var B,F,S,L;var R,k,D,H,O,P,$,I,q,j,G,J,K,Q,U,V,X,Y,Z,tt,et,it,nt,at,st,rt,ot,lt,ct,dt,ut,ft,mt,zt,vt,yt,gt,ht;var pt,Ct,bt,At,Et,wt,Mt}(t,t.document);t.lazySizes=i,"object"==typeof module&&module.exports&&(module.exports=i)}(window);