1((e,t)=>{let a,n,i,o=0,l,s,r,c,d,u=!1;t.addEventListener("keydown",e=>{"Tab"===e.key&&(u=!0)},!0),t.addEventListener("pointerdown",()=>{u=!1},!0);const p={pages:{},showOverview:!0},m=e=>decodeURIComponent((e+"").replace(/%(?![\da-f]{2})/gi,()=>"%25").replace(/\+/g,"%20")),v=e=>e&&"/"!==e?e.replace(/\/+$/,""):e||"",g=t=>!!t&&v(e.location.pathname)===v(t),f=t=>{if(!t)return!1;const a=v(e.location.pathname),n=v(t);return a===n||a.startsWith(n+"/")},b=(e,t,a)=>{let n=null;if(e instanceof Array)for(let i=0;i<e.length&&(n=b(e[i],t,a),!n);i++);else for(let i in e){if(i==t&&e[i]==a)return e;if((e[i]instanceof Object||e[i]instanceof Array)&&(n=b(e[i],t,a),n))break}return n},_=(e,t=[])=>{const a=Object.values(e),n=a.find(e=>f(e.url))??a.find(e=>e.active);return n?(t.push(n),n.current||g(n.url)||null===n.pages||_(n.pages,t),t):t},h=()=>t.querySelector(".off-canvas__trigger"),E=()=>t.querySelector(".off-canvas__inner"),y=()=>t.querySelector(".main-navigation"),A=()=>t.querySelector(".main-navigation__nav"),L=()=>p.pages.pages[0].labels,k=()=>p.pages.pages[0].url,x=(e,a=null,n=0,i=!1,o=!0,l=!1)=>{const s=t.createElement("div");if(s.className="main-navigation__panel main-navigation__panel--level-"+n+(l?" main-navigation__panel--hide":""),s.setAttribute("data-level",n),l&&s.setAttribute("aria-hidden","true"),null!==a&&s.setAttribute("data-parent-id",a.id),null!==a||i){const e=t.createElement("div");if(e.className=i?"main-navigation__header main-navigation__header--home":"main-navigation__header",null!==a){const n=t.createElement("span");n.className="h3",n.innerText=m(a.name),e.appendChild(n)}else if(i){const a=t.createElement("a");a.setAttribute("href",k()),a.innerText=L().back_home,e.appendChild(a)}s.appendChild(e)}const r=C(e,n,null!==a?a:null,o);return null===r?null:(s.appendChild(r),s)},C=(e,a=0,n=null,i=!0,o=!0)=>{const l=t.createElement("ul");l.className="main-navigation__list",null!==n&&(l.ariaLabel=m(n.name));let s=!1;const r=e.some(e=>f(e.url));return null!==n&&p.showOverview&&(s=!0,l.appendChild(S(n,a,!0,0,i,o,r))),e.forEach((e,t)=>{!1!==e.visible&&(s=!0,l.appendChild(S(e,a,!1,t+1,i,o,r)))}),s?l:null},S=(e,i=0,o=!1,l,s=!0,c=!0,d=!1)=>{const u=t.createElement("li");u.className="main-navigation__item";const p=g(e.url),v=f(e.url);if(s&&(d?v:e.active)&&!o&&(u.className+=" main-navigation__item--active"),s&&(e.current||p)&&(u.className+=o?" main-navigation__item--active main-navigation__item--current":" main-navigation__item--current"),e.attributes&&null!==e.attributes)for(const[t,a]of Object.entries(e.attributes))"class"===t?u.className+=" "+a:u.setAttribute(t.replace("_","-"),a);const b=h(),_=r&&null!==b&&!b.checked,E=t.createElement("a");E.className="main-navigation__link",E.href=e.url,_&&E.setAttribute("tabindex","-1"),null!==e.target&&(E.target=e.target,"_blank"===e.target&&(E.rel="noopener noreferrer")),E.innerHTML=o?"<span>"+L().overview+"</span>":"<span>"+m(e.name)+"</span>",(!0===e.current||p)&&E.setAttribute("aria-current","page");const y=t.createElement("button");if(y.className="main-navigation__button",y.type="button",y.setAttribute("data-page-id",e.id),y.setAttribute("aria-label",L().open_submenu_prefix+m(e.name)+L().open_submenu_suffix),y.setAttribute("aria-expanded",(d?v:e.active)?"true":"false"),y.setAttribute("aria-haspopup","true"),y.innerHTML="<span>"+m(e.name)+'</span><span aria-hidden="true">â</span>',_&&y.setAttribute("tabindex","-1"),null!==e.pages&&!1===o){let o=!0,l=!1;if(i<3){const t=void 0;e.pages.some(e=>!1!==e.visible)&&(E.innerHTML+='<span aria-hidden="true">â</span>',l=!0)}else if(3===i&&"folder"===e.type){let t="";e.pages.forEach(e=>{!1===e.visible||"link"!==e.type&&"page"!==e.type||(t=e.url)}),""===t?o=!1:E.href=t}l?(y.addEventListener("click",i=>{"menu"!==a||r||parseInt(e.parentId)!==n?("menu"!==a||r||parseInt(e.parentId)===n)&&("off-canvas"!==a||r)?T(e,e.pages,"next",i):I(e,e.pages,i):F(e,e.pages,i),t.dispatchEvent(new Event("main-navigation-click"))},!1),u.appendChild(y),!1===c&&(u.classList.add("main-navigation__item--has-sub"),u.appendChild(C(e.pages,i+1,e,!0,!1)))):o&&u.appendChild(E)}else u.appendChild(E);return u},q=e=>{const a=t.createElement("ul");a.className="main-navigation__list main-navigation__list--header";const i=t.createElement("li");i.className="main-navigation__item main-navigation__item--header";const o=t.createElement("span");o.className="h3 hyphenate",o.innerText=m(e.name),i.appendChild(o);const l=void 0;if(parseInt(e.parentId)!==n&&e.hasOwnProperty("parentId")||parseInt(e.parentId)===n&&r){const i=t.createElement("li");i.className="main-navigation__item main-navigation__item--back";const o=b(p.pages,"id",e.parentId),l=t.createElement("button");l.className="main-navigation__button main-navigation__button--prev",l.type="button",l.innerHTML=parseInt(e.parentId)===n&&r?'<span aria-hidden="true">â</span><span>'+L().back_main+"</span>":'<span aria-hidden="true">â</span><span>'+L().back_prefix+m(o.name)+L().back_suffix+"</span>",l.addEventListener("click",a=>
1{T(o,o.pages,"prev",a,e.id),t.dispatchEvent(new Event("main-navigation-click"))},!1),i.appendChild(l),a.appendChild(i)}else{const e=t.createElement("li");e.className="main-navigation__item main-navigation__item--home";const n=t.createElement("a");n.className="main-navigation__link",n.setAttribute("href",k()),n.innerText=L().back_home,e.appendChild(n),a.appendChild(e)}return e.hasOwnProperty("parentId")&&a.appendChild(i),a},I=(e,t,a)=>{const n=A(),i=n.querySelector("button[data-page-id='"+e.id+"']");if(null===i)return;const o=i.closest(".main-navigation__item"),l=i.closest(".main-navigation__panel");if(null===o||null===l)return;const s=o.querySelector(":scope > .main-navigation__panel");if(o.classList.contains("main-navigation__item--active")){const e=void 0;null!==s&&!s.classList.contains("main-navigation__panel--hide")?(s.classList.add("main-navigation__panel--hide"),s.setAttribute("aria-hidden","true"),getFocusableElements(s).forEach(e=>e.setAttribute("tabindex","-1")),i.setAttribute("aria-expanded","false")):(null!==s&&(s.classList.remove("main-navigation__panel--hide"),s.removeAttribute("aria-hidden"),getFocusableElements(s).filter(e=>null===e.closest(".main-navigation__panel--hide")).forEach(e=>e.removeAttribute("tabindex")),focusFirstElement(s)),i.setAttribute("aria-expanded","true"))}else{const a=l.querySelector(".main-navigation__item--active");if(null!==a){a.classList.remove("main-navigation__item--active");const e=a.querySelector(":scope > .main-navigation__panel");if(null!==e){const t=a.querySelector("button[data-page-id]");null!==t&&(t.removeAttribute("aria-controls"),t.setAttribute("aria-expanded","false")),a.removeChild(e)}}o.classList.add("main-navigation__item--active");const s=parseInt(l.getAttribute("data-level")),r=x(t,e,s+1,!1,!1,!0),c="nav-panel-"+e.id;r.id=c,i.setAttribute("aria-controls",c),o.appendChild(r),i.setAttribute("aria-expanded","true"),setTimeout(()=>{r.classList.remove("main-navigation__panel--hide"),r.removeAttribute("aria-hidden"),getFocusableElements(r).forEach(e=>e.removeAttribute("tabindex")),focusFirstElement(r)},10),w(n)}},w=(e=null)=>{if(null===e)return;const a=e=>Array.from(e.querySelectorAll('a[href]:not([tabindex="-1"]), button:not([disabled]):not([tabindex="-1"])'));e.querySelectorAll(".main-navigation__panel:not([data-level='0']):not([data-event-listener])").forEach(e=>{e.addEventListener("keydown",n=>{if("Tab"!==n.key)return;const i=a(e),o=i[0]??null,l=i[i.length-1]??null,s=void 0;if(!(n.shiftKey?t.activeElement===o:t.activeElement===l))return;if(n.preventDefault(),n.stopPropagation(),e.classList.add("main-navigation__panel--hide"),e.setAttribute("aria-hidden","true"),a(e).forEach(e=>e.setAttribute("tabindex","-1")),!e.hasAttribute("data-parent-id"))return;const r=A(),c=r.querySelector("button[data-page-id='"+e.getAttribute("data-parent-id")+"']");if(null!==c&&!c.closest(".main-navigation__panel--hide"))if(c.setAttribute("aria-expanded","false"),n.shiftKey)c.focus();else{const e=a(c.closest(".main-navigation__panel")??r),t=void 0;(e[e.indexOf(c)+1]??null??c).focus()}}),e.setAttribute("data-event-listener","true")})},N=(e=null)=>{if(null===e)return;const t=void 0,a=Array.from(e.querySelectorAll(".main-navigation__panel")).pop();void 0!==a&&setTimeout(()=>{const e=a.querySelector(".main-navigation__item--active");focusFirstElement(null!==e?e:a)},300)},T=(e,i,o="next",l,s)=>{const c="menu"===a&&!r,d=t.querySelector(c?".main-navigation__sub":".main-navigation"),u=t.querySelector(c?".main-navigation__sub > nav":".main-navigation > nav"),p=t.createElement("nav");p.className="main-navigation__nav main-navigation__nav--absolute main-navigation__nav--show main-navigation__nav--"+o,p.setAttribute("aria-label","Hauptmenü");const m=t.createElement("ul");m.className="main-navigation__list main-navigation__list--header",m.appendChild(q(e)),p.appendChild(m),p.appendChild(e.id===n?C(i,0,null,!1):C(i,0,e,!1)),u.parentNode.insertBefore(p,u.nextElementSibling),u.classList.add("main-navigation__nav--hide","main-navigation__nav--"+o),setTimeout(()=>p.classList.remove("main-navigation__nav--show"),100),setTimeout(()=>{u.parentNode.removeChild(u),p.classList.remove("main-navigation__nav--absolute","main-navigation__nav--"+o);const e=Array.from(d.querySelectorAll("a:not([tabindex='-1']), button:not([tabindex='-1'])")),a=e[0],n=e[e.length-1];if("next"===o)void 0!==a&&0===l.detail&&a.focus();else{const e=d.querySelector(".main-navigation__button[data-page-id='"+s+"']");null!==e&&0===l.detail?e.focus():void 0!==a&&0===l.detail&&a.focus()}r?void 0!==n&&n.addEventListener("blur",e=>{if(0===e.detail&&!d.contains(e.relatedTarget)){const e=t.querySelector(".off-canvas__toggle--close");
1null!==e&&"none"!==getComputedStyle(e).display?e.focus():void 0!==a&&a.focus()}},!1):void 0!==a&&a.addEventListener("blur",e=>{if(0===e.detail&&!d.contains(e.relatedTarget)){const e=t.querySelector(".main-navigation__button--close");null!==e&&"none"!==getComputedStyle(e).display?e.focus():void 0!==n&&n.focus()}},!1)},300)},F=(e,a,n)=>{if(r)return;const i=[];if(t.querySelectorAll(".main-navigation__sub").forEach(e=>{i.push(parseInt(e.getAttribute("data-parent-id")));const a=e.getAttribute("data-parent-id"),n=t.querySelector("[data-page-id='"+a+"']");n?.removeAttribute("aria-controls"),e.parentNode.removeChild(e)}),i.includes(parseInt(e.id)))return;let o=null,l;const s="nav-sub-"+e.id,c=t.createElement("div");c.className="main-navigation__sub",c.id=s,c.setAttribute("data-parent-id",parseInt(e.id));const d=t.createElement("nav");d.className="main-navigation__nav",d.setAttribute("aria-label","Hauptmenü");const u=t.createElement("ul");u.className="main-navigation__list main-navigation__list--header";const p=t.createElement("li");p.className="main-navigation__item";const v=t.createElement("a");v.className="main-navigation__link",v.href=e.url,null!==e.target&&(v.target=e.target,"_blank"===e.target&&(v.rel="noopener noreferrer")),v.innerHTML="<span>"+m(e.name)+"</span>",!0===e.current&&v.setAttribute("aria-current","page"),p.appendChild(v),u.appendChild(p),d.appendChild(u),d.appendChild(C(a)),c.appendChild(d);const g=t.createElement("button");g.className="main-navigation__button main-navigation__button--close",g.type="button",g.setAttribute("aria-label",L().close_submenu||L().back_main||"SchlieÃen"),g.innerHTML='<span aria-hidden="true">Ã</span>',g.addEventListener("click",e=>{if(null!==o){const t=o.previousElementSibling;t?.removeAttribute("aria-controls"),o.parentNode.removeChild(o),null!==t&&0===e.detail&&t.focus()}t.dispatchEvent(new Event("main-navigation-click"))},!1),g.addEventListener("blur",e=>{0!==e.detail||void 0===l||o.contains(e.relatedTarget)||l.focus()},!1),g.addEventListener("focus",()=>{if(null!==o){const e=Array.from(o.querySelectorAll("a:not([tabindex='-1']), button:not([tabindex='-1'])"));l=e.shift()}},!1),c.appendChild(g);const f=t.querySelector("[data-page-id='"+e.id+"']");if(null!==f){if(f.setAttribute("aria-controls",s),f.parentNode.appendChild(c),o=t.querySelector(".main-navigation__sub"),null!==o){const e=Array.from(o.querySelectorAll("a:not([tabindex='-1']), button:not([tabindex='-1'])"));l=e.shift()}void 0!==l&&l.focus()}void 0!==l&&l.addEventListener("blur",e=>{if(0===e.detail){const a=t.querySelector(".main-navigation__button--close");null===a||o.contains(e.relatedTarget)||a.focus()}},!1)},O=e=>{const t=A(),a=b(p.pages,"id",e.parentId);if(null!==e.pages){const i=!e.pages.some(e=>!0===e.visible);t.appendChild(q(i?a:e)),e.id===n?t.appendChild(C(e.pages)):i?t.appendChild(a.id===n?C(a.pages):C(a.pages,a.level,a)):t.appendChild(C(e.pages,e.level,e))}else t.appendChild(q(a)),t.appendChild(e.parentId===n?C(a.pages):C(a.pages,a.level,a))},P=(e,t,a)=>{const i=A(),o=_(e),l=(e,t)=>{const a=i.querySelector("button[data-page-id='"+e+"']")?.closest(".main-navigation__item");if(!a)return;const n=a.querySelector("button[data-page-id='"+e+"']");if(null!==n){const a="nav-panel-"+e;t.id=a,n.setAttribute("aria-controls",a),n.setAttribute("aria-expanded","true")}a.appendChild(t)};if(o.length>0)o.forEach((e,t,a)=>{const s=b(p.pages,"id",e.parentId);if(null!==s.pages&&null!==x(s.pages)){const e=s.id===n?x(s.pages,null,t,!0):x(s.pages,s,t);0===t?i.appendChild(e):l(o[t-1].id,e)}t===a.length-1&&null!==e.pages&&e.pages.some(e=>!0===e.visible)&&l(e.id,x(e.pages,e,t+1))}),w(i),N(i);else{const e=b(p.pages,"id",t);null!==e.pages&&i.appendChild(a?x(e.pages,null,0,!0):x(e.pages,e,0))}},H=()=>{const t=h(),i=A();y().style.display="flex",i.innerHTML="";const l=b(p.pages,"url",v(e.location.pathname))??b(p.pages,"url",e.location.pathname)??b(p.pages,"current",!0);if("menu"===a){if(r)t.checked&&O(l);else if(0!==o){const e=E();getFocusableElements(e).forEach(e=>e.removeAttribute("tabindex"));const t=b(p.pages,"id",o);P(t.pages,o,!1);const a=getFirstFocusableElement(e),n=getLastFocusableElement(e);null!==a&&null!==n&&(a.addEventListener("blur",t=>{h()?.checked&&(!u||isKEscapeKey(t)||e.contains(t.relatedTarget)||n.focus())}),n.addEventListener("blur",t=>{h()?.checked&&(!u||isKEscapeKey(t)||e.contains(t.relatedTarget)||a.focus())}))}}else"off-canvas"===a&&t.checked&&(r?O(l):P(p.pages.pages[0].pages,n,!0))},M=e=>
1{r||t.querySelectorAll(".main-navigation__sub").forEach(e=>e.parentNode.removeChild(e)),H(e)},D=()=>{A().innerHTML=""},K=(u="",m=!0)=>{p.showOverview=m;const v=()=>{const m=getComputedStyle(t.documentElement);a=m.getPropertyValue("--main-navigation-mode").trim(),l=1===parseInt(m.getPropertyValue("--off-canvas-desktop")),s=parseInt(m.getPropertyValue("--off-canvas-breakpoint")),d=m.getPropertyValue("--off-canvas-breakpoint").indexOf("rem")>-1?.0625:1,c=t.documentElement.clientWidth*d,r=!("off-canvas"!==a||!l)||c<s;const v=t.body.getAttribute("data-page-id"),g=t.body.getAttribute("data-root-id");let f=null;if(""!==u){const e=new URLSearchParams(new URL(u).search);e.has("documentId")&&e.has("rootId")?f=u:null!==v&&null!==g&&(f=new URL(`${u}/frontend/navigation.json`),f.searchParams.append("documentId",parseInt(v)),f.searchParams.append("rootId",parseInt(g)))}else null!==v&&null!==g&&(f=new URL(`${e.location.protocol}//${e.location.host}/frontend/navigation.json`),f.searchParams.append("documentId",parseInt(v)),f.searchParams.append("rootId",parseInt(g)));null!==f&&fetch(f).then(e=>e.json()).then(e=>{p.pages=e,t.querySelector(".off-canvas__toggle--open")?.classList.add("off-canvas__toggle--active")}).catch(e=>console.error(e));const b=y();if(null===b)return;b.hasAttribute("data-root-id")?n=parseInt(b.getAttribute("data-root-id")):t.body.hasAttribute("data-root-id")&&(n=parseInt(t.body.getAttribute("data-root-id")));const _=t.querySelector(".main-navigation nav");null===_||_.classList.contains("main-navigation__nav")||_.classList.add("main-navigation__nav");const A=t.querySelectorAll(".menu-navigation__button");A.forEach(e=>{e.setAttribute("aria-expanded","false"),e.setAttribute("aria-haspopup","true"),e.addEventListener("click",a=>{const n=parseInt(e.getAttribute("data-page-id"));A.forEach(e=>{e.classList.remove("menu-navigation__button--open"),e.setAttribute("aria-expanded","false")});const i=h();if(null!==i)if(i.checked&&n===o){const e=E();null!==e&&getFocusableElements(e).forEach(e=>e.setAttribute("tabindex","-1")),i.checked=!1,t.body.classList.remove("navigation-open"),D()}else i.checked=!0,o=n,H(a),e.classList.add("menu-navigation__button--open"),e.setAttribute("aria-expanded","true"),t.body.classList.add("navigation-open"),r||setTimeout(()=>{const e=E();if(null!==e){const t=getFirstFocusableElement(e);null!==t&&t.focus()}},50);t.dispatchEvent(new Event("main-navigation-click"))},!1)}),t.addEventListener("off-canvas-toggle-open-click",e=>{const a=h();null!==a&&(a.checked?M(e.detail):setTimeout(()=>D(),300)),t.dispatchEvent(new Event("main-navigation-click"))},!1),t.addEventListener("off-canvas-toggle-off-click",()=>{A.forEach(e=>{e.classList.remove("menu-navigation__button--open"),e.setAttribute("aria-expanded","false")});const e=h();null!==e&&setTimeout(()=>{e.checked=!1,D()},300),t.dispatchEvent(new Event("main-navigation-click"))},!1),e.addEventListener("resize",e=>{c=t.documentElement.clientWidth*d,l||(r=c<s),clearTimeout(i),i=setTimeout(()=>M(e),200)},!1)};"loading"===t.readyState?t.addEventListener("DOMContentLoaded",v,{once:!0}):v()};try{e.initMainNavigation=K}catch(e){}"undefined"!=typeof module&&module.exports&&(module.exports=module.exports||{},module.exports.initMainNavigation=K)})(window,document),((e,t)=>{let a,n,i,o,l,s=null;const r=e=>{s&&s.abort(),s=new AbortController,e.addEventListener("keydown",a=>{if("Tab"!==a.key)return;const n=getFocusableElements(e);if(0===n.length)return;const i=n[0],o=n[n.length-1];a.shiftKey?t.activeElement===i&&(a.preventDefault(),o.focus()):t.activeElement===o&&(a.preventDefault(),i.focus())},{signal:s.signal})},c=()=>{s?.abort(),s=null};t.addEventListener("DOMContentLoaded",()=>{const s=getComputedStyle(t.documentElement);i=s.getPropertyValue("--main-navigation-mode").trim(),o=parseInt(s.getPropertyValue("--off-canvas-breakpoint")),n=s.getPropertyValue("--off-canvas-breakpoint").indexOf("rem")>-1?.0625:1,a=t.documentElement.clientWidth*n,"off-canvas"!==i&&"menu"!==i||(l=!0);const d=t.querySelector(".off-canvas__trigger"),u=t.querySelectorAll(".off-canvas__toggle"),p=t.querySelector(".off-canvas__inner");let m,v,g,f;d?.setAttribute("aria-hidden","true"),null===p||p.id||(p.id="off-canvas-panel");const b=()=>{d.checked=!0,t.body.classList.add("navigation-open"),setBodyOverflowHidden(),m?.setAttribute("aria-expanded","true"),p?.removeAttribute("aria-hidden"),g=p.querySelectorAll("a[tabindex='-1'], button[tabindex='-1'], input[type='text'][tabindex='-1'], input[type='search'][tabindex='-1']"),g.forEach(e
1=>e.removeAttribute("tabindex")),f=p.querySelectorAll("button > a"),f.forEach(e=>e.setAttribute("tabindex","-1")),setTimeout(()=>{let e=getFirstFocusableElement(p),t=getLastFocusableElement(p);if(t&&!t.classList.contains("button--icon")){const e=Array.from(p.querySelectorAll(".main-navigation__panel"));e.length>1&&e.at(-1).contains(t)&&(t=getLastFocusableElement(e[0]))}r(p),e?.focus()},300)},_=(e=null)=>{g=getFocusableElements(p),g.forEach(e=>e.setAttribute("tabindex","-1")),d.checked=!1,t.body.classList.remove("navigation-open"),removeBodyOverflowHidden(),m?.setAttribute("aria-expanded","false"),p?.setAttribute("aria-hidden","true"),c(),e?.focus()};t.addEventListener("keyup",e=>{const a=void 0;if(!("Escape"===e.key||"Esc"===e.key||27===e.keyCode)||!d?.checked)return;const n=t.querySelector(".menu-navigation__button--open");null!==n?(_(n),n.classList.remove("menu-navigation__button--open"),n.setAttribute("aria-expanded","false")):_(m)}),t.addEventListener("click",e=>{e.target.classList.contains("off-canvas__toggle--close")&&m?.click()},!1);const h=e=>t.dispatchEvent(new CustomEvent("off-canvas-toggle-open-click",{detail:e})),E=e=>t.dispatchEvent(new CustomEvent("off-canvas-toggle-off-click",{detail:e})),y=()=>{const e=p?.id??"off-canvas-panel";u.forEach(t=>{t.setAttribute("type","button"),t.setAttribute("aria-controls",e),t.removeAttribute("for"),t.outerHTML=t.outerHTML.replace(/<([\/]*)label/g,"<$1button")}),l&&null!==d&&(g=getFocusableElements(p),g.forEach(e=>e.setAttribute("tabindex","-1")),m=t.querySelector(".off-canvas__toggle--open"),v=t.querySelector(".off-canvas__toggle--off"),m?.setAttribute("aria-expanded","false"),null!==p&&(p.setAttribute("aria-label","Navigation"),p.setAttribute("aria-hidden","true")),v?.setAttribute("tabindex","-1"),d.setAttribute("tabindex","-1"),d.setAttribute("autocomplete","off"),d.checked=!1,null!==m&&m.addEventListener("click",e=>{e.preventDefault(),e.currentTarget.classList.contains("off-canvas__toggle--active")&&(d.checked?_(0===e.detail?m:null):b(),h(e))},!1),null!==v&&v.addEventListener("click",e=>{e.preventDefault(),_(null),E(e)},!1),d.addEventListener("keyup",e=>{const t=void 0;("Enter"===e.key||" "===e.key)&&(e.preventDefault(),d.checked?_(null):b())}))};e.addEventListener("beforeunload",()=>{d?.checked&&_(null)}),y(),e.addEventListener("resize",()=>{a=t.documentElement.clientWidth*n,"menu"===i&&(l=a<o)},!1)})})(window,document);
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.