PageSourceSearch

https://www.eur.nl/sites/corporate/files/js/js_757H11gO8BC30qBgc01…39fckv0hzeQ9aP6EPeBi3k6n2gtCObYTVApfAMXBinR

js eur.nl collected 2026-09-24 08:28:46 UTC 89,440 bytes, 35 lines download raw bytes

1/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
2/*! @drupal/once - v1.0.1 - 2021-06-12 */
3var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}();
4
5;
6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
7(function(Drupal,once){'use strict';Drupal.behaviors.aiGlobal={attach:function(context){const popoverShowDelay=500;once('ai-tooltip','[data-ai-tooltip]',context).forEach((popoverTrigger)=>{let pendingShowTimer=null;let pendingHideTimer=null;const popoverId='ai-tooltip-'+Math.random().toString(36).substring(2,15);popoverTrigger.setAttribute('popovertarget',popoverId);popoverTrigger.setAttribute('tabindex','0');popoverTrigger.setAttribute('aria-describedby',popoverId);const popover=document.createElement('div');popover.classList.add('ai-tooltip');popover.setAttribute('popover','hint');popover.setAttribute('id',popoverId);popover.innerHTML=popoverTrigger.dataset.aiTooltip;document.body.appendChild(popover);const showTooltip=()=>{if(pendingHideTimer){clearTimeout(pendingHideTimer);pendingHideTimer=null;}if(pendingShowTimer)clearTimeout(pendingShowTimer);pendingShowTimer=setTimeout(()=>{popover.showPopover({source:popoverTrigger});pendingShowTimer=null;},popoverShowDelay);};const hideTooltip=()=>{if(pendingShowTimer){clearTimeout(pendingShowTimer);pendingShowTimer=null;}if(pendingHideTimer)clearTimeout(pendingHideTimer);pendingHideTimer=setTimeout(()=>{popover.hidePopover();pendingHideTimer=null;},popoverShowDelay);};popoverTrigger.addEventListener('mouseenter',showTooltip);popoverTrigger.addEventListener('mouseleave',hideTooltip);popoverTrigger.addEventListener('focusin',showTooltip);popoverTrigger.addEventListener('focusout',hideTooltip);});}};})(Drupal,once);;
8/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
9loadjs=function(){var h=function(){},o={},c={},f={};function u(e,n){if(e){var t=f[e];if(c[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function p(t,r,i,s){var o,e,u,n=document,c=i.async,f=(i.numRetries||0)+1,l=i.before||h,a=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img|module|nomodule)!/,"");if(s=s||0,/(^css!|\.css$)/.test(a))(u=n.createElement("link")).rel="stylesheet",u.href=d,(o="hideFocus"in u)&&u.relList&&(o=0,u.rel="preload",u.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(a))(u=n.createElement("img")).src=d;else if((u=n.createElement("script")).src=d,u.async=void 0===c||c,e="noModule"in u,/^module!/.test(a)){if(!e)return r(t,"l");u.type="module"}else if(/^nomodule!/.test(a)&&e)return r(t,"l");!(u.onload=u.onerror=u.onbeforeload=function(e){var n=e.type[0];if(o)try{u.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((s+=1)<f)return p(t,r,i,s)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";r(t,n,e.defaultPrevented)})!==l(t,u)&&n.head.appendChild(u)}function t(e,n,t){var r,i;if(n&&n.trim&&(r=n),i=(r?t:n)||{},r){if(r in o)throw"LoadJS";o[r]=!0}
9function s(n,t){!function(e,r,n){var t,i,s=(e=e.push?e:[e]).length,o=s,u=[];for(t=function(e,n,t){if("e"==n&&u.push(e),"b"==n){if(!t)return;u.push(e)}--s||r(u)},i=0;i<o;i++)p(e[i],t,n)}(e,function(e){l(i,e),n&&l({success:n,error:t},e),u(r,e)},i)}if(i.returnPromise)return new Promise(s);s()}return t.ready=function(e,n){return function(e,t){e=e.push?e:[e];var n,r,i,s=[],o=e.length,u=o;for(n=function(e,n){n.length&&s.push(e),--u||t(s)};o--;)r=e[o],(i=c[r])?n(r,i):(f[r]=f[r]||[]).push(n)}(e,function(e){l(n,e)}),t},t.done=function(e){u(e,[])},t.reset=function(){o={},c={},f={}},t.isDefined=function(e){return e in o},t}();;
10/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
11(function($){'use strict';Drupal.behaviors.facetSoftLimit={attach:function(context,settings){if(settings.facets&&settings.facets.softLimit!=='undefined')$.each(settings.facets.softLimit,function(facet,limit){Drupal.facets.applySoftLimit(facet,limit,settings);});}};Drupal.facets=Drupal.facets||{};Drupal.facets.applySoftLimit=function(facet,limit,settings){const zero_based_limit=(limit-1);const storageId='facets.'+facet;const facetState=window.localStorage.getItem(storageId);const facetsList=$('ul[data-drupal-facet-id="'+facet+'"]');if(facetsList.length>1)facetsList.each(function(key,$value){$(this).attr('data-drupal-facet-id',facet+'-'+key);});if(facetState!=='more')facetsList.each(function(){const $hiddenItems=$(this).children('li:gt('+zero_based_limit+')');if($hiddenItems.find('.is-active').length===0){$(this).children('li').children('li').hide();$hiddenItems.hide();}});once('facet-list-soft-limit',facetsList).filter(function(facet){return $(facet).find('li').length>limit;}).forEach(function(facet){const $facet=$(facet);const id=$facet.data('drupal-facet-id');const softLimitIconLess='<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" data-prefix="far" data-icon="minus" class="facets-soft-limit-link__icon" viewBox="0 0 384 512"><path fill="currentColor" d="M368 224H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h352c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"/></svg>';const softLimitIconMore='<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" data-prefix="far" data-icon="plus" class="facets-soft-limit-link__icon" viewBox="0 0 384 512"><path fill="currentColor" d="M368 224H224V80c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v144H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h144v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V288h144c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"/></svg>';const showLessLabel=softLimitIconLess+settings.facets.softLimitSettings[id].showLessLabel;const showMoreLabel=softLimitIconMore+settings.facets.softLimitSettings[id].showMoreLabel;const label=(facetState!=='more')&&$facet.find('li:hidden').length>0?showMoreLabel:showLessLabel;$('<button class="facets-soft-limit-link">').html(label).on('click',function(){if($facet.find('li:hidden').length>0){$facet.find('li:gt('+zero_based_limit+')').slideDown();$(this).addClass('open').html(showLessLabel);window.localStorage.setItem(storageId,'more');}else{$facet.find('li:gt('+zero_based_limit+')').slideUp();$(this).removeClass('open').html(showMoreLabel);window.localStorage.setItem(storageId,'less');}return false;}).insertAfter($facet);if($facet.find('li:hidden').length===0&&$facet.find('li:gt('+zero_based_limit+')'))$facet.next('a.facets-soft-limit-link').addClass('open');});};})(jQuery);;
12(()=>{function t(t){return function(t){if(Array.isArray(t))return e(t);}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t);}(t)||function(t,o){if(t){if("string"==typeof t)return e(t,o);var n={}.toString.call(t).slice(8,-1);return "Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,o):void 0;}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=Array(e);o<e;
12o++)n[o]=t[o];return n;}window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.accordions=window.eur.accordions||{},window.eur.behaviors.accordion=function(e){if(t(e.getElementsByClassName("js-accordion-content")).forEach((function(t){if(!t.hasAttribute("accordion-processed")){t.setAttribute("accordion-processed",!0);var e=t.parentNode,o=t.previousElementSibling&&t.previousElementSibling.classList.contains("js-accordion-trigger"),n=o?t.previousSibling:e.getElementsByClassName("js-accordion-trigger")[0];if(o||t.setAttribute("tabindex","-1"),n){var i=e.classList.contains("js-accordion-opened");n.setAttribute("aria-expanded",i),i||(t.setAttribute("hidden",""),t.style.display="none",e.classList.add("js-accordion-closed")),n.addEventListener("click",window.eur.accordions.toggleAccordion);}}})),window.location.hash&&"#/"!==window.location.hash){var o,n=window.location.hash.split("?")[0];try{o=e.querySelector(n);}catch(a){o=null;}if(o){for(var i=[],r=o.parentNode;"BODY"!==r.tagName;)"DIV"===r.tagName&&r.classList.contains("js-accordion-closed")&&i.push(r),r=r.parentNode;i.forEach((function(t){t.querySelector("button.js-accordion-trigger").click();})),window.scroll({top:o.offsetTop,behavior:"smooth"});}}},window.eur.behaviors.persistentAccordion=function(e){var o=window.eur.accordions.getStorageData("states");
12t(e.getElementsByClassName("js-accordion-content")).forEach((function(t){if(!t.hasAttribute("persistent-accordion-processed")){t.setAttribute("persistent-accordion-processed",!0);var e=t.parentNode,n=t.previousElementSibling&&t.previousElementSibling.classList.contains("js-accordion-trigger")?t.previousSibling:e.getElementsByClassName("js-accordion-trigger")[0],i=n.getAttribute("id");if("true"===n.getAttribute("data-persistent")){if(!(o&&0===Object.keys(o).length&&o.constructor===Object)){var r=1===o[i]&&e.classList.contains("js-accordion-closed"),a=0===o[i]&&e.classList.contains("js-accordion-opened");if(r||a){var s=new Event("click",{cancelable:!0});n.dispatchEvent(s);}}e.addEventListener("accordionChange",(function(){this.classList.contains("js-accordion-opened")&&(o[i]=1),this.classList.contains("js-accordion-closed")&&(o[i]=0),window.eur.accordions.setStorageData("states",o);}));}}}));},window.eur.accordions.toggleAccordion=function(t){t.preventDefault();for(var e=t.currentTarget,o=e.parentNode;!o.classList.contains("js-accordion-opened")&&!o.classList.contains("js-accordion-closed");)o=o.parentNode;var n=e.nextElementSibling&&e.nextElementSibling.classList.contains("js-accordion-content")?e.nextElementSibling:o.getElementsByClassName("js-accordion-content")[0],i=new Event("accordionChange");if(o.classList.contains("js-accordion-opened"))n.setAttribute("hidden",""),n.style.display="none",e.setAttribute("aria-expanded","false"),o.classList.remove("js-accordion-opened"),o.classList.add("js-accordion-closed"),o.dispatchEvent(i);else{if(n.removeAttribute("hidden"),n.style.display="block",e.setAttribute("aria-expanded","true"),o.classList.remove("js-accordion-closed"),o.classList.add("js-accordion-opened"),o.dispatchEvent(i),e.getAttribute("id")&&e.getAttribute("data-anchor")&&"false"!==e.getAttribute("data-anchor")){var r=e.getAttribute("id");e.removeAttribute("id"),window.location.hash=r,e.setAttribute("id",r);}}var a=new Event("resize");window.dispatchEvent(a);},window.eur.accordions.setStorageData=function(t,e){var o="eur.accordions.".concat(t),n=JSON.stringify(e);localStorage.setItem(o,n);},window.eur.accordions.getStorageData=function(t){var e="eur.accordions.".concat(t);return localStorage.getItem(e)?JSON.parse(localStorage.getItem(e)):{};};})();;
13(()=>{"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{};window.eur.behaviors.breadcrumb=function(e){if(!document.body.hasAttribute("data-breadcrumbs")){document.body.setAttribute("data-breadcrumbs","1");var i=$(window),r=$(e).find(".breadcrumb__list"),t=!1;i.resize((function(){!t&&i.width()>
13768&&(r.each((function(){var e=$(this).width(),i=0;$(this).removeClass("js-breadcrumb-collapse"),$(this).find(".breadcrumb__item").each((function(e){i+=parseInt($(this).width(),10);})),i>=e&&$(this).addClass("js-breadcrumb-collapse");})),t=!0,setTimeout((function(){t=!1;}),200));})),i.trigger("resize");}};})();;
14(()=>{"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.dialog=function(i){var a=$(".js-dialog",i);$(i).is(".js-dialog")&&a.add(i),a.each((function(){var i=$(this).get(0);if(!i.hasAttribute("data-dialog")){i.setAttribute("data-dialog","1");var a=$(this),e=$("body"),t=a.find(".js-dialog__open").filter((function(){return $(this).closest(".js-dialog").is(a);})),o=a.find(".js-dialog__close").filter((function(){return $(this).closest(".js-dialog").is(a);})),s=a.find("dialog").first()[0];void 0!==s&&(window.dialogPolyfill&&dialogPolyfill.registerDialog(s),t.click((function(){s.hasAttribute("open")||s.showModal(),$(window).trigger("resize"),$(".js-dialog__trigger").removeClass("js-dialog__trigger").attr("aria-expanded","false"),$(this).addClass("js-dialog__trigger").attr("aria-expanded","true"),$(s).data("prevent-scroll")&&e.addClass("js-dialog-prevent-scroll"),$(s).hasClass("hide")&&$(s).removeClass("hide"),$(s).addClass("show");var i=a.find(".js-slider");i.length&&i.each((function(i,a){a.slider.update();}));})),o.click((function(){$(s).addClass("hide"),setTimeout((function(){$(s).removeClass("hide");}),500),$(s).hasClass("show")&&$(s).removeClass("show"),setTimeout((function(){s.close();}),500);})),s.addEventListener("close",(function(i){$(".js-dialog__trigger").removeClass("js-dialog__trigger").attr("aria-expanded","false").focus(),$(s).data("prevent-scroll")&&e.removeClass("js-dialog-prevent-scroll"),$(s).data("name")&&e.removeClass("js-"+$(s).data("name")+"-opened");})),s.addEventListener("click",(function(i){if(!(i.target instanceof HTMLAnchorElement)){var a=s.getBoundingClientRect();if(i.clientY<a.top||i.clientY>a.bottom||i.clientX<a.left||i.clientX>a.right)"DIALOG"===$(i.target).prop("nodeName")&&o.first().click();}})));}}));var e=$(".js-dialog-group",i);$(i).is(".js-dialog-group")&&e.add(i),e.each((function(){var i=$(this).get(0);if(!i.hasAttribute("data-dialog-group")){i.setAttribute("data-dialog-group","1");var a=$(this),e=a.find("dialog");e.each((function(i){var t=$(this);t.attr("data-dialog-group-index",i);var o=t.find(".js-dialog__previous"),s=t.find(".js-dialog__next");o.click((function(){var i=parseInt(t.attr("data-dialog-group-index")),o=i>0?i-1:e.length-1,s=a.find("[data-dialog-group-index="+o+"]").parents(".js-dialog");t.find(".js-dialog__close").click(),s.find(".js-dialog__open").click(),s.find(".js-dialog__previous").focus();})),s.click((function(){var i=parseInt(t.attr("data-dialog-group-index")),o=i<e.length-1?i+1:0,s=a.find("[data-dialog-group-index="+o+"]").parents(".js-dialog");t.find(".js-dialog__close").click(),s.find(".js-dialog__open").click(),s.find(".js-dialog__next").focus();}));}));}}));};})();;
15(()=>{"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.navfoldout=function(e,a){var t=$(".js-nav-accordion-content",e);$(e).is(".js-nav-accordion-content")&&t.add(e);var s=function(e){(function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;"function"===typeof jQuery&&e instanceof jQuery&&(e=e[0]);var t=e.getBoundingClientRect();return t.left>=a&&t.right<=(window.innerWidth||document.documentElement.clientWidth);})(e,-8)||e.css({right:0});};t.each((function(e,a){var t=$(a).get(0);if(!t.hasAttribute("data-navigation-foldout")){t.setAttribute("data-navigation-foldout","1");var i=$(a),n=i.closest("nav"),o=i.parent(),d=i.parent(".js-nav-item-with-sublist"),l=i.prev().hasClass("js-accordion-trigger")?i.prev():i.prev().find(".js-accordion-trigger"),r=l.find(".visually-hidden"),g=o.hasClass("navigation-foldout__item")?"navigation-foldout__item--sublist-opened":"navigation-foldout__subitem--sublist-opened";if(l.length>0){var c=o.find(".is-active").length>0;l.attr({"aria-controls":"js-nav-accordion-content-"+e,"aria-expanded":c,id:"js-nav-accordion-trigger-"+e}),i.attr({id:"js-nav-accordion-content-"+e});var v=window.matchMedia("(min-width: 992px)").matches;v||r.removeClass("visually-hidden"),c&&!v?(o.addClass(g).addClass("js-sublist-opened"),r.text(l.data("toggle-close-mobile")?l.data("toggle-close-mobile"):l.data("toggle-close"))):(l.attr({"aria-expanded":"false"}),i.attr({hidden:""}),r.text(!v&&l.data("toggle-open-mobile")?l.data("toggle-open-mobile"):l.data("toggle-open"))),l.on("click",(function(){var e=window.matchMedia("(min-width: 992px)").matches;e&&o.is(":hover")?l.blur():(e?r.addClass("visually-hidden"):r.removeClass("visually-hidden"),o.hasClass(g)?(i.hide().attr("hidden","").css({right:""}
15),l.attr("aria-expanded","false"),r.text(!e&&l.data("toggle-open-mobile")?l.data("toggle-open-mobile"):l.data("toggle-open")),o.removeClass(g).removeClass("js-sublist-opened"),n.removeClass("js-navigation-sublist-opened"),n.parent().siblings().find("nav").removeClass("js-navigation-sublist-opened")):(i.removeAttr("hidden").show(),l.attr("aria-expanded","true"),r.text(!e&&l.data("toggle-close-mobile")?l.data("toggle-close-mobile"):l.data("toggle-close")),o.addClass(g).addClass("js-sublist-opened"),n.addClass("js-navigation-sublist-opened"),n.parent().siblings().find("nav").addClass("js-navigation-sublist-opened"),e&&s(i),o.siblings("."+g).each((function(e,a){var t=$(a),s=t.children(".js-accordion-trigger");t.removeClass(g).removeClass("js-sublist-opened"),s.attr("aria-expanded","false"),s.find(".visually-hidden").text(l.data("toggle-open")),t.children(".js-nav-accordion-content").hide().attr("hidden","").css({right:""});}))),["focus","click"].forEach((function(a){document.addEventListener(a,(function(a){o.hasClass(g)&&!$.contains(o.get(0),a.target)&&a.target!==l.get(0)&&(i.hide().attr("hidden","").css({right:""}),l.attr("aria-expanded","false"),r.text(!e&&l.data("toggle-open-mobile")?l.data("toggle-open-mobile"):l.data("toggle-open")),o.removeClass(g).removeClass("js-sublist-opened"),n.removeClass("js-navigation-sublist-opened"),n.siblings("nav").removeClass("js-navigation-sublist-opened"));}),!0);})));}));}d.on("mouseenter",(function(){$(window).width()>=992&&(i.removeAttr("hidden").show(),l.attr("aria-expanded","true"),r.text(l.data("toggle-close")),o.addClass(g).addClass("js-sublist-opened"),s(i),o.siblings("."+g).each((function(e,a){var t=$(a),s=t.children(".js-accordion-trigger");t.removeClass(g).removeClass("js-sublist-opened"),s.attr("aria-expanded","false"),s.find(".visually-hidden").text(l.data("toggle-open")),t.children(".js-nav-accordion-content").hide().attr("hidden","").css({right:""});})));})),d.on("mouseleave",(function(){$(window).width()>=992&&(i.hide().attr("hidden","").css({right:""}),l.attr("aria-expanded","false"),r.text(l.data("toggle-open")),o.removeClass(g).removeClass("js-sublist-opened"));})),$(document).keyup((function(e){27===e.which&&o.hasClass(g)&&(i.hide().attr("hidden","").css({right:""}),l.attr("aria-expanded","false"),r.text(l.data("toggle-open")),o.removeClass(g).removeClass("js-sublist-opened"));})),$(window).resize((function(e){var a=window.matchMedia("(min-width: 992px)").matches;o.hasClass(g)?r.text(!a&&l.data("toggle-close-mobile")?l.data("toggle-close-mobile"):l.data("toggle-close")):r.text(!a&&l.data("toggle-open-mobile")?l.data("toggle-open-mobile"):l.data("toggle-open")),a?r.addClass("visually-hidden"):r.removeClass("visually-hidden");}));}}));};})();;
16(()=>{"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.popover=function(e){var a=$(".js-popover",e);
16$(e).is(".js-popover")&&a.add(e),a.each((function(){var e=$(this).get(0);if(!e.hasAttribute("data-popover")){e.setAttribute("data-popover","1");var a=$(this),o=$("body"),r=a.find(".js-popover__open"),s=a.find(".js-popover__close"),t=a.find(".popover");void 0!==t&&(r.click((function(e){if(e.preventDefault(),"true"===$(this).attr("aria-expanded"))t.hide(),$(this).attr("aria-expanded","false"),$(".js-popover-trap").removeClass("js-popover-trap");else{var r=$(".js-active-popover");r.length&&(r.removeClass("js-active-popover"),r.find(".popover").hide()),$(".js-popover-trap").removeClass("js-popover-trap"),$(".js-popover__trigger").removeClass("js-popover__trigger").attr("aria-expanded","false"),t.show(),a.addClass("js-active-popover"),s.focus(),$(window).trigger("resize"),$(this).addClass("js-popover__trigger").attr("aria-expanded","true"),t.data("prevent-scroll")&&o.addClass("js-popover-prevent-scroll"),t.data("name")&&o.addClass("js-"+t.data("name")+"-opened"),t.data("focus-trap")&&$(t.data("focus-trap")).addClass("js-popover-trap");}})),s.click((function(e){e.preventDefault(),t.hide(),r.attr("aria-expanded","false"),$(".js-active-popover").removeClass("js-active-popover"),$(".js-popover-trap").removeClass("js-popover-trap"),$(".js-popover__trigger").removeClass("js-popover__trigger").attr("aria-expanded","false").focus(),t.data("prevent-scroll")&&o.removeClass("js-popover-prevent-scroll"),t.data("name")&&o.removeClass("js-"+t.data("name")+"-opened");}))),$(window).on("keydown",(function(e){"Escape"===e.key&&$(".js-active-popover").find(".js-popover__close").trigger("click");})),$(window).on("keydown",(function(e){var a=$(".js-popover-trap");a.length&&(a.find(":tabbable:visible").first().is(":focus")?9===e.which&&e.shiftKey&&(e.preventDefault(),a.find(":tabbable:visible").last().focus()):a.find(":tabbable:visible").last().is(":focus")&&(9!==e.which||e.shiftKey||(e.preventDefault(),a.find(":tabbable:visible").first().focus())));}));}}));};})();;
17(()=>{"use strict";var t=function(){return t=Object.assign||function(t){for(var n,e=1,i=arguments.length;e<i;e++)for(var r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t;},t.apply(this,arguments);};function n(t,n,e){if(e||2===arguments.length)for(var i,r=0,a=n.length;r<a;r++)!i&&r in n||(i||(i=Array.prototype.slice.call(n,0,r)),i[r]=n[r]);return t.concat(i||Array.prototype.slice.call(n));}function e(t){return Array.prototype.slice.call(t);}function i(t,n){var e=Math.floor(t);return e===n||e+1===n?t:n;}function r(){return Date.now();}function a(t,n,e){if(n="data-keen-slider-"+n,null===e)return t.removeAttribute(n);t.setAttribute(n,e||"");}function o(t,n){return n=n||document,"function"==typeof t&&(t=t(n)),Array.isArray(t)?t:"string"==typeof t?e(n.querySelectorAll(t)):t instanceof HTMLElement?[t]:t instanceof NodeList?e(t):[];}function d(t){t.raw&&(t=t.raw),t.cancelable&&!t.defaultPrevented&&t.preventDefault();}function s(t){t.raw&&(t=t.raw),t.stopPropagation&&t.stopPropagation();}function u(){var t=[];return {add:function(n,e,i,r){n.addListener?n.addListener(i):n.addEventListener(e,i,r),t.push([n,e,i,r]);},input:function(t,n,e,i){this.add(t,n,function(t){return function(n){n.nativeEvent&&(n=n.nativeEvent);var e=n.changedTouches||[],i=n.targetTouches||[],r=n.detail&&n.detail.x?n.detail:null;return t({id:r?r.identifier?r.identifier:"i":i[0]?i[0]?i[0].identifier:"e":"d",idChanged:r?r.identifier?r.identifier:"i":e[0]?e[0]?e[0].identifier:"e":"d",raw:n,x:r&&r.x?r.x:i[0]?i[0].screenX:r?r.x:n.pageX,y:r&&r.y?r.y:i[0]?i[0].screenY:r?r.y:n.pageY});};}(e),i);},purge:function(){t.forEach((function(t){t[0].removeListener?t[0].removeListener(t[2]):t[0].removeEventListener(t[1],t[2],t[3]);})),t=[];}};}function l(t,n,e){return Math.min(Math.max(t,n),e);}function c(t){return (t>0?1:0)-(t<0?1:0)||+t;}function f(t){var n=t.getBoundingClientRect();return {height:i(n.height,t.offsetHeight),width:i(n.width,t.offsetWidth)};}function v(t,n,e,i){var r=t&&t[n];return null==r?e:i&&"function"==typeof r?r():r;}function p(t){return Math.round(1e6*t)/1e6;}function h(t){var e,i,a,o,d,s,u,f,h,m,g,b,y,w,A=1/0,k=[],x=null,M=0;function E(t){z(M+t);}function T(t){var n=L(M+t).abs;return I(n)?n:null;}function L(t){var e=Math.floor(Math.abs(p(t/i))),r=p((t%i+i)%i);r===i&&(r=0);var a=c(t),o=u.indexOf(n([],u,!0).reduce((function(t,n){return Math.abs(n-r)<Math.abs(t-r)?n:t;}))),d=o;return a<0&&e++,o===s&&(d=0,e+=a>0?1:-1),{abs:d+e*s*a,origin:o,rel:d};}function S(t,n,e){var i;if(n||!_())return C(t,e);if(!I(t))return null;var r=L(null!=e?e:M),a=r.abs,o=t-r.rel,d=a+o;i=C(d);var u=C(d-s*c(o));return (null!==u&&Math.abs(u)<Math.abs(i)||null===i)&&(i=u),p(i);}function C(t,n){if(null==n&&(n=p(M)),!I(t)||null===t)return null;t=Math.round(t);var e=L(n),r=e.abs,a=e.rel,o=e.origin,d=j(t),l=(n%i+i)%i,c=u[o],f=Math.floor((t-(r-a))/s)*i;return p(c-l-c+u[d]+f+(o===s?i:0));}function I(t){return q(t)===t;}function q(t){return l(t,h,m);}function _(){return o.loop;}function j(t){return (t%s+s)%s;}function z(n){var e;e=n-M,k.push({distance:e,timestamp:r()}),k.length>6&&(k=k.slice(-6)),M=p(n);var i=D().abs;if(i!==x){var a=null!==x;x=i,a&&t.emit("slideChanged");}}function D(n){var r=n?null:function(){if(s){var t=_(),n=t?(M%i+i)%i:M,e=(t?M%i:M)-d[0][2],r=0-(e<0&&t?i-Math.abs(e):e),u=0,l=L(M),f=l.abs,v=l.rel,p=d[v][2],A=d.map((function(n,e){var a=r+u;(a<0-n[0]||a>1)&&(a+=(Math.abs(a)>i-1&&t?i:0)*c(-a));var d=e-v,l=c(d),h=d+f;t&&(-1===l&&a>p&&(h+=s),1===l&&a<p&&(h-=s),null!==g&&h<g&&(a+=i),null!==b&&h>b&&(a-=i));var m=a+n[0]+n[1],y=Math.max(a>=0&&m<=1?1:m<0||a>1?0:a<0?Math.min(1,(n[0]+a)/n[0]):(1-a)/n[0],0);return u+=n[0]+n[1],{abs:h,distance:o.rtl?-1*a+1-n[0]:a,portion:y,size:n[0]};}));return f=q(f),v=j(f),{abs:q(f),length:a,max:w,maxIdx:m,min:y,minIdx:h,position:M,progress:t?n/i:M/a,rel:v,slides:A,slidesLength:i};}}();return e.details=r,t.emit("detailsChanged"),r;}return e={absToRel:j,add:E,details:null,distToIdx:T,idxToDist:S,init:function(n){if(function(){if(o=t.options,d=(o.trackConfig||[]).map((function(t){return [v(t,"size",1),v(t,"spacing",0),v(t,"origin",0)];})),s=d.length){i=p(d.reduce((function(t,n){return t+n[0]+n[1];}),0));var n,e=s-1;a=p(i+d[0][2]-d[e][0]-d[e][2]-d[e][1]),u=d.reduce((function(t,e){if(!t)return [0];var i=d[t.length-1],r=t[t.length-1]+(i[0]+i[2])+i[1];return r-=e[2],t[t.length-1]>r&&(r=t[t.length-1]),r=p(r),t.push(r),(!n||n<r)&&(f=t.length-1),n=r,t;}),null),0===a&&(f=0),u.push(p(i));}}(),!s)return D(!0);var e;!function(){var n=t.options.range,e=t.options.loop;g=h=e?v(e,"min",-1/0):0,b=m=e?v(e,"max",A):f;var i=v(n,"min",null),r=v(n,"max",null);null!==i&&(h=i),null!==r&&(m=r),y=h===-1/0?h:t.track.idxToDist(h||0,!0,0),w=m===A?m:S(m,!0,0),null===r&&(b=m),v(n,"align",!1)&&m!==A&&0===d[j(m)][2]&&(w-=1-d[j(m)][
170],m=T(w-M)),y=p(y),w=p(w);}(),e=n,Number(e)===e?E(C(q(n))):D();},to:z,velocity:function(){var t=r(),n=k.reduce((function(n,e){var i=e.distance,r=e.timestamp;return t-r>200||(c(i)!==c(n.distance)&&n.distance&&(n={distance:0,lastTimestamp:0,time:0}),n.time&&(n.distance+=i),n.lastTimestamp&&(n.time+=r-n.lastTimestamp),n.lastTimestamp=r),n;}),{distance:0,lastTimestamp:0,time:0});return n.distance/n.time||0;}};}function m(t){var n,e,i,r,a,o,d,s;function u(t){return 2*t;}function f(t){return l(t,d,s);}function v(t){return 1-Math.pow(1-t,3);}function p(){return i?t.track.velocity():0;}function h(t,n){void 0===n&&(n=1e3);var e=147e-9+(t=Math.abs(t))/n;return {dist:Math.pow(t,2)/e,dur:t/e};}function m(){var n=t.track.details;n&&(a=n.min,o=n.max,d=n.minIdx,s=n.maxIdx);}function g(){t.animator.stop();}t.on("updated",m),t.on("optionsChanged",m),t.on("created",m),t.on("dragStarted",(function(){i=!1,g(),n=e=t.track.details.abs;})),t.on("dragChecked",(function(){i=!0;})),t.on("dragEnded",(function(){var i=t.options.mode;"snap"===i&&function(){var i=t.track,r=t.track.details,d=r.position,s=c(p());(d>o||d<a)&&(s=0);var u=n+s;0===r.slides[i.absToRel(u)].portion&&(u-=s),n!==e&&(u=e),c(i.idxToDist(u,!0))!==s&&(u+=s),u=f(u);var l=i.idxToDist(u,!0);t.animator.start([{distance:l,duration:500,easing:function(t){return 1+--t*t*t*t*t;}}]);}(),"free"!==i&&"free-snap"!==i||function(){g();var n="free-snap"===t.options.mode,e=t.track,i=p();r=c(i);var d=t.track.details,s=[];if(i||!n){var l=h(i),m=l.dist,b=l.dur;if(b=u(b),m*=r,n){var y=e.idxToDist(e.distToIdx(m),!0);y&&(m=y);}s.push({distance:m,duration:b,easing:v});var w=d.position,A=w+m;if(A<a||A>o){var k=A<a?a-w:o-w,x=0,M=i;if(c(k)===r){var E=Math.min(Math.abs(k)/Math.abs(m),1),T=function(t){return 1-Math.pow(1-t,1/3);}(E)*b;s[0].earlyExit=T,M=i*(1-E);}else s[0].earlyExit=0,x+=k;var L=h(M,100),S=L.dist*r;t.options.rubberband&&(s.push({distance:S,duration:u(L.dur),easing:v}),s.push({distance:-S+x,duration:500,easing:v}));}t.animator.start(s);}else t.moveToIdx(f(d.abs),!0,{duration:500,easing:function(t){return 1+--t*t*t*t*t;}});}();})),t.on("dragged",(function(){e=t.track.details.abs;}));}function g(t){var n,e,i,r,a,f,v,p,h,m,g,b,y,w,A,k,x,M,E=u();function T(n){if(f&&p===n.id){var o=I(n);if(h){if(!C(n))return S(n);m=o,h=!1,t.emit("dragChecked");}if(k)return m=o;d(n);var u=function(n){if(x===-1/0&&M===1/0)return n;var i=t.track.details,o=i.length,d=i.position,s=l(n,x-d,M-d);if(0===o)return 0;if(!t.options.rubberband)return s;if(d<=M&&d>=x)return n;if(d<x&&e>0||d>M&&e<0)return n;var u=(d<x?d-x:d-M)/o,c=r*o,f=Math.abs(u*c),v=Math.max(0,1-f/a*2);return v*v*n;}(v(m-o)/r*i);e=c(u);var y=t.track.details.position;(y>x&&y<M||y===x&&e>0||y===M&&e<0)&&s(n),g+=u,!b&&Math.abs(g*r)>5&&(b=!0),t.track.add(u),m=o,t.emit("dragged");}}function L(n){!f&&t.track.details&&t.track.details.length&&(g=0,f=!0,b=!1,h=!0,p=n.id,C(n),m=I(n),t.emit("dragStarted"));}function S(n){f&&p===n.idChanged&&(f=!1,t.emit("dragEnded"));}function C(t){var n=q(),e=n?t.y:t.x,i=n?t.x:t.y,r=void 0!==y&&void 0!==w&&Math.abs(w-i)<=Math.abs(y-e);return y=e,w=i,r;}function I(t){return q()?t.y:t.x;}function q(){return t.options.vertical;}function _(){r=t.size,a=q()?window.innerHeight:window.innerWidth;var n=t.track.details;n&&(x=n.min,M=n.max);}function j(t){b&&(s(t),d(t));}function z(){if(E.purge(),t.options.drag&&!t.options.disabled){var e;e=t.options.dragSpeed||1,v="function"==typeof e?e:function(t){return t*e;},i=t.options.rtl?-1:1,_(),n=t.container,function(){var t="data-keen-slider-clickable";o("[".concat(t,"]:not([").concat(t,"=false])"),n).map((function(t){E.add(t,"dragstart",s),E.add(t,"mousedown",s),E.add(t,"touchstart",s);}));}(),E.add(n,"dragstart",(function(t){d(t);})),E.add(n,"click",j,{capture:!0}),E.input(n,"ksDragStart",L),E.input(n,"ksDrag",T),E.input(n,"ksDragEnd",S),E.input(n,"mousedown",L),E.input(n,"mousemove",T),E.input(n,"mouseleave",S),E.input(n,"mouseup",S),E.input(n,"touchstart",L,{passive:!0}),E.input(n,"touchmove",T,{passive:!1}),E.input(n,"touchend",S),E.input(n,"touchcancel",S),E.add(window,"wheel",(function(t){f&&d(t);}));var r="data-keen-slider-scrollable";o("[".concat(r,"]:not([").concat(r,"=false])"),t.container).map((function(t){return function(t){var n;E.input(t,"touchstart",(function(t){n=I(t),k=!0,A=!0;}),{passive:!0}),E.input(t,"touchmove",(function(e){var i=q(),r=i?t.scrollHeight-t.clientHeight:t.scrollWidth-t.clientWidth,a=n-I(e),o=i?t.scrollTop:t.scrollLeft,s=i&&"scroll"===t.style.overflowY||!i&&"scroll"===t.style.overflowX;if(n=I(e),(a<0&&o>0||a>0&&o<r)&&A&&s)return k=!0;A=!1,d(e),k=!1;})),E.input(t,"touchend",(function(){k=!1;}));}(t);}));}}t.on("updated",_),t.on("optionsChanged",z),t.on("created",z),t.on("destroyed",E.purge);}function b(t){var n,e,i=null;function r(n,e,i){t.animator.active?o(n,e,i):requestAnimationFrame((function(){return o(n,e,i);}));}function a(){r(!1,!1,e);}function o(e,r,a){var o=0,d=t.size,l=t.track.details;if(l&&n){var c=l.slides;
17n.forEach((function(t,n){if(e)!i&&r&&s(t,null,a),u(t,null,a);else{if(!c[n])return;var l=c[n].size*d;!i&&r&&s(t,l,a),u(t,c[n].distance*d-o,a),o+=l;}}));}}function d(n){return "performance"===t.options.renderMode?Math.round(n):n;}function s(t,n,e){var i=e?"height":"width";null!==n&&(n=d(n)+"px"),t.style["min-"+i]=n,t.style["max-"+i]=n;}function u(t,n,e){if(null!==n){n=d(n);var i=e?n:0;n="translate3d(".concat(e?0:n,"px, ").concat(i,"px, 0)");}t.style.transform=n,t.style["-webkit-transform"]=n;}function l(){n&&(o(!0,!0,e),n=null),t.on("detailsChanged",a,!0);}function c(){r(!1,!0,e);}function f(){l(),e=t.options.vertical,t.options.disabled||"custom"===t.options.renderMode||(i="auto"===v(t.options.slides,"perView",null),t.on("detailsChanged",a),(n=t.slides).length&&c());}t.on("created",f),t.on("optionsChanged",f),t.on("beforeOptionsChanged",(function(){l();})),t.on("updated",c),t.on("destroyed",l);}function y(n,e){return function(i){var r,d,s,l,c,p=u();function h(t){var n;a(i.container,"reverse","rtl"!==(n=i.container,window.getComputedStyle(n,null).getPropertyValue("direction"))||t?null:""),a(i.container,"v",i.options.vertical&&!t?"":null),a(i.container,"disabled",i.options.disabled&&!t?"":null);}function m(){g()&&k();}function g(){var n=null;if(l.forEach((function(t){t.matches&&(n=t.__media);})),n===r)return !1;r||i.emit("beforeOptionsChanged"),r=n;var e=n?s.breakpoints[n]:s;return i.options=t(t({},s),e),h(),L(),S(),M(),!0;}function b(t){var n=f(t);return (i.options.vertical?n.height:n.width)/i.size||1;}function y(){return i.options.trackConfig.length;}function w(n){for(var a in r=!1,s=t(t({},e),n),p.purge(),d=i.size,l=[],s.breakpoints||[]){var o=window.matchMedia(a);o.__media=a,l.push(o),p.add(o,"change",m);}p.add(window,"orientationchange",T),p.add(window,"resize",E),g();}function A(t){i.animator.stop();var n=i.track.details;i.track.init(null!=t?t:n?n.abs:0);}function k(t){A(t),i.emit("optionsChanged");}function x(t,n){if(t)return w(t),void k(n);L(),S();var e=y();M(),y()!==e?k(n):A(n),i.emit("updated");}function M(){var t=i.options.slides;if("function"==typeof t)return i.options.trackConfig=t(i.size,i.slides);for(var n=i.slides,e=n.length,r="number"==typeof t?t:v(t,"number",e,!0),a=[],o=v(t,"perView",1,!0),d=v(t,"spacing",0,!0)/i.size||0,s="auto"===o?d:d/o,u=v(t,"origin","auto"),l=0,c=0;c<r;c++){var f="auto"===o?b(n[c]):1/o-d+s,p="center"===u?.5-f/2:"auto"===u?0:u;a.push({origin:p,size:f,spacing:d}),l+=f;}if(l+=d*(r-1),"auto"===u&&!i.options.loop&&1!==o){var h=0;a.map((function(t){var n=l-h;return h+=t.size+d,n>=1||(t.origin=1-n-(l>1?0:1-l)),t;}));}i.options.trackConfig=a;}function E(){L();var t=i.size;i.options.disabled||t===d||(d=t,x());}function T(){E(),setTimeout(E,500),setTimeout(E,2e3);}function L(){var t=f(i.container);i.size=(i.options.vertical?t.height:t.width)||1;}function S(){i.slides=o(i.options.selector,i.container);}i.container=(c=o(n,document)).length?c[0]:null,i.destroy=function(){p.purge(),i.emit("destroyed"),h(!0);},i.prev=function(){i.moveToIdx(i.track.details.abs-1,!0);},i.next=function(){i.moveToIdx(i.track.details.abs+1,!0);},i.update=x,w(i.options);};}var w=function(t,e,i){try{return function(t,n){var e,i={};return e={emit:function(t){i[t]&&i[t].forEach((function(t){t(e);}));var n=e.options&&e.options[t];n&&n(e);},moveToIdx:function(t,n,i){var r=e.track.idxToDist(t,n);if(r){var a=e.options.defaultAnimation;e.animator.start([{distance:r,duration:v(i||a,"duration",500),easing:v(i||a,"easing",(function(t){return 1+--t*t*t*t*t;}))}]);}},on:function(t,n,e){void 0===e&&(e=!1),i[t]||(i[t]=[]);var r=i[t].indexOf(n);r>-1?e&&delete i[t][r]:e||i[t].push(n);},options:t},function(){if(e.track=h(e),e.animator=function(t){var n,e,i,r,a,o;function d(n){o||(o=n),s(!0);var a=n-o;a>i&&(a=i);var c=r[e];if(c[3]<a)return e++,d(n);var f=c[2],v=c[4],p=c[0],h=c[1]*(0,c[5])(0===v?1:(a-f)/v);if(h&&t.track.to(p+h),a<i)return l();o=null,s(!1),u(null),t.emit("animationEnded");}function s(t){n.active=t;}function u(t){n.targetIdx=t;}function l(){var t;t=d,a=window.requestAnimationFrame(t);}function c(){var n;n=a,window.cancelAnimationFrame(n),s(!1),u(null),o&&t.emit("animationStopped"),o=null;}return n={active:!1,start:function(n){if(c(),t.track.details){var a=0,o=t.track.details.position;e=0,i=0,r=n.map((function(t){var n,e=Number(o),r=null!==(n=t.earlyExit)&&void 0!==n?n:t.duration,d=t.easing,s=t.distance*d(r/t.duration)||0;o+=s;var u=i;return i+=r,a+=s,[e,t.distance,u,i,t.duration,d];})),u(t.track.distToIdx(a)),l(),t.emit("animationStarted");}},stop:c,targetIdx:null};}(e),n)for(var t=0,i=n;t<i.length;t++)(0,i[t])(e);e.track.init(e.options.initial||0),e.emit("created");}(),e;}(e,n([y(t,{drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"}),b,g,m],i||[],!0));}catch(t){console.error(t);}};function A(t){return function(t){if(Array.isArray(t))return k(t);}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t);}
17(t)||function(t,n){if(t){if("string"==typeof t)return k(t,n);var e={}.toString.call(t).slice(8,-1);return "Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?k(t,n):void 0;}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function k(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=Array(n);e<n;e++)i[e]=t[e];return i;}window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.slider=function(t,n){(t instanceof Element&&t.classList&&t.classList.contains("js-slider")?[t]:t.querySelectorAll(".js-slider")).forEach((function(t){if(!t.hasAttribute("data-slider")){t.setAttribute("data-slider","1");var n=A(t.querySelector(":scope > .js-slider-items").children),e=t.hasAttribute("data-infinite")&&"1"===t.getAttribute("data-infinite"),i=t.hasAttribute("data-swipe")&&"1"===t.getAttribute("data-swipe"),r=t.hasAttribute("data-padding")&&"1"===t.getAttribute("data-padding"),a=t.hasAttribute("data-center-mode")&&"1"===t.getAttribute("data-center-mode"),o=t.hasAttribute("data-variable")&&"1"===t.getAttribute("data-variable"),d=t.hasAttribute("data-fade")&&"1"===t.getAttribute("data-fade"),s=t.hasAttribute("data-duration")?Number(t.getAttribute("data-duration")):250,u=t.querySelectorAll(".js-slider").length>0,l=t.querySelectorAll(".js-slider"),c=document.querySelectorAll(".js-sidebar-desktop").length>0,f=t.getAttribute("data-slides-mobile")?parseInt(t.getAttribute("data-slides-mobile")):1,v=t.getAttribute("data-slides-tablet")?parseInt(t.getAttribute("data-slides-tablet")):1,p=t.getAttribute("data-slides-desktop")?parseInt(t.getAttribute("data-slides-desktop")):1,h=r?20:0;h&&t.hasAttribute("data-linked")&&(h=12);var m=[function(i){var r=i.container.querySelector(":scope > .js-slider-navigation"),a=r?r.querySelector(".js-slider-prev"):null,o=r?r.querySelector(".js-slider-next"):null,d=r?r.querySelector(".js-slider-dots"):null,s=r?r.querySelector(".js-slider-progress"):null;function c(){i.slides.length&&(s&&(s.textContent=i.track.details.rel+1+" / "+i.slides.length),d&&(d.textContent="",i.track.details.maxIdx&&i.track.details.slides.forEach((function(t,n){if(n<=i.track.details.maxIdx){var e=function(t,n){var e=document.createElement("button");return e.type="button",e.innerHTML=t,n.split(" ").forEach((function(t){return e.classList.add(t);})),e;}(n+1,"slider__dot");e.addEventListener("click",(function(){i.moveToIdx(n);})),d.appendChild(e);}}))));}function f(){var t=i.track.details.rel,c=n[t];s&&(s.textContent=t+1+" / "+i.slides.length),i.slides.length>10?(null===r||void 0===r||r.classList.remove("hidden"),null===d||void 0===d||d.classList.add("hidden"),null===s||void 0===s||s.classList.remove("hidden")):i.slides.length>1?(null===r||void 0===r||r.classList.remove("hidden"),null===d||void 0===d||d.classList.remove("hidden"),null===s||void 0===s||s.classList.add("hidden")):null===r||void 0===r||r.classList.add("hidden"),i.slides.forEach((function(n,e){null===n.querySelector("a")&&n.setAttribute("tabindex",0),e===t?n.classList.add("slider__item--active"):n.classList.contains("slider__item--active")&&n.classList.remove("slider__item--active");})),0!==t||e?null===a||void 0===a||a.removeAttribute("aria-disabled"):null===a||void 0===a||a.setAttribute("aria-disabled",!0);var f=parseInt(i.options.slides.perView);t>=i.slides.length-(Number.isInteger(f)?f:1)&&!e?null===o||void 0===o||o.setAttribute("aria-disabled",!0):null===o||void 0===o||o.removeAttribute("aria-disabled"),null!==a&&void 0!==a&&a.hasAttribute("aria-disabled")&&null!==o&&void 0!==o&&o.hasAttribute("aria-disabled")?null===r||void 0===r||r.classList.add("hidden"):null===r||void 0===r||r.classList.remove("hidden"),d&&Array.from(d.children).forEach((function(n,e){e===t?n.classList.add("slider__dot--active"):n.classList.remove("slider__dot--active");})),function(t){if(!u||window.innerWidth>767)return;l.forEach((function(n){var e=null===t||void 0===t?void 0:t.querySelector(".js-slider");if(null===e&&(null===a||void 0===a||a.removeAttribute("hidden"),null===o||void 0===o||o.removeAttribute("hidden")),e===n){var i=null===n||void 0===n?void 0:n.querySelector(".js-slider-navigation"),r=null===i||void 0===i?void 0:i.querySelector(".js-slider-prev"),d=null===i||void 0===i?void 0:i.querySelector(".js-slider-next");null!==r&&void 0!==r&&r.getAttribute("aria-disabled")?null===a||void 0===a||a.removeAttribute("hidden"):null===a||void 0===a||a.setAttribute("hidden",!0),null!==d&&void 0!==d&&d.getAttribute("aria-disabled")?null===o||void 0===o||o.removeAttribute("hidden"):null===o||void 0===o||o.setAttribute("hidden",!0);}}));}(c);}i.on("created",(function(){null===a||void 0===a||a.addEventListener("click",(function(){return i.prev();})),null===o||void 0===o||o.addEventListener("click",(function(){return i.next();})),c(),f();})),i.on("optionsChanged",(function(){c(),f();})),i.on("slideChanged",(function(){f(),window.dispatchEvent(new Event("resize")),t.querySelectorAll(".video--with-placeholder").forEach((function(t){var n=t.querySelectorAll(".video__embed iframe");
17n.length&&n.forEach((function(t){var n=t.getAttribute("src"),e=new URL(n);e.searchParams.delete("autoplay"),t.setAttribute("src",e.toString());}));}));})),i.on("updated",(function(){f();})),window.addEventListener("resize",function(t,n){var e;return function(){clearTimeout(e);var i=Array.prototype.slice.call(arguments);i.unshift(this),e=setTimeout(n.bind.apply(n,i),t);};}(300,(function(){i.update();})));}];t.hasAttribute("data-linked")&&m.push((function(t){var n=t.container.parentElement.querySelector(":scope > "+t.container.getAttribute("data-linked"));n.slider&&t.on("created",(function(){t.slides.forEach((function(n,e){n.addEventListener("click",(function(){t.moveToIdx(e);}));})),n.slider.on("slideChanged",(function(){var e=n.slider.track.details.rel||0;t.track.details.rel!==e&&t.moveToIdx(Math.min(t.track.details.maxIdx,e));})),t.on("slideChanged",(function(){var e=t.track.details.rel||0;n.slider.track.details.rel!==e&&n.slider.moveToIdx(Math.min(n.slider.track.details.maxIdx,e));}));}));}));var g=new w(t,{loop:e,drag:i,selector:n,slides:{perView:f,spacing:0,origin:a?"center":"auto"},breakpoints:{"(min-width: 734px)":{slides:{perView:o?"auto":c&&v>2?v-1:v,spacing:h,origin:a?"center":"auto"}},"(min-width: 1024px)":{slides:{perView:o?"auto":c&&p>2?p-1:p,spacing:h,origin:a?"center":"auto"}}},defaultAnimation:{duration:s},renderMode:d?"custom":"precision",detailsChanged:function(t){d&&t.slides.forEach((function(n,e){n.style.opacity=t.track.details.slides[e].portion;}));}},m);t.slider=g,setTimeout((function(){g.update();}),500);}}));};})();;
18(()=>{"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.studyCompare={maxItems:3,selection:JSON.parse(localStorage.getItem("eurStudyCompare"))||[],cart:null,template:null,persist:function(){localStorage.setItem("eurStudyCompare",JSON.stringify(this.selection));},add:function(e,t){var s=-1;this.selection.forEach((function(t,r){t===e&&(s=r);})),-1===s&&(this.selection.push(e),this.persist(),$(".js-study-compare-toggle-"+e).prop("checked",!0),"true"!==$(".js-study-compare-cart-open").attr("aria-expanded")&&(this.cart.show(),$(".js-study-compare-cart-open").click()),$(".js-popover__trigger").removeClass("js-popover__trigger"),t.addClass("js-popover__trigger"),this.updateCart());},remove:function(e){this.selection=this.selection.filter((function(t){return t!==e;})),this.persist(),$(".js-study-compare-toggle-"+e).prop("checked",!1),0===this.selection.length&&$(".js-active-popover").find(".js-popover__close").trigger("click"),this.updateCart();},updateCart:function(){if(this.template&&this.template.length){var e=this.cart,t=this.template,s=t.clone(),r=$(".js-study-compare-cart-open",e),a=$(".js-study-compare-cart-popover",e),o=$(".js-study-compare-cart-message",e),i=$(".js-study-compare-cart-list",e),c=$(".js-study-compare-cart-link",e),d=e.data("studies");this.selection.length?(e.show(),$("body").addClass("js-study-cart-active")):(e.hide(),$("body").removeClass("js-study-cart-active"));var l=[];this.selection.forEach((function(e){var s=t.clone();s.html(s.html().replace(/@title/g,d[e].label).replace("@url",d[e].url).replace("@duration",d[e].duration).replace("@study_id",e)),s.removeClass("study-compare-cart__list-item-template"),s.removeClass("js-study-compare-cart-list-template"),$(".js-study-compare-cart-remove",s).click((function(t){t.preventDefault(),t.stopPropagation(),window.eur.studyCompare.remove(e);})),l.push(s);})),c.attr("href",c.data("url")+"?studies="+this.selection.join("+")),i.html(l),i.append(s);var p=e.data(1===this.selection.length?"title":"title-plural"),u=p?p.replace("@count",this.selection.length):"";$(".button__text",r).html(u),$(".popover__title",a).html(u),$(a).attr("aria-label",u);var n=o.data("message"),m=n?n.replace("@count",this.selection.length).replace("@max",this.maxItems):"";o.html(m),$(".js-study-compare-toggle").prop("disabled",!1),this.selection.length>=this.maxItems&&$(".js-study-compare-toggle:not(:checked)").prop("disabled",!0);}}},window.eur.behaviors.studyCompare=function(e){window.eur.studyCompare.selection.forEach((function(t){$(".js-study-compare-toggle-"+t,e).prop("checked",!0);})),$(".js-study-compare-toggle",e).each((function(){$(this).change((function(){var e=$
18(this).data("study-id");$(this).is(":checked")?window.eur.studyCompare.add(e,$(this)):window.eur.studyCompare.remove(e);}));})),$(".js-study-compare-remove",e).click((function(){window.eur.studyCompare.remove($(this).data("study-id"));}));var t=$(e).is(".js-study-compare-cart")?e:$(".js-study-compare-cart",e);if(!window.eur.studyCompare.cart){window.eur.studyCompare.cart=t;var s=$(".js-study-compare-cart-list-template",t);window.eur.studyCompare.template=s.clone();}window.eur.studyCompare.updateCart();};})();;
19(()=>{"use strict";function t(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=r(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,a=function(){};return {s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]};},e:function(t){throw t;},f:a};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,u=!0,l=!1;return {s:function(){i=i.call(t);},n:function(){var t=i.next();return u=t.done,t;},e:function(t){l=!0,o=t;},f:function(){try{u||null==i.return||i.return();}finally{if(l)throw o;}}};}function e(t,e){return function(t){if(Array.isArray(t))return t;}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,o,u=[],l=!0,s=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1;}else for(;!(l=(i=a.call(r)).done)&&(u.push(i.value),u.length!==e);l=!0);}catch(t){s=!0,n=t;}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return;}finally{if(s)throw n;}}return u;}}(t,e)||r(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function r(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return "Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0;}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i;}window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.imageOptimise=function(r,i){var n=r.querySelectorAll('img[data-srcset]:not([data-resizer="1"])');if(n&&0!==n.length){var a=function r(i){if(i.hasAttribute("data-loading"))setTimeout((function(){r(i);}),100);else{var n=1,a=i.getAttribute("data-resize");null!==a&&(n=parseFloat(a.replace("x","")));var o,u,l=n>=1?n:1,s=window.devicePixelRatio<l?window.devicePixelRatio:l,c=i.hasAttribute("data-cover"),f=Math.floor(i.clientWidth),d=Math.floor(i.clientHeight),h=Math.floor(i.parentNode.clientWidth),b=Math.floor(i.parentNode.clientHeight),v=h>f?h:f,y=b>d?b:d,g=s*v,A=s*y,m=i.getAttribute("width"),p=i.getAttribute("height"),w=i.getAttribute("data-srcset").split(","),M=i.getAttribute("src");if(i.hasAttribute("data-ratio")){var S=e(i.getAttribute("data-ratio").split(":"),2);o=S[0],u=S[1];}if(i.src&&m&&m>v&&p&&p>y)i.setAttribute("data-loaded",1);else{var I,O,j,x,E=t(w);try{for(E.s();!(x=E.n()).done;){var T=x.value.split(" ");if(I=T[0],O=T[1].slice(0,-1),c&&h&&b?j=O*h/b:o&&u?j=O*u/o:m&&p&&(j=O*p/m),g<O&&(!c||!j||A<j))break;}}catch(q){E.e(q);}finally{E.f();}I!==M?(i.setAttribute("data-loading",1),i.src=I,i.setAttribute("width",v),c&&h&&b?i.setAttribute("height",Math.round(v*b/h)):o&&u?i.setAttribute("height",Math.round(v*u/o)):m&&p&&i.setAttribute("height",Math.round(v*p/m)),i.onload=function(){this.setAttribute("data-loaded",1),i.removeAttribute("data-loading"),!c&&o&&u||(this.setAttribute("width",Math.floor(this.width)),this.setAttribute("height",Math.floor(this.height)));}):i.setAttribute("data-loaded",1);}}},o=new ResizeObserver(function(t,e){var r;return function(){clearTimeout(r);var i=Array.prototype.slice.call(arguments);i.unshift(this),r=setTimeout(e.bind.apply(e,i),t);};}(300,(function(e){var r,i=t(e);try{for(i.s();!(r=i.n()).done;)r.value.target.querySelectorAll("img[data-srcset]").forEach((function(t){a(t);}));}catch(n){i.e(n);}finally{i.f();}}))),u=new IntersectionObserver((function(e){var r,i=t(e);try{for(i.s();!(r=i.n()).done;){var n=r.value;n.isIntersecting&&(u.unobserve(n.target),a(n.target),o.observe(n.target.parentNode));}}catch(l){i.e(l);}finally{i.f();}}),{rootMargin:"300px"});
19n.forEach((function(t){t.hasAttribute("data-observed")||(t.setAttribute("data-observed","1"),t.hasAttribute("loading")&&"lazy"===t.getAttribute("loading")?(t.removeAttribute("src"),u.observe(t)):(a(t),o.observe(t.parentNode)),setTimeout((function(){a(t);}),1e3));}));var l=new MutationObserver((function(e){var r,i=t(e);try{for(i.s();!(r=i.n()).done;){var n=r.value;if("attributes"===n.type&&n.target.hasAttribute("open"))n.target.querySelectorAll("img[data-srcset]").forEach((function(t){a(t);}));}}catch(o){i.e(o);}finally{i.f();}}));r.querySelectorAll(".js-dialog dialog").forEach((function(t){l.observe(t,{attributes:!0});}));}};})();;
20(()=>{"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.videoPlaceholder=function(e,i){(e instanceof Element&&e.classList.contains("video--with-placeholder")?[e]:e.querySelectorAll(".video--with-placeholder")).forEach((function(e){if(!e.hasAttribute("data-video")){e.setAttribute("data-video","1");var i=e.querySelectorAll(".video__still, .video__overlay"),o=e.querySelectorAll(".video__embed");e.querySelectorAll(".video__still, .video__overlay, .js-dialog__open").forEach((function(t){t.hasAttribute("data-video-trigger")||(t.setAttribute("data-video-trigger","1"),t.addEventListener("click",(function(t){t.preventDefault(),e.querySelectorAll("hidden-iframe").forEach((function(e){var i=e.outerHTML.replace("<hidden-iframe","<iframe");e.outerHTML=i;}));var r=e.classList.contains("js-dialog"),l=null!==e.closest(".js-dialog");(r||(i.forEach((function(e){e.classList.add("visually-hidden");})),o.forEach((function(e){e.classList.remove("visually-hidden");}))),l)&&e.closest(".js-dialog").querySelector("dialog").addEventListener("close",(function(e){o.forEach((function(e){e.classList.add("visually-hidden");}
20)),i.forEach((function(e){e.classList.remove("visually-hidden");}));}));(r||l)&&(r?e.querySelector("dialog"):e.closest(".js-dialog").querySelector("dialog")).addEventListener("close",(function(i){e.querySelectorAll("iframe").forEach((function(e){var i=e.outerHTML.replace("<iframe","<hidden-iframe");e.outerHTML=i;}));}));})));}));}}));};})();;
21'use strict';window.eur=window.eur||{};window.eur.behaviors=window.eur.behaviors||{};var $=jQuery;(function($,Drupal){window.eur.attachedIndex=0;Drupal.behaviors.eur={attach:function(context){for(let fn in window.eur.behaviors)if(window.eur.behaviors.hasOwnProperty(fn)){window.eur.behaviors[fn](context,window.eur.attachedIndex);window.eur.attachedIndex++;}}};})(jQuery,Drupal);;
22(function($,window,Drupal){'use strict';var $body=$('body');var toggleFilter=Drupal.toggleFilter||{};toggleFilter.$sidebar=$body.find('.l-sidebar-first');toggleFilter.isOpened=false;toggleFilter.onFocus=function(event){if(toggleFilter.isOpened&&!toggleFilter.isDesktop()&&!$.contains(toggleFilter.$sidebar[0],event.target)){event.stopPropagation();toggleFilter.focusClose();}};Drupal.behaviors.toggleFilter={attach:function(context){once('filter-toggle','.js-filter-toggle',context).forEach(function(filterToggle){$(filterToggle).click(toggleFilter.toggle);});}};toggleFilter.toggle=function(event){toggleFilter.isOpened=!toggleFilter.isOpened;$body.toggleClass('js-show-filter');window.localStorage.setItem('showFilter',toggleFilter.isOpened);toggleFilter.isOpened?toggleFilter.focusClose():toggleFilter.focusOpen();event.preventDefault();};toggleFilter.close=function(){$('.js-filter-close').first().trigger('click');};toggleFilter.focusClose=function(){$('.js-filter-close').first().focus();};toggleFilter.focusOpen=function(){$('.js-filter-open').first().focus();};toggleFilter.isDesktop=function(){return window.matchMedia('(min-width: 992px)').matches;};toggleFilter.onKeyUp=function(event){switch(event.which){case 27:if(toggleFilter.isOpened)toggleFilter.close();break;case 37:case 38:case 39:case 40:if(toggleFilter.isOpened&&!toggleFilter.isDesktop())toggleFilter.navigateFilter(event.which);break;default:return;}};toggleFilter.navigateFilter=function(key){var $tabbable=toggleFilter.$sidebar.find(':tabbable');var currentFocusElement=document.activeElement;var currentIndex=$tabbable.index(currentFocusElement);var currentTagname=currentFocusElement.tagName.toLowerCase();var navigateNext=function(){$tabbable[currentIndex+1===$tabbable.length?0:currentIndex+1].focus();};var navigatePrevious=function(){$tabbable[currentIndex-1<0?$tabbable.length-1:currentIndex-1].focus();};if(currentIndex===-1)$tabbable[0].focus();else{if(key===38||key===40)currentIndex=$tabbable.index(currentFocusElement);switch(key){case 37:navigatePrevious();break;case 38:if(currentTagname==='a')navigatePrevious();else currentFocusElement.click();break;case 39:navigateNext();break;case 40:if(currentTagname==='a')navigateNext();else currentFocusElement.click();break;default:return;}}};document.body.addEventListener('focus',toggleFilter.onFocus,true);document.body.addEventListener('keyup',toggleFilter.onKeyUp,true);Drupal.toggleFilter=toggleFilter;})(jQuery,window,Drupal);;
23(()=>{function n(n){return function(n){if(Array.isArray(n))return r(n);}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n);}(n)||function(n,e){if(n){if("string"==typeof n)return r(n,e);var t={}.toString.call(n).slice(8,-1);return "Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(n,e):void 0;}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function r(n,r){(null==r||r>n.length)&&(r=n.length);for(var e=0,t=Array(r);e<r;e++)t[e]=n[e];return t;}!function(r,e){"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.pageExternalLinks=function(t){var o=t.querySelectorAll("a:not(.button--hide-text):not(.js-no-external-icon)"),i=window.location.hostname,a=window.location.origin;
23n(o).forEach((function(n){if(!n.hasAttribute("link-processed")){n.setAttribute("link-processed",!0);var e=n.href;e&&-1!==e.indexOf("http")&&-1===e.indexOf(i)&&(n.classList.add("link-external"),n.innerHTML+="".concat('<svg class="link-external__icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><path d="M5.4,0l1.7,1.7L4.2,4.6l1.2,1.2l2.9-2.9L10,4.6V0H5.4z M1,1.2v7.9h7.7V5H7.9v3.3H1.8V2.1H5V1.2H1z"/></svg>','<span class="visually-hidden">').concat(r.t("Opens external"),"</span>"));}})),n(t.querySelectorAll("a")).forEach((function(n){var r=n.href,t=e.trusted_domains,o=!1;if(-1===r.indexOf(a)){var i=new URL(r,a).hostname;0===i.indexOf("www.")&&(i=i.replace("www.","")),o=t.some((function(n){return i===n;}));}r&&-1!==r.indexOf("http")&&-1===r.indexOf(a)&&!o&&n.relList.add("noopener","noreferrer","nofollow");}));};}(Drupal,drupalSettings);})();;
24(()=>{function e(e){return function(e){if(Array.isArray(e))return t(e);}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e);}(e)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return "Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0;}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n;}window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.responsiveLayoutDesktop=null,window.eur.behaviors.responsiveLayout=function(t){var r=t.querySelectorAll("[data-desktop]"),n=t.querySelectorAll("[data-mobile]");(r.length||n.length)&&(o(),window.matchMedia("(min-width: ".concat(992,"px)")).addEventListener("change",(function(){o();})));function o(){var o=window.innerWidth>=992;o?(n.forEach((function(r){var n=r.getAttribute("data-mobile"),o=t.querySelector("[data-desktop=".concat(n,"]"));o&&e(r.children).forEach((function(e){o.appendChild(e);}));})),(null===window.eur.responsiveLayoutDesktop||!1===window.eur.responsiveLayoutDesktop)&&t.querySelectorAll("dialog[open]").forEach((function(e){e.close();}))):r.forEach((function(r){var n=r.getAttribute("data-desktop"),o=t.querySelector("[data-mobile=".concat(n,"]"));o&&e(r.children).forEach((function(e){o.appendChild(e);}));}));window.eur.responsiveLayoutDesktop=o;}};})();;
25(()=>{"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.pageScroll=function(o){window.dispatchEvent(new Event("scroll"));var s=o.querySelector("body");if(s&&!s.hasAttribute("data-scroll")){s.setAttribute("data-scroll","1");var e,d,t=150;window.addEventListener("scroll",(function(o){e||(e=!0);})),window.dispatchEvent(new Event("scroll")),setInterval((function(){e&&e&&(e=!1,function(){var o=window.scrollY;o>t&&(document.body.classList.add("has-scrolled"),o>d+t?(document.body.classList.add("has-scrolled-down"),document.body.classList.remove("has-scrolled-up"),d=o):o<d-t&&(document.body.classList.add("has-scrolled-up"),document.body.classList.remove("has-scrolled-down"),d=o)),o<t&&(document.body.classList.remove("has-scrolled"),d=o),0===o&&(document.body.classList.remove("has-scrolled-up"),document.body.classList.remove("has-scrolled-down"),d=o);}());}),200);}};})();;
26window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{},window.eur.behaviors.pageSidebar=function(e){var r=e.querySelector("body");if(r&&!r.hasAttribute("data-sidebar")){r.setAttribute("data-sidebar","1");var i=e.querySelector(".js-sidebar-facets"),t=e.querySelector(".js-sidebar-desktop"),s=e.querySelector(".js-sidebar-mobile-content"),a=e.querySelector(".skip__link-sidebar"),o=e.querySelector(".js-sidebar-mobile"),n=function(e){return e.replace(/(<(?!img)([^>]+)>)/gi,"").trim();};!function(){var e=i?n(i.innerHTML):"",d=t?n(t.innerHTML):"",b=s?n(s.innerHTML):"",l=e||d||b,u=d||b;r&&(r.classList.toggle("page--with-sidebar",l),o&&r.classList.toggle("page--with-sidebar-menu",u)),a&&(a.style.display=l?"block":"none"),o&&(o.style.display=u?"block":"none");}();}};;
27window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{}
27,window.eur.behaviors.pageViewportHeight=function(){var e=function(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(e,"px"));};e(),window.addEventListener("resize",e);};;
28(()=>{"use strict";window.eur=window.eur||{},window.eur.behaviors=window.eur.behaviors||{};var e=!1;window.eur.behaviors.mobileFooterMenu=function(n){var o=$(window);$(".js-footer").each((function(){var n=$(this).get(0);if(!n.hasAttribute("data-footer")){n.setAttribute("data-footer","1");var t=$(this);o.resize((function(){if(!e){var n=$(".js-footer-menu-mobile",t),i=$(".js-footer-menu-desktop",t),a=$(".js-footer-menu-information-mobile",t),r=$(".js-footer-menu-information-desktop",t),s=$(".js-footer-menu-dashboard-mobile",t),d=$(".js-footer-menu-dashboard-desktop",t);if(o.width()<768){var g=$(".js-navigation",i),h=$(".js-navigation",r),u=$(".js-navigation",d);g.length&&n.length&&$(".js-accordion-content",n).append(g),h.length&&a.length&&$(".js-accordion-content",a).append(h),u.length&&s.length&&$(".js-accordion-content",s).append(u);}else{var f=$(".js-navigation",n),l=$(".js-navigation",a),j=$(".js-navigation",s);f.length&&i.length&&i.append(f),l.length&&r.length&&r.append(l),j.length&&d.length&&d.append(j);}e=!0,setTimeout((function(){e=!1;}),200);}})),o.trigger("resize");}})),o.trigger("resize");};})();;
29(function($,window,Drupal){'use strict';Drupal.behaviors.cookieproGtmChecker={attach:function(context){Drupal.cookieproGtmChecker={};Drupal.cookieproGtmChecker.updateIframe=function(iframe){if(iframe.hasAttribute('src')&&iframe.getAttribute('src').includes("/cookies/consent"))iframe.setAttribute('src',iframe.getAttribute('src').replace('gtmLoaded=0','gtmLoaded=1'));};Drupal.cookieproGtmChecker.checkIframes=function(){$('hidden-iframe').each(function(){const $element=$(this)[0];Drupal.cookieproGtmChecker.updateIframe($element);});$('iframe').each(function(){const $element=$(this)[0];Drupal.cookieproGtmChecker.updateIframe($element);});};function waitForGTMLoad(){return new Promise((resolve,reject)=>{if(typeof window.google_tag_manager!=='undefined'){resolve();return;}const existingScript=Array.from(document.getElementsByTagName('script')).find((script)=>(script.src.indexOf('googletagmanager.com/gtm.js')>-1||script.src.indexOf('data.eur.nl/')>-1));if(existingScript){existingScript.addEventListener('load',()=>resolve());existingScript.addEventListener('error',()=>reject(new Error('GTM script failed to load')));}else reject(new Error('GTM script not found in the page'));});}waitForGTMLoad().then(()=>{Drupal.cookieproGtmChecker.checkIframes();}).catch((error)=>{});}};})(jQuery,window,Drupal);;
30(function($,Drupal){const states={postponed:[]};Drupal.states=states;function invert(a,invertState){return invertState&&typeof a!=='undefined'?!a:a;}function compare(a,b){if(a===b)return typeof a==='undefined'?a:true;return typeof a==='undefined'||typeof b==='undefined';}function ternary(a,b){if(typeof a==='undefined')return b;if(typeof b==='undefined')return a;return a&&b;}Drupal.behaviors.states={attach(context,settings){const elements=once('states','[data-drupal-states]',context);const il=elements.length;for(let i=0;i<il;i++){const config=JSON.parse(elements[i].getAttribute('data-drupal-states'));Object.keys(config||{}).forEach((state)=>{new states.Dependent({element:$(elements[i]),state:states.State.sanitize(state),constraints:config[state]});});}while(states.postponed.length)states.postponed.shift()();}};states.Dependent=function(args){$.extend(this,{values:{},oldValue:null},args);this.dependees=this.getDependees();Object.keys(this.dependees||{}).forEach((selector)=>{this.initializeDependee(selector,this.dependees[selector]);});this.reevaluate();};states.Dependent.comparisons={RegExp(reference,value){return reference.test(value);},Function(reference,value){return reference(value);},Array(reference,value){if(!Array.isArray(value))return false;return JSON.stringify(reference.sort())===JSON.stringify(value.sort());},Number(reference,value){return typeof value==='string'?compare(reference.toString(),value):compare(reference,value);}};states.Dependent.prototype={initializeDependee(selector,dependeeStates){this.values[selector]={};
30Object.keys(dependeeStates).forEach((i)=>{let state=dependeeStates[i];if($.inArray(state,dependeeStates)===-1)return;state=states.State.sanitize(state);this.values[selector][state.name]=null;const $dependee=$(selector);$dependee.on(`state:${state}`,{selector,state},(e)=>{this.update(e.data.selector,e.data.state,e.value);});new states.Trigger({selector,state});if($dependee.data(`trigger:${state.name}`)!==undefined)this.values[selector][state.name]=$dependee.data(`trigger:${state.name}`);});},compare(reference,selector,state){const value=this.values[selector][state.name];if(reference.constructor.name in states.Dependent.comparisons)return states.Dependent.comparisons[reference.constructor.name](reference,value);return compare(reference,value);},update(selector,state,value){if(value!==this.values[selector][state.name]){this.values[selector][state.name]=value;this.reevaluate();}},reevaluate(){let value=this.verifyConstraints(this.constraints);if(value!==this.oldValue){this.oldValue=value;value=invert(value,this.state.invert);this.element.trigger({type:`state:${this.state}`,value,trigger:true});}},verifyConstraints(constraints,selector){let result;if(Array.isArray(constraints)){const hasXor=$.inArray('xor',constraints)===-1;const len=constraints.length;for(let i=0;i<len;i++)if(constraints[i]!=='xor'){const constraint=this.checkConstraints(constraints[i],selector,i);if(constraint&&(hasXor||result))return hasXor;result=result||constraint;}}else{if($.isPlainObject(constraints)){for(const n in constraints)if(constraints.hasOwnProperty(n)){result=ternary(result,this.checkConstraints(constraints[n],selector,n));if(result===false)return false;}}}return result;},checkConstraints(value,selector,state){if(typeof state!=='string'||/[0-9]/.test(state[0]))state=null;else{if(typeof selector==='undefined'){selector=state;state=null;}}if(state!==null){state=states.State.sanitize(state);return invert(this.compare(value,selector,state),state.invert);}return this.verifyConstraints(value,selector);},getDependees(){const cache={};const _compare=this.compare;this.compare=function(reference,selector,state){(cache[selector]||(cache[selector]=[])).push(state.name);};this.verifyConstraints(this.constraints);this.compare=_compare;return cache;}};states.Trigger=function(args){$.extend(this,args);if(this.state in states.Trigger.states){this.element=$(this.selector);if(this.element.data(`trigger:${this.state}`)===undefined)this.initialize();}};states.Trigger.prototype={initialize(){const trigger=states.Trigger.states[this.state];if(typeof trigger==='function'){this.element.data(`trigger:${this.state}`,null);trigger.call(window,this.element);}else Object.keys(trigger||{}).forEach((event)=>{this.defaultTrigger(event,trigger[event]);});},defaultTrigger(event,valueFn){let oldValue=valueFn.call(this.element);this.element.data(`trigger:${this.state}`,oldValue);this.element.on(event,function(e){const value=valueFn.call(this.element,e);if(oldValue!==value){this.element.trigger({type:`state:${this.state}`,value,oldValue});oldValue=value;this.element.data(`trigger:${this.state}`,value);}}.bind(this));}};states.Trigger.states={empty:{keyup(){return this.val()==='';},change(){return this.val()==='';}},checked:{change(){let checked=false;this.each(function(){checked=$(this).prop('checked');return !checked;});return checked;}},value:{keyup(){if(this.length>1)return this.filter(':checked').val()||false;return this.val();},change(){if(this.length>1)return this.filter(':checked').val()||false;return this.val();}},collapsed:{collapsed(e){return typeof e!=='undefined'&&'value' in e?e.value:!this[0].hasAttribute('open');}}};states.State=function(state){this.pristine=state;this.name=state;let process=true;do{while(this.name.charAt(0)==='!'){this.name=this.name.substring(1);this.invert=!this.invert;}if(this.name in states.State.aliases)this.name=states.State.aliases[this.name];else process=false;}while(process);};states.State.sanitize=function(state){if(state instanceof states.State)return state;return new states.State(state);};
30states.State.aliases={enabled:'!disabled',invisible:'!visible',invalid:'!valid',untouched:'!touched',optional:'!required',filled:'!empty',unchecked:'!checked',irrelevant:'!relevant',expanded:'!collapsed',open:'!collapsed',closed:'collapsed',readwrite:'!readonly'};states.State.prototype={invert:false,toString(){return this.name;}};const $document=$(document);$document.on('state:disabled',(e)=>{const tagsSupportDisable='button, fieldset, optgroup, option, select, textarea, input';if(e.trigger)$(e.target).closest('.js-form-item, .js-form-submit, .js-form-wrapper').toggleClass('form-disabled',e.value).find(tagsSupportDisable).addBack(tagsSupportDisable).prop('disabled',e.value);});$document.on('state:readonly',(e)=>{if(e.trigger)$(e.target).closest('.js-form-item, .js-form-submit, .js-form-wrapper').toggleClass('form-readonly',e.value).find('input, textarea').prop('readonly',e.value);});$document.on('state:required',(e)=>{if(e.trigger)if(e.value){const label=`label${e.target.id?`[for=${e.target.id}]`:''}`;const $label=$(e.target).attr({required:'required'}).closest('.js-form-item, .js-form-wrapper').find(label);if(!$label.hasClass('js-form-required').length)$label.addClass('js-form-required form-required');}else $(e.target).removeAttr('required').closest('.js-form-item, .js-form-wrapper').find('label.js-form-required').removeClass('js-form-required form-required');});$document.on('state:visible',(e)=>{if(e.trigger){let $element=$(e.target).closest('.js-form-item, .js-form-submit, .js-form-wrapper');if(e.target.tagName==='A')$element=$(e.target);$element.toggle(e.value);}});$document.on('state:checked',(e)=>{if(e.trigger)$(e.target).closest('.js-form-item, .js-form-wrapper').find('input').prop('checked',e.value).trigger('change');});$document.on('state:collapsed',(e)=>{if(e.trigger)if(e.target.hasAttribute('open')===e.value)$(e.target).find('> summary').trigger('click');});})(jQuery,Drupal);;
31(function($,Drupal,once){'use strict';if(Drupal.states&&Drupal.states.Dependent){const originalCompare=Drupal.states.Dependent.prototype.compare;Drupal.states.Dependent.prototype.compare=function(reference,selector,state){const value=(this.values[selector]&&this.values[selector][state.name])?this.values[selector][state.name]:un
31defined;if(Array.isArray(value)&&(typeof reference==='string'||typeof reference==='number'))return value.indexOf(reference.toString())!==-1;return originalCompare.apply(this,arguments);};}})(jQuery,Drupal,once);;
32(function(Drupal,drupalSettings,once){'use strict';Drupal.behaviors.eurDatalayerEvents={attach:function(context){window.dataLayer=window.dataLayer||[];const settings=drupalSettings.eur_datalayer||{};const clickTracking=settings.clickTracking||{};if(clickTracking.eurClassClickEnabled)attachEurClickTracking(context,settings.events||[]);if(clickTracking.eurComponentClickEnabled)attachComponentClickTracking(context);attachFacetWizardTracking(context);}};function attachEurClickTracking(context,events){events.forEach((event)=>{let elements;try{elements=document.querySelectorAll(event.selector);}catch(error){return;}once('eurDatalayerEvents',elements,context).forEach((element)=>{element.addEventListener('click',function(){let destination=element.getAttribute('href')||null;if(destination&&!destination.startsWith('mailto:')&&!destination.startsWith('http'))destination=window.location.origin+destination;window.dataLayer.push({'event':'eur.click','eur.type':event.type,'eur.text':this.textContent.trim(),'eur.source':window.location.href,'eur.destination':destination});});});});}function attachComponentClickTracking(context){once('eurComponentClickTracking','body',context).forEach(()=>{document.addEventListener('click',function(event){const target=event.target;if(!target||typeof target.closest!=='function')return;const interactive=target.closest('a[href], button, [role="button"], input[type="submit"], input[type="button"], details');if(!interactive)return;const interactionType=interactive.tagName==='A'?'link':interactive.tagName==='DETAILS'?'details':'button';const rawLabel=(interactive.getAttribute('data-title')||interactive.getAttribute('title')||interactive.textContent||'');const label=rawLabel.trim().replace(/\s+/g,' ').substring(0,200);const targetUrl=interactionType==='link'?(interactive.href||''):'';const componentAncestors=[];let closestEl=null;let el=interactive.parentElement;while(el){if(el.dataset){if(el.dataset.title&&!el.dataset.component)componentAncestors.unshift(el);if(!closestEl&&el.dataset.component)closestEl=el;}el=el.parentElement;}const componentType=interactionType==='link'?'Link':interactionType==='details'?'Details':'Button';const trimmedPath=componentAncestors.slice(-4).map((compEl)=>buildPathItem(compEl));const payload={event:'eur.component.click','eur.label':label,'eur.componentType':componentType,'eur.targetUrl':targetUrl,'eur.pageUrl':window.location.href};const variant=closestEl&&(closestEl.dataset.componentVariant||closestEl.dataset.variant);if(variant)payload['eur.componentVariant']=variant;let componentAction=null;if(interactionType==='details')componentAction=interactive.open?'Close':'Open';else{const actionEl=interactive.closest('[data-component-action]');componentAction=actionEl?actionEl.dataset.componentAction:null;}if(componentAction)payload['eur.componentAction']=componentAction;if(closestEl)payload['eur.componentSection']=closestEl.dataset.component;const componentId=closestEl&&closestEl.dataset.id;if(componentId)payload['eur.componentId']=componentId;if(trimmedPath.length>0)payload['eur.componentPath']=trimmedPath;window.dataLayer.push(payload);});});}function buildPathItem(el){const type=el.dataset.component||el.tagName.toLowerCase();const item={type};if(el.dataset.title)item.title=el.dataset.title;return item;}function attachFacetWizardTracking(context){const facetWizardForms=once('facet-wizard-form','.js-facet-wizard-form',context);facetWizardForms.forEach((form)=>{form.addEventListener('submit',function(event){let formValues={};form.querySelectorAll('input, textarea, select').forEach((field)=>{if(field.type==='hidden')return;let labelValue=field.id;const labelElement=form.querySelector('label[for="'+field.id+'"]');if(labelElement)labelValue=labelElement.textContent.trim();let fieldValue=field.value;if(field.value&&field.nodeName==='SELECT')fieldValue=field.options[field.selectedIndex].textContent.trim();formValues[labelValue]=fieldValue?fieldValue:'[empty]';});const submitButton=event.submitter.textContent.trim();formValues=Object.keys(formValues).map((key)=>key+'|'+formValues[key]).join('||');window.dataLayer.push({'event':'eur.form','eur.type':'Facet wizard','eur.fieldValues':formValues,'eur.submitButton':submitButton,'eur.source':window.location.href});});});}})(Drupal,drupalSettings,once);;
33(function($,window,Drupal,drupalSettings){'use strict';const LOCAL_STORAGE_KEY='personalisation.segments';const UTM_KEYS=['utm_source','utm_medium','utm_campaign','utm_term','utm_content'];const segmentCounts=window.localStorage.getItem(LOCAL_STORAGE_KEY)?JSON.parse(window.localStorage.getItem(LOCAL_STORAGE_KEY)):{};segmentLoop:for(let segmentId in drupalSettings.eurPersonalisation.settings){const settings=drupalSettings.eurPersonalisation.settings[segmentId];if(!segmentCounts[segmentId])segmentCounts[segmentId]=0;for(let url of settings.urls){url='^(?:\/(?:nl|en))?'+url.toLowerCase().replace('*','.*')+'$';if(url==='*'||drupalSettings.eurPersonalisation.path.toLowerCase().match(url)){segmentCounts[segmentId]++;continue segmentLoop;}}if(settings.siteContexts.includes(drupalSettings.eurPersonalisation.siteContext.toString())){segmentCounts[segmentId]++;continue;}
33if(settings.contentTypes.includes(drupalSettings.eurPersonalisation.contentType)){segmentCounts[segmentId]++;continue;}if(settings.langCodes.includes(drupalSettings.eurPersonalisation.langCode)){segmentCounts[segmentId]++;continue;}let utmMatches=false;let utmMisMatches=false;const urlParams=new URLSearchParams(window.location.search);for(let utmParameter of UTM_KEYS){if(!settings.utmParameters[utmParameter])continue;if(urlParams.has(utmParameter)&&urlParams.get(utmParameter)===settings.utmParameters[utmParameter])utmMatches=true;else{utmMisMatches=true;break;}}if(utmMatches&&!utmMisMatches)segmentCounts[segmentId]++;}window.localStorage.setItem(LOCAL_STORAGE_KEY,JSON.stringify(segmentCounts));const activeSegmentsByParent={};for(let segmentId in segmentCounts){const settings=drupalSettings.eurPersonalisation.settings[segmentId];if(settings&&settings.threshold<=segmentCounts[segmentId]){if(!activeSegmentsByParent[settings.parent])activeSegmentsByParent[settings.parent]={};activeSegmentsByParent[settings.parent][segmentId]=segmentCounts[segmentId];}}let activeSegments=[];if(drupalSettings.eurPersonalisation.overrides.length)activeSegments=drupalSettings.eurPersonalisation.overrides;else{for(let parentId in activeSegmentsByParent){const activeChildren=activeSegmentsByParent[parentId];if(parentId==0||drupalSettings.eurPersonalisation.settings[parentId].allowMultipleSubsegments){for(let segmentId in activeChildren)activeSegments.push(segmentId);continue;}let max=Math.max(...Object.values(activeChildren));let topChildren=Object.keys(activeChildren).filter((key)=>activeChildren[key]===max);for(let key in topChildren)activeSegments.push(topChildren[key]);}}Drupal.behaviors.personaliseContent={attach:function(context){$('.js-personalised-content',context).each(function(){const $wrapper=$(this);let matchFound=false;$('.js-segmented-paragraph',$(this)).each(function(){if(matchFound)return;const paragraphPersonalisationKeys=$(this).attr('data-eur-personalisation-keys').split(' ');checkKeys:for(const personalisationKey of paragraphPersonalisationKeys){if(matchFound)continue;const personalisationSegments=personalisationKey.split('-');for(const personalisationSegment of personalisationSegments)if(!activeSegments.includes(personalisationSegment))continue checkKeys;$wrapper.replaceWith($(this).children().addClass('js-personalised-section'));matchFound=true;}});});}};})(jQuery,window,Drupal,drupalSettings);;
34(function($,Drupal,once){'use strict';Drupal.behaviors.fac={attach:function(context,settings){$.each(drupalSettings.fac,function(index,value){$(once('fac',value.inputSelectors)).fastAutocomplete(value);});}};})(jQuery,Drupal,once);;
35(function($,Drupal,drupalSettings){var facJsonRequest=null;$.fn.fastAutocomplete=function(options){var settings=$.extend({id:null,jsonFilesPath:undefined,keyMinLength:3,keyMaxLength:20,breakpoint:0,enabled:false,resizeTimer:null,emptyResult:'',allResultsLink:true,allResultsLinkThreshold:-1,highlightEnabled:false,resultLocation:false},options);if(settings.jsonFilesPath!==undefined)this.filter('input').each(function(index){var that=this;$(this).attr({'autocomplete':'off','autocorrect':'off','autocapitalize':'none','autofocus':'','spellcheck':'false','aria-autocomplete':'list','aria-owns':'fac-result-'+settings.id+'-'+index});var $facResult=$('<div>').attr({'class':'fac-result hidden','id':'fac-result-'+settings.id+'-'+index});toggleResponsiveBehavior($facResult,settings);$(window).resize(function(e){clearTimeout(settings.resizeTimer);settings.resizeTimer=setTimeout(function(){toggleResponsiveBehavior($facResult,settings);},250);});var $announce=$('<div>').attr({'class':'announce visually-hidden','id':'fac-announce-'+settings.id+'-'+index,'role':'status','aria-live':'polite'});$announce.appendTo($facResult);var $autoCompleteResultList=$('<ul>').attr({'class':'result-list autocomplete-result-list hidden','role':'listbox'}).appendTo($facResult);var $autoSuggestResultHeading=$('<h2>').attr({'class':'autosuggest-result-heading hidden'}).html(Drupal.t('Featured results')).appendTo($facResult);var $autoSuggestResultList=$('<ul>').attr({'class':'result-list autosuggest-result-list hidden','role':'listbox'}).appendTo($facResult);if(settings.allResultsLink){var $seeAllLink=$('<div>').attr({'class':'see-all-link','id':'fac-see-all-link-'+settings.id+'-'+index,'role':'option'}).html('<a href="#" class="button button--dark"><svg class="button__icon" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"><use xlink:href="'+drupalSettings.svg_sprite+'#chevron" xmlns:xlink="http://www.w3.org/1999/xlink"></use></svg>'+Drupal.t('See all results')+'</a></div>');$seeAllLink.find('> a').mousedown(function(e){e.preventDefault();}).click(function(e){e.preventDefault();});$seeAllLink.css('cursor','pointer').mousedown(function(e){switch(e.which){case 1:$(that).closest('form').submit();break;}e.preventDefault();}).hover(function(e){$facResult.find('> ul.result-list > li.selected').removeClass('selected');$(this).addClass('selected');$(that).attr('aria-activedescendant',$(this).attr('id'));}).addClass('hidden');$seeAllLink.appendTo($facResult);}
35if(settings.emptyResult){var $emptyResults=$('<div>').attr({'class':'empty-result'});$emptyResults.html(settings.emptyResult);$emptyResults.find('a').each(function(){$(this).on('mousedown',function(e){e.preventDefault();switch(e.which){case 1:window.location=$(this).attr('href');break;}});});$emptyResults.appendTo($facResult);}if(settings.resultLocation)$facResult.appendTo(settings.resultLocation);else{var $form=$(this).closest('form');$form.addClass('form-fac-result');$facResult.appendTo($form);}$(this).on('keyup',function(e){if(settings.enabled){if(!e)e=window.event;switch(e.keyCode){case 9:case 16:case 17:case 18:case 20:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 13:case 27:return;default:populateResults(this,$facResult,settings);return;}e.preventDefault();}});$(this).on('paste',function(e){$(that).trigger('keyup');});$(this).on('keydown',function(e){if(settings.enabled){if(!e)e=window.event;switch(e.keyCode){case 40:selectDown($facResult,$(this));e.preventDefault();break;case 38:selectUp($facResult,$(this));e.preventDefault();break;case 13:var $selected=$facResult.find('li.selected:not(.see-all-link)');if($selected.length){$selected.find('a:not(.contextual-links)')[0].click();e.preventDefault();}else return;break;case 27:if(facJsonRequest!==null)facJsonRequest.abort();$facResult.addClass('hidden');e.preventDefault();break;default:return;}}});$(this).on('blur',function(e){if(settings.enabled){if(facJsonRequest!==null)facJsonRequest.abort();$facResult.addClass('hidden');}});$(this).on('focus',function(e){var value=$(e.currentTarget).val();if(settings.enabled&&value.length>settings.keyMaxLength)$facResult.removeClass('hidden');});});return this;};function toggleResponsiveBehavior($facResult,settings){var browserWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;if(browserWidth>=settings.breakpoint)settings.enabled=true;else{settings.enabled=false;if($facResult!==undefined)$facResult.addClass('hidden');}}function populateResults(element,$facResult,settings){var value=$(element).val();value=value.trim();value=value.replace(/\s*\/\s*/g,'_');value=value.replace(/\s+/g,'_');value.toLowerCase();var $form=$facResult.parents('form');var $autoCompleteResultList=$facResult.find('> ul.autocomplete-result-list');var $autoSuggestResultHeading=$facResult.find('> .autosuggest-result-heading');var $autoSuggestResultList=$facResult.find('> ul.autosuggest-result-list');var $emptyResult=$facResult.find('> div.empty-result');var $announce=$facResult.find('> div.announce');var $seeAllLink=undefined;if(settings.allResultsLink)$seeAllLink=$facResult.find('> div.see-all-link');if(value.length>settings.keyMaxLength)value=value.substring(0,settings.keyMaxLength);if(value.length>=settings.keyMinLength){$(element).trigger('fac:requestStart');facJsonRequest=$.ajax({url:settings.jsonFilesPath+value+'.json?nocache='+(new Date()).getTime()+'&context_id='+drupalSettings.currentContextId,dataType:'json',type:'GET',processData:false,beforeSend:function(){if(facJsonRequest!==null)facJsonRequest.abort();},success:function(data,status,xhr){if(data.items.length){$announce.text(Drupal.formatPlural(data.items.length,'@count result found.','@count results found.')+' '+Drupal.t('Use the up/down keys to navigate the results or press <ENTER> to show all results.'));if($seeAllLink)if(data.items.length>=settings.allResultsLinkThreshold){$seeAllLink.find('> div > a').html(Drupal.t('See all results for "%key"',{'%key':$(element).val()}));$seeAllLink.removeClass('hidden');}else $seeAllLink.addClass('hidden');$autoCompleteResultList.addClass('hidden');$autoSuggestResultHeading.addClass('hidden');$autoSuggestResultList.addClass('hidden');$autoCompleteResultList.find('> li.result').remove();$autoSuggestResultList.find('> li.result').remove();$emptyResult.addClass('hidden');$.each(data.items,function(key,dataValue){var value=dataValue.value;if(dataValue.type==='autocomplete')value='<a href="'+$form.attr('action')+'?s='+encodeURIComponent(dataValue.value).replace(/%20/g,'+')+'">'+dataValue.value+'</a>';var $item=$('<li class="result" role="option" id="facoption'+key+'">'+value+'</li>');Drupal.attachBehaviors($item[0]);$item.css('cursor','pointer').mousedown(function(e){e.preventDefault();switch(e.which){case 1:$item.find('a:not(.contextual-links a)')[0].click();break;}}).hover(function(e){$facResult.find('li.result.selected').removeClass('selected');$(element).attr('aria-activedescendant','facoption'+key);$(this).addClass('selected');});if(dataValue.type==='autocomplete')$item.appendTo($autoCompleteResultList);else{if(dataValue.type==='autosuggest')$item.appendTo($autoSuggestResultList);}});const $autoCompleteResults=$autoCompleteResultList.find('li.result');if($autoCompleteResults.length)$autoCompleteResultList.removeClass('hidden');const $autoSuggestResults=$autoSuggestResultList.find('li.result');if($autoSuggestResults.length){$autoSuggestResultHeading.removeClass('hidden');$autoSuggestResultList.removeClass('hidden');}$facResult.removeClass('hidden');if(settings.highlightingEnabled)$facResult.find('li.result').unmark().mark($(element).val().split(' '));}else{$announce.text('No results found.');$autoCompleteResultList.addClass('hidden');$autoSuggestResultHeading.addClass('hidden');$autoSuggestResultList.addClass('hidden');$autoCompleteResultList.find('li.result').remove();$autoSuggestResultList.find('li.result').remove();if($seeAllLink)$seeAllLink.addClass('hidden');$facResult.addClass('hidden');$emptyResult.removeClass('hidden');}$(element).trigger('fac:requestEnd');},fail:function(){$(element).trigger('fac:requestEnd');}});}else{if(settings.highlightingEnabled){$autoCompleteResultList.find('> li.result').unmark().mark($(element).val().split(' '));$autoSuggestResultList.find('> li.result').unmark().mark($(element).val().split(' '));}if(value.length<1){$announce.text('');$autoCompleteResultList.addClass('hidden');$autoSuggestResultList.addClass('hidden');$autoCompleteResultList.find('> li.result').remove();$autoSuggestResultList.find('> li.result').remove();if($seeAllLink)$seeAllLink.addClass('hidden');$facResult.addClass('hidden');$emptyResult.removeClass('hidden');}}}function selectDown($facResult,$input){const $results=$facResult.find('li.result, .see-all-link');const $selected=$facResult.find('.selected');if($selected.length){const index=$results.index($selected);const $next=$($results.get(index+1));if($next.length){$selected.removeClass('selected');$next.addClass('selected');$input.attr('aria-activedescendant',$next.attr('id'));}}else{$results.first().addClass('selected');$input.attr('aria-activedescendant',$results.first().attr('id'));}}function selectUp($facResult,$input){const $results=$facResult.find('li.result, .see-all-link');const $selected=$facResult.find('.selected');if($selected.length){const index=$results.index($selected);const $prev=$($results.get(index-1));if($prev.length){$selected.removeClass('selected');$prev.addClass('selected');$input.attr('aria-activedescendant',$prev.attr('id'));}}else{$results.last().addClass('selected');$input.attr('aria-activedescendant',$results.last().attr('id'));}}}(jQuery,Drupal,drupalSettings));;

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.