(() => { const isHome = window.location.pathname.endsWith("/home/"); const active = { services: window.location.pathname.endsWith("/portal/services/") && !window.location.href.endsWith("/portal/services/#ReverseEngineering"), reliability: window.location.pathname.endsWith("/portal/reliability-testing/"), failure: window.location.pathname.endsWith("/portal/failure-analysis/"), reverse: window.location.pathname.endsWith("/portal/services/") && window.location.href.endsWith("/portal/services/#ReverseEngineering"), downloads: window.location.pathname.endsWith("/downloads/") }; const signedIn = false; if (isHome) { document.body.classList.add("bg-primary-800"); } let html = `
`.trim(); let template = document.createElement('template'); if ('content' in template) { template.innerHTML = html; document.body.prepend(template.content.firstChild); } else { template = document.createElement('div'); template.innerHTML = html; document.body.prepend(template); } document.documentElement.style.scrollPaddingTop = '8rem'; })();