!function(e,t){var i=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",i,!0)};t=t.bind(null,e,e.document),e.lazySizes?i():e.addEventListener("lazyunveilread",i,!0)}(window,function(e,t,i){if(e.addEventListener){var n={calculateSize:function(t,i){var n,a=(n=t,e.getComputedStyle(n,null)||{});if(a&&a.objectFit&&"cover"===a.objectFit){var l=parseInt(t.getAttribute("height"),10),r=parseInt(t.getAttribute("width"),10);l&&r/l>t.clientWidth/t.clientHeight&&(i=parseInt(t.clientHeight*r/l,10))}return i}};i.objectFitCover=n,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail&&e.detail.width&&e.target&&e.detail.instance===i){var t=e.target;e.detail.width=n.calculateSize(t,e.detail.width)}})}});