!function(){function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}var e=t(function(t){!function(e,i){var r=function(t,e){"use strict";if(e.getElementsByClassName){var i,r,a=e.documentElement,n=t.Date,s=t.HTMLPictureElement,o=t.addEventListener,l=t.setTimeout,c=t.requestAnimationFrame||l,u=t.requestIdleCallback,d=/^picture$/i,f=["load","error","lazyincluded","_lazyloaded"],g={},p=Array.prototype.forEach,y=function(t,e){return g[e]||(g[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),g[e].test(t.getAttribute("class")||"")&&g[e]},z=function(t,e){y(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},v=function(t,e){var i;(i=y(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(i," "))},m=function(t,e,i){var r=i?"addEventListener":"removeEventListener";i&&m(t,e),f.forEach(function(i){t[r](i,e)})},b=function(t,r,a,n,s){var o=e.createEvent("Event");return a||(a={}),a.instance=i,o.initEvent(r,!n,!s),o.detail=a,t.dispatchEvent(o),o},A=function(e,i){var a;!s&&(a=t.picturefill||r.pf)?(i&&i.src&&!e.getAttribute("srcset")&&e.setAttribute("srcset",i.src),a({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},h=function(t,e){return(getComputedStyle(t,null)||{})[e]},C=function(t,e,i){for(i=i||t.offsetWidth;i49?function(){u(o,{timeout:s}),s!==r.ricTimeout&&(s=r.ricTimeout)}:w(function(){l(o)},!0);return function(t){var r;(t=!0===t)&&(s=33),e||(e=!0,r=a-(n.now()-i),r<0&&(r=0),t||r<9?c():l(c,r))}},S=function(t){var e,i,r=function(){e=null,t()},a=function(){var t=n.now()-i;t<99?l(a,99-t):(u||r)(r)};return function(){i=n.now(),e||(e=l(a,99))}};!function(){var e,i={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};r=t.lazySizesConfig||t.lazysizesConfig||{};for(e in i)e in r||(r[e]=i[e]);t.lazySizesConfig=r,l(function(){r.init&&L()})}();var N=function(){var s,c,u,f,g,C,N,L,M,x,F,T,j=/^img$/i,W=/^iframe$/i,R="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),k=0,O=0,B=-1,I=function(t){O--,(!t||O<0||!t.target)&&(O=0)},$=function(t){return null==T&&(T="hidden"==h(e.body,"visibility")),T||"hidden"!=h(t.parentNode,"visibility")&&"hidden"!=h(t,"visibility")},H=function(t,i){var r,n=t,s=$(t);for(L-=i,F+=i,M-=i,x+=i;s&&(n=n.offsetParent)&&n!=e.body&&n!=a;)(s=(h(n,"opacity")||1)>0)&&"visible"!=h(n,"overflow")&&(r=n.getBoundingClientRect(),s=x>r.left&&Mr.top-1&&L500&&a.clientWidth>500?500:370:r.expand,i._defEx=z,v=z*r.expFactor,m=r.hFac,T=null,k2&&f>2&&!e.hidden?(k=v,B=0):k=f>1&&B>1&&O<6?z:0;n=g&&(L=o.top)<=N&&(x=o.right)>=g*m&&(M=o.left)<=C&&(F||x||M||L)&&(r.loadHidden||$(b[n]))&&(c&&O<3&&!p&&(f<3||B<4)||H(b[n],d))){if(K(b[n]),u=!0,O>9)break}else!u&&c&&!l&&O<4&&B<4&&f>2&&(s[0]||r.preloadAfterLoad)&&(s[0]||!p&&(F||x||M||L||"auto"!=b[n].getAttribute(r.sizesAttr)))&&(l=s[0]||b[n]);else K(b[n]);l&&!u&&K(l)}},D=_(U),q=function(t){var e=t.target;if(e._lazyCache)return void delete e._lazyCache;I(t),z(e,r.loadedClass),v(e,r.loadingClass),m(e,J),b(e,"lazyloaded")},X=w(q),J=function(t){X({target:t.target})},Q=function(t,e){try{t.contentWindow.location.replace(e)}catch(i){t.src=e}},V=function(t){var e,i=t.getAttribute(r.srcsetAttr);(e=r.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},G=w(function(t,e,i,a,n){var s,o,c,f,g,y;(g=b(t,"lazybeforeunveil",e)).defaultPrevented||(a&&(i?z(t,r.autosizesClass):t.setAttribute("sizes",a)),o=t.getAttribute(r.srcsetAttr),s=t.getAttribute(r.srcAttr),n&&(c=t.parentNode,f=c&&d.test(c.nodeName||"")),y=e.firesLoad||"src"in t&&(o||s||f),g={target:t},z(t,r.loadingClass),y&&(clearTimeout(u),u=l(I,2500),m(t,J,!0)),f&&p.call(c.getElementsByTagName("source"),V),o?t.setAttribute("srcset",o):s&&!f&&(W.test(t.nodeName)?Q(t,s):t.src=s),n&&(o||f)&&A(t,{src:s})),t._lazyRace&&delete t._lazyRace,v(t,r.lazyClass),E(function(){var e=t.complete&&t.naturalWidth>1;y&&!e||(e&&z(t,"ls-is-cached"),q(g),t._lazyCache=!0,l(function(){"_lazyCache"in t&&delete t._lazyCache},9))},!0)}),K=function(t){var e,i=j.test(t.nodeName),a=i&&(t.getAttribute(r.sizesAttr)||t.getAttribute("sizes")),n="auto"==a;(!n&&c||!i||!t.getAttribute("src")&&!t.srcset||t.complete||y(t,r.errorClass)||!y(t,r.lazyClass))&&(e=b(t,"lazyunveilread").detail,n&&P.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,O++,G(t,e,n,a,i))},Y=function(){if(!c){if(n.now()-g<999)return void l(Y,999);var t=S(function(){r.loadMode=3,D()});c=!0,r.loadMode=3,D(),o("scroll",function(){3==r.loadMode&&(r.loadMode=2),t()},!0)}};return{_:function(){g=n.now(),i.elements=e.getElementsByClassName(r.lazyClass),s=e.getElementsByClassName(r.lazyClass+" "+r.preloadClass),o("scroll",D,!0),o("resize",D,!0),t.MutationObserver?new MutationObserver(D).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a.addEventListener("DOMNodeInserted",D,!0),a.addEventListener("DOMAttrModified",D,!0),setInterval(D,999)),o("hashchange",D,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){e.addEventListener(t,D,!0)}),/d$|^c/.test(e.readyState)?Y():(o("load",Y),e.addEventListener("DOMContentLoaded",D),l(Y,2e4)),i.elements.length?(U(),E._lsFlush()):D()},checkElems:D,unveil:K}}(),P=function(){var t,i=w(function(t,e,i,r){var a,n,s;if(t._lazysizesWidth=r,r+="px",t.setAttribute("sizes",r),d.test(e.nodeName||""))for(a=e.getElementsByTagName("source"),n=0,s=a.length;n40&&(i=e/r)&&("cover"==o&&ia)&&(n=e*(a/i)),n):e}};i.parentFit=l,e.addEventListener("lazybeforesizes",function(t){if(!t.defaultPrevented&&t.detail.instance==i){var e=t.target;t.detail.width=l.calculateSize(e,t.detail.width)}})}})}),t(function(t){!function(i,r){var a=function(){r(i.lazySizes),i.removeEventListener("lazyunveilread",a,!0)};r=r.bind(null,i,i.document),"object"==typeof t&&t.exports?r(e):i.lazySizes?a():i.addEventListener("lazyunveilread",a,!0)}(window,function(t,e,i){"use strict";function r(e,i){var r,a,n,s,o=t.getComputedStyle(e);a=e.parentNode,s={isPicture:!(!a||!f.test(a.nodeName||""))},n=function(t,i){var r=e.getAttribute("data-"+t);if(!r){var a=o.getPropertyValue("--ls-"+t);a&&(r=a.trim())}if(r){if("true"==r)r=!0;else if("false"==r)r=!1;else if(d.test(r))r=parseFloat(r);else if("function"==typeof c[t])r=c[t](e,r);else if(z.test(r))try{r=JSON.parse(r)}catch(t){}s[t]=r}else t in c&&"function"!=typeof c[t]?s[t]=c[t]:i&&"function"==typeof c[t]&&(s[t]=c[t](e,r))};for(r in c)n(r);return i.replace(y,function(t,e){e in s||n(e,!0)}),s}function a(t,e){var i=[],r=function(t,i){return u[typeof e[i]]?e[i]:t};return i.srcset=[],e.absUrl&&(m.setAttribute("href",t),t=m.href),t=((e.prefix||"")+t+(e.postfix||"")).replace(y,r),e.widths.forEach(function(r){var a=e.widthmap[r]||r,n=e.aspectratio||e.ratio,s=!e.aspectratio&&c.traditionalRatio,o={u:t.replace(g,a).replace(p,n?s?Math.round(r*n):Math.round(r/n):""),w:r};i.push(o),i.srcset.push(o.c=o.u+" "+r+"w")}),i}function n(t,i,r){var n=0,s=0,o=r;if(t){if("container"===i.ratio){for(n=o.scrollWidth,s=o.scrollHeight;!(n&&s||o===e);)o=o.parentNode,n=o.scrollWidth,s=o.scrollHeight;n&&s&&(i.ratio=s/n)}t=a(t,i),t.isPicture=i.isPicture,A&&"IMG"==r.nodeName.toUpperCase()?r.removeAttribute(l.srcsetAttr):r.setAttribute(l.srcsetAttr,t.srcset.join(", ")),Object.defineProperty(r,"_lazyrias",{value:t,writable:!0})}}function s(t,e){var a=r(t,e);return c.modifyOptions.call(t,{target:t,details:a,detail:a}),i.fire(t,"lazyriasmodifyoptions",a),a}function o(t){return t.getAttribute(t.getAttribute("data-srcattr")||c.srcAttr)||t.getAttribute(l.srcsetAttr)||t.getAttribute(l.srcAttr)||t.getAttribute("data-pfsrcset")||""}var l,c,u={string:1,number:1},d=/^\-*\+*\d+\.*\d*$/,f=/^picture$/i,g=/\s*\{\s*width\s*\}\s*/i,p=/\s*\{\s*height\s*\}\s*/i,y=/\s*\{\s*([a-z0-9]+)\s*\}\s*/gi,z=/^\[.*\]|\{.*\}$/,v=/^(?:auto|\d+(px)?)$/,m=e.createElement("a"),b=e.createElement("img"),A="srcset"in b&&!("sizes"in b),h=!!t.HTMLPictureElement&&!A;!function(){var e,r=function(){},a={prefix:"",postfix:"",srcAttr:"data-src",absUrl:!1,modifyOptions:r,widthmap:{},ratio:!1,traditionalRatio:!1,aspectratio:!1};l=i&&i.cfg||t.lazySizesConfig,l||(l={},t.lazySizesConfig=l),l.supportsType||(l.supportsType=function(t){return!t}),l.rias||(l.rias={}),"widths"in(c=l.rias)||(c.widths=[],function(t){for(var e,i=0;!e||e<3e3;)i+=5,i>30&&(i+=1),e=36*i,t.push(e)}(c.widths));for(e in a)e in c||(c[e]=a[e])}(),addEventListener("lazybeforesizes",function(t){if(t.detail.instance==i){var e,r,a,u,d,f,p,y,z,m,b,A,E;if(e=t.target,t.detail.dataAttr&&!t.defaultPrevented&&!c.disabled&&(z=e.getAttribute(l.sizesAttr)||e.getAttribute("sizes"))&&v.test(z)){if(r=o(e),a=s(e,r),b=g.test(a.prefix)||g.test(a.postfix),a.isPicture&&(u=e.parentNode))for(d=u.getElementsByTagName("source"),f=0,p=d.length;f=t.d){!a.cached&&(e=t[n-1])&&e.d>t.d-.13*Math.pow(t.d,2.2)&&(i=Math.pow(e.d-.6,1.6),e.cached&&(e.d+=.15*i),e.d+(a.d-t.d)*i>t.d&&(a=e));break}return a},n=function(t,e){var r;return!t._lazyrias&&i.pWS&&(r=i.pWS(t.getAttribute(l.srcsetAttr||""))).length&&(Object.defineProperty(t,"_lazyrias",{value:r,writable:!0}),e&&t.parentNode&&(r.isPicture="PICTURE"==t.parentNode.nodeName.toUpperCase())),t._lazyrias},s=function(e){var r=t.devicePixelRatio||1,a=i.getX&&i.getX(e);return Math.min(a||r,2.4,r)},o=function(e,i){var o,l,c,u,d,f;if(d=e._lazyrias,d.isPicture&&t.matchMedia)for(l=0,o=e.parentNode.getElementsByTagName("source"),c=o.length;lt._lazysizesWidth)&&(t._lazysizesWidth=e),t._lazysizesWidth},u=function(t){var e;return e=(getComputedStyle(t)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!l[e]&&l[t.style.backgroundSize]&&(e=t.style.backgroundSize),e},d=function(t,e){if(e){var i=e.match(s);i&&i[1]?t.setAttribute("type",i[1]):t.setAttribute("media",lazySizesConfig.customMedia[e]||e)}},f=function(t,i,s){var o=e.createElement("picture"),l=i.getAttribute(lazySizesConfig.sizesAttr),c=i.getAttribute("data-ratio"),u=i.getAttribute("data-optimumx");i._lazybgset&&i._lazybgset.parentNode==i&&i.removeChild(i._lazybgset),Object.defineProperty(s,"_lazybgset",{value:i,writable:!0}),Object.defineProperty(i,"_lazybgset",{value:o,writable:!0}),t=t.replace(r," ").split(a),o.style.display="none",s.className=lazySizesConfig.lazyClass,1!=t.length||l||(l="auto"),t.forEach(function(t){var i,r=e.createElement("source");l&&"auto"!=l&&r.setAttribute("sizes",l),(i=t.match(n))?(r.setAttribute(lazySizesConfig.srcsetAttr,i[1]),d(r,i[2]),d(r,i[3])):r.setAttribute(lazySizesConfig.srcsetAttr,t),o.appendChild(r)}),l&&(s.setAttribute(lazySizesConfig.sizesAttr,l),i.removeAttribute(lazySizesConfig.sizesAttr),i.removeAttribute("sizes")),u&&s.setAttribute("data-optimumx",u),c&&s.setAttribute("data-ratio",c),o.appendChild(s),i.appendChild(o)},g=function(t){if(t.target._lazybgset){var e=t.target,r=e._lazybgset,a=e.currentSrc||e.src;if(a){var n=i.fire(r,"bgsetproxy",{src:a,useSrc:o.test(a)?JSON.stringify(a):a});n.defaultPrevented||(r.style.backgroundImage="url("+n.detail.useSrc+")")}e._lazybgsetLoading&&(i.fire(r,"_lazyloaded",{},!1,!0),delete e._lazybgsetLoading)}};addEventListener("lazybeforeunveil",function(t){var r,a,n;!t.defaultPrevented&&(r=t.target.getAttribute("data-bgset"))&&(n=t.target,a=e.createElement("img"),a.alt="",a._lazybgsetLoading=!0,t.detail.firesLoad=!0,f(r,n,a),setTimeout(function(){i.loader.unveil(a),i.rAF(function(){i.fire(a,"_lazyloaded",{},!0,!0),a.complete&&g({target:a})})}))}),e.addEventListener("load",g,!0),t.addEventListener("lazybeforesizes",function(t){if(t.detail.instance==i&&t.target._lazybgset&&t.detail.dataAttr){var e=t.target._lazybgset,r=u(e);l[r]&&(t.target._lazysizesParentFit=r,i.rAF(function(){t.target.setAttribute("data-parent-fit",r),t.target._lazysizesParentFit&&delete t.target._lazysizesParentFit}))}},!0),e.documentElement.addEventListener("lazybeforesizes",function(t){!t.defaultPrevented&&t.target._lazybgset&&t.detail.instance==i&&(t.detail.width=c(t.target._lazybgset))})}})}),t(function(t){!function(i,r){var a=function(){r(i.lazySizes),i.removeEventListener("lazyunveilread",a,!0)};r=r.bind(null,i,i.document),"object"==typeof t&&t.exports?r(e):i.lazySizes?a():i.addEventListener("lazyunveilread",a,!0)}(window,function(t,e,i){"use strict";var r,a=i&&i.cfg,n=e.createElement("img"),s="sizes"in n&&"srcset"in n,o=/\s+\d+h/g,l=function(){var t=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,r=Array.prototype.forEach;return function(){var a=e.createElement("img"),n=function(e){var i,r,a=e.getAttribute(lazySizesConfig.srcsetAttr);a&&(r=a.match(t))&&(i="w"==r[2]?r[1]/r[3]:r[3]/r[1],i&&e.setAttribute("data-aspectratio",i),e.setAttribute(lazySizesConfig.srcsetAttr,a.replace(o,"")))},s=function(t){if(t.detail.instance==i){var e=t.target.parentNode;e&&"PICTURE"==e.nodeName&&r.call(e.getElementsByTagName("source"),n),n(t.target)}},l=function(){a.currentSrc&&e.removeEventListener("lazybeforeunveil",s)};e.addEventListener("lazybeforeunveil",s),a.onload=l,a.onerror=l,a.srcset="data:,a 1w 1h",a.complete&&l()}}();if(a.supportsType||(a.supportsType=function(t){return!t}),t.HTMLPictureElement&&s)return void(!i.hasHDescriptorFix&&e.msElementsFromPoint&&(i.hasHDescriptorFix=!0,l()));t.picturefill||a.pf||(a.pf=function(e){var i,a;if(!t.picturefill)for(i=0,a=e.elements.length;i=t.d){!a.cached&&(e=t[n-1])&&e.d>t.d-.13*Math.pow(t.d,2.2)&&(i=Math.pow(e.d-.6,1.6),e.cached&&(e.d+=.15*i),e.d+(a.d-t.d)*i>t.d&&(a=e));break}return a},u=function(){var t,e=/(([^,\s].[^\s]+)\s+(\d+)w)/g,i=/\s/,r=function(e,i,r,a){t.push({c:i,u:r,w:1*a})};return function(a){return t=[],a=a.trim(),a.replace(o,"").replace(e,r),t.length||!a||i.test(a)||t.push({c:a,u:a,w:99}),t}}(),d=function(){d.init||(d.init=!0,addEventListener("resize",function(){var t,i=e.getElementsByClassName("lazymatchmedia"),a=function(){var t,e;for(t=0,e=i.length;t1?(y=o.getAttribute("sizes")||"",y=l.test(y)&&parseInt(y,10)||i.gW(t,t.parentNode),u.d=g(t),!u.src||!u.w||u.w img:not([srcset])."].forEach(function(e){t.push(e+a.loadedClass),t.push(e+a.loadingClass)}),a.pf({elements:e.querySelectorAll(t.join(", "))})}())})})}();