function t396__processFixedArtBoard(t){if(t){var e=document.getElementById("tildacopy");if("fixed"!==t396_ab__getFieldValue(t,"pos"))return t.fixedOnScroll&&window.removeEventListener("scroll",t.fixedOnScroll),t396__unfixedArtBoard(t),void t396__setAndUpdateFixedAbList(e,t);var i=t396_ab__getFieldValue(t,"fixed-trigger"),d="fixslide"!==t396_ab__getFieldValue(t,"appear-anim"),o=getComputedStyle(t),n="t396__artboard-fixed-no-bg",o=("rgba(0, 0, 0, 0)"===o.backgroundColor&&"none"===o.backgroundImage?t.classList.add(n):t.classList.remove(n),d&&i?"t396__artboard-fixed-innactive":"");d&&i?t.classList.add(o):t.classList.remove("t396__artboard-fixed-innactive"),t396__setAndUpdateFixedAbList(e,t),i?(t396__changeFixedArtBoardClass(t,i,n="t396__artboard-fixed-active",o),t396__updateOnScrollFixedAB(t,i,n,o)):t.fixedOnScroll&&window.removeEventListener("scroll",t.fixedOnScroll)}}function t396__unfixedArtBoard(e){["t396__artboard-fixed-no-bg","t396__artboard-fixed-innactive","t396__artboard-fixed-active"].forEach(function(t){e.classList.remove(t)})}function t396__setAndUpdateFixedAbList(t,e){!t||"none"===getComputedStyle(t).display||Math.max(document.body.scrollHeight,document.body.offsetHeight,document.body.clientHeight,document.documentElement.offsetHeight)+t.offsetHeighte?(t.classList.add(i),d&&t.classList.remove(d)):(t.classList.remove(i),d&&t.classList.add(d))}function t396__updateFixedPosList(t){var e,i,d,o;void 0!==window.tn.abFixedPosList&&(o="fixed"===t396_ab__getFieldValue(t,"pos"),e="bottom"===t396_ab__getFieldValue(t,"fixed-pos"),i=t.classList.contains("t396__artboard-fixed-no-bg"),d=t.offsetHeight,t=t.getAttribute("data-artboard-recid"),o&&e&&d&&!i?(o={abID:t,abHeight:d},t396__removeCurrentAbFromFixedPosList(t),window.tn.abFixedPosList.push(o)):t396__removeCurrentAbFromFixedPosList(t))}function t396__removeCurrentAbFromFixedPosList(e){void 0!==window.tn.abFixedPosList&&(window.tn.abFixedPosList=window.tn.abFixedPosList.filter(function(t){return t.abID!==e}))}function t396__updateTildaCopyPadding(t){var e,i;void 0!==window.tn.abFixedPosList&&(t=getComputedStyle(t).backgroundColor,(e=document.querySelector(".tildacopy-padding"))||((i=document.createElement("div")).classList.add("tildacopy-padding"),i.style.backgroundColor=t,document.body.appendChild(i)),e=document.querySelector(".tildacopy-padding"),0===window.tn.abFixedPosList.length?e.style.height="0":(t=window.tn.abFixedPosList.reduce(function(t,e){return t=e.abHeight>t?e.abHeight:t},0),e.style.height=t+"px"))}