function handleMainNavFocus(n){n.target.nextElementSibling&&!n.target.nextElementSibling.classList.contains("nav-visible")&&n.target.nextElementSibling.classList.add("nav-visible")}function handleMainNavBlur(n){n.target.nextElementSibling&&setTimeout(function(){var t=n.target.parentNode.querySelectorAll("a");document.activeElement&&Array.prototype.indexOf.call(t,document.activeElement)===-1&&n.target.nextElementSibling.classList.remove("nav-visible")},1)}function handleSubNavBlur(n){setTimeout(function(){var t=document.querySelectorAll(".header-nav .links > li");Array.prototype.forEach.call(t,function(t){var i=t.querySelectorAll("a");n.target&&document.activeElement&&Array.prototype.indexOf.call(i,n.target)!==-1&&Array.prototype.indexOf.call(i,document.activeElement)===-1&&n.target.parentNode.parentNode.classList.remove("nav-visible")})},1)}function handleMainNavKeyPress(n){var t=document.querySelectorAll(".header-nav .links > li > a"),i=n.target.parentNode.querySelectorAll("a"),r=Array.prototype.indexOf.call(t,n.target);switch(n.key){case"Up":case"ArrowUp":n.preventDefault();i&&i.length>1&&(n.target.nextElementSibling&&!n.target.nextElementSibling.classList.contains("nav-visible")&&n.target.nextElementSibling.classList.add("nav-visible"),i[i.length-1].focus());break;case"Down":case"ArrowDown":n.preventDefault();i&&i.length>1&&(n.target.nextElementSibling&&!n.target.nextElementSibling.classList.contains("nav-visible")&&n.target.nextElementSibling.classList.add("nav-visible"),i[1].focus());break;case"Left":case"ArrowLeft":t[r-1]?t[r-1].focus():t[t.length-1]&&t[t.length-1].focus();break;case"Right":case"ArrowRight":t[r+1]?t[r+1].focus():t[0]&&t[0].focus();break;case"Home":n.preventDefault();t[0]&&t[0].focus();break;case"End":n.preventDefault();t[t.length-1]&&t[t.length-1].focus();break;case"Esc":case"Escape":n.target.nextElementSibling&&n.target.nextElementSibling.classList.remove("nav-visible")}}function handleSubNavKeyPress(n){var i=document.querySelectorAll(".header-nav .links > li > a"),t=n.target.parentNode.parentNode.parentNode.querySelectorAll("a"),u=Array.prototype.indexOf.call(t,n.target),r;n.target.parentNode.parentNode.previousElementSibling&&(r=Array.prototype.indexOf.call(i,n.target.parentNode.parentNode.previousElementSibling));switch(n.key){case"Up":case"ArrowUp":n.preventDefault();t[u-1]?t[u-1].focus():t[t.length-1]&&t[t.length-1].focus();break;case"Down":case"ArrowDown":n.preventDefault();t[u+1]?t[u+1].focus():t[0]&&t[0].focus();break;case"Left":case"ArrowLeft":r!==undefined&&r!==-1&&i[r-1]?i[r-1].focus():i[i.length-1]&&i[i.length-1].focus();break;case"Right":case"ArrowRight":r!==undefined&&r!==-1&&i[r+1]?i[r+1].focus():i[0]&&i[0].focus();break;case"Home":n.preventDefault();t[1]&&t[1].focus();break;case"End":n.preventDefault();t[t.length-1]&&t[t.length-1].focus();break;case"Esc":case"Escape":t[0]&&(t[0].focus(),setTimeout(function(){n.target.parentNode.parentNode.classList.remove("nav-visible")},1))}}function initializeKeyboardNav(){var n=document.querySelectorAll(".header-nav .links > li > a");n.length>0&&Array.prototype.forEach.call(n,function(n){if(n.addEventListener("focus",handleMainNavFocus),n.addEventListener("blur",handleMainNavBlur),n.addEventListener("keydown",handleMainNavKeyPress),n.nextElementSibling){var t=n.nextElementSibling.querySelectorAll("a");t&&t.length>0&&Array.prototype.forEach.call(t,function(n){n.addEventListener("blur",handleSubNavBlur);n.addEventListener("keydown",handleSubNavKeyPress)})}})}function setupLoadMoreButton(){$("a.load-more").click(function(){return $(this).parent().hide(),$.get($(this).attr("href"),function(n){$(".more-content").append(n);setupLoadMoreButton()}),!1})}$(document).ready(function(){function i(){$("html, body").removeClass("behind");$("header .toggle-menu").removeClass("opened").attr("aria-expanded",!1);$("header .toggle-side-menu").removeClass("opened").attr("aria-expanded",!1);$("header .toggle-search").removeClass("opened").attr("aria-expanded",!1);$("header .side-menu-wrap").hide();$(".dropdowns .dropdown").hide();$(".dropdowns").hide().removeClass("opened")}function t(){$("html, body").removeClass("behind");$("header .toggle-menu").removeClass("opened").attr("aria-expanded",!1);$("header .toggle-side-menu").removeClass("opened").attr("aria-expanded",!1);$("header .toggle-search").removeClass("opened").attr("aria-expanded",!1);$("header .side-menu-wrap").fadeOut(200);$(".dropdowns .dropdown").fadeOut(200);$(".dropdowns").fadeOut(200).removeClass("opened")}$("header .toggle-menu").click(function(n){n.preventDefault();$(this).hasClass("opened")?($(this).removeClass("opened").attr("aria-expanded",!1),$("html").removeClass("behind"),$(".dropdowns").fadeOut(200).removeClass("opened"),$(".dropdowns .dropdown").fadeOut(200)):($(this).addClass("opened").attr("aria-expanded",!0),$("html").addClass("behind"),$("header .toggle-search").hasClass("opened")?($("header .toggle-search").removeClass("opened").attr("aria-expanded",!1),$("#dropdown-0").fadeOut(200,function(){$(".dropdowns .dropdown").hide();$(".dropdowns").fadeIn(200).addClass("opened");$("#dropdown-0").fadeIn(200,function(){$("#dropdown-0 a:first").focus()})})):($(".dropdowns").fadeIn(200).addClass("opened"),$("#dropdown-0").fadeIn(200,function(){$("#dropdown-0 a:first").focus()})))});$("header .toggle-search").click(function(n){n.preventDefault();$(this).hasClass("opened")?($(this).removeClass("opened").attr("aria-expanded",!1),$("#dropdown-search").fadeOut(200,function(){$("html").removeClass("behind");$(this).focus()}),$(".dropdowns").fadeOut(200)):($(this).addClass("opened").attr("aria-expanded",!0),$("html").addClass("behind"),$("header .toggle-side-menu").hasClass("opened")?($("header .toggle-side-menu").removeClass("opened").attr("aria-expanded",!1),$("header .side-menu-wrap").fadeOut(200,function(){$(".dropdowns .dropdown").hide();$(".dropdowns").fadeIn(200);$("#dropdown-search").fadeIn(200,function(){$("#mobile-search-terms").focus()})})):$("header .toggle-menu").hasClass("opened")?($("header .toggle-menu").removeClass("opened").attr("aria-expanded",!1),$(".dropdowns .dropdown").each(function(){$(this).fadeOut(200)}).promise().done(function(){$("#dropdown-search").fadeIn(200,function(){$("#mobile-search-terms").focus()})})):($(".dropdowns .dropdown").hide(),$(".dropdowns").fadeIn(200),$("#dropdown-search").fadeIn(200,function(){$("#mobile-search-terms").focus()})))});$("header .toggle-side-menu").click(function(n){n.preventDefault();$(this).hasClass("opened")?($(this).removeClass("opened").attr("aria-expanded",!1),$("header .side-menu-wrap").fadeOut(200,function(){$("html").removeClass("behind");$(this).focus()}),$(".dropdowns").fadeOut(200)):($(this).addClass("opened").attr("aria-expanded",!0),$("html").addClass("behind"),$("header .toggle-search").hasClass("opened")?($("header .toggle-search").removeClass("opened").attr("aria-expanded",!1),$("#dropdown-search").fadeOut(200,function(){$(".dropdowns .dropdown").hide();$(".dropdowns").fadeIn(200);$("header .side-menu-wrap").fadeIn(200,function(){$("header .side-menu-wrap a:first").focus()})})):($(".dropdowns").fadeIn(200),$("header .side-menu-wrap").fadeIn(200,function(){$("header .side-menu-wrap a:first").focus()})))});$(window).resize(function(){window.innerWidth>991&&i()});$("header .links-dropdowns a, header .link-site a").click(function(n){n.preventDefault();$("body").addClass("behind");$(".dropdowns .dropdown-search").hide();$(".dropdowns").fadeIn(0).addClass("opened");var t=$(this).attr("href");$(t).delay(300).fadeIn(300);setTimeout(function(){$(t).find(".close-dropdowns").focus()},600)});$(".dropdowns .links-dropdowns a").click(function(n){n.preventDefault();$(".dropdowns .dropdown").hide();var t=$(this).attr("href");$(t).show()});$(".dropdowns .close-dropdowns").click(function(n){n.preventDefault();t()});$(".dropdowns .toggle-list").click(function(n){n.preventDefault();$(this).toggleClass("opened");$(this).parent().next().slideToggle(200)});var n=9,r=27;$(".dropdowns .link-last").on("keydown",function(t){t.key!=="Tab"&&t.keyCode!==n||t.shiftKey||($(".dropdowns .close-dropdowns").focus(),t.preventDefault())});$(".dropdowns .close-dropdowns").on("keydown",function(t){(t.key==="Tab"||t.keyCode===n)&&t.shiftKey&&($(".dropdowns .link-last").focus(),t.preventDefault())});$(".dropdown-content").each(function(){$("a",this).last().on("keydown",function(t){t.key!=="Tab"&&t.keyCode!==n||t.shiftKey||($(".dropdowns .close-dropdowns").focus(),t.preventDefault())})});$(".dropdowns .close-dropdowns").on("keydown",function(t){(t.key==="Tab"||t.keyCode===n)&&t.shiftKey&&($("a",".dropdown-dialog:visible").last().focus(),t.preventDefault())});$(".dropdowns").focusout(function(n){setTimeout(function(){($(":focus").length===0||$($(":focus"),$(n.target)).length===0)&&$(".dropdowns .close-dropdowns").focus()},0)});$(".dropdowns .dropdown").on("keydown",function(n){(n.Key==="Escape"||n.keyCode===r)&&(n.preventDefault(),t(),$(".links-dropdowns > a[href='#"+$(this).parent(".dropdown").attr("id")+"']").focus())});$("header .translate-toggle").click(function(n){n.preventDefault();$("header .translate-wrap").fadeToggle(200)});$(".side-menu .menu-toggle .menu-toggle-btn").click(function(){$(this).toggleClass("opened").attr("aria-expanded",$(this).hasClass("opened"));$(this).parent().next().slideToggle(200)});$(".side-menu .menu-lists .target").click(function(n){n.preventDefault();$(this).closest(".side-menu").hide();var t=$(this).attr("href");$(t).fadeIn(200);$(t).children(".menu-toggle").children("a").addClass("opened");$(t).children(".menu-lists").show()});$(".side-menu .menu-lists .parent button").click(function(){$(this).parents(".parent").toggleClass("opened");$(this).attr("aria-expanded",$(this).parents(".parent").hasClass("opened"));$(this).parent().next().slideToggle(200)});$(".side-menu .side-accordion .toggle").next("ul").hide();$(".side-menu .side-accordion.opened .toggle").next("ul").show();$(".side-menu .side-accordion .toggle a").click(function(n){n.preventDefault();$(this).parent().parent().toggleClass("opened");$(this).parent().next().slideToggle(200)});$(".accordions .accordion .content").hide();$(".accordions .accordion.opened .content").show();$(".accordions .accordion .toggle a").click(function(n){n.preventDefault();$(this).parent().parent().toggleClass("opened");$(this).parent().next().slideToggle(200);$(this).attr("aria-expanded",$(this).attr("aria-expanded")==="false"?"true":"false")});$(".box-tabs .tabs .tab").hide();$(".box-tabs .tabs .tab:first-child").show();$(".box-tab-nav a").click(function(n){n.preventDefault();var t=$(this).attr("href");$(this).siblings().removeClass("on");$(this).addClass("on");$(this).parent().next(".tabs").children(".tab").hide();$(t).fadeIn(200)});$(".list-checklist li a").click(function(n){n.preventDefault();$(this).toggleClass("on")});$(".filter-box .toggle").click(function(n){n.preventDefault();$(this).toggleClass("opened");$(this).next().slideToggle(200)});$("a.scroll-to").click(function(n){n.preventDefault();var t=$(this).attr("href"),i=t.match(/#[^#\/]*$/);i&&i[0]&&(t=i[0]);$("html, body").animate({scrollTop:$(t).offset().top-100},200)});$("a.skip-to-content").click(function(n){n.preventDefault();$("html, body").animate({scrollTop:10},200);$("#content").find("a:first").focus()});$(".switch-wrap .switch").click(function(n){n.preventDefault();$(this).children("span").toggleClass("on");$(this).toggleClass("switched");$(".switch-content-wrap .switch-content").toggleClass("visually-hidden")});$(".fit-embed-to-container > iframe").each(function(){var n=$(this).attr("height"),t=$(this).attr("width"),i;n&&t?(i=n/t,$(this).parent(".fit-embed-to-container").css("padding-bottom",(i*100).toFixed(2)+"%")):$(this).parent(".fit-embed-to-container").css("padding-bottom","56.25%")});$(".body-copy table").each(function(){$(this).parent().hasClass("responsive-table")||$(this).wrap($('<div class="responsive-table"><\/div>'))});$(".responsive-table").each(function(){$(this).prop("scrollWidth")>$(this).prop("offsetWidth")&&$(this).addClass("active")});$(window).resize(function(){$(".responsive-table").each(function(){$(this).prop("scrollWidth")>$(this).prop("offsetWidth")?$(this).addClass("active"):$(this).removeClass("active")})})});$(window).scroll(function(){var n=$(window).scrollTop();n>=1?$("#page").removeClass("top"):$("#page").addClass("top")});window.addEventListener("load",initializeKeyboardNav);$(document).ready(function(){$(".auto-submit").change(function(){$(this).parents("form").submit()});$(".auto-submit.button").click(function(){return $(this).parents("form").submit(),!1});$(".dept-search-radio").change(function(n){$('form[name="department-search"]').attr("action",n.target.value)});$("header").mouseleave(function(){$("header .translate-wrap").hide()});$("header .header-top").mouseleave(function(){$("header .translate-wrap").hide()});setupLoadMoreButton()});$(function(){function f(n){for(var i,r=document.cookie.split(";"),t=0;t<r.length;t++)if(i=r[t].split("="),i[0].trim()===n)return i[1].trim();return null}var n=0,t=setInterval(function(){var u,r,i;n>9&&clearInterval(t);$("#google_translate_element select option").length>0&&($("#google_translate_element select option").each(function(){$(".remote-gt-select").append($(this).clone())}),u=f("googtrans"),u&&(r=u.match(/\/en\/([a-zA-Z]{2})/),r&&r[1]&&r[1]!=="en"&&(i=document.querySelector(".remote-gt-select option:first-child"),i&&i.innerText&&i.innerText.toLowerCase()==="select language"&&i.parentNode.removeChild(i),$(".remote-gt-container .remote-gt-select").val(r[1]),$('<option value="en">English<\/option>').insertAfter($('.remote-gt-container option[value="nl"]')))),$(".remote-gt-select").change(function(n){var t=document.querySelector(".remote-gt-select option:first-child");t.innerText.toLowerCase()==="select language"&&t.parentNode.removeChild(t);$('.remote-gt-select option[value="en"]').length===0&&$('<option value="en">English<\/option>').insertAfter($('.remote-gt-container option[value="nl"]'));n.target.value&&($("#google_translate_element select").val(n.target.value),document.querySelector("#google_translate_element select").dispatchEvent(new Event("change")))}),$("#google_translate_element select").change(function(n){$(".remote-gt-container .remote-gt-select").val(n.target.value);var t=document.querySelector(".remote-gt-select option:first-child");t.innerText.toLowerCase()==="select language"&&t.parentNode.removeChild(t);$('.remote-gt-select option[value="en"]').length===0&&$('<option value="en">English<\/option>').insertAfter($('.remote-gt-container option[value="nl"]'))}),clearInterval(t));n++},100),i=function(){var i,n,t;if($("#PrintedBibliography").length==1)$("#PrintedBibliography").show();else if(i=$(".order-lg-2 a, .body-copy a, .tile a, .box-blog a"),n=Array.prototype.reduce.call(i,function(n,t){if(typeof $(t).attr("href")!="undefined"&&$(t).attr("href").indexOf("#")!==0&&$(t).attr("href").indexOf("tel:")!==0&&$(t).attr("href").indexOf("mailto:")!==0){var i=$(t).attr("href");i.substr(0,1)==="/"&&(i=window.location+i);n.some(function(n){return n.url===$(t).attr("href")})||n.push({url:i,linkText:$(t).text()})}return n},[]),n.length>0)for($("#page").append('<div id="PrintedBibliography"><h2>Page Links<\/h2><ol><\/ol><\/div>'),t=0;t<n.length;t++)n[t].linkText?$("#PrintedBibliography ol").append("<li>"+n[t].linkText+" - "+n[t].url+"<\/li>"):$("#PrintedBibliography ol").append("<li>"+n[t].url+"<\/li>")},r=function(){$("#PrintedBibliography").length==1&&$("#PrintedBibliography").hide()},u;window.matchMedia!==undefined&&(u=window.matchMedia("print"),u.addListener(function(n){n.matches?i():r()}));window.onbeforeprint!==undefined&&(window.onbeforeprint=i,window.onafterprint=r)})