PageSourceSearch

https://www.euraxess.rs/sites/default/files/js/js_EipAY4UBwREdZSzJ…FJAUZJuovk_Qp5fvBOIz88eKSXG3643YHvn-QGQ2p5W

js euraxess.rs collected 2026-10-03 21:41:50 UTC 82,038 bytes, 9 lines download raw bytes

vendor: 4,621 bytes, lines 1-2
1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4");}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return {end:b[c]};return !1;}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0;});var e=function(){c||a(d).trigger(a.support.transition.end);};return setTimeout(e,b),this;},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments);}});});}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c);});}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close);};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove();}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c());};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this;},a(document).on("click.bs.alert.data-api",c,d.prototype.close);}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b);});}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1;};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1));},this),0);},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change");}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active");};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this;},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"));}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type));});}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle();});}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
2down.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart" in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this));};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return;}a.preventDefault();}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this;},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active);},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f);},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a);}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a));},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this;},c.prototype.next=function(){if(!this.sliding)return this.slide("next");},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev");},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active");}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m);},0);}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this;}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this;};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault();}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data());});});}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d);}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]();});}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle();};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height";},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse");};if(!a.support.transition)return h.call(this);
2var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i]);}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse");};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this);}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]();},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e);},this)).end();},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c);};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this;},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h);});}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent();}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))));}));}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c);});}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle);};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart" in document.documentElement&&!f.closest(".
2navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h));}return !1;}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus");}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this;},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation();}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown);}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d);});}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal");},this));};c.VERSION="3.3.7",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a);},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0);});}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f);}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f);}));},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal());},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){document===a.target||this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus");},this));},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide();},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal");},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal");},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal");});},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null;},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void (this.ignoreBackdropClick=!1):void (a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()));},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b();}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b();};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g();}else b&&b();},c.prototype.handleUpdate=function(){this.adjustDialog();},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""});},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""});},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left);}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar();},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth);},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad);},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b;};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this;},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus");});}),b.call(f,g,this);});}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]());});}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b);};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0] instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else{if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this));}}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle();},c.prototype.getDefaults=function(){return c.DEFAULTS;},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b;},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d);}),b;},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focu
2s":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void (c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void (c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show();},c.options.delay.show)):c.show());},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return !0;return !1;},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void (c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide();},c.options.delay.hide)):c.hide();},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h);}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e);};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q();}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)});}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l);},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","");},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right");},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b();}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);if(this.$element.trigger(g),!g.isDefaultPrevented())return f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this;},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","");},c.prototype.hasContent=function(){return this.getTitle();},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=window.SVGElement&&c instanceof window.SVGElement,g=d?{top:0,left:0}:f?null:b.offset(),h={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},i=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,h,i,g);}
vendor: 8,130 bytes, line 2
2,c.prototype.getCalculatedOffset=function(a,b,c,d){return "bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width};},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i);}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k);}return e;},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title);},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a;},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip;},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow");},c.prototype.enable=function(){this.enabled=!0;},c.prototype.disable=function(){this.enabled=!1;},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled;},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c);},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null;});};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this;};}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]());});}var c=function(a,b){this.init("popover",a,b);};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS;},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide();},c.prototype.hasContent=function(){return this.getTitle()||this.getContent();},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content);},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow");};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this;};}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process();}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]();});}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight);},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null;}).sort(function(a,b){return a[0]-b[0];}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1]);});},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a]);},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy");},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active");};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this;},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data());});});}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]();});}var c=function(b){this.element=a(b);};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]});});}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e();}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in");};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this;};var e=function(c){c.preventDefault(),b.call(a(this),"show");};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e);}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;
2e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]();});}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition();};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e<c&&"top";if("bottom"==this.affixed)return null!=c?!(e+this.unpin<=f.top)&&"bottom":!(e+g<=a-d)&&"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&e<=c?"top":null!=d&&i+j>=a-d&&"bottom";},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a;},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1);},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix");}"bottom"==h&&this.$element.offset({top:g-b-f});}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this;},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d);});});}(jQuery);;
3(function($){$(document).ready(function(){var departmentContainer=$('.id-Department');var researcherProfileContainer=$('.id-Researcher-Profile');var researcherProgramContainer=$('.id-Funding-Programme');var descriptionContainer=$('ul li .ecl-content-block__description');var showHideButton=$('#show-hide-fields');var allContainers=descriptionContainer.add(departmentContainer).add(researcherProfileContainer).add(researcherProgramContainer);function updateStateFromLocalStorage(){if(!showHideButton.length)return;if(localStorage.getItem('showHideState')==='simple'){allContainers.each(function(){$(this).addClass('hide-on-simple-view');});showHideButton.text('Detailed view');}else{allContainers.each(function(){$(this).removeClass('hide-on-simple-view');});showHideButton.text('Simple view');}}updateStateFromLocalStorage();showHideButton.click(function(){let displayMessage="Simple view";if($('.hide-on-simple-view')[0]){allContainers.each(function(){$(this).removeClass('hide-on-simple-view');});localStorage.setItem('showHideState','detailed');}else{allContainers.each(function(){displayMessage='Detailed view';$(this).addClass('hide-on-simple-view');});localStorage.setItem('showHideState','simple');}$(this).text(displayMessage);});});})(jQuery);;
4(()=>{"use strict";var e,t={359:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},e(t);}function t(t,n){for(var i=0;i<n.length;i++){var o=n[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value" in o&&(o.writable=!0),Object.defineProperty(t,(r=o.key,a=void 0,a=function(t,n){if("object"!==e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,n||"default");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===n?String:Number)(t);}(r,"string"),"symbol"===e(a)?a:String(a)),o);}var r,a;}const n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.itemsToReveal=document.querySelectorAll("[data-counter-animation]"),this.sectionObserver=new IntersectionObserver(this.callback,{rootMargin:"0px 0px -200px 0px"}),this.observer();}var n,i,o;return n=e,i=[{key:"observer",value:function(){var e=this;this.itemsToReveal.forEach((function(t){e.sectionObserver.observe(t);}));}},{key:"callback",value:function(e,t){e.map((function(e){e.isIntersecting&&(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2e3,o=n.replace(/\D/g,""),r=null;window.requestAnimationFrame((function a(l){r||(r=l);var s=Math.min((l-r)/i,1);e.innerText=Math.floor(s*(o-t)+t),s<1&&window.requestAnimationFrame(a),1===s&&n.endsWith("+")&&e.insertAdjacentHTML("beforeend","+");}));}(e.target,0,e.target.dataset.counterAnimation,e.target.dataset.counterDuration),t.unobserve(e.target));}));}}
4],i&&t(n.prototype,i),o&&t(n,o),Object.defineProperty(n,"prototype",{writable:!1}),e;}();function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},i(e);}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value" in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(r,"string"),"symbol"===i(a)?a:String(a)),o);}var r,a;}const r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.options=t,this.openButton=document.getElementById(this.options.openButtonID),this.cloneContent=document.getElementById(this.options.cloneContentID),this.openButton&&this.cloneContent&&this.init();}var t,n,i;return t=e,(n=[{key:"events",value:function(){var e=this;this.openButton.addEventListener("click",(function(t){t.preventDefault(),e.openTheModal();})),this.closeButton&&this.closeButton.forEach((function(t){t.addEventListener("click",(function(t){e.closeTheModal();}));})),document.addEventListener("keyup",(function(t){return e.keyPressHandler(t);})),this.submitButton&&this.form&&this.submitButton.addEventListener("click",(function(){return e.form.submit();}));}},{key:"keyPressHandler",value:function(e){27===e.keyCode&&this.closeTheModal();}},{key:"openTheModal",value:function(){this.modal.classList.add("modal--is-visible"),this.html.classList.add("modal--overflow-hidden");}},{key:"closeTheModal",value:function(){this.modal.classList.remove("modal--is-visible"),this.html.classList.remove("modal--overflow-hidden");}},{key:"injectHTML",value:function(){document.body.insertAdjacentHTML("beforeend",'\n    <div class="modal">\n      <div class="modal__inner">\n        <div class="modal__close modal__close--icon">&#215;</div>\n        <div class="modal__content"></div>\n      </div>\n    </div>\n    ');}},{key:"init",value:function(){this.injectHTML(),this.html=document.querySelector("html"),this.modal=document.querySelector(".modal"),this.modalContent=document.querySelector(".modal .modal__content");var e=this.cloneContent.cloneNode(!0);e.classList.remove("hidden"),this.modalContent.appendChild(e),this.cloneContent.innerHTML="",this.closeButton=document.querySelectorAll(".modal .modal__close"),this.submitButton=document.querySelector(".modal .modal__submit"),this.form=document.querySelector("form"),this.events();}}])&&o(t.prototype,n),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},a(e);}function l(e){return function(e){if(Array.isArray(e))return u(e);}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e);}(e)||c(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 s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return {s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]};},e:function(e){throw e;},f:o};}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 r,a=!0,l=!1;return {s:function(){n=n.call(e);},n:function(){var e=n.next();return a=e.done,e;},e:function(e){l=!0,r=e;},f:function(){try{a||null==n.return||n.return();}finally{if(l)throw r;}}};}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.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)?u(e,t):void 0;}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i;}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,f(i.key),i);}}function f(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(e,"string");return "symbol"===a(t)?t:String(t);}const m=function(){function e(t){var n,i,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),n=this,o=void 0,(i=f(i="options")) in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,this.iconLibraries=t.hasOwnProperty("iconLibraries")?t.iconLibraries:[{name:"default",path:"/themes/contrib/oe_theme/dist/ec/images/icons/sprites/icons.svg"}
4],this.iconSprites=[],this.iconslib={},this.icons=document.querySelectorAll("icon"),this.iconsList=document.querySelectorAll("icon-list"),this.targetNode=document.body,this.config={attributes:!0,childList:!0,subtree:!0},this.observer=new MutationObserver(this.callback.bind(this)),this.startObserving(),this.iconLibraries.length&&(this.icons.length||this.iconsList.length)&&this.init({icon:this.icons,iconsList:this.iconsList});}var t,n,i;return t=e,(n=[{key:"getIconList",value:function(){if(0!==Object.keys(this.iconslib).length)return this.iconslib;var e,t=[],n=s(this.iconSprites);try{for(n.s();!(e=n.n()).done;){var i,o=e.value,r=o.icons.querySelectorAll("symbol[id]"),a=[],l=s(r);try{var c=function(){var e=i.value;t.some((function(t){return e.id===t.id;}))||t.push(e),a.push(e);};for(l.s();!(i=l.n()).done;)c();}catch(e){l.e(e);}finally{l.f();}this.iconslib[o.name]={name:o.name,icons:a};}}catch(e){n.e(e);}finally{n.f();}return this.iconslib.all={name:"all",icons:t},this.iconslib;}},{key:"getIcons",value:function(e,t){return this.getIconList().hasOwnProperty(t)?this.getIconList()[t].icons.filter((function(t){return t.id===e;})):this.getIconList().all.icons.filter((function(t){return t.id===e;}));}},{key:"getIconName",value:function(e){if(e.hasAttribute("icon-name"))return e.getAttribute("icon-name");var t=l(e.classList).filter((function(e){return e.startsWith("icon-u-");}))[0];return t?t.replace("icon-u-",""):null;}},{key:"getLibName",value:function(e){if(e.hasAttribute("icon-lib"))return e.getAttribute("icon-lib").replaceAll("-","_");var t=l(e.classList).filter((function(e){return e.startsWith("icon-lib-");}))[0];return t?t.replace("icon-lib-","").replaceAll("-","_"):null;}},{key:"iconsTranslate",value:function(e){var t=this;e.forEach((function(e){t.getIcons(t.getIconName(e)).length&&(e.innerHTML=t.iconsTemplate.apply(t,l(t.getIcons(t.getIconName(e),t.getLibName(e))).concat([e])));}));}},{key:"iconSizes",value:function(e){switch(e){case "2xs":return "ecl-icon--2xs";case "xs":return "ecl-icon--xs";case "s":return "ecl-icon--s";case "m":return "ecl-icon--m";case "l":return "ecl-icon--l";case "xl":return "ecl-icon--xl";case "2xl":return "ecl-icon--2xl";case "fluid":return "ecl-icon--fluid";default:return e;}}},{key:"iconFlip",value:function(e){switch(e){case "horizontal":return "ecl-icon--flip-horizontal";case "vertical":return "ecl-icon--flip-vertical";default:return !1;}}},{key:"iconsTemplate",value:function(e,t){var n;if(e){var i=document.createElement("svg");if((n=i.classList).add.apply(n,l(l(t.classList).filter((function(e){return !e.startsWith("icon-u-");})))),t.hasAttribute("focusable")&&i.setAttribute("focusable",t.getAttribute("focusable")),t.hasAttribute("aria-hidden")&&i.setAttribute("aria-hidden",t.getAttribute("aria-hidden")),t.hasAttribute("icon-size")){var o=this.iconSizes(t.getAttribute("icon-size"));o.startsWith("ecl-icon--")?i.classList.add(o):(i.style.width=o,i.style.height=o);}if(t.hasAttribute("icon-flip")){var r=this.iconFlip(t.getAttribute("icon-flip"));r&&i.classList.add(r);}if(t.hasAttribute("icon-rotate")&&(i.style.transform="rotate(".concat(t.getAttribute("icon-rotate"),"deg)")),t.hasAttribute("icon-color")){var a=t.getAttribute("icon-color");(a.startsWith("#")||a.startsWith("rgb"))&&(i.style.fill=a,i.style.color=a);}e.hasAttribute("viewBox")&&i.setAttribute("viewBox",e.getAttribute("viewBox")),e.hasAttribute("viewBox")&&i.setAttribute("xmlns",e.getAttribute("xmlns"));for(var s=e.cloneNode(!0);s.firstChild;)i.appendChild(s.firstChild);return i.outerHTML;}}},{key:"iconsListTemplate",value:function(e,t){var n,i,o=this,r=document.createElement("div");(n=r.classList).add.apply(n,["ecl-u-d-flex","ecl-u-flex-wrap","ecl-u-mv-m"]),r.style.gap="1rem";var a=document.createElement("h3");return (i=a.classList).add.apply(i,["ecl-col-12","ecl-u-bg-grey-5","ecl-u-pv-s","ecl-u-border-all","ecl-u-border-color-grey-25","ecl-u-d-flex","ecl-u-flex-wrap","ecl-u-align-items-center"]),"all"!==t.name?a.innerHTML="".concat(t.icons.length," ").concat(t.name.replaceAll("_"," "),' icons <small class="ecl-u-ml-auto ecl-u-type-color-grey-50"><strong>class:</strong> icon-lib-').concat(t.name.replaceAll("_","-")," - <strong>attribute:</strong> ").concat(t.name.replaceAll("_","-"),"</small>"):a.innerHTML="".concat(t.icons.length," icons"),r.innerHTML=a.outerHTML,t.icons.forEach((function(t){r.insertAdjacentHTML("beforeend",'\n        <div class="icon-list-item">\n          <div>\n              '.concat(o.iconsTemplate(t,e),"\n          </div>\n          <small>\n            <strong>\n              ").concat(t.id,"\n            </strong>\n          </small>\n        </div>\n      "));})),r.outerHTML;}},{key:"iconsListTranslate",value:function(e){var t=this;e.forEach((function(e){if(e.hasAttribute("grouped"))for(var n in e.innerHTML="",t.getIconList())"all"!==n&&e.insertAdjacentHTML("beforeend",t.iconsListTemplate(e,t.getIconList()[n]));else e.innerHTML=t.iconsListTemplate(e,t.getIconList().all);}));}},{key:"startObserving",value:function(){this.observer.observe(this.targetNode,this.config);}},{key:"stopObserving",value:function(){this.observer.disconnect();}},{key:"callback",value:function(e,t){var n,i=s(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;if("childList"===o.type){var r,a=s(o.addedNodes);try{for(a.s();!(r=a.n()).done;){var l=r.value;"ICON"===l.nodeName&&this.init({icon:[l]}),"ICON-LIST"===l.nodeName&&this.init({iconsList:[l]});}}catch(e){a.e(e);}finally{a.f();}}}}catch(e){i.e(e);}finally{i.f();}}},{key:"init",value:function(e){var t=this;if(0===Object.keys(this.iconslib).length){var n=[];
4this.iconLibraries.forEach((function(e){n.push(fetch(e.path).then((function(e){return e.text();})).then((function(n){var i=new DOMParser();t.iconSprites.push({name:e.name,icons:i.parseFromString(n,"text/html")});})));})),Promise.all(n).then((function(n){e.hasOwnProperty("icon")&&e.icon&&t.iconsTranslate(e.icon),e.hasOwnProperty("iconsList")&&e.iconsList&&t.iconsListTranslate(e.iconsList);}));}else e.hasOwnProperty("icon")&&e.icon&&this.iconsTranslate(e.icon),e.hasOwnProperty("iconsList")&&e.iconsList&&this.iconsListTranslate(e.iconsList);}}])&&d(t.prototype,n),i&&d(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},h(e);}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,r=void 0,r=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==h(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(o,"string"),"symbol"===h(r)?r:String(r)),i);}var o,r;}const y=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.tabs=document.querySelectorAll(".bootstrap-tabs"),this.hashElm=window.top.location.hash?document.getElementById(window.top.location.hash.replace("#","")):null,this.tab=null,this.targetNode=document.body,this.config={attributes:!0,childList:!0,subtree:!0},this.observer=new MutationObserver(this.callback.bind(this)),this.tabsContent=document.querySelectorAll(".tab-pane"),this.init();}var t,n,i;return t=e,(n=[{key:"activeTabNav",value:function(e){this.tab.querySelectorAll(".nav-tabs li").forEach((function(t){t.querySelector(".tab-link").getAttribute("href")===e?t.classList.add("active"):t.classList.remove("active");}));}},{key:"activeTabContent",value:function(e){this.tab.querySelectorAll(".tab-content .tab-pane").forEach((function(t){t===e?t.classList.add("active"):t.classList.remove("active");}));}},{key:"startObserving",value:function(){this.observer.observe(this.targetNode,this.config);}},{key:"stopObserving",value:function(){this.observer.disconnect();}},{key:"callback",value:function(e,t){var n=this;e.forEach((function(e){"class"===e.attributeName&&n.initActiveItems(e.target);}));}},{key:"initActiveItems",value:function(e){var t=e.querySelectorAll(".nav-pills.responsive-tabs");t&&t.forEach((function(t){if(!t.firstChild.classList.contains("active")){t.querySelectorAll('[role="presentation"]').forEach((function(e){e.classList.contains("active")&&(e.classList.remove("active"),e.setAttribute("aria-expanded","false"));})),t.firstChild.classList.add("active"),t.setAttribute("aria-expanded","true");var n=e.querySelectorAll(".tab-content");n&&n.forEach((function(e){var t=e.querySelectorAll(".tab-pane"),n=!0;t.forEach((function(e){!0===n?(e.classList.add("active"),n=!1):e.classList.remove("active");}));}));}}));var n=e.querySelectorAll(".panel-group");n&&n.forEach((function(e){e.querySelectorAll(".panel-collapse.in").forEach((function(e){e.classList.remove("in"),e.setAttribute("aria-expanded","false");var t=e.previousElementSibling;t&&t.classList.contains("panel-heading")&&t.querySelector(".accordion-toggle").setAttribute("aria-expanded","false");}));}));}},{key:"init",value:function(){this.startObserving(),this.tabs.length&&this.hashElm?(this.tab=this.hashElm.closest(".bootstrap-tabs"),this.tab&&(this.activeTabNav(window.top.location.hash),this.activeTabContent(this.hashElm))):this.initActiveItems(document);}}])&&v(t.prototype,n),i&&v(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},p(e);}function b(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,S(i.key),i);}}function g(e,t,n){return (t=S(t)) in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;}function S(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==p(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(e,"string");return "symbol"===p(t)?t:String(t);}const w=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),g(this,"eventActions",(function(e){e.preventDefault(),n.toggleModal(e.currentTarget);})),g(this,"closeModal",(function(e){e.preventDefault(),n.modal.style.opacity="0",n.modalContainer.style.scale="0.5",n.modalContainer.style.opacity="0",setTimeout((function(){n.modal.remove(),n.htmlElement.style.overflow="unset";}),300);})),this.options=t,this.modalContent=document.querySelectorAll("[data-gt-modal-content]"),this.modalButton=document.querySelectorAll("[data-gt-modal-target]"),this.modalContent&&this.modalButton&&this.init();}var t,n,i;return t=e,(n=[{key:"events",value:function(e){var t=this;e.forEach((function(e){e.addEventListener("click",t.eventActions);}));}},{key:"createModalContainer",value:function(e){var t=this,n=e.querySelector("[data-ecl-message-close]");this.modal=document.createElement("div"),this.modal.id="gt-modal-container",this.modal.style.background="rgba(0, 0, 0, .5)",this.modal.style.position="fixed",this.modal.style.inset="0",this.modal.style.display="flex",this.modal.style.visibility="hidden",this.modal.style.justifyContent="center",this.modal.style.alignItems="center",this.modal.style.opacity="0",this.modal.style.zIndex="99",this.modal.style.transition="all 300ms ease-in",this.modalContainer=document.createElement("div"),n||(this.modalContainer.style.background="white"),this.modalContainer.style.width=window.innerWidth<=800?"95%":"75%",this.modalContainer.style.maxHeight="90%",this.modalContainer.style.height="auto",this.modalContainer.style.borderRadius="0",n||(this.modalContainer.style.padding="1.5rem"),this.modalContainer.style.scale="0.5",this.modalContainer.style.opacity="0",this.modalContainer.style.transition="all 300ms ease-in";var i=document.createElement("div");i.style.display="flex",i.style.justifyContent="end",n&&n.addEventListener("click",this.closeModal);var o=document.createElement("div");o.innerHTML='<span>Close</span> <span style="font-size: 2rem">&times;</span>',o.style.textAlign="right",o.style.padding="0.5rem",o.style.display="flex",o.style.alignItems="center",o.style.gap="0.5rem",o.style.cursor="pointer",o.addEventListener("click",this.closeModal),document.addEventListener("keydown",(function(e){"Escape"!==e.key&&"Escape"!==e.code||t.closeModal(e);}));var r=document.createElement("div");r.style.overflow="auto",r.style.maxHeight="77vh",r.style.padding="1rem 0 1rem 0",r.appendChild(e),n||i.appendChild(o),this.modalContainer.appendChild(i),this.modalContainer.appendChild(r),this.modal.appendChild(this.modalContainer);}},{key:"toggleModal",value:function(e){var t=this;e=e.dataset.gtModalTarget?e:e.parentNode,this.modalContent.forEach((function(n){if(n.dataset.gtModalContent===e.dataset.gtModalTarget){var i=n.cloneNode(!0);i.style.display="block",t.createModalContainer(i),t.bodyElement.appendChild(t.modal),setTimeout((function(){t.modal.style.visibility="visible",t.modal.style.opacity="1",t.modalContainer.style.scale="1",t.modalContainer.style.opacity="1",t.htmlElement.style.overflow="hidden";}),50);}}));}},{key:"secureElmStayHidden",value:function(){this.modalContent.forEach((function(e){e.style.display="none";}));}},{key:"init",value:function(){this.htmlElement=document.querySelector("html"),this.bodyElement=document.querySelector("body"),this.secureElmStayHidden(),this.events(this.modalButton);}}])&&b(t.prototype,n),i&&b(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},L(e);}function E(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,A(i.key),i);}}function A(e){var t=function(e,t){if("object"!==L(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==L(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(e,"string");return "symbol"===L(t)?t:String(t);}const k=function(){function e(t){var n,i,o,r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),n=this,o=function(e){e.preventDefault(),r.toggle(e.currentTarget);},(i=A(i="eventActions")) in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}
4):n[i]=o,this.options=t,this.elm=document.querySelectorAll("[data-gt-affect-target]"),this.elm&&this.init();}var t,n,i;return t=e,(n=[{key:"events",value:function(e){var t=this;e.forEach((function(e){e.addEventListener("click",t.eventActions),e.setAttribute("aria-expanded","false");var n=e.dataset.gtAffectTarget.split("|").map((function(e){return e.split(":")[0].replace("#","");})).join(" ");e.setAttribute("aria-controls",n);}));}},{key:"toggle",value:function(e){var t=e.dataset.gtAffectTarget;if(t){var n=t.split("|");if(n.length){n.forEach((function(t){var n=t.split(":")[0],i=t.split(":")[1];if(n&&i){var o=document.querySelectorAll(n.startsWith("#")?n:".".concat(n));o&&o.forEach((function(t){t.classList.toggle(i),e.setAttribute("aria-expanded","true"===e.getAttribute("aria-expanded")?"false":"true");}));}}));var i=e.dataset.gtReplaceSelfText;i&&i.split("|").forEach((function(t){var n=t.split(":")[0],i=t.split(":")[1],o=e.innerHTML;e.innerHTML=o.includes(n)?o.replace(n,i):o.replace(i,n);}));}}}},{key:"init",value:function(){this.events(this.elm);}}])&&E(t.prototype,n),i&&E(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function C(e){return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},C(e);}function x(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,r=void 0,r=function(e,t){if("object"!==C(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==C(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(o,"string"),"symbol"===C(r)?r:String(r)),i);}var o,r;}const T=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.options=t,this.elm=document.querySelectorAll(".ecl-inpage-navigation"),this.elm&&this.init();}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.elm.forEach((function(e){var t=e.querySelector(".ecl-inpage-navigation__body");window.innerHeight<t.offsetHeight&&(t.style.height=window.innerHeight-e.querySelector(".ecl-inpage-navigation__title").offsetHeight+"px",t.style.overflowY="auto");}));}}])&&x(t.prototype,n),i&&x(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();var O;document.addEventListener("DOMContentLoaded",(function(){new n(),new w(),new k(),new T(),new r({openButtonID:"modal-open-confirmation",cloneContentID:"modal-body-confirmation"}),new m({iconLibraries:[{name:"default",path:"/themes/contrib/oe_theme/dist/ec/images/icons/sprites/icons.svg"},{name:"social",path:"/themes/contrib/oe_theme/dist/ec/images/social-icons/sprites/icons-social.svg"},{name:"social_media",path:"/themes/contrib/oe_theme/dist/ec/images/icons-social-media/sprites/icons-social-media.svg"},{name:"flag",path:"/themes/contrib/oe_theme/dist/ec/images/icons-flag/sprites/icons-flag.svg"},{name:"euraxess",path:"/themes/custom/rtd_euraxess/assets/icons-sprite.svg"}]}),new y();var e=document.querySelectorAll(".cc-data-item"),t=document.querySelector(".cc-endorsement-items-wrapper");e&&e.forEach((function(e){e.insertAdjacentHTML("beforeend",'\n        <a class="ecl-link ecl-link--standalone ecl-link--icon" href="/sites/default/files/cc-declarations/'.concat(e.dataset.file,'" target="_blank">\n        <svg class="ecl-icon ecl-icon--s ecl-link__icon" focusable="false" aria-hidden="true">\n        <use xlink:href="/themes/custom/rtd_euraxess/assets/icons-sprite.svg#download"></use>\n        </svg>\n        </a>\n      ')),t.append(e);}));var i=document.querySelectorAll(".filter-text-element");i.length>0&&(document.getElementById("visible-results-counter").textContent=i.length);function o(e){e.preventDefault();var t=e.target.parentNode,n=t.parentNode.parentNode.querySelector(".teaser-text-more");t.classList.contains("less")?(t.classList.remove("less"),n.classList.remove("open")):(t.classList.add("less"),n.classList.add("open"));}var a=document.querySelectorAll(".teaser-text-more");if(a.length>0)for(var l=0;l<a.length;++l){var s=a[l];s.insertAdjacentHTML("afterend",'<div class="morecontent"><p class="morespacer">&nbsp;</p><a href="javascript:void(0)" class="morelink"></a></div>'),s.parentNode.querySelector(".morecontent").addEventListener("click",o);}var c=document.querySelectorAll("[tooltip]");if(c.length&&function(e){e.forEach((function(e){e.addEventListener("mouseover",(function(){window.innerWidth-e.getBoundingClientRect().right<150?e.style.setProperty("--tooltip-calibration","-90%"):e.getBoundingClientRect().left<150&&e.style.setProperty("--tooltip-calibration","-10%");})),e.addEventListener("mouseout",(function(){e.style.setProperty("--tooltip-calibration","-50%");}));}));}(c),document.querySelector(".notifications-wrapper")){var u=function(){var e=document.getElementById("notificationcount");e&&e.click();},d=document.querySelector(".view-all-notification"),f=document.querySelector(".clear-all-notification");d&&d.addEventListener("click",u),f&&f.addEventListener("click",u);}if(document.querySelectorAll(".notifications-list .notification-remove").forEach((function(e){e.addEventListener("click",(function(){var e=this.closest("article.ecl-content-item"),t=e?e.previousElementSibling:null,n=this.closest(".
4notification-msg-wrapper"),i=n?n.getAttribute("data-id"):null;if(t&&t.classList.contains("label-thumbnail-wrapper")&&t.remove(),e&&e.remove(),i){var o=document.querySelector('.notifications-wrapper .notification-items[data-id="'.concat(i,'"]'));o&&o.remove();}}));})),document.querySelectorAll(".task-container button").forEach((function(e){["Request Extension","Confirm Request Extension","Cancel","Confirm Cancel","Submit","Confirm Submit","Accept","Confirm Accept","Decline","Confirm Decline","Submit Assignment","Confirm Submit Assignment","Re-open","Confirm Re-open","Validate","Confirm Validate","Update Required","Confirm Update Required","Pending modifications - extended deadline","Confirm Pending modifications - extended deadline","Pending modifications","Confirm Pending modifications","HR Excellence in Research embedded","Confirm HR Excellence in Research embedded","HR Excellence in Research embedded, strong corrective actions needed","Confirm HR Excellence in Research embedded, strong corrective actions needed","HR Excellence in Research embedded, corrective actions needed","Confirm HR Excellence in Research embedded, corrective actions needed"].includes(e.textContent.trim())&&e.addEventListener("click",(function(e){setTimeout((function(){!function(){if(!document.querySelector(".task-overlay")){var e=document.createElement("div");e.classList.add("task-overlay"),document.body.appendChild(e);}}();}),0);}),{once:!0});})),document.querySelectorAll(".flag-favorite .use-ajax").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var n,i,o=e.closest("tr");o&&(i=500,(n=o).style.transition="opacity ".concat(i,"ms"),n.style.opacity=0,setTimeout((function(){n.style.display="none";}),i));}));})),"/"===window.location.pathname){var h=document.querySelector("li.ecl-menu__item a[href='/']");h.classList.add("ecl-menu__link--current"),h.parentElement.classList.add("ecl-menu__item--current");}if(window.location.search.includes("print=true")){var v=function(){document.querySelectorAll(".mat-expansion-panel-content").forEach((function(e){e.classList.add("mat-expanded"),e.style.cssText="visibility: visible;";}));};new MutationObserver((function(e,t){document.querySelectorAll(".mat-expansion-panel-content").length>0&&(v(),t.disconnect());})).observe(document.body,{childList:!0,subtree:!0}),v();}})),O=jQuery,Drupal,O(".ecl-accordion.nested-accordion").click((function(){var e=O(this).find(".ecl-accordion__toggle"),t=O(this).find(".ecl-accordion__content"),n=O(this).find(".ecl-icon.ecl-accordion__toggle-icon use"),i=n.attr("xlink:href").split("#",2);"false"===e.attr("aria-expanded")?(e.attr("aria-expanded",!0),t.removeAttr("hidden"),n.attr("xlink:href",i[0]+"#minus")):(e.attr("aria-expanded",!1),t.attr("hidden",!0),n.attr("xlink:href",i[0]+"#plus"));})),function(){function e(e){"on"!==e.dataset.dialogBound&&(e.dataset.dialogBound="on",e.addEventListener("click",(function(t){t.preventDefault();var n=e.getAttribute("data-dialog-target"),i=JSON.parse(e.getAttribute("data-dialog-options")||"{}");if(n){var o=document.querySelector(n);if(o){var r=o.cloneNode(!0);Drupal.dialog(r,i).showModal();}}})));}document.querySelectorAll(".open-dialog").forEach(e),new MutationObserver((function(t){t.forEach((function(t){t.addedNodes.forEach((function(t){var n;1===t.nodeType&&(t.matches(".open-dialog")&&e(t),null===(n=t.querySelectorAll)||void 0===n||n.call(t,".open-dialog").forEach(e));}));}));})).observe(document.body,{childList:!0,subtree:!0});}();},999:()=>{},297:()=>{},323:()=>{},787:()=>{},119:()=>{},301:()=>{},619:()=>{},955:()=>{},855:()=>{},989:()=>{},53:()=>{},935:()=>{},477:()=>{},455:()=>{},123:()=>{},553:()=>{},145:()=>{},93:()=>{},413:()=>{}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,i),r.exports;}i.m=t,e=[],i.O=(t,n,o,r)=>{if(!n){var a=1/0;for(u=0;u<e.length;u++){for(var [n,o,r]=e[u],l=!0,s=0;s<n.length;s++)(!1&r||a>=r)&&Object.keys(i.O).every(((e)=>i.O[e](n[s])))?n.splice(s--,1):(l=!1,r<a&&(a=r));if(l){e.splice(u--,1);var c=o();void 0!==c&&(t=c);}}return t;}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[n,o,r];},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={59:0,320:0,504:0,906:0,104:0,124:0,526:0,102:0,474:0,622:0,802:0,350:0,0:0,438:0,266:0,630:0,20:0,782:0,616:0,294:0};i.O.j=(t)=>0===e[t];var t=(t,n)=>{var o,r,[a,l,s]=n,c=0;if(a.some(((t)=>0!==e[t]))){for(o in l)i.o(l,o)&&(i.m[o]=l[o]);if(s)var u=s(i);}for(t&&t(n);c<a.length;c++)r=a[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return i.O(u);},n=self.webpackChunkrtd_euraxess=self.webpackChunkrtd_euraxess||[];
4n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n));})(),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(359))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(123))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(553))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(145))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(93))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(413))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(999))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(297))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(323))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(787))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(119))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(301))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(619))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(955))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(855))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(989))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(53))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(935))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(477)));var o=i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(455)));o=i.O(o);})();;
5(function(Drupal){Drupal.behaviors.hrs4rCharts={attach:function attach(context,settings){if(context===document){let newsNevents=document.querySelectorAll('.news-n-events');if(!!newsNevents)newsNevents.forEach((elm)=>{let firstLink=elm.querySelector('a');if(!!firstLink)Drupal.ajax({url:firstLink.href}).execute();});}}};})(Drupal);;
6(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},t(e);}function e(t){return function(t){if(Array.isArray(t))return n(t);}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t);}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e);}(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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r;}function r(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,s=void 0,s=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,n||"default");if("object"!==t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===n?String:Number)(e);}(o,"string"),"symbol"===t(s)?s:String(s)),i);}var o,s;}const i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");}(this,t),this.options=e,this.items=document.querySelectorAll(this.options.dataAttribute),this.selectInput=document.getElementById(this.options.searchInputId),this.options.counterElmId&&(this.counterElm=document.getElementById(this.options.counterElmId)),this.hideClass=this.options.hideClass,this.items&&this.selectInput&&this.init();}var n,i,o;return n=t,(i=[{key:"liveSearch",value:function(){var t=this,n=this.selectInput.value,r=0;
6e(this.items).forEach((function(e){var i=t.options.dataAttribute.replace(/\[|\]/g,"");e.getAttribute(i).toLowerCase()===n.toLowerCase()||""===n?(e.classList.remove("hidden"),r++):e.classList.add("hidden");})),this.options.counterElmId&&this.counterElm&&(this.counterElm.textContent=r.toString());}},{key:"addOptions",value:function(){var t=this,e=[];this.items.forEach((function(n){var r=t.options.dataAttribute.replace(/\[|\]/g,""),i=n.getAttribute(r);if(!e.includes(i)){var o=new Option(i,i);t.selectInput.add(o,void 0),e.push(i);}}));}},{key:"init",value:function(){var t=this;this.addOptions(),this.selectInput.addEventListener("change",(function(){t.liveSearch();}));}}])&&r(n.prototype,i),o&&r(n,o),Object.defineProperty(n,"prototype",{writable:!1}),t;}();document.addEventListener("DOMContentLoaded",(function(){new i({dataAttribute:"[data-sort-country]",searchInputId:"form-filter-select",hideClass:"is-hidden",counterElmId:"visible-results-counter"});}));})();;
7(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},t(e);}function e(t){return function(t){if(Array.isArray(t))return n(t);}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t);}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e);}(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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r;}function r(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,u=void 0,u=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,n||"default");if("object"!==t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===n?String:Number)(e);}(o,"string"),"symbol"===t(u)?u:String(u)),i);}var o,u;}const i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");}(this,t),this.options=e,this.items=document.querySelectorAll(this.options.dataAttribute),this.searchInput=document.getElementById(this.options.searchInputId),this.options.counterElmId&&(this.counterElm=document.getElementById(this.options.counterElmId)),this.hideClass=this.options.hideClass,this.typingTimer=null,this.typeInterval=500,this.items&&this.searchInput&&this.init();}var n,i,o;return n=t,(i=[{key:"liveSearch",value:function(){var t=this.searchInput.value,n=0;e(this.items).forEach((function(e){e.textContent.toLowerCase().includes(t.toLowerCase())?(e.classList.remove("hidden"),n++):e.classList.add("hidden");})),this.options.counterElmId&&this.counterElm&&(this.counterElm.textContent=n.toString());}},{key:"addMultipleEventListener",value:function(t,e,n){e.forEach((function(e){return t.addEventListener(e,n);}));}},{key:"init",value:function(){var t=this;this.addMultipleEventListener(this.searchInput,["keyup","mouseup"],(function(){clearTimeout(t.typingTimer),t.typingTimer=setTimeout(t.liveSearch.bind(t),t.typeInterval);}));}}])&&r(n.prototype,i),o&&r(n,o),Object.defineProperty(n,"prototype",{writable:!1}),t;}();document.addEventListener("DOMContentLoaded",(function(){new i({dataAttribute:".filter-text-element",searchInputId:"form-filter-text",hideClass:"is-hidden",counterElmId:"visible-results-counter"});}));})();;
8(function($,Drupal,drupalSettings,once){'use strict';Drupal.behaviors.rtdEuraxessAnalyticsAnalytics={attach:function(context,settings){if(once('rtd-analytics','html').length)$(window).on('wtReady',function(){if(drupalSettings.analytics&&drupalSettings.analytics.google_analytics){let cck1=JSON.parse($wt.cookie.get("
8cck1"));window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}if(cck1.all1st){(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtag/js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer',drupalSettings.analytics.google_analytics.key);gtag('consent','update',{'analytics_storage':'granted','ad_storage':'denied'});gtag('config',drupalSettings.analytics.google_analytics.key,{'anonymize_ip':true});}}if(drupalSettings.analytics&&drupalSettings.analytics.matomo){let proceed=false;let disregard=drupalSettings.analytics.matomo.disregardconsent;let disablecookies=drupalSettings.analytics.matomo.disablecookies;let approveCookies=false;let piwikPro=drupalSettings.analytics.matomo.piwikpro;let cck1=JSON.parse($wt.cookie.get("cck1"));if(cck1.all1st){approveCookies=true;proceed=true;}if(disregard)proceed=true;if(proceed){var _paq=window._paq=window._paq||[];if(disablecookies)_paq.push(['disableCookies']);if(disregard&&!approveCookies)_paq.push(['requireCookieConsent']);if(!piwikPro)_paq.push(["setDoNotTrack",true]);_paq.push(['trackPageView']);_paq.push(['enableLinkTracking']);(function(){var u=drupalSettings.analytics.matomo.website+'/';var uSuffix='matomo';if(piwikPro)uSuffix='ppms';_paq.push(['setTrackerUrl',u+uSuffix+'.php']);_paq.push(['setSiteId',drupalSettings.analytics.matomo.key]);var d=document,g=d.createElement('script'),s=d.getElementsByTagName('script')[0];g.type='text/javascript';g.async=true;if(piwikPro)g.defer=true;g.src=u+uSuffix+'.js';s.parentNode.insertBefore(g,s);})();}}});}};})(jQuery,Drupal,drupalSettings,once);;
9(function($,Drupal,drupalSettings,once){'use strict';Drupal.behaviors.rtdEuraxessEuAnalyticsAnalytics={attach:function(context,settings){if(once('rtd-eu-analytics','html').length)$(window).on('wtReady',function(){let cck1=JSON.parse($wt.cookie.get("cck1"));if(cck1.all1st)$(once('job-apply-button','.page-node-type-job-offer .job-apply-button')).click(function(event){event.preventDefault();let jobId=$(this).attr('data-id');let url=$(this).attr('href');let target=$(this).attr('target');_paq.push(['trackEvent','ApplyJob','Click','Wheretoapply',jobId]);window.open(url,target);});});}};})(jQuery,Drupal,drupalSettings,once);;

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.