1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[347],{4597:(e,t,n)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,c(o.key),o)}}function a(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var i;n.d(t,{default:()=>s});const s=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"navIcons",document.querySelectorAll(".js-nav-icon")),a(this,"navSections",document.querySelectorAll(".js-nav-section")),a(this,"navDrawerSection",document.querySelectorAll(".js-nav-drawer-section")),a(this,"navDrawerOverlay",document.querySelector(".js-nav-drawer-overlay")),a(this,"selectedSection",null),(i=this).init(),i.setNavWidth(),window.addEventListener("resize",i.setNavWidth)},t=[{key:"init",value:function(){var e;i.navIcons.forEach(function(e){e.addEventListener("click",i.toggleNavDrawer),e.addEventListener("click",i.toggleNavDrawerSectionInner)}),i.navSections.forEach(function(e){e.addEventListener("click",i.toggleNavDrawer),e.addEventListener("click",i.toggleNavDrawerSectionInner)}),i.navDrawerSection.forEach(function(e){e.addEventListener("click",i.toggleNavDrawerSection)}),null===(e=i.navDrawerOverlay)||void 0===e||e.addEventListener("click",i.toggleNavDrawer)}},{key:"setNavWidth",value:function(){var e=document.querySelector(".nav .container");if(e){var t=e.offsetWidth;document.documentElement.style.setProperty("--nav-width","".concat(t,"px"))}}},{key:"toggleNavDrawer",value:function(e){if(e.preventDefault(),e.currentTarget==i.navDrawerOverlay)return i.navSections.forEach(function(e){e.classList.remove("active")}),document.body.classList.remove("nav-open"),document.body.classList.remove("language-selector"),void(i.selectedSection=null);var t=e.currentTarget.dataset.section,n="culture-selector"===t;i.selectedSection||i.selectedSection===t?i.selectedSection===t?(document.body.classList.toggle("nav-open"),document.body.classList.remove("language-selector"),i.selectedSection=null):(i.selectedSection=t,document.body.classList.toggle("language-selector",n)):(document.body.classList.toggle("nav-open"),i.selectedSection=t,document.body.classList.toggle("language-selector",n)),document.body.classList.contains("nav-open")||i.navSections.forEach(function(e){e.classList.remove("active")})}},{key:"toggleNavDrawerSection",value:function(e){var t;e.preventDefault(),e.currentTarget.querySelector(".icon").classList.toggle("icon-mask-plus"),e.currentTarget.querySelector(".icon").classList.toggle("icon-mask-minus"),null===(t=e.currentTarget.parentElement.querySelector(".js-nav-drawer-section-menu"))||void 0===t||t.classList.toggle("is-open")}},{key:"toggleNavDrawerSectionInner",value:function(e){var t;e.preventDefault(),i.navSections.forEach(function(e){e.classList.remove("active")}),e.currentTarget.classList.add("active"),e.currentTarget.dataset.section&&(document.querySelectorAll(".js-nav-drawer-inner-section[data-section]").forEach(function(e){e.classList.remove("is-open")}),null===(t=document.querySelector('.js-nav-drawer-inner-section[data-section="'.concat(e.currentTarget.dataset.section,'"]')))||void 0===t||t.classList.toggle("is-open")),document.body.classList.contains("nav-open")||i.navSections.forEach(function(e){e.classList.remove("active")})}}],t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()}}]);
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.