1/*! For license information please see frontend.js.LICENSE.txt */ 2(()=>{var e={1840(){!function(e){function t(){this.vowels="aeiouyåäö",this.consonants="bcdfghjklmnpqrstvwxyz",this.hyphMark="Â",this.minWordLength=13,this.minDistance=5,this.rule1RegExp=new RegExp("["+this.consonants+"]["+this.vowels+"]","gi"),this.endReg=new RegExp("["+this.consonants+this.vowels+"]{2}$","i"),this.wrapperElement=document.createElement("div")}t.prototype.addHyphen=function(e,t){var n=e.slice(0,t),o=this.endReg.exec(n);return!!(o&&o.index>this.minDistance&&o.index+o[0].length<e.length-this.minDistance)&&e.slice(0,t)+this.hyphMark+e.slice(t)},t.prototype.hyphenateElement=function(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if(3===n.nodeType){var o=n.textContent.match(/\S+\s*/g);if(o){for(var r=0;r<o.length;r++)o[r].length>=this.minWordLength&&(o[r]=this.hyphenateText(o[r]));n.data=o.join("")}}else this.hyphenateElement(n)}},t.prototype.hyphenateElements=function(e){for(var t=0;t<e.length;t++)this.hyphenateElement(e[t])},t.prototype.hyphenateText=function(e){for(var t=e,n=[];null!==(match=this.rule1RegExp.exec(e));)n.push(match.index);for(var o=0,r=0;r<n.length;r++){var s=n[r]+o*this.hyphMark.length,i=this.addHyphen(t,s);!1!==i&&(o++,t=i)}return t},e.FinnishHyphenator=t}(window),window.addEventListener("DOMContentLoaded",()=>{if(document.documentElement.lang.toLowerCase().startsWith("sv"))return;const e=new FinnishHyphenator,t=document.querySelectorAll("h1, h2, h3, h4, h5, h6");e.hyphenateElements(t)})},3317(e){e.exports=function(){"use strict";function e(){return"undefined"!=typeof window}function t(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}function n(){return!!(e()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame)}function o(e){return 9===e.nodeType}function r(e){return e&&e.document&&o(e.document)}function s(e){var t=e.document,n=t.body,o=t.documentElement;return{scrollHeight:function(){return Math.max(n.scrollHeight,o.scrollHeight,n.offsetHeight,o.offsetHeight,n.clientHeight,o.clientHeight)},height:function(){return e.innerHeight||o.clientHeight||n.clientHeight},scrollY:function(){return void 0!==e.pageYOffset?e.pageYOffset:(o||n.parentNode||n).scrollTop}}}function i(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}function a(e){return r(e)?s(e):i(e)}function l(e,n,o){var r,s=t(),i=!1,l=a(e),c=l.scrollY(),u={};function d(){var e=Math.round(l.scrollY()),t=l.height(),r=l.scrollHeight();u.scrollY=e,u.lastScrollY=c,u.direction=e>c?"down":"up",u.distance=Math.abs(e-c),u.isOutOfBounds=e<0||e+t>r,u.top=e<=n.offset[u.direction],u.bottom=e+t>=r,u.toleranceExceeded=u.distance>n.tolerance[u.direction],o(u),c=e,i=!1}function h(){i||(i=!0,r=requestAnimationFrame(d))}var m=!!s&&{passive:!0,capture:!1};return e.addEventListener("scroll",h,m),d(),{destroy:function(){cancelAnimationFrame(r),e.removeEventListener("scroll",h,m)}}}function c(e){return e===Object(e)?e:{down:e,up:e}}function u(e,t){t=t||{},Object.assign(this,u.options,t),this.classes=Object.assign({},u.options.classes,t.classes),this.elem=e,this.tolerance=c(this.tolerance),this.offset=c(this.offset),this.initialised=!1,this.frozen=!1}return u.prototype={constructor:u,init:function(){return u.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(e){e.scrollTracker=l(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return"down"===e.direction&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return"up"===e.direction&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(" "))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(" "))},hasClass:function(e){return this.classes[e].split(" ").every(function(e){return this.classList.contains(e)},this.elem)},update:function(e){e.isOutOfBounds||!0!==this.frozen&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},u.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},u.cutsTheMustard=n(),u}()},3450(e,t,n){"use strict";n.d(t,{A:()=>b});const o=":not([inert]):not([inert] *)",r=':not([tabindex^="-"])',s=":not(:disabled)";var i=[`a[href]${o}${r}`,`area[href]${o}${r}`,`input:not([type="hidden"]):not([type="radio"])${o}${r}${s}`,`input[type="radio"]${o}${r}${s}`,`select${o}${r}${s}`,`textarea${o}${r}${s}`,`button${o}${r}${s}`,`details${o} > summary:first-of-type${r}`,`iframe${o}${r}`,`audio[controls]${o}${r}`,`video[controls]${o}${r}`,`[contenteditable]${o}${r}`,`[tabindex]${o}${r}`];function a(e){(e.querySelector("[autofocus]")||e).focus()}function l(e,t){if(t&&d(e))return e;if(function(e){return(!e.shadowRoot||"-1"!==e.getAttribute("tabindex"))&&!e.matches(":disabled,[hidden],[inert]")}(e))if(e.shadowRoot){let n=c(e.shadowRoot,t);for(;n;){const e=l(n,t);if(e)return e;n=u(n,t)}}else if("slot"===e.localName){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const e of n){const n=l(e,t);if(n)return n}}else{let n=c(e,t);for(;n;){const e=l(n,t);if(e)return e;n=u(n,t)}}return!t&&d(e)?e:null}function c(e,t){return t?e.firstElementChild:e.lastElementChild}function u(e,t){return t?e.nextElementSibling:e.previousElementSibling}const d=e=>!e.shadowRoot?.delegatesFocus&&(e.matches(i.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e));function h(e=document){const t=e.activeElement;return t?t.shadowRoot?h(t.shadowRoot)||document.activeElement:t:null}function m(e,t){const[n,o]=function(e){const t=l(e,!0);return[t,t?l(e,!1)||t:null]}(e);if(!n)return t.preventDefault();const r=h();t.shiftKey&&r===n?(o.focus(),t.preventDefault()):t.shiftKey||r!==o||(n.focus(),t.preventDefault())}function f(e,t){return function t(n){if(!n||n===document||n===window)return null;const o=p(n);return o&&(n=o),n.closest(e)||t(n.getRootNode().host)}(t)}function p(e){return e.assignedSlot||(e.parentNode?p(e.parentNode):null)}const v="data-a11y-dialog";class b{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(v)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){if(this.shown)return this;return this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=h(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus():a(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){if(!this.shown)return this;return this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.()),this}on(e,t,n){return this.$el.addEventListener(e,t,n),this}off(e,t,n){return this.$el.removeEventListener(e,t,n),this}fire(e,t){const n=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(n),n}handleTriggerClicks(e){const t=e.composedPath()[0],n=f(`[${v}-show="${this.id}"]`,t),o=f(`[${v}-hide="${this.id}
2"]`,t),r=f(`[${v}-hide]`,t)&&f('[aria-modal="true"]',t)===this.$el;n&&this.show(e),(o||r)&&this.hide(e)}bindKeypress(e){if(f('[aria-modal="true"]',h())!==this.$el)return;let t=!1;try{t=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}"Escape"!==e.key||"alertdialog"===this.$el.getAttribute("role")||t||(e.preventDefault(),this.hide(e)),"Tab"===e.key&&m(this.$el,e)}maintainFocus(){const e=h();f(`[aria-modal="true"], [${v}-ignore-focus-trap]`,e)||a(this.$el)}}function g(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new b(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",g):g())},4740(e,t,n){"use strict";n.d(t,{LM:()=>i,cH:()=>o,qG:()=>s,sg:()=>r});const o=(e,t=(window.innerHeight||document.documentElement.clientHeight)/4)=>{const n=e.getBoundingClientRect();return n.top>=0&&n.top<=(window.innerHeight||document.documentElement.clientHeight)-t||n.bottom>=0&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight)-t||n.bottom>=0&&n.top<=0&&n.height>=(window.innerHeight||document.documentElement.clientHeight)-t},r=e=>{let t;return function(n){t&&clearTimeout(t),t=setTimeout(e,100,n)}},s=()=>!!((window.innerWidth>0?window.innerWidth:window.screen.width)<900&&document.body.classList.contains("has-open-mobile-menu")),i=e=>e.text().then(t=>{const n=t&&JSON.parse(t);if(!e.ok){const t=n&&n.message||e.statusText;return Promise.reject(t)}return n})},7604(e,t,n){var o;!function(){"use strict";var r={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(e){return function(e,t){var n,o,i,a,l,c,u,d,h,m=1,f=e.length,p="";for(o=0;o<f;o++)if("string"==typeof e[o])p+=e[o];else if("object"==typeof e[o]){if((a=e[o]).keys)for(n=t[m],i=0;i<a.keys.length;i++){if(null==n)throw new Error(s('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[i],a.keys[i-1]));n=n[a.keys[i]]}else n=a.param_no?t[a.param_no]:t[m++];if(r.not_type.test(a.type)&&r.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),r.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(s("[sprintf] expecting number but found %T",n));switch(r.number.test(a.type)&&(d=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}r.json.test(a.type)?p+=n:(!r.number.test(a.type)||d&&!a.sign?h="":(h=d?"+":"-",n=n.toString().replace(r.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(h+n).length,l=a.width&&u>0?c.repeat(u):"",p+=a.align?h+n+l:"0"===c?h+l+n:l+h+n)}return p}(function(e){if(a[e])return a[e];var t,n=e,o=[],s=0;for(;n;){if(null!==(t=r.text.exec(n)))o.push(t[0]);else if(null!==(t=r.modulo.exec(n)))o.push("%");else{if(null===(t=r.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){s|=1;var i=[],l=t[2],c=[];if(null===(c=r.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(c[1]);""!==(l=l.substring(c[0].length));)if(null!==(c=r.key_access.exec(l)))i.push(c[1]);else{if(null===(c=r.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(c[1])}t[2]=i}else s|=2;if(3===s)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");o.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return a[e]=o}(e),arguments)}function i(e,t){return s.apply(null,[e].concat(t||[]))}var a=Object.create(null);"undefined"!=typeof window&&(window.sprintf=s,window.vsprintf=i,void 0===(o=function(){return{sprintf:s,vsprintf:i}}.call(t,n,t,e))||(e.exports=o))}()},7989(e,t,n){"use strict";function o(e){const{element:t,animationClass:n,onReady:o,maxExecutionTime:r}=e;t.classList.add(n);let s=!1;function i(){t.removeEventListener("animationend",i,!1),"function"==typeof o&&(s=!0,o(t,n))}t.addEventListener("animationend",i,!1),"function"==typeof o&&r&&setTimeout(()=>{s||(s=!0,o(t,n),t.removeEventListener("animationend",i,!1))},r)}n.d(t,{R:()=>s});const r=[];function s(e,t){const n=e;let s=[];if(!(e instanceof HTMLElement))throw new Error("Menu element must be an valid HTMLElement");const i=Object.assign(Object.assign({}
2,{action:"click",subMenuAnchorSelector:".menu-item-has-children > a",subMenuListItemSelector:".menu-item-has-children",openSubMenuClass:"is-open",buttonClass:"",visuallyHiddenClass:"screen-reader-text",expandChildMenuText:"Sub menu",hoverTimeout:750,hoverOpenDelay:0,buttonIcon:'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"></path></svg>',shouldWrapAnchorToButton:null,activeListItemSelector:".current-menu-item",openActiveSubMenuOnCreate:!1,closeSubMenuOnOutsideClick:!0,animateOpen:!1,animateClose:!1,animateOpenClass:"animate-open",animateCloseClass:"animate-close",animateOpenMaxExecutionTime:250,animateCloseMaxExecutionTime:250,onBeforeCreate:null,onAfterCreate:null,onBeforeOpenSubMenu:null,onAfterOpenSubMenu:null,onBeforeCloseSubMenu:null,onAfterCloseSubMenu:null}),t),a=Array.from(n.querySelectorAll(i.subMenuAnchorSelector)),l=Array.from(n.querySelectorAll(i.subMenuListItemSelector)),c=e=>{const t=e.target.closest('[data-menu="sub-toggle"]');if(!t)return;const o=n.querySelector(`#${t.getAttribute("aria-controls")}`);if(o)if(v(o))m(o,e);else{r.forEach(e=>{e.element!==n&&e.closeAllSubMenus()});const t=b().filter(e=>e!==o&&!e.contains(o));t.length&&t.forEach(e=>{m(e)}),h(o,e)}},u=e=>{const t=e.target,o=t.closest('[data-menu="root"]');"UL"!==t.tagName||o!==n?o!==n&&y():y()},d=e=>{var t,n,o;const r=e.target,s=null===(n=null===(t=r.closest('[data-menu="sub-menu"]'))||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.querySelector('[data-menu="sub-toggle"]'),i=r.closest('[data-menu="sub-toggle"]');let a;a="sub-toggle"===r.getAttribute("data-menu")?r:s||i;const l=a?a.closest("li"):r.closest("li");if(!l)return;const c=g(l),u=c[c.length-1];if("Tab"===e.key&&!e.shiftKey&&e.target===u){const t=b().filter(t=>{const n=g(t);return!(n[n.length-1]!==e.target)||!t.contains(l)});t.length&&t.forEach(e=>{m(e)})}if(a&&"Tab"===e.key&&e.shiftKey&&e.target===a){const e=b().filter(e=>!e.contains(l));e.length&&e.forEach(e=>{m(e)})}if("Escape"===e.key){const e=null===(o=r.closest('[data-menu="sub-menu"]'))||void 0===o?void 0:o.closest("li");if(e){const t=g(e);t.length&&t[0].focus();const n=e.querySelector('[data-menu="sub-menu"]');n&&v(n)&&m(n)}else y()}},h=(e,t)=>{if(v(e))return;"function"==typeof i.onBeforeOpenSubMenu&&i.onBeforeOpenSubMenu(e,t);const r=n.querySelector(`[aria-controls="${e.id}"]`);r&&r.setAttribute("aria-expanded","true"),i.animateCloseClass&&e.classList.remove(i.animateCloseClass),e.classList.add(i.openSubMenuClass);const s=()=>{i.animateOpenClass&&e.classList.remove(i.animateOpenClass),"function"==typeof i.onAfterOpenSubMenu&&i.onAfterOpenSubMenu(e,t)};i.animateOpen?o({element:e,animationClass:i.animateOpenClass,onReady:()=>{s()},maxExecutionTime:i.animateOpenMaxExecutionTime}):s()},m=(e,t)=>{if(!v(e))return;const r=n.querySelector(`[aria-controls="${e.id}"]`);r&&r.setAttribute("aria-expanded","false");const s=()=>{e.classList.remove(i.openSubMenuClass),i.animateCloseClass&&e.classList.remove(i.animateCloseClass),"function"==typeof i.onAfterCloseSubMenu&&i.onAfterCloseSubMenu(e,t)};i.animateClose?o({element:e,animationClass:i.animateCloseClass,onReady:()=>{s()},maxExecutionTime:i.animateCloseMaxExecutionTime}):s()},f=e=>{const t=e.currentTarget,n=t.querySelector('[data-menu="sub-menu"]');if(s=s.filter(e=>e.ul!==n&&!e.ul.contains(n)||(clearTimeout(e.id),!1)),n){b().filter(e=>!!e&&(e!==n&&!e.contains(n)&&!n.contains(e))).forEach(t=>{m(t,e)}),0===i.hoverOpenDelay?h(n,e):setTimeout(()=>{const o=document.querySelectorAll(":hover");Array.from(o).some(e=>e===t||t.contains(e))&&h(n,e)},i.hoverOpenDelay)}},p=e=>{const t=e.currentTarget.querySelector('[data-menu="sub-menu"]');t&&(s=s.filter(e=>e.ul!==t||(clearTimeout(e.id),!1)),s.push({id:setTimeout(e=>{m(e)},i.hoverTimeout,t),ul:t}))},v=e=>e.classList.contains(i.openSubMenuClass),b=()=>Array.from(n.querySelectorAll(`.${i.openSubMenuClass}[data-menu="sub-menu"]`)),g=e=>Array.from(e.querySelectorAll("\na[href]:not([hidden]),\narea[href],\ninput:not([disabled]),\nselect:not([disabled]),\ntextarea:not([disabled]),\nbutton:not([disabled])\n")).filter(e=>{const t=e.closest('[data-menu="sub-menu"]');return!t||v(t)}
2),y=()=>{const e=b();e.length&&e.forEach(e=>{m(e)})},w=()=>{const e=n.querySelector(i.activeListItemSelector);if(e){let t=e.closest('[data-menu="sub-menu"]');if(t||(t=e.querySelector('[data-menu="sub-menu"]')),t){const e=[];let o=t.parentElement;for(;o&&o!==n;)"UL"===o.tagName&&e.push(o),o=o.parentElement;[...e,t].forEach(e=>{h(e)})}}},x=(e,t)=>{const n=e.getAttribute("href");let o=!0;return n&&"#"!==n&&(o=!1),"boolean"==typeof i.shouldWrapAnchorToButton?o=i.shouldWrapAnchorToButton:"function"==typeof i.shouldWrapAnchorToButton&&(o=i.shouldWrapAnchorToButton(o,e,t)),o},E=(e,t)=>"function"==typeof i.buttonClass?i.buttonClass(n,e,t):i.buttonClass,A=(e,t)=>"function"==typeof i.buttonIcon?i.buttonIcon(n,e,t):i.buttonIcon;return(()=>{if("root"===n.getAttribute("data-menu"))return void console.log("menuFromHTML: Menu already initialized.",n);"function"==typeof i.onBeforeCreate&&i.onBeforeCreate(),n.setAttribute("data-menu","root");let e=1;a.forEach((t,o)=>{var r;const s=document.createElement("button");s.setAttribute("data-menu","sub-toggle"),s.setAttribute("aria-expanded","false");let a=1,l=t.parentElement;for(;l&&l!==n;)"UL"===l.tagName&&a++,l=l.parentElement;for(s.setAttribute("data-menu-level",`${a}`);document.getElementById(`sub-menu-${e}-${o}`);)e++;s.setAttribute("aria-controls",`sub-menu-${e}-${o}`);const c=null===(r=t.closest("li"))||void 0===r?void 0:r.querySelector("ul");c&&(c.id=`sub-menu-${e}-${o}`,c.setAttribute("data-menu","sub-menu")),s.className=E(c,a),s.type="button";const u=A(c,a);if(x(t,a)){const e=document.createElement("span");for(;t.childNodes.length>0;)e.appendChild(t.childNodes[0]);s.appendChild(e),s.insertAdjacentHTML("beforeend",u),s.setAttribute("data-toggle-type","cover"),t.after(s),t.setAttribute("hidden","")}else s.innerHTML=`<span class="${i.visuallyHiddenClass}">${i.expandChildMenuText}</span>${u}`,s.setAttribute("data-toggle-type","icon"),t.after(s)}),i.openActiveSubMenuOnCreate&&w(),n.addEventListener("click",c,!1),n.addEventListener("keydown",d,!1),i.closeSubMenuOnOutsideClick&&document.addEventListener("click",u,!1),"hover"===i.action&&l.forEach(e=>{e.addEventListener("mouseenter",f,!1),e.addEventListener("mouseleave",p,!1)}),"function"==typeof i.onAfterCreate&&i.onAfterCreate(),n.classList.add("is-ready")})(),r.push({element:n,closeAllSubMenus:y}),{openSubMenu:h,closeSubMenu:m,closeAllSubMenus:y,openActiveSubMenu:w,getOpenSubMenus:b,getButtonClass:E,getButtonIcon:A}}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var s=t[o]={exports:{}};return e[o].call(s.exports,s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=()=>{window.matchMedia("(hover: none)").matches?document.documentElement.classList.add("no-hover"):document.documentElement.classList.add("has-hover")},t=()=>{e()};var o=n(4740);const r=()=>{const e=document.querySelectorAll(".js-cover"),t=()=>{Array.from(e).forEach(e=>{const t=e.parentNode.offsetWidth,n=e.parentNode.offsetHeight;let o,r;const s=16/9;t/n<s?(r=n,o=n*s):(o=t,r=t/s),e.style.width=`${o}px`,e.style.height=`${r}px`})},n=()=>{window.addEventListener("load",t,!1),window.addEventListener("resize",(0,o.sg)(function(){t()}))};t(),n()},s=()=>{(()=>{const e=document.querySelectorAll("a");Array.from(e).forEach(e=>{"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener noreferrer")})})()};n(7604);!function(e,t){var n,o,r=0;function s(){var s,i,a=n,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(i=0;i<l;i++)if(a.args[i]!==arguments[i]){a=a.next;continue e}return a!==n&&(a===o&&(o=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n,a.prev=null,n.prev=a,n=a),a.val}a=a.next}for(s=new Array(l),i=0;i<l;i++)s[i]=arguments[i];return a={args:s,val:e.apply(null,s)},n?(n.prev=a,a.next=n):o=a,r===t.maxSize?(o=o.prev).next=null:r++,n=a,a.val}t=t||{},s.clear=function(){n=null,o=null,r=0}}(console.error);var i,a,l,c;i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},a=["(","?"],l={")":["("],":":["?","?:"]},c=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var u={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function d(e){var t=function(e){for(var t,n,o,r,s=[],u=[];t=e.match(c);){for(n=t[0],(o=e.substr(0,t.index).trim())&&s.push(o);r=u.pop();
2){if(l[n]){if(l[n][0]===r){n=l[n][1]||n;break}}else if(a.indexOf(r)>=0||i[r]<i[n]){u.push(r);break}s.push(r)}l[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&s.push(e),s.concat(u.reverse())}(e);return function(e){return function(e,t){var n,o,r,s,i,a,l=[];for(n=0;n<e.length;n++){if(i=e[n],s=u[i]){for(o=s.length,r=Array(o);o--;)r[o]=l.pop();try{a=s.apply(null,r)}catch(e){return e}}else a=t.hasOwnProperty(i)?t[i]:+i;l.push(a)}return l[0]}(t,e)}}var h={contextDelimiter:"�",onMissingKey:null};function m(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},h)this.options[n]=void 0!==t&&n in t?t[n]:h[n]}m.prototype.getPluralForm=function(e,t){var n,o,r,s=this.pluralForms[e];return s||("function"!=typeof(r=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(e){var t,n,o;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(o=t[n].trim()).indexOf("plural="))return o.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),r=function(e){var t=d(e);return function(e){return+t({n:e})}}(o)),s=this.pluralForms[e]=r),s(t)},m.prototype.dcnpgettext=function(e,t,n,o,r){var s,i,a;return s=void 0===r?0:this.getPluralForm(e,r),i=n,t&&(i=t+this.options.contextDelimiter+n),(a=this.data[e][i])&&a[s]?a[s]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===s?n:o)};const f={plural_forms:e=>1===e?0:1},p=/^i18n\.(n?gettext|has_translation)(_|$)/;var v=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var b=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var g=function(e,t){return function(n,o,r,s=10){const i=e[t];if(!b(n))return;if(!v(o))return;if("function"!=typeof r)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");const a={callback:r,priority:s,namespace:o};if(i[n]){const e=i[n].handlers;let t;for(t=e.length;t>0&&!(s>=e[t-1].priority);t--);t===e.length?e[t]=a:e.splice(t,0,a),i.__current.forEach(e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++})}else i[n]={handlers:[a],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,o,r,s)}};var y=function(e,t,n=!1){return function(o,r){const s=e[t];if(!b(o))return;if(!n&&!v(r))return;if(!s[o])return 0;let i=0;if(n)i=s[o].handlers.length,s[o]={runs:s[o].runs,handlers:[]};else{const e=s[o].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===r&&(e.splice(t,1),i++,s.__current.forEach(e=>{e.name===o&&e.currentIndex>=t&&e.currentIndex--}))}return"hookRemoved"!==o&&e.doAction("hookRemoved",o,r),i}};var w=function(e,t){return function(n,o){const r=e[t];return void 0!==o?n in r&&r[n].handlers.some(e=>e.namespace===o):n in r}};var x=function(e,t,n,o){return function(r,...s){const i=e[t];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;const a=i[r].handlers;if(!a||!a.length)return n?s[0]:void 0;const l={name:r,currentIndex:0};return(o?async function(){try{i.__current.add(l);let e=n?s[0]:void 0;for(;l.currentIndex<a.length;){const t=a[l.currentIndex];e=await t.callback.apply(null,s),n&&(s[0]=e),l.currentIndex++}return n?e:void 0}finally{i.__current.delete(l)}}:function(){try{i.__current.add(l);let e=n?s[0]:void 0;for(;l.currentIndex<a.length;){e=a[l.currentIndex].callback.apply(null,s),n&&(s[0]=e),l.currentIndex++}return n?e:void 0}finally{i.__current.delete(l)}})()}};var E=function(e,t){return function(){const n=e[t],o=Array.from(n.__current);return o.at(-1)?.name??null}};var A=function(e,t){return function(n){const o=e[t];return void 0===n?o.__current.size>0:Array.from(o.__current).some(e=>e.name===n)}};var _=function(e,t){return function(n){const o=e[t];if(b(n))return o[n]&&o[n].runs?o[n].runs:0}},L=class{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=ne
2w Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=g(this,"actions"),this.addFilter=g(this,"filters"),this.removeAction=y(this,"actions"),this.removeFilter=y(this,"filters"),this.hasAction=w(this,"actions"),this.hasFilter=w(this,"filters"),this.removeAllActions=y(this,"actions",!0),this.removeAllFilters=y(this,"filters",!0),this.doAction=x(this,"actions",!1,!1),this.doActionAsync=x(this,"actions",!1,!0),this.applyFilters=x(this,"filters",!0,!1),this.applyFiltersAsync=x(this,"filters",!0,!0),this.currentAction=E(this,"actions"),this.currentFilter=E(this,"filters"),this.doingAction=A(this,"actions"),this.doingFilter=A(this,"filters"),this.didAction=_(this,"actions"),this.didFilter=_(this,"filters")}};var C=function(){return new L}(),{addAction:S,addFilter:k,removeAction:$,removeFilter:T,hasAction:M,hasFilter:q,removeAllActions:O,removeAllFilters:F,doAction:j,doActionAsync:B,applyFilters:H,applyFiltersAsync:I,currentAction:D,currentFilter:R,doingAction:N,doingFilter:z,didAction:W,didFilter:P,actions:K,filters:U}=C;const Y=((e,t,n)=>{const o=new m({}),r=new Set,s=()=>{r.forEach(e=>e())},i=(e,t="default")=>{o.data[t]={...o.data[t],...e},o.data[t][""]={...f,...o.data[t]?.[""]},delete o.pluralForms[t]},a=(e,t)=>{i(e,t),s()},l=(e="default",t,n,r,s)=>(o.data[e]||i(void 0,e),o.dcnpgettext(e,t,n,r,s)),c=(e="default")=>e,u=(e,t,o)=>{let r=l(o,t,e);return n?(r=n.applyFilters("i18n.gettext_with_context",r,e,t,o),n.applyFilters("i18n.gettext_with_context_"+c(o),r,e,t,o)):r};if(e&&a(e,t),n){const e=e=>{p.test(e)&&s()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>o.data[e],setLocaleData:a,addLocaleData:(e,t="default")=>{o.data[t]={...o.data[t],...e,"":{...f,...o.data[t]?.[""],...e?.[""]}},delete o.pluralForms[t],s()},resetLocaleData:(e,t)=>{o.data={},o.pluralForms={},a(e,t)},subscribe:e=>(r.add(e),()=>r.delete(e)),__:(e,t)=>{let o=l(t,void 0,e);return n?(o=n.applyFilters("i18n.gettext",o,e,t),n.applyFilters("i18n.gettext_"+c(t),o,e,t)):o},_x:u,_n:(e,t,o,r)=>{let s=l(r,void 0,e,t,o);return n?(s=n.applyFilters("i18n.ngettext",s,e,t,o,r),n.applyFilters("i18n.ngettext_"+c(r),s,e,t,o,r)):s},_nx:(e,t,o,r,s)=>{let i=l(s,r,e,t,o);return n?(i=n.applyFilters("i18n.ngettext_with_context",i,e,t,o,r,s),n.applyFilters("i18n.ngettext_with_context_"+c(s),i,e,t,o,r,s)):i},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(e,t,r)=>{const s=t?t+"�"+e:e;let i=!!o.data?.[null!=r?r:"default"]?.[s];return n&&(i=n.applyFilters("i18n.has_translation",i,e,t,r),i=n.applyFilters("i18n.has_translation_"+c(r),i,e,t,r)),i}}})(void 0,void 0,C),V=(Y.getLocaleData.bind(Y),Y.setLocaleData.bind(Y),Y.resetLocaleData.bind(Y),Y.subscribe.bind(Y),Y.__.bind(Y));Y._x.bind(Y),Y._n.bind(Y),Y._nx.bind(Y),Y.isRTL.bind(Y),Y.hasTranslation.bind(Y);const Z=async function(){const e=document.querySelector("body").classList.contains("home"),t=window?.ErrorRibbonData?.lang??"fi";if(e)try{const e=await fetch(`/wp-json/custom/v1/errorribbon?lang=${t}`);if(!e.ok)throw new Error(`API error: ${e.statusText}`);const n=await e.json(),o=parseInt(n?.origData?.p?.summary?.faultrunning?.customers??0),r=parseInt(n?.threshold??0),s=n?.label??V("Error Label","everberg"),i=n?.title??V("Error Title","everberg"),a=n?.text??V("Error Text","everberg"),l=n?.theme??"error",c=Array.isArray(n?.buttons)?n.buttons:[],u=window?.ErrorRibbonData?.closeLabel,d=n?.enabled??!1,h=document.querySelector(".em-site-error-ribbon"),m=document.querySelector(".block-root");let f="";if("white"!==l&&(f=`has-background has-color-scheme-${l}`),o>=r||d){if(!h){const e=document.createElement("div");e.className="em-site-error-ribbon",e.innerHTML=`\n\t\t\t\t\t<div class="em-site-error-ribbon__container">\n\t\t\t\t\t\t<div class="em-site-error-ribbon__card ${f}">\n\t\t\t\t\t\t${s?` <span class="em-site-error-ribbon__card__label">${s}</span>`:""}\n\t\t\t\t\t\t\t<h5 class="em-site-error-ribbon__card__title">${i}</h5>\n\t\t\t\t\t\t\t<div class="em-site-error-ribbon__card__text">${a}</div>\n\t\t\t\t\t\t\t${c.length?`<div class="em-site-error-ribbon__card__buttons">\n\t\t\t\t\t\t\t\t\t${c.map(e=>`\n\t\t\t\t\t\t\t\t\t\t\t<div class="wp-block-button is-style-text">\n\t\t\t\t\t\t\t\t\t\t\t\t<a class="wp-block-button__link" href="${e.opt_error_ribbon_button.url}" target="${e.opt_error_ribbon_button.target}">\n\t\t\t\t\t\t\t\t\t\t\t\t\t${e.opt_error_ribbon_button.title}\n\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t</div>`).join("")}\n\t\t\t\t\t\t\t\t</div>`:""}\n\t\t\t\t\t\t\t<button class="em-site-error-ribbon__card__close" type="button" aria-label="${u}"></button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t`;const t=m.children;m.insertBefore(e,t[0]||null),e.querySelector(".em-site-error-ribbon__card__close")?.addEventListener("click",()=>{e.remove()})}}else h&&h.remove()}catch(e){console.error("Error fetching error ribbon data:",e)}};const G=function(){let e=!1;const t=setInterval(()=>{e?clearInterval(t):(()=>{const t=document.getElementById("site-notifications");
2if(!t)return;const n=document.querySelector(".site-content"),o=document.querySelector(".em-site-error-ribbon"),r=document.querySelector(".js-mobile-menu-modal");e=!0;const s=()=>{const e=t.offsetHeight;o&&(o.style.transform=`translateY(${e}px)`,o.style.marginBottom=`${e}px`),n&&(n.style.marginTop=`${e}px`),r&&(r.style.marginTop=`${e}px`)};s(),new ResizeObserver(()=>{s()}).observe(t)})()},100)};const X=function(){const e="js-scroll-animate",t=[...document.querySelectorAll(`.${e}`)],n=()=>{if(!(t.length&&window.innerWidth>=1024))return!1;t.forEach((n,r)=>{if(!n.classList.contains(e))return!1;(0,o.cH)(n)&&(n.classList.remove(e),t.splice(r,1))})};n(),window.addEventListener("scroll",n,{capture:!1,passive:!0}),window.addEventListener("load",n,!1),window.addEventListener("resize",(0,o.sg)(n))};function J(){const e=document.querySelectorAll(".is-pattern-company-information");e.length>0&&[...e].forEach(e=>{const t=e.querySelectorAll(".scb-column");if(0===t.length)return;const n=[...t].map(e=>e.querySelector(".company-information")).filter(Boolean);if(0===n.length)return;n.forEach(e=>e.style.height="auto");const o=Math.max(...n.map(e=>e.offsetHeight));n.forEach(e=>{e.style.height=`${o}px`})})}window.addEventListener("resize",J);const Q=J;const ee=function(){const e=document.querySelectorAll(".wp-block-table");0!==e.length&&[...e].forEach(e=>{const t=e.querySelector("table");if(t&&!t.classList.contains("has-fixed-layout")){if(t.parentNode.classList.contains("table-wrapper"))return;const n=document.createElement("div");if(n.classList.add("table-wrapper"),t.parentNode.insertBefore(n,t),n.appendChild(t),e.classList.add("has-scroll-indicator"),n.scrollWidth>n.clientWidth){const t=document.createElement("div");t.classList.add("scroll-arrow");const o=e.previousElementSibling;o&&o.classList.contains("wp-block-heading")||t.classList.add("scroll-arrow--repositioned"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="currentColor" fill-rule="evenodd" d="M3.864 10.795h15v2h-15z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="m11.864 3.38 8.414 8.415-8.414 8.414-1.414-1.414 7-7-7-7z" clip-rule="evenodd"/></svg>',e.appendChild(t),n.addEventListener("scroll",()=>{t.classList.add("hide")},{once:!0})}}})};const te=function(){const e=document.querySelectorAll(".js-youtube-background"),t=()=>{if(!document.querySelector('script[src$="www.youtube.com/iframe_api"]')){const e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}};window.onYouTubeIframeAPIReady=()=>{Array.from(e).forEach(e=>{n(e)})};const n=e=>{const{id:t}=e.dataset,n=s(t),i=document.createElement("div");i.id=n,e.appendChild(i);return new window.YT.Player(n,{width:"960",height:"540",videoId:t,playerVars:{autoplay:1,loop:1,playlist:t,controls:0,modestbranding:1,playsinline:1,enablejsapi:1,origin:window.location.origin,rel:0,fs:0,iv_load_policy:3,wmode:"transparent"},events:{onReady:o,onStateChange:r}})},o=e=>{const t=e.target;t.playVideo(),t.mute()},r=()=>{},s=e=>{let t="youtube-player-"+e;if(document.getElementById(t)){let e=1;do{e++}while(document.getElementById(t+e));t+=e}return t};e.length&&t()};n(1840);!function(){let e=!1;document.addEventListener("DOMContentLoaded",()=>{e||(e=!0,n())});const n=()=>{t(),r(),s(),Z(),G(),X(),Q(),ee(),te()}}()})(),(()=>{"use strict";document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".js-cookiebot-placeholder-renew").forEach(e=>{e.addEventListener("click",e=>{e.preventDefault();try{Cookiebot.renew()}catch(e){console.error(e)}})})})})(),(()=>{"use strict";var e=n(4740),t=n(3317),o=n.n(t);const r=function(){const t=t=>{new(o())(t,{offset:110,tolerance:5,onUnpin(){(0,e.qG)()?(this.elem.classList.remove(this.classes.unpinned),this.elem.classList.add(this.classes.pinned)):(this.elem.classList.add(this.classes.unpinned),this.elem.classList.remove(this.classes.pinned))}}).init()};(()=>{const e=document.querySelector(".js-header");if(null===e)return!1;t(e)})()};var s=n(3450),i=n(7989);const a=function(){const e=window.emHeaderConfig,t=document.querySelectorAll(".js-mobile-menu");if(!t.length)return;document.addEventListener("focusin",()=>{const e=document.querySelector(".js-mobile-menu-toggle"),t=e?.ownerDocument.activeElement;t&&t.classList.contains("mobile-navigation__close")?e?.classList.add("is-focused"):e?.classList.remove("is-focused")});const n=document.querySelector(".js-mobile-menu-modal"),o=document.querySelectorAll(".js-mobile-menu-toggle"),r=document.querySelectorAll(".js-mobile-menu-close"),a=n?[...n.querySelectorAll("a")].filter(e=>{const t=e.getAttribute("href");return t?.includes("#")&&t?.length>1}):[],l=()=>{t.forEach(t=>{(0,i.R)(t,{action:"click",expandChildMenuText:e.text.expandChildMenuText,buttonIcon:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="7" viewB
2ox="0 0 12 7" fill="none"><path d="M10 1.5L6 5.5L2 1.5" stroke="#05345c" stroke-width="1.5" stroke-linecap="square"/></svg>',shouldWrapAnchorToButton:!1,openActiveSubMenuOnCreate:!0,closeSubMenuOnOutsideClick:!1})})},c=e=>{const t=new s.A(e);return t.on("show",()=>{document.body.classList.add("has-open-mobile-menu"),Array.from(o).forEach(e=>{e.setAttribute("aria-expanded","true")})}),t.on("hide",()=>{document.body.classList.remove("has-open-mobile-menu"),Array.from(o).forEach(e=>{e.setAttribute("aria-expanded","false")})}),t},u=e=>{Array.from(o).forEach(t=>{t.addEventListener("click",t=>{t.preventDefault(),h()?e.hide():e.show()})})},d=e=>{Array.from(r).forEach(t=>{t.addEventListener("click",t=>{t.preventDefault(),e.hide()})}),Array.from(a).forEach(t=>{t.addEventListener("click",()=>{e.hide()})})},h=()=>document.body.classList.contains("has-open-mobile-menu");(()=>{const e={modalEl:n};Object.keys(e).forEach(t=>{if(null===e[t])throw new Error(`Missing required el: ${t}`)}),l();const t=c(n);d(t),u(t)})()};const l=function(){const e=new Set;(()=>{const t=window.emHeaderConfig,n=document.querySelectorAll(".js-desktop-menu"),o=document.querySelector("body");n.forEach(n=>{(0,i.R)(n,{action:"click",expandChildMenuText:t.text.expandChildMenuText,shouldWrapAnchorToButton:(e,t,n)=>1===n,hoverTimeout:50,animateOpen:!0,animateClose:!0,buttonIcon:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M10 2L6 6L2 2" stroke="#05345c" stroke-width="1.5" stroke-linecap="square"/></svg>',animateOpenClass:"animate-open",animateCloseClass:"animate-close",animateOpenMaxExecutionTime:250,animateCloseMaxExecutionTime:200,onBeforeOpenSubMenu:t=>{o.classList.add("has-submenu-open"),t.getBoundingClientRect().right>(window.innerWidth||document.documentElement.clientWidth)?t.classList.add("is-out-of-bounds"):t.classList.remove("is-out-of-bounds"),e.add(t)},onAfterCloseSubMenu:t=>{t.classList.remove("is-out-of-bounds"),e.delete(t),0===e.size&&o.classList.remove("has-submenu-open")}})})})()};const c=function(){(()=>{const e=window.emHeaderConfig;document.querySelectorAll(".js-extra-menu").forEach(t=>{(0,i.R)(t,{action:"click",expandChildMenuText:e.text.expandChildMenuText,shouldWrapAnchorToButton:!0,hoverTimeout:50,animateOpen:!0,animateClose:!0,buttonIcon:'<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path id="Vector 1" d="M9 1L5 5L1 1" stroke="#05345c" stroke-width="1.5" stroke-linejoin="round"/></svg>',subMenuAnchorSelector:":scope > .menu-item-has-children > a",animateOpenClass:"animate-open",animateCloseClass:"animate-close",animateOpenMaxExecutionTime:250,animateCloseMaxExecutionTime:250,onBeforeOpenSubMenu:e=>{e.getBoundingClientRect().right>(window.innerWidth||document.documentElement.clientWidth)?e.classList.add("is-out-of-bounds"):e.classList.remove("is-out-of-bounds");const t=document.querySelector(".js-language-menu .sub-menu.is-open"),n=document.querySelector(".js-language-menu button");t&&n&&(t.classList.remove("is-open"),n.setAttribute("aria-expanded","false"))},onAfterCloseSubMenu:e=>{e.classList.remove("is-out-of-bounds")}})})})()};document.addEventListener("DOMContentLoaded",()=>{r(),a(),l(),c()})})(),(()=>{"use strict";var e=n(3450);(()=>{const t=window.emInlineModalConfig;if(void 0===t)throw new Error("Could not find the inline modal configuration data.");const n=()=>{const t=document.querySelectorAll(".js-inline-modal");Array.from(t).forEach(t=>{const n=new e.A(t),o=document.querySelectorAll(`[aria-controls="${t.id}"]`);Array.from(o).forEach(e=>{e.addEventListener("click",e=>{e.preventDefault(),n.show()})}),n.on("show",()=>{Array.from(o).forEach(e=>{e.setAttribute("aria-expanded","true")})}),n.on("hide",()=>{Array.from(o).forEach(e=>{e.setAttribute("aria-expanded","false")})})})},o=()=>{const e=document.querySelectorAll(".js-video-modal");Array.from(e).forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const n=e.getAttribute("data-video-id"),o=e.getAttribute("data-video-provider");if(!n||!o)return!1;t.currentTarget.setAttribute("aria-expanded","true"),r(n,o)})})},r=(e,t)=>{const n=document.getElementById(`modal-${e}`);null!==n&&i(n),s(e,t)},s=(t,n)=>{const o=document.createElement("div"),r=l(t,n);if(r){o.innerHTML=a(t,r),document.body.appendChild(o);const n=document.getElementById(`modal-${t}`),s=new e.A(n);s.show(),s.on("hide",()=>{i(n)})}},i=e=>{e.closeAnimationTimeout=setTimeout(()=>{e.remove()},750);const t=document.querySelectorAll(".js-video-modal");
2Array.from(t).forEach(e=>{e.setAttribute("aria-expanded","false")})},a=(e,n)=>`\n <div class="modal modal--video" id="modal-${e}" aria-hidden="true">\n <div class="modal__overlay" data-a11y-dialog-hide></div>\n <div class="modal__container modal__container--video" role="document">\n <div class="modal__responsive-wrapper">\n ${n}\n </div>\n </div>\n <button class="modal__close modal__close--outside" aria-label="${t.text.close}" data-a11y-dialog-hide></button>\n </div>\n `,l=(e,t)=>{switch(t){case"youtube":return c(e);case"vimeo":return u(e);default:return!1}},c=e=>`<iframe width="560" height="315" src="https://www.youtube.com/embed/${e}?autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>`,u=e=>`<iframe width="640" height="360" src="https://player.vimeo.com/video/${e}?autoplay=1" frameborder="0" allow="autoplay; fullscreen" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>`;document.addEventListener("DOMContentLoaded",()=>{n(),o()})})()})(),(()=>{"use strict";var e=n(7989);const t=function(){(()=>{const t=window.emHeaderConfig;document.querySelectorAll(".js-language-menu").forEach(n=>{(0,e.R)(n,{action:"click",expandChildMenuText:t.text.expandChildMenuText,shouldWrapAnchorToButton:!0,hoverTimeout:50,animateOpen:!0,animateClose:!0,buttonIcon:'<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path id="Vector 1" d="M9 1L5 5L1 1" stroke="#05345c" stroke-width="1.5" stroke-linejoin="round"/></svg>',subMenuAnchorSelector:":scope > .language-switcher-menu-list__item > a",animateOpenClass:"animate-open",animateCloseClass:"animate-close",animateOpenMaxExecutionTime:250,animateCloseMaxExecutionTime:250,onBeforeOpenSubMenu:e=>{e.getBoundingClientRect().right>(window.innerWidth||document.documentElement.clientWidth)?e.classList.add("is-out-of-bounds"):e.classList.remove("is-out-of-bounds");const t=document.querySelector(".js-extra-menu .sub-menu.is-open"),n=document.querySelector(".js-extra-menu button");t&&n&&(t.classList.remove("is-open"),n.setAttribute("aria-expanded","false"))},onAfterCloseSubMenu:e=>{e.classList.remove("is-out-of-bounds")}})})})()};document.addEventListener("DOMContentLoaded",()=>{t()})})(),(()=>{"use strict";var e=n(4740);const t=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push(e)};var o=n(3450);function r(){const n=window.emSearchConfig;if(void 0===n)throw new Error("Could not find the search configuration data.");if(null===document.querySelector(".js-site-search"))return;const r=document.querySelector(".js-search-modal"),s=document.querySelector(".js-search-input"),i=document.querySelector(".js-search-results"),a=document.querySelector(".js-search-items"),l=document.querySelector(".js-search-form"),c=document.querySelector(".js-search-announcer"),u=document.querySelector(".js-search-quick-links"),d=document.querySelector(".js-search-background-image"),h=document.querySelector(".js-search-reset"),m=document.querySelectorAll(".js-search-open"),f=document.querySelectorAll(".js-search-close"),p=e=>{const t=new o.A(e);return t.on("show",()=>{document.body.classList.add("has-search-open"),C(),Array.from(m).forEach(e=>{e.setAttribute("aria-expanded","true")})}),t.on("hide",()=>{document.body.classList.remove("has-search-open"),Array.from(m).forEach(e=>{e.setAttribute("aria-expanded","false"),e.classList.contains("is-trigger")&&(e.classList.remove("is-trigger"),e.focus())})}),t},v=e=>{Array.from(m).forEach(t=>{t.addEventListener("click",n=>{n.preventDefault(),t.classList.add("is-trigger"),e.show()})})},b=e=>{Array.from(f).forEach(t=>{t.addEventListener("click",t=>{t.preventDefault(),e.hide()})})},g=()=>{s.addEventListener("keyup",e=>{e.preventDefault(),S(w,s.value)})},y=()=>{l.addEventListener("submit",e=>{e.preventDefault(),w(s.value)})},w=o=>{if(o.length<n.minLength||o===window.currentSearch)return!1;if(null===i||null===a)throw new Error("Could not find required search elements.");k(n.text.loading),A();const r=`${n.ajax_url}?action=${n.action}&s=${encodeURIComponent(o)}&lang=${n.language}`;window.fetch(`${r}`,{method:"GET"}).then(e.LM).then(e=>{if(window.currentSearch=o,_(e),s.value===o&&(((e,n)=>{t({event:"em_site_search",em_search_term:e,em_search_results:n.length})})(o,e),e.length)){document.querySelectorAll(".search-result__link").forEach((n,r)=>{n.addEventListener("click",()=>{(({query:e,results:n,clickedUrl:o,clickedIndex:r})=>{const s=n.find(e=>e.link===o);t({event:"em_site_search_result_click",em_search_term:e,em_search_results:n.length,em_search_result_url:s.link,em_search_result_title:s.title,em_search_result_index:r})})({query:o,results:e,clickedUrl:n.getAttribute("href"),clickedIndex:r})})})}k(n.text.resultsDescription)}).catch(e=>{throw new Error(e)})},x=()=>{h.addEventListener("click",e=>{e.preventDefault(),E()})},E=()=>{s.value="",A(),u&&(u.style.display=""),d&&(d.style.display=""),k(""),window.currentSearch="",i.classList.remove("is-loading")},A=()=>{i.classList.add("is-loading"),a.innerHTML=""},_=e=>{if(i.classList.remove("is-loading"),!e.length)return a.innerHTML=`<h4 class="site-search-results__error" aria-live="assertive" role="alert">${n.text.noResults}</h4>`,u&&(u.style.display=""),d&&(d.style.display=""),!1;u&&(u.style.display="none"),d&&(d.style.display="none");const t=`<p class="site-search-results__count" aria-live="polite" role="status">\n\t\t<strong>${e.length}</strong> ${1===e.length?n.text.resultSingular:n.text.resultPlural}\n\t</p>`,o=e.map((e,t)=>L(e,t)).join("");a.innerHTML=`${t}${o}`},L=e=>`\n <article class="site-search-results__item">\n <div class="search-result search-result--${e.type}">\n <a href="${e.link}" class="search-result__link wrapper-link">\n <h5 class="search-result__title">${e.title}</h5>\n <p class="search-result__excerpt">${e.excerpt}</p>\n\t\t\t\t\t\t<span class="search-result__more" aria-hidden="true">${n.text.readMore}</span>\n </a>\n </div>\n </article>\n `,C=()=>
2{if(null===s)return!1;setTimeout(()=>{s.focus()},500)},S=(e,t)=>{clearTimeout(window.emSearchInputTimeout),window.emSearchInputTimeout=setTimeout(()=>{e(t)},1e3)},k=e=>{c.innerHTML=e};(()=>{const e={modalEl:r,inputEl:s,formEl:l,announcerEl:c};Object.keys(e).forEach(t=>{if(null===e[t])throw new Error(`Missing required el: ${t}`)});const t=p(r);v(t),b(t),g(),y(),x()})()}document.addEventListener("DOMContentLoaded",()=>{r()})})(),(()=>{"use strict";!function(){const e=e=>{const t=(window.screen.width-570)/2,n="menubar=no,toolbar=no,status=no,width=570,height=570,top="+(window.screen.height-570)/2+",left="+t;window.open(e,"NewWindow",n)};document.addEventListener("DOMContentLoaded",()=>{[...document.querySelectorAll(".js-share-link")].forEach(t=>{t.addEventListener("click",n=>{n.preventDefault();const o=t.getAttribute("href");if(!o)return!1;e(o)})})})}()})()})();
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.