!function(t,e){var n=e(t,t.document);t.lazySizes=n,"object"==typeof module&&module.exports&&(module.exports=n)}(window,function(t,e){"use strict";if(e.getElementsByClassName){var n,i=e.documentElement,a=t.Date,r=t.HTMLPictureElement,s=t.addEventListener,o=t.setTimeout,l=t.requestAnimationFrame||o,u=t.requestIdleCallback,d=/^picture$/i,c=["load","error","lazyincluded","_lazyloaded"],f={},g=Array.prototype.forEach,m=function(t,e){return f[e]||(f[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),f[e].test(t.getAttribute("class")||"")&&f[e]},v=function(t,e){m(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},z=function(t,e){var n;(n=m(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(n," "))},y=function(t,e,n){var i=n?"addEventListener":"removeEventListener";n&&y(t,e),c.forEach(function(n){t[i](n,e)})},h=function(t,n,i,a,r){var s=e.createEvent("CustomEvent");return s.initCustomEvent(n,!a,!r,i||{}),t.dispatchEvent(s),s},b=function(e,i){var a;!r&&(a=t.picturefill||n.pf)?a({reevaluate:!0,elements:[e]}):i&&i.src&&(e.src=i.src)},A=function(t,e){return(getComputedStyle(t,null)||{})[e]},p=function(t,e,i){for(i=i||t.offsetWidth;i0)&&"visible"!=A(r,"overflow")&&(a=r.getBoundingClientRect(),s=B>a.left&&xa.top-1&&W500&&i.clientWidth>500?500:370),S=n.expand,R=S*n.expFactor),$2&&f>2&&!e.hidden?($=R,H=0):$=f>1&&H>1&&D<6?S:0;for(;a=g&&(W=s.top)<=L&&(B=s.right)>=g*k&&(x=s.left)<=M&&(F||B||x||W)&&(u&&D<3&&!m&&(f<3||H<4)||q(r[a],c))){if(Y(r[a]),d=!0,D>9)break}else!d&&u&&!o&&D<4&&H<4&&f>2&&(l[0]||n.preloadAfterLoad)&&(l[0]||!m&&(F||B||x||W||"auto"!=r[a].getAttribute(n.sizesAttr)))&&(o=l[0]||r[a]);else Y(r[a]);o&&!d&&Y(o)}},G=N(j),J=function(t){v(t.target,n.loadedClass),z(t.target,n.loadingClass),y(t.target,Q)},K=E(J),Q=function(t){K({target:t.target})},U=function(t,e){try{t.contentWindow.location.replace(e)}catch(n){t.src=e}},V=function(t){var e,i,a=t.getAttribute(n.srcsetAttr);(e=n.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),a&&t.setAttribute("srcset",a),e&&((i=t.parentNode).insertBefore(t.cloneNode(),t),i.removeChild(t))},X=E(function(t,e,i,a,r){var s,l,u,f,m,A,p;(m=h(t,"lazybeforeunveil",e)).defaultPrevented||(a&&(i?v(t,n.autosizesClass):t.setAttribute("sizes",a)),l=t.getAttribute(n.srcsetAttr),s=t.getAttribute(n.srcAttr),p=t.getAttribute(n.styleAttr),r&&(f=(u=t.parentNode)&&d.test(u.nodeName||"")),A=e.firesLoad||"src"in t&&(l||s||f),m={target:t},A&&(y(t,I,!0),clearTimeout(c),c=o(I,2500),v(t,n.loadingClass),y(t,Q,!0)),f&&g.call(u.getElementsByTagName("source"),V),l?t.setAttribute("srcset",l):s&&!f&&(P.test(t.nodeName)?U(t,s):t.src=s),p&&t.setAttribute("style",p),(l||f)&&b(t,{src:s})),t._lazyRace&&delete t._lazyRace,z(t,n.lazyClass),C(function(){(!A||t.complete&&t.naturalWidth>1)&&(A?I(m):D--,J(m))},!0),h(t,"lazyafterunveil",e)}),Y=function(t){var e,i=O.test(t.nodeName),a=i&&(t.getAttribute(n.sizesAttr)||t.getAttribute("sizes")),r="auto"==a;(!r&&u||!i||!t.src&&!t.srcset||t.complete||m(t,n.errorClass))&&(e=h(t,"lazyunveilread").detail,r&&_.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,D++,X(t,e,r,a,i))},Z=function(){if(!u)if(a.now()-p<999)o(Z,999);else{var t=w(function(){n.loadMode=3,G()});u=!0,n.loadMode=3,G(),s("scroll",function(){3==n.loadMode&&(n.loadMode=2),t()},!0)}};return{_:function(){p=a.now(),r=e.getElementsByClassName(n.lazyClass),l=e.getElementsByClassName(n.lazyClass+" "+n.preloadClass),k=n.hFac,s("scroll",G,!0),s("resize",G,!0),t.MutationObserver?new MutationObserver(G).observe(i,{childList:!0,subtree:!0,attributes:!0}):(i.addEventListener("DOMNodeInserted",G,!0),i.addEventListener("DOMAttrModified",G,!0),setInterval(G,999)),s("hashchange",G,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){e.addEventListener(t,G,!0)}),/d$|^c/.test(e.readyState)?Z():(s("load",Z),e.addEventListener("DOMContentLoaded",G),o(Z,2e4)),r.length?(j(),C._lsFlush()):G()},checkElems:G,unveil:Y}}(),_=function(){var t,i=E(function(t,e,n,i){var a,r,s;if(t._lazysizesWidth=i,i+="px",t.setAttribute("sizes",i),d.test(e.nodeName||""))for(r=0,s=(a=e.getElementsByTagName("source")).length;r