!function(){function s(s,e,l,t){const c=[];for(let n=0;n<s.classList.length;n++)if(s.classList[n].includes(e)){const e=s.classList[n].replace(l,t);c.push({remove:s.classList[n],add:e})}for(let e=0;e<c.length;e++)s.classList.remove(c[e].remove),s.classList.add(c[e].add)}function e(s){for(let e=0;e<s.classList.length;e++)if(s.classList[e].includes("-passive")){const l=s.classList[e].substring(0,s.classList[e].indexOf("-passive"));s.classList.remove(s.classList[e]),s.classList.add(l);break}}function l(e){for(let s=0;s<e.children.length;s++)e.children[s].classList.contains("lg-bio--closed")?(e.children[s].style.opacity=1,e.children[s].style.pointerEvents="all"):e.children[s].classList.contains("lg-bio--open")&&(e.children[s].style.opacity=0,e.children[s].style.pointerEvents="none");s(e,"--open","open","closed")}document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".lg-bio__btn--open").forEach(t=>{t.addEventListener("click",function(){const t=this.closest(".lg-block__bio");e(t),function(e){for(let s=0;s<e.children.length;s++)e.children[s].classList.contains("lg-bio--closed")?(e.children[s].style.opacity=0,e.children[s].style.pointerEvents="none"):e.children[s].classList.contains("lg-bio--open")&&(e.children[s].style.opacity=1,e.children[s].style.pointerEvents="all");s(e,"--closed","closed","open")}(t),document.querySelectorAll(".lg-block__bio").forEach(s=>{s!==t&&(l(s),function(s){for(let e=0;e<s.classList.length;e++)if(s.classList[e].includes("row-max--closed")&&!s.classList[e].includes("-passive")){const l=`${s.classList[e]}-passive`;s.classList.remove(s.classList[e]),s.classList.add(l);break}}(s))})})}),document.querySelectorAll(".lg-bio__text--link").forEach(s=>{s.addEventListener("click",function(s){s.stopPropagation()})}),document.querySelectorAll(".lg-bio--open").forEach(s=>{s.addEventListener("click",function(){document.querySelectorAll(".lg-block__bio").forEach(s=>{e(s),l(s)})})})})}();