!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof b},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,f=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=O.p(f),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return O.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return O.s(e.$y,4,"0");case"M":return a+1;case"MM":return O.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return O.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return O.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return O.s(u,2,"0");case"s":return String(e.$s);case"ss":return O.s(e.$s,2,"0");case"SSS":return O.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=O.p(d),m=w(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return O.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:O.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),_=b.prototype;return w.prototype=_,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,b,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));$(document).ready(function($){if(($('.ahk-ces-homepage-slider').length||$('.slide-under-header').length)&&!$('body.ahk_cva').length){$('body').addClass('content-under-header')}
$("[data-fancybox]").fancybox({});var breakpointSwitch=767;var $jumbotron=$("div.jumbotron.slide-under-header"),setJumbotronHeight=function(){$(document).data('ahk.mediaWidth',0);$(document).data('ahk.mediaHeight',0);var image=document.getElementById("image-cover");var video=document.getElementById("video-cover");if($(".jumbotron #image-cover").length){fixJumbotron(image.naturalWidth,image.naturalHeight)}else if($(".jumbotron #video-cover").length){var videoUrl=video.currentSrc;getVideoDimensionsOf(videoUrl).then(({width,height})=>{fixJumbotron(width,height)})}};setJumbotronHeight();$(window).on("resize",setJumbotronHeight);function fixJumbotron(width,height){var windowSize=$(window).width();var minimumHeight=75;var ratio=width/height;var ratioHeight=Math.round(windowSize/ratio);var jumbotronHeight=ratioHeight;if(jumbotronHeight<minimumHeight){jumbotronHeight=minimumHeight}
$jumbotron.css({'height':jumbotronHeight});$jumbotron.css({'display':'block'})}
function getVideoDimensionsOf(url){return new Promise(function(resolve){let video=document.createElement('video');video.addEventListener("loadedmetadata",function(){let height=this.videoHeight;let width=this.videoWidth;resolve({height:height,width:width})},!1);video.src=url})}
var $header=$("div.scrolling-header");if($header.length){var $fixedHeader=$header.clone(),$window=$(window),switchpoint=140,lastScrollTop=$window.scrollTop(),delta=25,handleScrollableHeader=function(){var st=$window.scrollTop();if(st>=switchpoint){if(Math.abs(lastScrollTop-st)>delta){if(st<=0||st>lastScrollTop){$fixedHeader.addClass('visuallyhidden')}else{$fixedHeader.removeClass('visuallyhidden')}
lastScrollTop=st}}else{$fixedHeader.addClass('visuallyhidden')}};$fixedHeader.addClass("navbar-fixed-top when-scrolling-up visuallyhidden").removeClass("scrolling-header");$header.before($fixedHeader);handleScrollableHeader()}else{handleScrollableHeader=function(){}}
$(function(){if($(window).width()<breakpointSwitch){displayActiveLevel1Menu();displayActiveLevel2Menu()}
function displayActiveLevel1Menu(){var activeLevel1=$('li.item.level-1.active').get(0);$(activeLevel1).insertAfter('div.navbar-collapse').wrap('<ul class="submenu-active-level1"></ul>')}
function displayActiveLevel2Menu(){var activeLevel2=$('li.item.level-1.active ul li.item.level-2.active').get(0);$(activeLevel2).insertAfter('li.item.level-1.active')}});var scrollValues=scrollHeights();function scrollHeights(){var scrollValuesArray=[];scrollValuesArray.navbar=$('div.header nav.navbar').outerHeight(!0);scrollValuesArray.jumbotronHeight=$('div.jumbotron').outerHeight(!0);scrollValuesArray.submenuHeight=$('div#submenu-wrap').outerHeight(!0);return scrollValuesArray}
function resizeMobSubmenu(){vph=$(window).height();mobMenuHeight=$('div.submenu-container').outerHeight()+75;if(mobMenuHeight>vph){$('.submenu-container').css({'bottom':'0'})}else{$('.submenu-container').css({'bottom':''})}}
$(window).on("scroll",function(){var submenuOffset=0;var paddingContent=parseInt($('div.content').css('margin-top'));var scrollValues=scrollHeights();var navbarHeight=scrollValues.navbar;var jumbotronHeight=scrollValues.jumbotronHeight;var submenuHeight=scrollValues.submenuHeight;var sectionMenuHeight=submenuHeight+paddingContent;var mainMenuHeight=35;var header=$('div.no-scrolling-header div.header');if($('div.jumbotron')[0]){submenuOffset=jumbotronHeight;if($(window).width()>breakpointSwitch){submenuOffset+=mainMenuHeight}}else{if($(window).width()>breakpointSwitch){submenuOffset=mainMenuHeight}}
if($(this).scrollTop()>1){$(header).addClass('sticky')}else{$(header).removeClass('sticky')}
if($(this).scrollTop()>submenuOffset&&header.length){$('.submenu-container').addClass('sticky');if(submenuHeight>0&&jumbotronHeight>0){$('.main-content').css({'padding-top':submenuHeight+'px'});$('.sidebar-right').css({'padding-top':submenuHeight+'px'})}else if(submenuHeight>0){$('.main-content').css({'padding-top':sectionMenuHeight+'px'});$('.sidebar-right').css({'padding-top':sectionMenuHeight+'px'})}}else{$('.submenu-container').removeClass('sticky');$('.main-content').removeAttr('style');$('.sidebar-right').removeAttr('style')}
handleScrollableHeader()});$('button.search').on("click",function(){setTimeout(function(){$('.searchFormInput').trigger("focus")},300)});$(function(){$('#menuTakeOver, #searchTakeOver').takeoverMenu();$('.take-overs li button:not(.close):not(.offcanvas-toggler)').each(function initClickTakeover(){var target=$(this).data('target'),$takeoverMenu=$(target);$(this).on('click',function(){$takeoverMenu.takeoverMenu('show')})});$('.studiegids-nav .take-overs button.close').each(function fixupStudiegigsCloser(){var target=$(this).data('target'),$takeoverMenu=$(target);$(this).on('click',function(){$takeoverMenu.takeoverMenu('hide')})})});function addNewsBackgroundImage(height){$('div.container.content').addClass('single-news')}
if($('div.news.news-single').length){var headerHeight=$('div.news-detail-header div.inner').outerHeight(!0);var height=320;addNewsBackgroundImage(height)}
if($('div.extra-sticky-row-container').length){var stickyRow=$('div.extra-sticky-row-container').detach();$('div.submenu-container').after(stickyRow);$('div.extra-sticky-row-container').fadeIn(500)}
$(function(){$('select.facet-option-list').on('change',function(){var url=$(this).val();if(url){window.location.href=url}
return!1})});var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(input){var output="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=Base64._utf8_encode(input);while(i<input.length){chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64}else if(isNaN(chr3)){enc4=64}
output=output+this._keyStr.charAt(enc1)+this._keyStr.charAt(enc2)+this._keyStr.charAt(enc3)+this._keyStr.charAt(enc4)}
return output},decode:function(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i<input.length){enc1=this._keyStr.indexOf(input.charAt(i++));enc2=this._keyStr.indexOf(input.charAt(i++));enc3=this._keyStr.indexOf(input.charAt(i++));enc4=this._keyStr.indexOf(input.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+String.fromCharCode(chr1);if(enc3!=64){output=output+String.fromCharCode(chr2)}
if(enc4!=64){output=output+String.fromCharCode(chr3)}}
output=Base64._utf8_decode(output);return output},_utf8_encode:function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++){var c=string.charCodeAt(n);if(c<128){utftext+=String.fromCharCode(c)}else if((c>127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128)}else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128)}}
return utftext},_utf8_decode:function(utftext){var string="";var i=0;var c=c1=c2=0;while(i<utftext.length){c=utftext.charCodeAt(i);if(c<128){string+=String.fromCharCode(c);i++}else if((c>191)&&(c<224)){c2=utftext.charCodeAt(i+1);string+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2}else{c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3}}
return string}};$(function(){$('li.facet-option a').on('click',function(){var urlEncoded=$(this).data("facet-url-encoded");if(urlEncoded){var urlDecoded=Base64.decode(urlEncoded);window.location.href=urlDecoded}
return!1})});$.widget("ui.selectmenu",$.ui.selectmenu,{_renderItem:function(ul,item){var li=$("<li>"),wrapper=$("<div>",{title:item.element.attr("title")}),iconspan=$("<span>",{"class":"ui-selectmenu-icon ui-icon ui-icon-check"});if(item.disabled){this._addClass(li,null,"ui-state-disabled")}
this._setText(wrapper,item.label);wrapper.append(iconspan);return li.append(wrapper).appendTo(ul)},});$('select.facet-option-list').selectmenu({position:{my:"left top",at:"left bottom+10",collision:"none"},width:150,select:function(event,ui){var urlEncoded=$(ui.item.element[0]).data('facet-url-encoded');if(urlEncoded){var urlDecoded=Base64.decode(urlEncoded);window.location.href=urlDecoded}else{var url=ui.item.value;window.location.href=url}}});if($('.project-carousel').length){const swiper=new Swiper('.project-carousel',{direction:'horizontal',effect:'slide',speed:1000,slidesPerView:1,height:150,breakpoints:{1200:{slidesPerView:3,spaceBetween:0},540:{slidesPerView:2,spaceBetween:0},},pagination:{el:'.swiper-pagination',clickable:!0,},navigation:{nextEl:'.swiper-button-next',prevEl:'.swiper-button-prev',},})};if($('.festival-carousel').length){const swiper=new Swiper('.festival-carousel',{direction:'horizontal',effect:'slide',speed:1000,slidesPerView:1,height:150,breakpoints:{1200:{slidesPerView:3,spaceBetween:0},540:{slidesPerView:2,spaceBetween:0},},pagination:{el:'.swiper-pagination',clickable:!0,},navigation:{nextEl:'.swiper-button-next',prevEl:'.swiper-button-prev',},})};$('.menu-area .collapse').on('show.bs.collapse',function(){$('.menu-area .collapse.in').each(function(){$(this).collapse('hide');$(this).siblings('.caret').toggleClass('clicked')})});$('.caret[data-toggle="collapse-all"]').on('click',function(){var $this=$(this);var target=$this.data('target');$(target).collapse('toggle');$('.caret[data-target="'+target+'"]').toggleClass('clicked')});$('.level-0 .caret').on('click',function(){$('.level-0 .caret').toggleClass('clicked')});$('.offcanvas-toggler.open').offcanvas({beforeShow:function beforeShow(){$('body').removeClass('search-visible')},afterShow:function afterShow(){$('.mobile-takeover-navbar').addClass('navbar-fixed-top')},beforeHide:function beforeHide(){$('.mobile-takeover-navbar').removeClass('navbar-fixed-top')},afterHide:function afterHide(){$('body').removeClass('search-visible');$('body').removeClass('search-hidden')}});$('.header button.search').on('click',function(){$('body').removeClass('search-hidden');$('body').addClass('search-visible');$('div.search-backdrop').addClass('active')});$('.scrolling-header .header button.search').on('click',function(){$('body').removeClass('search-hidden');$('body').addClass('search-visible');$('div.search-backdrop').addClass('active')});$('.when-scrolling-up .header button.search').on('click',function(){$('body').stop().animate({scrollTop:0},500,'swing',function(){$('body').removeClass('search-hidden');$('body').addClass('search-visible');$('div.search-backdrop').addClass('active')})});var hideSearch=function hideSearch(){$('div.search-backdrop').removeClass('active');$('body').addClass('search-hidden');$('body').removeClass('search-visible');setTimeout(function(){$('body').removeClass('search-hidden')},500)}
$('#searchSlideOut button.close, .search-toggler.close').on('click',hideSearch);$('.search-backdrop').on('click',hideSearch);$('.parallax').jarallax({speed:0.2,type:'scroll'});$(function(){$('body.layout6 a[href*="#c"]:not([href="#"])').on('click',function(){if(location.pathname.replace(/^\//,") == this.pathname.replace(/^\//,")&&location.hostname==this.hostname){var target=$(this.hash);target=target.length?target:$('[name='+this.hash.slice(1)+']');if(target.length){$('html,body').animate({scrollTop:target.offset().top+'px'},1000);return!1}}})});if($('body.layout6').length){$('#main-content .ce-element.frame-yellow, #main-content .ce-element.frame-black, #main-content .ce-element.frame-blue, #main-content .ce-element.frame-brown, #main-content .ce-element.frame-grey, #main-content .ce-element.frame-type-menu_section').each(function(){$(this).wrapInner("<div class='overalignfullcva'></div>").prepend("<div class='alignfullcva'></div>");$(this).find('.overalignfullcva').css({'top':'-'+$(this).height()+'px'})})}
function adjustCEsFullwidthBG(){if($('body.layout6').length){$('#main-content .ce-element.frame-yellow, #main-content .ce-element.frame-black, #main-content .ce-element.frame-blue, #main-content .ce-element.frame-brown, #main-content .ce-element.frame-grey, #main-content .ce-element.frame-type-menu_section').each(function(){$(this).find('.overalignfullcva').css({'top':'-'+$(this).height()+'px'})})}}
$(window).on("resize",adjustCEsFullwidthBG);window.cookieConsentLoadedTagmanager=!1;window.addEventListener('cookieConsent',function(event){if(!1===window.cookieConsentLoadedTagmanager&&event.detail.hasOption('google_tagmanager')){window.cookieConsentLoadedTagmanager=!0;console.log('google_tagmanager');gtag('consent','update',{'ad_storage':'granted','ad_user_data':'granted','ad_personalization':'granted','analytics_storage':'granted'})}});$('.consent-modal .show-details').on('click',function(){$('.consent-modal .about').toggleClass('open')});if($('#cookie-consent').css('display')=='block'){$('body').css({overflow:'hidden'})}
$('#cookie-consent button').on('click',function(){$('body').css({overflow:'auto'})});$('#go-back').on("click",function(e){e.preventDefault();history.back()})})