var Unveil=function(){};Unveil.loader="fa fa-circle-o-notch fa-spin fa-3x fa-fw theme-color-primary",Unveil.addUnveil=function(a){function t(){var t=$(a).find("img[data-src][src=''], img[data-src]:not([src])"),t=(t.length&&t.unveil(200,function(){$(this).on("load",function(){var t=$(this);this.style.opacity=1,$(t).height(""),$(this).parent().css("background",null),$(this).parent().find(".unveil-loader").remove(),$(this).attr("data-unveiled",1)})}),$(a).find("[data-background-src]:not([data-unveiled])"));t.length&&t.unveil(200,function(){$(this).attr("data-unveiled",1)})}console.log("window.cssLoading",window.cssLoading),window.cssLoading?window.cssLoading.then(function(){setTimeout(function(){t()},1)}):t()},function(c){function n(){var n=e.scrollTop(),t=e.height(),r=n+t,s=c(window).height(),o=c(),d=c();setTimeout(function(){for(var e=0,t=0;t<l.length;t++){var a=c(l[t]);setTimeout(function(t){var a=t.offset().top,i=a+t.height();n-s<=i&&a<=r+s&&(t.closest(":not(a)").is(":visible")?o=o.add(t):d=d.add(t)),++e>=l.length&&(i=c.merge(o,d).trigger("unveil"),l=l.not(i))}.bind(this,a),0)}},0)}t=new Image,a={webp:!1,jp2:!1},t.onload=t.onerror=function(){2===t.height&&(a.webp=!0)},t.src="data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA",(i=new Image).onload=i.onerror=function(){2===i.height&&(a.jp2=!0)},i.src="data:image/jp2;base64,/0//UQAyAAAAAAABAAAAAgAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAEBwEBBwEBBwEBBwEB/1IADAAAAAEAAAQEAAH/XAAEQED/ZAAlAAFDcmVhdGVkIGJ5IE9wZW5KUEVHIHZlcnNpb24gMi4wLjD/kAAKAAAAAABYAAH/UwAJAQAABAQAAf9dAAUBQED/UwAJAgAABAQAAf9dAAUCQED/UwAJAwAABAQAAf9dAAUDQED/k8+kEAGvz6QQAa/PpBABr994EAk//9k=";var g,t,a,i,u=function(){for(var t in a)if(a.hasOwnProperty(t)&&a[t]){g=t;break}return g},l=c(),e=c(window),w=c(window).width()<1280?window.devicePixelRatio:1;function r(t){var h=c();c(t).each(function(){var t=h,a=c(a=this),i=!1,e=((e=1<w)&&a.attr("data-src-retina")?A=a.attr("data-src-retina"):e&&a.attr("data-retina-background-src")?(A=a.attr("data-retina-background-src"),i=!0):a.attr("data-src")?A=a.attr("data-src"):a.attr("data-background-src")&&(A=a.attr("data-background-src"),i=!0),a.data("ratio")),n=a.data("width"),r=a.data("height"),s=a.data("quality");if(void 0!==n&&void 0!==r)l=n,o=r;else{if(i){var o,d=a,n=c(window).width(),e=(l=d.outerWidth())/(o=d.data("parallax")?(r=360,(o=(window.parent?c(window.parent):c(window)).height())<=720?r=120:o<=1080&&(r=180),Math.ceil(o/r)*r):d.outerHeight());.9<l/n&&(r=320,l<=400?r=80:l<=840?r=120:l<=1600?r=200:l<=1920&&(r=240),l=Math.ceil(l/r)*r)}else if(a.hasClass("img-unveil-bg"))e=a.hasClass("slider-bg")?(l=(d=a.closest(".list-detail-item")).width())/(o=d.outerHeight()):(l=(d=a.hasClass("img-unveil-row")?a.parent():a.closest(".inner-column")).width())/(o=a.hasClass("parallax-bg")?c(window).height():d.outerHeight());else if("dynamic"===e)l=(d=a.closest(".inner-column")).width(),o=d.outerHeight();else{n=a.parent().hasClass("inner-list-item")?a.parent():a.closest(".element-content");if(l=n.width(),!e)return;o=l/(e=a.attr("data-ratio").split(":"))[0]*e[1]}if(!e)return}var l,A,d=(r=A.split("?"))[1]||"",n=c.deparam(d);0!==A.indexOf("data:image")&&(e=Math.floor(o*w),r=Math.floor(l*w),parseInt(n.widthParam)===r&&parseInt(n.heightParam)===e||0!==r&&0!==e&&(d=A+(-1===A.indexOf("?")?"?":"&")+"widthParam="+r+"&heightParam="+e,s&&(d+="&quality="+s),(g=g||u())&&(d+="&extension="+g),d=d.replace("true","false"),i?a.attr("data-background-src",d):a.attr("data-src",d),"none"===(l=a.css("max-height"))&&(l=0),l=parseInt(l),n=parseInt(a.css("min-height")),(A=parseFloat(a.css("height")))&&(o=A),l&&(o=Math.min(o,l)),n&&(o=Math.max(o,n)),a.height()!==o&&(a.height(o),a.height()===o&&c.fn.matchHeight&&(r=a.parent().closest("div[data-mh-applied-height]")).length&&(t=t.add(r)))))}),h.length&&(c.fn.matchHeight._maintainScroll=!0,c.fn.matchHeight._apply(h))}c.fn.unveil=function(t,a){function i(t){var a=c('<div class="unveil-loader fill-parent text-center" style="display: none;"><i class="'+Unveil.loader+'" style="text-align:center"></i></div>');t.append(a),a.fadeIn(200)}var e=c(this).filter(function(){var t=c(this).closest("[data-bxslider]");return 0===t.length||t.parent().hasClass("bx-viewport")});r(e);return this.one("unveil",function(){c(this).attr("data-one-unveil-me","true");var t=c(this).parent(),t=(t.is("header")||t.is("footer")||t.is("section")||c(this).data("backgroundSrc")||(c(this).hasClass("img-unveil-bg")?c(this).parent().hasClass("image-unveil")||(c(this).wrap('<div class="image-unveil image-unveil-bg fill-parent"/>'),c(this).hasClass("no-loader")||i(c(this).parent())):t.parent().hasClass("image-unveil")||(t.wrap('<div class="image-unveil"/>'),c(this).hasClass("no-loader")||i(t))),c(this));c(t).data("src")?c(t).attr("src",c(t).data("src")):c(t).data("backgroundSrc")&&c(t).css("background-image","url("+c(t).data("backgroundSrc")+")"),"function"==typeof a&&a.call(this)}),l=l.add(e),n(),this},c(window).on("throttledScroll resize.unveil lookup.unveil",n)}(window.jQuery||window.Zepto);