1!function(){"use strict";function e(n){"Tab"===n.key&&(document.body.classList.add("u-user-is-tabbing"),window.removeEventListener("keydown",e),window.addEventListener("mousedown",t))}function t(){document.body.classList.remove("u-user-is-tabbing"),window.removeEventListener("mousedown",t),window.addEventListener("keydown",e)}let n;document.getElementById("theme-overlay"),document.getElementById("js-hamburger-button"),document.getElementById("js-menu-primary"),document.querySelectorAll("#js-theme-switcher .js-theme-option");const i=document.querySelectorAll(".js-project-toggle"),o=(document.querySelectorAll(".js-card"),document.querySelectorAll(".js-team-toggle")),s=document.getElementById("js-team-wrapper"),d=document.getElementById("js-project-details"),a=document.querySelectorAll(".js-details");let r=!1;if("undefined"!=typeof window){const e={get passive(){r=!0}};window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}function l(){if(d){const e=d.offsetWidth,t=d.querySelector(".c-details--break");t&&t.remove();let n=0,i=!1;if(a.forEach(e=>{n+=e.offsetWidth}),n>=e&&(i=!0),i){n=0;for(let t=0;t<a.length;t++){const i=a[t];if(n+=i.offsetWidth,n>=e/2){const e=document.createElement("div");e.classList.add("c-details"),e.classList.add("c-details--break"),i.parentNode.insertBefore(e,i.nextSibling);break}}}}}function c(e){const t=e.currentTarget,n=e.currentTarget.nextElementSibling,i="true"===t.getAttribute("aria-expanded")||!1;console.log(n.id),t.setAttribute("aria-expanded",!i),"js-project-details"===n.id?function(e){const t=e.scrollHeight+1,n="true"===e.getAttribute("data-collapsed")||!1;if(n)e.style.height=`${t}px`;else{const n=e.style.transition;e.style.transition="",requestAnimationFrame(function(){e.style.height=`${t}px`,e.style.transition=n,requestAnimationFrame(function(){e.style.height="0px"})})}e.setAttribute("data-collapsed",!n)}(n):n.setAttribute("data-collapsed",i),l()}function u(e,t){const n=s.clientWidth,i=s.getBoundingClientRect().left,o=e.getBoundingClientRect().left-i;t.style.left=`-${o}px`,t.style.width=`${n}px`}function m(e){const t=e.currentTarget,n=t.nextElementSibling,i=t.closest(".c-team"),o="true"===t.getAttribute("aria-expanded")||!1;t.setAttribute("aria-expanded",!o),n.setAttribute("data-visible",!o),i.classList.toggle("c-team--focus"),document.body.classList.toggle("c-body--disable-pointer-events"),u(i,n),window.addEventListener("resize",function(e){u(i,n)},{once:!0})}"undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints),window.addEventListener("keydown",e),window.addEventListener("resize",function(){document.body.classList.add("u-resize-animation-stopper"),clearTimeout(n),n=setTimeout(()=>{document.body.classList.remove("u-resize-animation-stopper")},400)}),i&&i.forEach(e=>{e.addEventListener("click",c)}),o&&o.forEach(e=>{e.addEventListener("click",m)}),window.addEventListener("resize",l)}(); 2//# sourceMappingURL=theme.min.js.map
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.