1"use strict";(self.webpackChunkcomponents=self.webpackChunkcomponents||[]).push([[8324],{1488:function(c,e,o){o.d(e,{initCookiePreferences:function(){return k}});var n=o(8987),t=o(1459),i=o(9634),s="accept-all",a="changed";function r(c,e){var o=(0,t.qs)(".js-accept-custom-cookies",c),n=(0,t.qs)(".js-accept-all-cookies",c);if(e===s)return n.classList.remove("hidden"),void o.classList.add("hidden");n.classList.add("hidden"),o.classList.remove("hidden")}function d(c,e){var o=(0,t.GY)(".js-cookie-checkbox",c),n=o.every(function(c){return!1===c.checked}),i=o.every(function(c){return!0===c.checked}),d=null==e?void 0:e.target.classList.contains("js-accept-custom-cookies");i||!d?(r(c,a),n||r(c,a)):r(c,s)}function u(c){var e=(0,t.GY)(".js-cookie-checkbox",c);(0,i.E2)(),e.forEach(function(c){var e=c.dataset.cookieId;e&&n.A.set("".concat(i.UF+e),c.checked,i.N4)})}function f(c){var e=c.getAttribute("data-cookie-notification-message");if(e){(0,t.GY)(".js-cookie-notification-message").forEach(function(c){return c.remove()});var o=document.createElement("section");o.classList.add("cookie-notice-preferences-notification-message"),o.classList.add("js-cookie-notification-message"),o.innerHTML=e,document.body.insertAdjacentElement("beforeend",o),setTimeout(function(){o.classList.add("hidden")},5e3)}}function k(){var c=(0,t.qs)(".js-cookie-preferences");!function(c){(0,t.GY)(".js-cookie-checkbox",c).forEach(function(c){var e=c.dataset.cookieId,o=n.A.get("".concat(i.UF+e));c.checked="true"===o})}(c),function(c){(0,t.qs)(".js-accept-all-cookies",c).addEventListener("click",function(){!function(c){(0,t.GY)(".js-cookie-checkbox",c).forEach(function(e){e.checked=!0,u(c)}),r(c,a)}(c),f(c),(0,i.bS)()}),(0,t.qs)(".js-accept-minimal-cookies",c).addEventListener("click",function(){!function(c){(0,t.GY)(".js-cookie-checkbox",c).forEach(function(e){e.checked=!1,u(c)}),r(c,a)}(c),f(c)}),(0,t.qs)(".js-accept-custom-cookies",c).addEventListener("click",function(e){u(c),d(c,e),f(c),(0,i.bS)()}),(0,t.GY)(".js-cookie-checkbox",c).forEach(function(e){e.onchange=function(){d(c)}})}(c),function(c){var e=(0,t.GY)(".js-cookie-checkbox",c).every(function(c){return!0===c.checked});e?r(c,a):e||r(c,s)}(c)}},576:function(c,e,o){o.r(e)}}]);
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.