1function t396_init(t){var e=t396_detectResolution(),i=document.getElementById("allrecords"),o=document.getElementById("rec"+t),n=o?o.querySelector(".t396"):null,a=o?o.querySelector(".t396__artboard"):null;window.tn_window_width=document.documentElement.clientWidth,window.tn_scale_factor=parseFloat((window.tn_window_width/e).toFixed(3)),t396_initTNobj(),t396_switchResolution(e),t396_updateTNobj(),t396_artboard_build("",t);var l="ontouchend"in document;window.addEventListener("resize",function(){tn_console(">>>> t396: Window on Resize event >>>>"),t396_waitForFinalEvent(function(){(!window.t396__isMobile&&!l||document.documentElement.clientWidth!==window.tn_window_width)&&t396_doResize(t)},500,"resizeruniqueid"+t)}),window.addEventListener("orientationchange",function(){tn_console(">>>> t396: Orient change event >>>>"),t396_waitForFinalEvent(function(){t396_doResize(t)},600,"orientationuniqueid"+t)}),window.addEventListener("load",function(){t396_allelems__renderView(a);var t=a?window.getComputedStyle(a).getPropertyValue("overflow"):"";"function"==typeof t_lazyload_update&&"auto"===t&&a&&a.addEventListener("scroll",t_throttle(function(){var t=i?i.getAttribute("data-tilda-lazy"):null;"y"!==window.lazy&&"yes"!==t||t_onFuncLoad("t_lazyload_update",function(){t_lazyload_update()})},500)),""!==window.location.hash&&"visible"===t&&(a&&(a.style.overflow="hidden"),setTimeout(function(){a&&(a.style.overflow="visible")},1))}),document.querySelector(".t830")&&window.addEventListener("load",function(){["t830__allrecords_padd","t830__allrecords_padd-small"].some(function(t){return i.classList.contains(t)})?t396_doResize(t):i.addEventListener("allRecPaddingInit",function(){t396_doResize(t)})}),o&&n&&a&&"yes"===o.getAttribute("data-connect-with-tab")&&n.addEventListener("displayChanged",function(){t396_allelems__renderView(a),t396_doResize(t)}),setTimeout(function(){o&&o.closest("#allrecordstable")&&n&&a&&n.addEventListener("displayChanged",function(){t396_allelems__renderView(a),t396_doResize(t)})},1e3);var r=!!document.querySelector(".t635__textholder");o&&r&&n&&a&&n.addEventListener("animationInited",function(){t396_allelems__renderView(a),t396_doResize(t)}),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&n&&n.classList.add("t396_safari");e="window"===t396_ab__getFieldValue(a,"upscale"),r=i?"edit"===i.getAttribute("data-tilda-mode"):null;e&&!r&&t396_scaleBlock(t)}function t396_isOnlyScalableBrowser(){var t=-1!==navigator.userAgent.
1search("Firefox"),e=!!window.opr&&!!window.opr.addons||!!window.opera||-1!==navigator.userAgent.indexOf(" OPR/");return t||e}function t396_scaleBlock(t){var e,i,w=t396_isOnlyScalableBrowser(),f=t396_detectResolution(),o=document.getElementById("rec"+t),n=o?o.querySelectorAll(".t396__elem"):[],a=o?o.querySelector(".t396__artboard"):null;a&&(e=a.clientWidth,i=Math.floor(a.clientHeight*window.tn_scale_factor),o=t396_ab__getFieldValue(a,"height_vh"),window.tn_scale_offset=(e*window.tn_scale_factor-e)/2,o&&(e=t396_ab__getFieldValue(a,"height"),i=(o=t396_ab__getHeight(a))<=(e=e*window.tn_scale_factor)?e:o),a.classList.add("t396__artboard_scale"),i='<style class="t396__scale-style">.t-rec#rec'+t+" { overflow: visible; }#rec"+t+" .t396__carrier,#rec"+t+" .t396__filter,#rec"+t+" .t396__artboard {height: "+i+"px !important;width: 100vw !important;max-width: 100%;}</style>",a.insertAdjacentHTML("beforeend",i)),Array.prototype.forEach.call(n,function(t){var e=t.querySelector(".tn-atom"),i=t396_elem__getFieldValue(t,"container"),o=t.getAttribute("data-elem-type");if("yes"!==t.getAttribute("data-video-full-screen")){if("grid"===i)if(w){e&&(a=e.parentNode,(l=document.createElement("div")).classList.add("tn-atom__scale-wrapper"),l.style.transform="scale("+window.tn_scale_factor+")",a&&a.removeChild(e),l.appendChild(e),a&&a.appendChild(l));var n=t.querySelector(".t-bgimg");n&&"fixed"===window.getComputedStyle(n).backgroundAttachment&&(t.removeChild(n.parentNode),t.appendChild(n),d=t396_elem__convertPosition__Local__toAbsolute(t,"height",d=t396_elem__getHeight(t,d=t396_elem__getFieldValue(t,"height"))),r=t396_elem__convertPosition__Local__toAbsolute(t,"width",r=t396_elem__getWidth(t,r=t396_elem__getFieldValue(t,"width"))),_=parseFloat(t396_elem__getFieldValue(t,"top")),s=parseFloat(t396_elem__getFieldValue(t,"left")),t.style.top=_*window.tn_scale_factor+"px",t.style.left=s*window.tn_scale_factor+"px",t.style.height=d*window.tn_scale_factor+"px",t.style.width=r*window.tn_scale_factor+"px",t.setAttribute("data-scale-off","yes"))}else{t.style.zoom=window.tn_scale_factor;n=/Macintosh/.test(navigator.userAgent)&&"ontouchend"in document&&744<=screen.width;"text"===o&&n&&(e.style.removeProperty("font-size"),t.style.removeProperty("zoom"),t.style.removeProperty("top"),t.style.removeProperty("left"),t.style.removeProperty("width"),u=parseInt(window.getComputedStyle(e).fontSize,10),r=t396_elem__convertPosition__Local__toAbsolute(t,"width",r=t396_elem__getWidth(t,r=t396_elem__getFieldValue(t,"width"))),_=t396_elem__convertPosition__Local__toAbsolute(t,"top",_=parseFloat(t396_elem__getFieldValue(t,"top"))),s=t396_elem__convertPosition__Local__toAbsolute(t,"left",s=parseFloat(t396_elem__getFieldValue(t,"left"))),e.style.fontSize=u*window.tn_scale_factor+"px",t.style.top=_*window.tn_scale_factor+"px",t.style.left=s*window.tn_scale_factor+"px",t.style.width=r*window.tn_scale_factor+"px",t.setAttribute("data-scale-off","yes")),"button"===o&&n&&!e.classList.contains("t396_manual-scaled-text")&&(t.style.removeProperty("zoom"),c=window.getComputedStyle(e),u=parseInt(c.fontSize,10),e.classList.add("t396_manual-scaled-text"),e.style.fontSize=u*window.tn_scale_factor+"px",t.style.zoom=window.tn_scale_factor);var a,l,r,d,_,s,n=t.querySelector("iframe"),c=t.getAttribute("data-animate-style"),u=t.getAttribute("data-animate-sbs-event");
1if(n&&!c&&!u){for(t.style.removeProperty("zoom"),d=t396_elem__convertPosition__Local__toAbsolute(t,"height",d=t396_elem__getHeight(t,d=t396_elem__getFieldValue(t,"height"))),r=t396_elem__convertPosition__Local__toAbsolute(t,"width",r=t396_elem__getWidth(t,r=t396_elem__getFieldValue(t,"width"))),_=t396_elem__convertPosition__Local__toAbsolute(t,"top",_=parseFloat(t396_elem__getFieldValue(t,"top"))),_*=window.tn_scale_factor,_+=(d*window.tn_scale_factor-d)/2,s=t396_elem__convertPosition__Local__toAbsolute(t,"left",s=parseFloat(t396_elem__getFieldValue(t,"left"))),s*=window.tn_scale_factor,s+=(r*window.tn_scale_factor-r)/2,t.style.top=_+"px",t.style.left=s+"px",(a=e.parentNode)&&a.classList.contains("tn-atom__scale-wrapper")&&(a=a.parentNode),(l=document.createElement("div")).classList.add("tn-atom__scale-wrapper"),l.style.transform="scale("+window.tn_scale_factor+")";a.firstChild;)a.removeChild(a.firstChild);l.appendChild(e),a&&a.appendChild(l),t.setAttribute("data-scale-off","yes")}"shape"===o&&(d=t396_elem__convertPosition__Local__toAbsolute(t,"height",d=t396_elem__getHeight(t,d=t396_elem__getFieldValue(t,"height"))),r=t396_elem__convertPosition__Local__toAbsolute(t,"width",r=t396_elem__getWidth(t,r=t396_elem__getFieldValue(t,"width"))),_=t396_elem__convertPosition__Local__toAbsolute(t,"top",_=parseFloat(t396_elem__getFieldValue(t,"top"))),s=t396_elem__convertPosition__Local__toAbsolute(t,"left",s=parseFloat(t396_elem__getFieldValue(t,"left"))),o=(l=window.getComputedStyle(e)).borderWidth,l="none"!==l.backgroundImage,c=t.getAttribute("data-animate-sbs-event"),!(d<=2||r<=2)||"0px"!==o||l||c||(t.style.removeProperty("zoom"),r=r*window.tn_scale_factor,d=d*window.tn_scale_factor,_=_*window.tn_scale_factor,s=s*window.tn_scale_factor,t.style.width=parseFloat(r)+"px",t.style.height=parseFloat(d)+"px",t.style.top=Math.round(_)+"px",t.style.left=Math.round(s)+"px",t.setAttribute("data-scale-off","yes"))),"text"===t.getAttribute("data-elem-type")&&f<1200&&e&&(e.style.webkitTextSizeAdjust="auto"),e&&(e.style.transformOrigin="center")}}else t.removeAttribute("data-video-full-screen")})}function t396_doResize(t){var e=t396_isOnlyScalableBrowser(),i=document.getElementById("rec"+t),o=document.getElementById("allrecords"),n=t396_detectResolution();t396_removeElementFromDOM(i?i.querySelector(".t396__scale-style"):null),e?(e=i?i.querySelectorAll(".tn-atom"):[],Array.prototype.forEach.call(e,function(t){var e=t.closest(".tn-atom__scale-wrapper"),i=e?e.parentNode:null;i&&i.removeChild(e),i&&i.appendChild(t)})):(a=i?i.querySelectorAll(".t396__elem"):[],Array.prototype.forEach.call(a,function(t){t.style.zoom="";t=t.querySelector(".tn-atom");t&&(t.style.transformOrigin="")}));var a=i?i.querySelector(".t396__artboard"):null,i=a?a.clientWidth:0;window.tn_window_width=window.t396__isMobile?document.documentElement.clientWidth:window.innerWidth,window.tn_scale_factor=Math.round(window.tn_window_width/n*100)/100,window.tn_scale_offset=(i*window.tn_scale_factor-i)/2,t396_switchResolution(n),t396_updateTNobj(),t396_ab__renderView(a);o=o?o.getAttribute("data-tilda-mode"):"";"window"===t396_ab__getFieldValue(a,"upscale")&&"edit"!==o&&t396_scaleBlock(t),t396_allelems__renderView(a)}function t396_detectResolution(){for(var t=window.t396__isMobile?document.documentElement.clientWidth:window.innerWidth,e=1200,i=[1200,960,640,480,320],o=0;o<i.length-1;o++)t<i[o]&&(e=i[o+1]);return e}function t396_initTNobj(){tn_console("func: initTNobj"),window.tn={},window.tn.canvas_min_sizes=["320","480","640","960","1200"],window.tn.canvas_max_sizes=["480","640","960","1200",""],window.tn.ab_fields=["height","width","bgcolor","bgimg","bgattachment","bgposition","filteropacity","filtercolor","filteropacity2","filtercolor2","height_vh","valign"]}function t396_updateTNobj(){tn_console("func: updateTNobj");var t=document.getElementById("allrecords"),e=t&&window.getComputedStyle(t).paddingLeft||"0",e=parseInt(e,10),i=t&&window.getComputedStyle(t).paddingRight||"0",i=parseInt(i,10);window.zero_window_width_hook&&"allrecords"===window.zero_window_width_hook&&t?window.tn.window_width=t.clientWidth-(e+i):window.tn.window_width=document.documentElement.clientWidth,window.tn.window_height=window.t396__isMobile?document.documentElement.clientHeight:window.innerHeight,window.tn.curResolution;
1for(var o=[1200,960,640,480,320],n=0;n<o.length;n++)+window.tn.curResolution===o[n]&&(window.tn.canvas_min_width=o[n],window.tn.canvas_max_width=0===n?window.tn.window_width:o[n-1]);window.tn.grid_width=window.tn.canvas_min_width,window.tn.grid_offset_left=(window.tn.window_width-window.tn.grid_width)/2}window.t396__isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||-1<navigator.userAgent.indexOf("Instagram");var t396_waitForFinalEvent=function(){var o={};return function(t,e,i){o[i=i||"Don't call this twice without a uniqueId"]&&clearTimeout(o[i]),o[i]=setTimeout(t,e)}}();function t396_switchResolution(i,o){var n;tn_console("func: switchResolution"),void 0===o&&(n=[1200,960,640,480,320]).forEach(function(t,e){+i===t&&(o=0===e?"":n[e-1])}),window.tn.curResolution=i,window.tn.curResolution_max=o}function t396_artboard_build(t,e){tn_console("func: t396_artboard_build. Recid:"+e),tn_console(t);var i=document.getElementById("rec"+e),o=document.getElementById("allrecords"),n=i?i.querySelector(".t396__artboard"):null;if(!n)return!1;t396_ab__renderView(n);t=document.createEvent("Event");t.initEvent("artBoardRendered",!0,!0);e=n.querySelectorAll(".tn-elem");Array.prototype.forEach.call(e,function(t){switch(t.getAttribute("data-elem-type")){case"text":t396_addText(n,t);break;case"image":t396_addImage(n,t);break;case"shape":t396_addShape(n,t);break;case"button":t396_addButton(n,t);break;case"video":t396_addVideo(n,t);break;case"html":t396_addHtml(n,t);break;case"tooltip":t396_addTooltip(n,t);break;case"form":t396_addForm(n,t);break;case"gallery":t396_addGallery(n,t)}}),n.classList.remove("rendering"),n.classList.add("rendered"),n.dispatchEvent(t);var a,t=n.getAttribute("data-artboard-ovrflw");"visible"!==t&&"visibleX"!==t||!o||(o.style.overflow="hidden"),"auto"!==t||0!==(a=Math.abs(n.offsetHeight-n.clientHeight))&&(n.style.paddingBottom=a+"px"),(window.t396__isMobile||"ontouchend"in document&&-1!==navigator.userAgent.indexOf("AppleWebKit"))&&((a=document.createElement("style")).textContent="@media only screen and (min-width:1366px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio:2) {.t396__carrier {background-attachment:scroll!important;}}",i.insertAdjacentElement("beforeend",a))}function t396_ab__renderView(t){if(!t)return!1;for(var e=window.tn.ab_fields,i=document.getElementById("allrecords"),o=0;o<e.length;o++)t396_ab__renderViewOneField(t,e[o]);var n,a,l=t396_ab__getFieldValue(t,"height"),r=t396_ab__getHeight(t),d=!!i&&"edit"===i.getAttribute("data-tilda-mode"),_="window"===t396_ab__getFieldValue(t,"upscale"),i=t396_ab__getFieldValue(t,"height_vh");if(_&&!d&&i&&(n=parseInt(l,10)*window.tn_scale_factor),l===r||n&&r<=n)a=0;else switch(t396_ab__getFieldValue(t,"valign")){case"top":a=0;break;case"center":a=n?parseFloat(((r-n)/2).toFixed(1)):parseFloat(((r-l)/2).toFixed(1));break;case"bottom":a=n?parseFloat((r-n).toFixed(1)):parseFloat((r-l).toFixed(1));break;case"stretch":a=0,l=r;break;default:a=0}t.setAttribute("data-artboard-proxy-min-offset-top",a),t.setAttribute("data-artboard-proxy-min-height",l),t.setAttribute("data-artboard-proxy-max-height",r);_=t.querySelector(".t396__filter"),d=t.querySelector(".t396__carrier");i=t396_ab__getFieldValue(t,"height_vh"),i=parseFloat(i),window.t396__isMobile&&i&&(i=document.documentElement.clientHeight*i/100,t.style.height=i+"px",_&&(_.style.height=i+"px"),d&&(d.style.height=i+"px"))}function t396_addText(t,e){(e=t396_getEl(e))&&(tn_console("func: addText"),e.setAttribute("data-fields","top,left,width,container,axisx,axisy,widthunits,leftunits,topunits"),t396_elem__renderView(e))}function t396_addImage(t,e){var i;(e=t396_getEl(e))&&(tn_console("func: addImage"),e.setAttribute("data-fields","img,width,filewidth,fileheight,top,left,container,axisx,axisy,widthunits,leftunits,topunits"),t396_elem__renderView(e),i=e.querySelectorAll("img"),Array.prototype.forEach.call(i,function(t){t.addEventListener("load",function(){t396_elem__renderViewOneField(e,"top"),t.src&&setTimeout(function(){t396_elem__renderViewOneField(e,"top")},2e3)}),t.complete&&(t396_elem__renderViewOneField(e,"top"),t.src&&setTimeout(function(){t396_elem__renderViewOneField(e,"top")},2e3)),t.addEventListener("tuwidget_done",function(){t396_elem__renderViewOneField(e,"top")})}))}function t396_addShape(t,e){var i,o,n;(e=t396_getEl(e))&&(tn_console("func: addShape"),n="width,height,top,left,",n+="container,axisx,axisy,widthunits,heightunits,leftunits,topunits",e.setAttribute("data-fields","width,height,top,left,container,axisx,axisy,widthunits,heightunits,leftunits,topunits"),t396_elem__renderView(e),i=e.querySelector(".tn-atom"),o=window.getComputedStyle(e).backdropFilter&&"none"!==window.getComputedStyle(e).backdropFilter||window.getComputedStyle(e).webkitBackdropFilter&&"none"!==window.getComputedStyle(e).webkitBackdropFilter,(n=i&&"matrix"===window.getComputedStyle(i).transform.substring(0,6)?window.getComputedStyle(i).transform:null)&&o&&(i.style.transform="none",e.style.transform=n))}function t396_addButton(t,e){if(e=t396_getEl(e)){tn_console("func: addButton");return e.setAttribute("data-fields","top,left,width,height,container,axisx,axisy,caption,leftunits,topunits"),t396_elem__renderView(e),e}}function t396_addVideo(t,e){var i,o,n,a,l,r,d,_,s,c,u,w,f,m,g,h;(e=t396_getEl(e))&&(tn_console("func: addVideo"),c="width,height,top,left,",c+="container,axisx,axisy,widthunits,heightunits,leftunits,topunits",e.setAttribute("data-fields","width,height,top,left,container,axisx,axisy,widthunits,heightunits,leftunits,topunits"),t396_elem__renderView(e),i=e.querySelector(".tn-atom__videoiframe"),(o=e.querySelector(".tn-atom"))&&(o.style.backgroundColor="#000"),n=(n=o?o.getAttribute("data-atom-video-has-cover"):"")||"",h=document.getElementById("allrecords"),a=t396_elem__getFieldValue(e,"autoplay"),l=t396_elem__getFieldValue(e,"showinfo"),r=t396_elem__getFieldValue(e,"loop"),d=t396_elem__getFieldValue(e,"mute"),m=t396_elem__getFieldValue(e,"startsec"),f=t396_elem__getFieldValue(e,"endsec"),_=h?h.getAttribute("data-tilda-mode"):"",g="",(s=document.createElement("script")).textContent='lazyload_iframe = new LazyLoad({elements_selector: ".t-iframe"});',c=(c=(u=e?e.closest(".r"):null)?u.id:"").replace("rec",""),h=e.getAttribute("data-elem-id"),u=i?i.getAttribute("data-youtubeid"):"",w="",u&&(g="https://www.youtube.com/embed/"+u+"?","y"===l&&(g+="&showinfo=1"),"y"===r&&(g+="&loop=1&playlist="+u),0<m&&(g+="&start="+m),0<f&&(g+="&end="+f),"y"===d&&(g+="&mute=1"),"y"===n?(g+="&autoplay=1&rel=0",m="",(f="y")===a&&"y"===d&&"y"===window.lazy&&(f="lazy",m=' class="t-iframe"'),w='<iframe id="youtubeiframe-'+c+"-"+h+'"'+m+' width="100%" height="100%" src="'+g+'" frameborder="0" allowfullscreen="" allow="autoplay" data-flag-inst="'+f+'"></iframe>',"y"===a&&"y"===d&&"y"===window.lazy&&e.insertAdjacentElement("beforeend",s),"y"===a&&"y"===d&&o.click()):("edit"!==_&&"y"===a&&(g+="&autoplay=1"),"y"===window.lazy?(i.innerHTML='<iframe id="youtubeiframe-'+c+"-"+h+'" class="t-iframe" width="100%" height="100%" data-original="'+g+'" frameborder="0" allowfullscreen data-flag-inst="lazy"></iframe>',e.insertAdjacentElement("beforeend",s)):i.innerHTML='<iframe id="youtubeiframe-'+c+"-"+h+'" width="100%" height="100%" src="'+g+'" frameborder="0" allowfullscreen data-flag-inst="y"></iframe>')),(h=i?i.getAttribute("data-vimeoid"):"")&&(g="//player.vimeo.com/video/",g+=h+"?color=ffffff&badge=0",g+="y"===l?"&title=1&byline=1&portrait=1":"&title=0&byline=0&portrait=0","y"===r&&(g+="&loop=1"),"y"===d&&(g+="&muted=1"),"y"===n?w='<iframe src="'+(g+="&autoplay=1")+'" width="100%" height="100%" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':("edit"!==_&&"y"===a&&(g+="&autoplay=1"),"y"===window.lazy?(i.innerHTML='<iframe class="t-iframe" data-original="'+g+'" width="100%" height="100%" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>',e.insertAdjacentElement("beforeend",s)):i.innerHTML='<iframe src="'+g+'" width="100%" height="100%" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>')),"y"===n&&o&&o.addEventListener("click",function(){i.innerHTML=w,o.style.backgroundImage="none";var t=o.querySelector(".tn-atom__video-play-link");t&&(t.style.display="none")}),o.addEventListener("fullscreenchange",function(){e.setAttribute("data-video-full-screen","yes")}))}function t396_addHtml(t,e){(e=t396_getEl(e))&&(tn_console("func: addHtml"),e.setAttribute("data-fields","width,height,top,left,container,axisx,axisy,widthunits,heightunits,leftunits,topunits"),t396_elem__renderView(e))}function t396_addTooltip(t,e){var i,o,n;(e=t396_getEl(e))&&(tn_console("func: addTooltip"),n="width,height,top,left,",n+="container,axisx,axisy,widthunits,heightunits,leftunits,topunits,tipposition",e.setAttribute("data-fields","width,height,top,left,container,axisx,axisy,widthunits,heightunits,leftunits,topunits,tipposition"),t396_elem__renderView(e),i=e.querySelector(".tn-atom__pin"),o=e.querySelector(".tn-atom__tip"),n=e.getAttribute("data-field-tipopen-value"),(window.t396__isMobile||"click"===n?t396_setUpTooltip_mobile:t396_setUpTooltip_desktop)(e,i,o),setTimeout(function(){var t=document.querySelectorAll(".tn-atom__tip-img");Array.prototype.forEach.call(t,function(t){var e=t.getAttribute("data-tipimg-original");e&&(t.src=e)})},3e3))}function t396_addForm(t,e){(e=t396_getEl(e))&&(tn_console("func: addForm"),e.setAttribute("data-fields","width,top,left,input
1s,container,axisx,axisy,widthunits,leftunits,topunits"),t396_elem__renderView(e))}function t396_addGallery(t,e){(e=t396_getEl(e))&&(tn_console("func: addForm"),e.setAttribute("data-fields","width,height,top,left,imgs,container,axisx,axisy,widthunits,heightunits,leftunits,topunits"),t396_elem__renderView(e))}function t396_elem__setFieldValue(t,e,i,o,n,a){(t=t396_getEl(t))&&(+(a=a||window.tn.curResolution)<1200&&"zindex"!==e?t.setAttribute("data-field-"+e+"-res-"+a+"-value",i):t.setAttribute("data-field-"+e+"-value",i),"render"===o&&elem__renderViewOneField(t,e),"updateui"===n&&panelSettings__updateUi(t,e,i))}function t396_elem__getFieldValue(n,a){if(n=t396_getEl(n)){window.tn||(window.tn={},t396_switchResolution(r=t396_detectResolution()));var l,r=window.tn.curResolution,d=[1200,960,640,480,320];return d.forEach(function(t,e){if(0===e&&t<=+r&&(l=n.getAttribute("data-field-"+a+"-value")),0<e&&+r===t){if(l=n.getAttribute("data-field-"+a+"-res-"+t+"-value"),1<e&&!l)for(var i=d.slice(1,e),o=i.length-1;0<=o&&!(l=n.getAttribute("data-field-"+a+"-res-"+i[o]+"-value"));o--);l=l||n.getAttribute("data-field-"+a+"-value")}}),l||""}}function t396_elem__renderView(e){e=t396_getEl(e),tn_console("func: elem__renderView");var t=e?e.getAttribute("data-fields"):"";if(!t)return!1;(t=t.split(",")).forEach(function(t){t396_elem__renderViewOneField(e,t)})}function t396_elem__renderViewOneField(t,e){if(t=t396_getEl(t),t&&"yes"!==t.getAttribute("data-scale-off")){var i,o,n,a,l,r=t396_elem__getFieldValue(t,e);switch(e){case"left":r=t396_elem__convertPosition__Local__toAbsolute(t,e,r),t.style.left=parseFloat(r).toFixed(1)+"px";break;case"top":r=t396_elem__convertPosition__Local__toAbsolute(t,e,r),t.style.top=parseFloat(r).toFixed(1)+"px";break;case"width":switch(r=t396_elem__getWidth(t,r),t.style.width=parseFloat(r).toFixed(1)+"px",_=t.getAttribute("data-elem-type")){case"tooltip":var d=t.querySelectorAll(".tn-atom__pin-icon");Array.prototype.forEach.call(d,function(t){var e=parseFloat(r).toFixed(1)+"px";t.style.width=e,t.style.height=e}),t.style.height=parseInt(r).toFixed(1)+"px";break;case"gallery":i=t396_elem__getFieldValue(t,"borderwidth"),(o=t396_elem__getFieldValue(t,"borderstyle"))&&i&&"none"!==o||(i=0),r-=2*i,n=parseFloat(r).toFixed(1)+"px",a=t.querySelector(".t-slds__main"),l=t.querySelectorAll(".tn-atom__slds-img"),t.style.width=n,a&&(a.style.width=n),Array.prototype.forEach.call(l,function(t){t.style.width=n})}break;case"height":if("tooltip"===(_=t.getAttribute("data-elem-type")))return;r=t396_elem__getHeight(t,r),t.style.height=parseFloat(r).toFixed(1)+"px","gallery"===_&&(i=t396_elem__getFieldValue(t,"borderwidth"),(o=t396_elem__getFieldValue(t,"borderstyle"))&&i&&"none"!==o||(i=0),r-=2*i,n=parseFloat(r).toFixed(1)+"px",a=t.querySelector(".t-slds__main"),l=t.querySelectorAll(".tn-atom__slds-img"),t.style.height=n,a&&(a.style.height=n),Array.prototype.forEach.call(l,function(t){t.style.height=n}));break;case"container":t396_elem__renderViewOneField(t,"left"),t396_elem__renderViewOneField(t,"top");break;case"inputs":var _=t.querySelector(".tn-atom__inputs-textarea"),r=_?_.value:"";try{t_zeroForms__renderForm(t,r)}catch(t){}}"width"!==e&&"height"!==e&&"fontsize"!==e&&"fontfamily"!==e&&"letterspacing"!==e&&"fontweight"!==e&&"img"!==e||(t396_elem__renderViewOneField(t,"left"),t396_elem__renderViewOneField(t,"top"))}}function t396_elem__convertPosition__Local__toAbsolute(t,e,i){if(t=t396_getEl(t)){var o,n=t.closest(".t396__artboard"),a=t396_ab__getFieldValue(n,"valign"),l="window"===t396_ab__getFieldValue(n,"upscale"),n=document.getElementById("allrecords"),r="edit"===(n?n.getAttribute("data-tilda-mode"):""),d=t396_isOnlyScalableBrowser(),_=!r&&l&&d,s=!r&&l&&!d,c=t396_elem__getFieldValue(t,"axisy"),u=t396_elem__getFieldValue(t,"axisx"),w=t396_elem__getFieldValue(t,"container");switch(i=parseInt(i),e){case"left":var f="grid"===w?"grid":"window",m="grid"===w?window.tn.grid_offset_left:0,g="grid"===w?window.tn.grid_width:window.tn.window_width;"%"===t396_elem__getFieldValue(t,"leftunits")&&(i=t396_roundFloat(g*i/100)),!r&&l?"grid"===w&&d&&(i*=window.tn_scale_factor):i=m+i,"center"===u&&(v=t396_elem__getWidth(t),_&&"window"!==f&&(g*=window.tn_scale_factor,v*=window.tn_scale_factor),i=g/2-v/2+i),"right"===u&&(v=t396_elem__getWidth(t),_&&"window"!==f&&(g*=window.tn_scale_factor,v*=window.tn_scale_factor),i=g-v+i),_&&"window"!==f&&(i+=((v=t396_elem__getWidth(t))*window.tn_scale_factor-v)/2);break;case"top":var h=t.parentNode;h.classList.contains("t396__artboard")||(h=h.parentNode);var p=h?h.getAttribute("data-artboard-proxy-min-offset-top"):"0",y=h?h.getAttribute("data-artboard-proxy-min-height"):"0",m=h?h.getAttribute("data-artboard-proxy-max-height"):"0",g=function(t){var e,i,o=t396_elem__getHeight(t);return t&&"image"===t.getAttribute("data-elem-type")&&(e=t396_elem__getWidth(t),i=t396_elem__getFieldValue(t,"filewidth"),t=t396_elem__getFieldValue(t,"fileheight"),i&&t&&(o=e/(parseInt(i)/parseInt(t)))),o};f="grid"===w?"grid":"window",v="grid"===w?parseFloat(p):0,p="grid"===w?parseFloat(y):parseFloat(m),"%"===t396_elem__getFieldValue(t,"topunits")&&(i=p*(i/100)),_&&"window"!==f&&(i*=window.tn_scale_factor),s&&"window"!==f&&(v="stretch"===a?0:v/window.tn_scale_factor),i=v+i;var b,y=t396_ab__getFieldValue(h,"height_vh"),m=t396_ab__getFieldValue(h,"height"),v=t39
16_ab__getHeight(h);l&&!r&&y&&(b=parseInt(m,10)*window.tn_scale_factor),"center"===c&&(o=g(t),_&&"window"!==f&&("stretch"!==a?p*=window.tn_scale_factor:p=b?v<b?b:v:h.clientHeight,o*=window.tn_scale_factor),r||!l||d||"window"===f||"stretch"!==a||(p=b?v<b?b:v:h.clientHeight,p/=window.tn_scale_factor),i=p/2-o/2+i),"bottom"===c&&(o=g(t),_&&"window"!==f&&("stretch"!==a?p*=window.tn_scale_factor:p=b?v<b?b:v:h.clientHeight,o*=window.tn_scale_factor),r||!l||d||"window"===f||"stretch"!==a||(p=b?v<b?b:v:h.clientHeight,p/=window.tn_scale_factor),i=p-o+i),_&&"window"!==f&&(i+=((o=g(t))*window.tn_scale_factor-o)/2)}return i}}function t396_ab__setFieldValue(t,e,i,o){(o=o||window.tn.curResolution)<1200&&t?t.setAttribute("data-artboard-"+e+"-res-"+o,i):t&&t.setAttribute("data-artboard-"+e,i)}function t396_ab__getFieldValue(n,a){if(n){var l,r=window.tn.curResolution,d=[1200,960,640,480,320];return d.forEach(function(t,e){if(0===e&&t<=+r&&(l=n.getAttribute("data-artboard-"+a)),0<e&&+r===t){if(l=n.getAttribute("data-artboard-"+a+"-res-"+t),1<e&&!l)for(var i=d.slice(1,e),o=i.length-1;0<=o&&!(l=n.getAttribute("data-artboard-"+a+"-res-"+i[o]));o--);l=l||n.getAttribute("data-artboard-"+a)}}),l||""}}function t396_ab__renderViewOneField(t,e){t396_ab__getFieldValue(t,e)}function t396_allelems__renderView(t){if(!t)return!1;tn_console("func: allelems__renderView: abid:"+t.getAttribute("data-artboard-recid"));t=t.querySelectorAll(".tn-elem");Array.prototype.forEach.call(t,function(t){t396_elem__renderView(t)})}function t396_ab__filterUpdate(t){var e,i,o,n=t.querySelector(".t396__filter");n&&(e=n.getAttribute("data-filtercolor-rgb"),i=n.getAttribute("data-filtercolor2-rgb"),o=n.getAttribute("data-filteropacity"),t=n.getAttribute("data-filteropacity2"),e&&!i?n.style.backgroundColor="rgba("+e+","+o+")":!e&&i?n.style.backgroundColor="rgba("+i+","+t+")":e&&i?n.style.background="-webkit-gradient(linear, left top, left bottom, from(rgba("+e+","+o+")), to(rgba("+i+","+t+")) )":n.style.backgroundColor="transparent")}function t396_ab__getHeight(t,e){e=e||t396_ab__getFieldValue(t,"height"),e=parseFloat(e);t=t396_ab__getFieldValue(t,"height_vh");return t&&(t=parseFloat(t),isNaN(t)||e<(t=window.tn.window_height*t/100)&&(e=t)),e}function t396_hex2rgb(t){t=parseInt(t.substring(1),16);return[(16711680&t)>>16,(65280&t)>>8,255&t]}function t396_elem__getWidth(t,e){return t=t396_getEl(t),e=e||t396_elem__getFieldValue(t,"width"),e=parseFloat(e),"%"===t396_elem__getFieldValue(t,"widthunits")&&(e="window"===t396_elem__getFieldValue(t,"container")?window.tn.window_width*e/100:window.tn.grid_width*e/100),e}function t396_elem__getHeight(t,e){t=t396_getEl(t),e=e||t396_elem__getFieldValue(t,"height"),e=parseFloat(e);var i,o,n=t.getAttribute("data-elem-type");return"shape"===n||"video"===n||"html"===n||"gallery"===n?"%"===t396_elem__getFieldValue(t,"heightunits")&&(i=(o=t.parentNode)?o.getAttribute("data-artboard-proxy-min-height"):"0",o=o?o.getAttribute("data-artboard-proxy-max-height"):"0",i=parseFloat(i),o=parseFloat(o),e="window"===t396_elem__getFieldValue(t,"container")?o*(e/100):i*(e/100)):"button"!==n&&(e=t.clientHeight),e}function t396_roundFloat(t){return t=Math.round(100*t)/100}function tn_console(t){1==+window.tn_comments&&console.log(t)}function t396_setUpTooltip_desktop(i,t,e){var o;i=t396_getEl(i),t&&(t.addEventListener("mouseover",function(){var t=document.querySelectorAll(".tn-atom__tip_visible");Array.prototype.forEach.call(t,function(t){var e=t.closest(".t396__elem");(e?e.getAttribute("data-elem-id"):"")!==i.getAttribute("data-elem-id")&&t396_hideTooltip(e,t)}),clearTimeout(o),e&&"block"===e.style.display||t396_showTooltip(i,e)}),t.addEventListener("mouseout",function(){o=setTimeout(function(){t396_hideTooltip(i,e)},300)}))}function t396_setUpTooltip_mobile(e,t,i){e=t396_getEl(e),t&&t.addEventListener("click",function(){(i&&"block"===i.style.display&&t.classList.contains("tn-atom__pin")?t396_hideTooltip:t396_showTooltip)(e,i)});var o=e.getAttribute("data-elem-id");document.addEventListener("click",function(t){if(t.target.closest(".tn-atom__pin")){t=t.target.closest(".t396__elem");if((t?t.getAttribute("data-elem-id"):"")===o)return}t396_hideTooltip(e,i)})}function t396_hideTooltip(t,e){e&&(e.style.display=""),e&&(e.style.left=""),e&&(e.style.transform=""),e&&(e.style.right=""),e&&e.classList.remove("tn-atom__tip_visible"),t&&(t.style.zIndex="")}function t396_showTooltip(t,e){var i=(t=t396_getEl(t)).closest(".t396__artboard_scale")&&!t396_isOnlyScalableBrowser(),o=(o=t.getAttribute("data-field-tipposition-value"))||"top",n=t.clientHeight;i&&(n*=window.tn_scale_factor);var a=t.getBoundingClientRect().top+window.pageYOffset,l=a+n,r=t.getBoundingClientRect().left+window.pageXOffset;i&&(r*=window.tn_scale_factor);var d=t.getBoundingClientRect().right+window.pageXOffset;i&&(d*=window.tn_scale_factor);var _=window.pageYOffset,s=document.documentElement.clientWidth,c=_+document.documentElement.clientHeight;e&&(e.style.display="block"),e&&(e.style.zIndex="-9999"),e&&(e.style.transform="translateX(-10000px)");var u=e?e.offsetHeight:0,w=e?e.offsetWidth:0;i&&(w*=window.tn_scale_factor),e&&(e.style.display=""),e&&(e.style.zIndex=""),e&&(e.style.transform="");var f,m=15;i&&(m*=window.tn_scale_factor);var g,h,p,y=t.querySelector(".tn-atom__sbs-anim-wrapper");y&&-1!==y.style.transform.indexOf("translateX")&&(g=parseInt(t.style.left),y=parseInt(t.style.left),i&&(g*=window.tn_scale_factor),i&&(y*=window.tn_scale_factor),r+=g,d-=g,a+=y,l-=y),"right"!==o&&"left"!==o||(h=d+m+w,p=r-m-w,("right"===o&&s<h||"left"===o&&p<0)&&(o="top")),"top"!==o&&"bottom"!==o||(p=r-(w/2-n/2),s<(h=d+(w/2-n/2))&&(d=-(s-d-m),e&&(e.style.left="auto"),e&&(e.style.transform="none"),e&&(e.style.right=d+"px")),p<0&&(r=-(r-m),e&&(e.style.left=r+"px"),e&&(e.style.transform="none"))),"top"===o&&(f=a-m-u,l+m+u<c&&f<_&&(o="bottom")),"bottom"===o&&(f=a-m-u,c<l+m+u&&_<f&&(o="top")),e&&e.setAttribute("data-tip-pos",o),e&&(e.style.display="block"),e&&e.classList.add("tn-atom__tip_visible"),t&&(t.style.zIndex="1000")}function t396_hex2rgba(t,e){if(!t)return!1;t=parseInt(t.substring(1),16);return[(16711680&t)>>16,(65280&t)>>8,255&t,parseFloat(e)]}function t396_removeElementFromDOM(t){(t=t396_getEl(t))&&t.parentNode&&t.parentNode.removeChild(t)}function t396_getEl(t){return window.jQuery&&t instanceof jQuery?t.length?t.get(0):null:t}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(Element.prototype.matches.call(e,t))return e;e=e.parentElement||e.parentNode}return null});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.