function t_lazyload__init(){t_lazyload__detectwebp();var e=document.querySelector("#allrecords");e&&"yes"===e.getAttribute("data-tilda-imgoptimoff")?window.lazy_imgoptimoff="yes":window.lazy_imgoptimoff="";for(var t=document.querySelectorAll(".t156 .t-img"),i=0;i=0&&t.left<=(window.innerWidth||document.documentElement.clientWidth)&&t.right>=0}))}function t_lazyload__getResizeCommand(e,t,i){var n=i.x,o=i.y,a;return e?"contain"===t?"contain":"cover"===t?"cover":"resize":"contain"===t?"contain":!Number.isNaN(parseFloat(n))&&!Number.isNaN(parseFloat(o))?"resize":"cover"}window.lazy="y",window.t_loadImgStats=[],function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.LazyLoad=t()}(window,(function(){var e,t,i=!1,n,o,a=!1,r=/\/static\.tildacdn\.(info|.{1,3})\//,l={},s="undefined"!=typeof getComputedStyle;function d(){i||(e={elements_selector:"img",container:window,threshold:300,throttle:50,data_src:"original",data_srcset:"original-set",class_loading:"loading",class_loaded:"loaded",skip_invisible:!0,show_while_loading:!0,callback_load:null,callback_error:null,callback_set:null,callback_processed:null,placeholder:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},document.body&&"object"==typeof document.body&&(t=!!document.body.classList),a="IntersectionObserver"in window,i=!0,n=["200x151","640x712","320x356","670x744","335x372","300x225","500x375","400x301","748x832","374x416","670x502","335x251","360x234","560x622","280x311","640x416"],o=["353x245","155x151","158x164","372x495","280x272","117x117","291x280","280x269","335x241","283x283","150x156","353x233","414x730","372x362","275x206","290x322","248x207","177x136","173x173","280x308","195x214","248x191","155x196","163x203","320x444","158x162","176x203","412x700","360x88","360x616","167x167","130x144","280x233","560x314","320x299","372x275","320x178","372x242","360x352","353x294","260x182","372x310","335x344","374x432","414x500","374x360","220x338","150x146","335x239","176x176","320x302","374x260","360x568","191x221","192x192","372x558","335x188","320x358","335x258","374x575","26x26","353x360","360x206","335x248","335x322","167x256","560x364","155x172","163x216","163x181","360x257","374x561","374x243","220x212","177x148","291x324","167x160","375x749","335x387","172x172","260x302","414x700","220x254","177x172","374x519","176x169","320x352","335x233","150x203","360x207","158x121","360x396","158x131","150x98","220x169","182x202","320x179","372x413","181x226","353x200","158x153","375x628","176x271","374x364","320x492","374x247","414x833","353x393","335x218","560x399","412x264","293x164","56x56","177x204","248x382","181x181","118x118","260x346","374x497","260x202","393x251","158x158","372x200","373x414","320x229","177x177","312x175","374x312","84x84","320x329","177x194","353x350","335x503","335x446","335x326","374x200","158x182","320x237","335x221","176x196","150x229","320x224","248x276","360x299","260x289","196x216","335x279","177x272","320x426","260x172","155x194","320x369","372x350","360x302","360x402","169x186","158x242","173x199","167x185","360x238","220x123","320x308","414x265","374x350","300x333","177x170","320x222","320x311","260x169","150x173","320x246","353x265","192x222","158x151","372x414","150x144","760x502","314x176","320x208","182x182","320x211","163x163","372x279","360x202","360x252","260x252","260x286","353x392","160x104","374x281","353x353","150x231","320x267","372x372","177x197","275x154","158x175","374x374","150x167","260x146"],l={com:"com",info:"pub",pub:"pub",ink:"ink",pro:"pro",biz:"biz",net:"net",one:"one"})}function c(){var e;return(new Date).getTime()}function u(e,t){var i={},n;for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n]);for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}function _(e){var t;try{t=Array.prototype.slice.call(e)}catch(a){var i=[],n,o=e.length;for(n=0;n-1&&(N=1*P[q].split(":")[1]),P[q].indexOf("comm:")>-1&&"resize"!=(I=P[q].split(":")[1])&&"cover"!=I&&"contain"!=I&&(S=!1),P[q].indexOf("skip")>-1&&(E=!0),P[q].indexOf("optimoff")>-1&&(S=!1)}if(N>1){var D=A(I,d,c,N);d=D[0],c=D[1]}if("cover"==I&&d>0&&c>0&&d<=1e3)if(d===5*Math.ceil(d/5)&&c===5*Math.ceil(c/5));else if(n.indexOf(d+"x"+c)>-1);else if(o.indexOf(d+"x"+c)>-1);else if(g(t,"tn-atom")||g(t,"tn-atom__img"));else{g(t,"t-cover__carrier")||(I="resize");var G=A(I,d,c,100);d=G[0],c=G[1]}if("resize"==I&&d<30&&(E=!0),!0===S&&(l=!0===E||d>1e3||c>1e3||0==d||"IMG"!=t.tagName&&0==c?k(l):O(t.tagName,I,l,d,c,b,v)),"y"===window.lazy_err_static&&h(l)&&(l=l.replace(r,"/static3.tildacdn.com/")),l){if("IMG"===e.tagName)e.setAttribute("src",l);else if("IFRAME"===e.tagName)e.setAttribute("src",l);else if("OBJECT"===e.tagName)e.setAttribute("data",l);else{var W,H;if(-1!==e.style.backgroundImage.indexOf("-gradient("))W=e.style.backgroundImage.split("), ")[1];W?e.style.backgroundImage="url("+l+"), "+W:(e.style.backgroundImage="url("+l+")",z(e,l))}t.lazy_loading_src=l}}else m(t,"loading")}function z(e,t){var i=e.getAttribute("data-content-cover-id");if(i){var n=t.split(".");n=n[n.length-1];var o=document.getElementById("recorddiv"+i);"svg"===n&&(o.style.backgroundImage="")}}function A(e,t,i,n){var o=t,a=i;if("cover"==e&&o>0&&a>0){var r=o/a,l=1;r<=1?(r<=.8&&(l=.8),r<=.751&&(l=.75),r<=.667&&(l=.667),r<=.563&&(l=.562),r<=.501&&(l=.5),a=Math.ceil(a/n)*n,o=Math.ceil(a*l),o=10*Math.ceil(o/10)):(r>=1.25&&(l=1.25),r>=1.332&&(l=1.333),r>=1.5&&(l=1.5),r>=1.777&&(l=1.777),r>=2&&(l=2),o=Math.ceil(o/n)*n,a=Math.ceil(o/l),a=10*Math.ceil(a/10))}else o>0&&(o=Math.ceil(o/n)*n),a>0&&(a=Math.ceil(a/n)*n);return[o,a]}function O(e,t,i,n,o,a,r){if("undefined"==i||null==i)return i;var l=null==i?void 0:i.toLowerCase();if(l.indexOf(".svg")>0||l.indexOf(".gif")>0||l.indexOf(".ico")>0||-1===i.indexOf("static.tildacdn.")||i.indexOf("-/empty/")>0||i.indexOf("-/resizeb/")>0)return i;if(i.indexOf("/-/")>-1)return i;if(0==n&&0==o)return i;if("y"==window.lazy_err_thumb)return i;if(i.indexOf("lib")>-1)return i;if("IMG"!==e&&"DIV"!==e&&"TD"!==e&&"A"!==e)return i;var s=1;1===window.devicePixelRatio&&Math.max(n,o)<=400&&(s=1.2),window.devicePixelRatio>1&&(s=2);var d=n,c=o,u,_;if(d>0&&(d=parseInt(s*d)),c>0&&(c=parseInt(s*c)),d>1e3||c>1800)return k(i);if("resize"==t)(_=i.split("/")).splice(i.split("/").length-1,0,"-/resize/"+d+"x"+("DIV"==e&&c>0?c:"")+"/"+("y"==window.lazy_webp?"-/format/webp":"")),u=b(_.join("/"));else{if(d<=0&&c<=0)return i;var x=a,f=r;"left"!==a&&"right"!==a&&(x="center"),"top"!==r&&"bottom"!==r&&(f="center"),(_=i.split("/")).splice(i.split("/").length-1,0,"-/"+t+"/"+d+"x"+c+"/"+x+"/"+f+"/"+("y"==window.lazy_webp?"-/format/webp":"")),u=b(_.join("/"))}var m=".webp",g=-1!==u.indexOf(m,u.length-5);return"y"!=window.lazy_webp||g||(u+=".webp"),u}function k(e){if("undefined"==e||null==e)return e;var t=null==e?void 0:e.toLowerCase();if(t.indexOf(".svg")>0||t.indexOf(".gif")>0||t.indexOf(".ico")>0||-1===e.indexOf("static.tildacdn.")||e.indexOf("-/empty/")>0||e.indexOf("-/resizeb/")>0)return e;if(e.indexOf("/-/")>-1)return e;if(e.indexOf("lib")>-1)return e;if("y"!==window.lazy_webp)return e;if("y"===window.lazy_err_thumb)return e;var i=e.split("/");i.splice(e.split("/").length-1,0,"-/format/webp");var n=b(i.join("/")),o=".webp",a;return-1!==n.indexOf(o,n.length-5)||(n+=".webp"),n}function I(e,t,i){if("string"==typeof t&&null!=t&&""!=t){var n;if(console.error("lazy loading err"),h(t))return window.lazy_err_static="y",void L(e,t.replace(r,"/static3.tildacdn.com/"));if(-1!==t.indexOf(t_lazyload__getThumbDomainName())&&-1!==t.indexOf("/-/")){window.lazy_err_thumb="y";var o=t.split("/"),a="",l="",s;if(o.length>3)for(var d=0;d1?c()-i:"";"object"!=typeof window.t_cdnerrors&&(window.t_cdnerrors=[]),window.t_cdnerrors.push({url:t,time:_,debug:{domloaded:window.t_lazyload_domloaded}})}}}function L(e,t){console.info("try reload: "+t),"IMG"===e.tagName?t&&e.setAttribute("src",t):t&&(e.style.backgroundImage="url("+t+")")}function N(t){d(),this._settings=u(e,t),this._queryOriginNode=this._settings.container===window?document:this._settings.container,this._previousLoopTime=0,this._loopTimeout=null,a&&this._initializeObserver(),this.update(),this.loadAnimatedImages()}return window.t_lazyload_setSources=v,N.prototype._showOnLoad=function(e){var t,i=this._settings,n;function o(){null!==i&&(t_lazyLoad__appendImgStatToArr(t,n),i.callback_load&&i.callback_load(e),v(e,e,i.data_srcset,i.data_src),i.callback_set&&i.callback_set(e),m(e,i.class_loading),f(e,i.class_loaded),t.removeEventListener("load",o))}!e.getAttribute("src")&&i.placeholder&&e.setAttribute("src",i.placeholder),(t=document.createElement("img")).addEventListener("load",o),t.addEventListener("error",(function(t){m(e,i.class_loading),i.callback_error&&i.callback_error(e),void 0!==t.path?I(e,t.path[0].currentSrc,n):void 0!==t.target&&I(e,t.target.currentSrc,n)})),f(e,i.class_loading),n=c(),v(t,e,i.data_srcset,i.data_src)},N.prototype._showOnAppear=function(e){var t=this._settings,i;function n(){null!==t&&(t_lazyLoad__appendImgStatToArr(e,i),t.callback_load&&t.callback_load(e),m(e,t.class_loading),f(e,t.class_loaded),e.removeEventListener("load",n))}"IMG"!==e.tagName&&"IFRAME"!==e.tagName||(e.addEventListener("load",n),e.addEventListener("error",(function(o){e.removeEventListener("load",n),m(e,t.class_loading),t.callback_error&&t.callback_error(e),void 0!==o.path?I(e,o.path[0].currentSrc,i):void 0!==o.target&&I(e,o.target.currentSrc,i)})),f(e,t.class_loading)),i=c(),v(e,e,t.data_srcset,t.data_src),t.callback_set&&t.callback_set(e)},N.prototype._show=function(e){this._settings.show_while_loading?this._showOnAppear(e):this._showOnLoad(e)},N.prototype._initializeObserver=function(){var e=this;this._intersectionObserver=new IntersectionObserver((function(t){var i=window.scrollY;t.forEach((function(t){var n=t.target;if(!(e._settings.skip_invisible&&x(n)&&n.isNotUnderScreenRange)){var o=t.boundingClientRect.top+i<0,a=n.closest(".t396__elem"),r=a&&0===a.style.top.indexOf("-"),l=n.closest(".tn-group"),s=l&&0===l.style.top.indexOf("-"),d=t.intersectionRatio>=Number(n.getAttribute("data-intersection-aspect-ratio")||0);if(n.wasProcessed)return e._intersectionObserver.unobserve(n),void(e._settings.callback_processed&&e._settings.callback_processed(e._elements.length));(t.isIntersecting&&d||o||r||s)&&(e._show(n),n.wasProcessed=!0)}}))}),{rootMargin:this._settings.threshold+"px",threshold:[0]})},N.prototype.loadAnimatedImages=function(){var e,t,i=this._settings,n=this._elements,o=n?n.length:0;function a(e,t){var i;if("trigger"===t){var n=e.getAttribute("data-animate-sbs-trgels");n&&(i=document.querySelector('[data-elem-id="'+n+'"]'))}else"viewport"===t&&(i=p(e,"t396"));return y(i)?w(i):null}function r(e,t){var n=a(e,t);if(!n)return!1;var o=w(e),r=Math.abs(n.top-o.top),l=Math.abs(n.left-o.left);return r>i.threshold||l>i.threshold}for(e=0;e0||_.indexOf(".gif")>0||_.indexOf(".ico")>0||-1===r.indexOf(t_lazyload__getThumbDomainName())||r.indexOf("-/empty/")>0&&r.indexOf("-/resizeb/")>0)){var x=r.indexOf(a)+a.length,f=r.indexOf("/",x);if(x>0&&f>0){var m=r.slice(x,f).split("x"),g=i.clientWidth,p=i.clientHeight;if(g>0&&p>0&&(m[0]>0||m[1]>0)&&(m[0]>0&&g>m[0]||m[1]>0&&p>m[1])&&(m[0]>0&&g-m[0]>100||m[1]>0&&p-m[1]>100)){var y=r.slice(0,x)+(m[0]>0?g:"")+"x"+(m[1]>0?p:"")+r.substring(f);"IMG"==n?i.setAttribute("src",y):i.style.backgroundImage="url('"+y+"')"}}}}};