PageSourceSearch

https://www.bravida.se/Static/dist/app.d9f7e319ba9707ba4384.js

js bravida.se collected 2026-09-26 02:39:00 UTC 88,434 bytes, 3 lines download raw bytes

1/*! For license information please see app.d9f7e319ba9707ba4384.js.LICENSE.txt */
2(self.webpackChunkbravida_web=self.webpackChunkbravida_web||[]).push([[143],{8618:function(e,t,n){"use strict";var r={};n.r(r);n(8674),n(1539),n(8783),n(6992),n(3948),n(2526),n(1817),n(2165),n(1038),n(7042),n(8309),n(5003),n(4723),n(4916),n(7327);var o,i,a=function(){try{var e=new window.CustomEvent("test",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default");return!0}catch(e){return!1}}(),c="function"==typeof window.Element.prototype.matches,s=document.documentElement.dataset&&(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get),u=(window.Event,"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&("isIntersecting"in window.IntersectionObserverEntry.prototype||(console.debug("Minimal polyfill for edge 15"),Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}})),!0)),l=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,d=(o=window.navigator.userAgent.match(/Edge\/(\d{2})\./),i=!!o&&parseInt(o[1],10)>=16,!("objectFit"in document.documentElement.style==0||i)),f=["fetch"in window?null:n.e(216).then(n.bind(n,7147)),a?null:n.e(216).then(n.t.bind(n,7810,23)),c?null:n.e(216).then(n.t.bind(n,107,23)),s?null:n.e(784).then(n.bind(n,4823)),u?null:n.e(216).then(n.t.bind(n,6337,23)),l?null:Promise.all([n.e(216),n.e(114)]).then(n.bind(n,9468)),d?null:n.e(77).then(n.bind(n,1067))].filter(Boolean),p=(n(2222),n(2772),function(e){var t=(e=e||{}).lazyClass||"lazy",n=e.lazyBackgroundClass||"lazy-bg",r="idleLoadTimeout"in e?e.idleLoadTimeout:200,o=e.observeChanges||!1,i=e.events||{},a=window,c="requestIdleCallback",s="IntersectionObserver",u=["srcset","src","poster"],l=[],d=function(e,r){return l.slice.call((r||document).querySelectorAll(e||"img.".concat(t,",video.").concat(t,",iframe.").concat(t,",.").concat(n)))},f=function(t){var r,o=t.parentNode;"PICTURE"==o.nodeName&&(r=o),"VIDEO"==t.nodeName&&(r=t),h(d("source",r),m),m(t),t.autoplay&&t.load();var i=t.classList;i.contains(n)&&(i.remove(n),i.add(e.lazyBackgroundLoaded||"lazy-bg-loaded"))},p=function(e){for(var t in i)e.addEventListener(t,i[t].listener||i[t],i[t].options||void 0)},m=function(e){var t=function(t){u[t]in e.dataset&&a.requestAnimationFrame((function(){e.setAttribute(u[t],e.dataset[u[t]])}))};for(var n in u)t(n)},h=function(e,t){for(var n in e)t instanceof a[s]?t.observe(e[n]):t(e[n])},g=function(e){if(e.isIntersecting||e.intersectionRatio){var n=e.target;c in a&&r?a[c]((function(){f(n)}),{timeout:r}):f(n),n.classList.remove(t),b.unobserve(n),(y=y.filter((function(e){return e!=n}))).length||o||b.disconnect()}},v=function(e){y.indexOf(e)<0&&(y.push(e),p(e),b.observe(e))},y=d();if(/baidu|(?:google|bing|yandex|duckduck)bot/i.test(navigator.userAgent))h(y,f);else if(s in a&&"".concat(s,"Entry")in a){var b=new a[s]((function(e){h(e,g)}),{rootMargin:"".concat("threshold"in e?e.threshold:200,"px 0%")});h(y,p),h(y,b),o&&h(d(e.observeRootSelector||"body"),(function(t){new MutationObserver((function(){h(d(),v)})).observe(t,e.mutationObserverOptions||{childList:!0,subtree:!0})}))}}),m=(n(6474),n(2331),Array.prototype.slice.call(document.querySelectorAll("[data-a11y-toggle]:not(.js-ignore-dropdown-close)"))),h=function(e){var t=m.filter((function(t){return t!==e.currentTarget}));if(t)for(var n=0;n<t.length;n++)b(t[n])},g=function(e){e.target.closest(".js-dropdown ")||y(!0,e)},v=function(e){27===e.keyCode&&y(!0,e)},y=function(e,t){for(var n=document.querySelectorAll(".js-dropdown-button"),r=0;r<n.length;r++)b(n[r]);var o=t.target.closest(".js-dropdown");o&&e&&o.querySelector("button").focus()},b=function(e){var t=e.getAttribute("data-a11y-toggle");document.getElementById(t).setAttribute("aria-hidden",!0),e.setAttribute("aria-expanded",!1)},S={init:function(){document.addEventListener("click",(function(e){return g(e)})),document.addEventListener("keyup",(function(e){return v(e)}));for(var e=0;e<m.length;e++)m[e].addEventListener("click",h)}};n(4747);function w(e){return function(e){if(Array.isArray(e))return A(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(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 A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E,C={init:function(){var e=w(document.querySelectorAll(".js-qty-picker"));e.length&&e.forEach((function(e){var t=e.querySelector(".js-qty-button-remove"),n=e.querySelector(".js-qty-button-add"),r=e.querySelector(".js-qty-input");n.addEventListener("click",(function(e){r.value=parseInt(r.value)+1})),t.addEventListener("click",(function(e){var t=parseInt(r.value)-1;t<1&&(t=1),r.value=t}))}))}},L=(n(5306),n(9600),n(9714),n(3210),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,r=e.id||e.name&&"".concat(e.name,"-").concat(k(n))||k(n);return r=r.replace(/(:|\.|\[|\]|,)/g,""),"".concat(t,"-").concat(r)}),k=function(e){return Array.from({length:e},(function(){return(e=0,t=36,Math.floor(Math.random()*(t-e)+e)).toString(36);var e,t})).join("")},j=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r="".concat(n>0?"next":"previous","ElementSibling"),o=e[r];o;){if(o.matches(t))return o;o=o[r]}return o},x=function(e,t){"false"==e.getAttribute(t)?e.setAttribute(t,"true"):e.setAttribute(t,"false")},q=function(e,t,n){var r=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0});return e.dispatchEvent(r)},T={BACK_KEY:46,DELETE_KEY:8,ENTER_KEY:13,A_KEY:65,ESC_KEY:27,UP_KEY:38,RIGHT_KEY:39,DOWN_KEY:40,LEFT_KEY:37,PAGE_UP_KEY:33,PAGE_DOWN_KEY:34,SPACE_KEY:32,TAB_KEY:9},I=function e(t){var n,r,o;
2if(t.tagName){if(n=document.createElement(t.tagName),t.className&&(n.className=t.className),t.attributes)for(r in t.attributes)n.setAttribute(r,t.attributes[r]);void 0!==t.html&&(n.innerHTML=t.html)}else n=document.createDocumentFragment();if(t.text&&n.appendChild(document.createTextNode(t.text)),void 0===window.HTMLElement&&(window.HTMLElement=Element),t.childs&&t.childs.length)for(o=0;o<t.childs.length;o++)n.appendChild(t.childs[o]instanceof window.HTMLElement?t.childs[o]:e(t.childs[o]));return n},_=(E=document.createElement("div"),function(e){var t,n=e.trim();for(E.innerHTML=n,t=E.children[0];E.firstChild;)E.removeChild(E.firstChild);return t});function O(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(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 P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function M(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(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 H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var N="[data-mega-menu]",z=".js-menu__link--toggle",B="mega-menu--fade-in",R="mega-menu--fade-out",F="mega-menu-fadein";var D=function(){var e=document.querySelector(".menu-bar");if(e){var t=M(e.querySelectorAll("".concat(z))),n=null,r=document.querySelector(".main-header-row"),o=function(e){return"Tab"===e.key||e.keyCode===T.TAB_KEY},i=function e(t){if(o(t)||[T.UP_KEY,T.DOWN_KEY].some((function(e){return e===t.keyCode}))){var n=function(){return M((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')).filter((function(e){return!e.hasAttribute("disabled")}))}(t.currentTarget),r=n.indexOf(document.activeElement);t.shiftKey||t.keyCode===T.UP_KEY?(t.preventDefault(),n[r>0?r-1:n.length-1].focus()):(o(t)||t.keyCode===T.DOWN_KEY)&&(t.preventDefault(),n[r+1<n.length?r+1:0].focus()),t.target.removeEventListener("keydown",e)}},a=function r(o){e.contains(o.target)&&o.which!==T.ESC_KEY||(c(t),document.removeEventListener("click",r),document.removeEventListener("keyup",r),n.focus())},c=function(e){M(Array.isArray(e)?e:[e]).forEach((function(e){var t=j(e,N,1);s(e,t,!1)}))},s=function(e,t,n){e.setAttribute("aria-expanded",n),t.setAttribute("aria-hidden",!n),n?(t.classList.add(B),t.classList.remove(R)):(t.classList.contains(B)&&t.classList.add(R),t.classList.remove(B))},u=function e(t){t.animationName===F&&(t.target.querySelector("a").focus(),t.target.addEventListener("keydown",i),t.target.removeEventListener("animationend",e))};M(t).forEach((function(e){var t=L(e,"mega-menu-"),n=j(e,N,1);n&&(e.setAttribute("id",t),e.setAttribute("aria-controls",t),e.setAttribute("aria-expanded",!1),e.setAttribute("aria-haspopup",!0),n.setAttribute("aria-labelledby",t),n.setAttribute("aria-hidden",!0))}));var l=function(e){q(e.target,"toggleMegaMenu",{isMouse:!0})},d=function(e){q(e.target.querySelector(".js-menu__link--toggle"),"toggleMegaMenu",{isMouse:!0,hoverOut:!0})},f=function(e){sessionStorage.setItem("menubarKlick",!0)};e.addEventListener("toggleMegaMenu",(function(e){if(e.target.matches(z))if(e.detail.hoverOut)c(t);else{var r=e.target,o=j(r,N,1),i="false"===r.getAttribute("aria-expanded");t.forEach((function(e){var t=j(e,N,1);i&&s(e,t,r===e&&i)})),i&&r&&(n=r,document.addEventListener("click",a),document.addEventListener("keyup",a),r.closest("li").addEventListener("mouseleave",d)),e.detail.isKeyboard&&o.addEventListener("animationend",u)}})),e.addEventListener("keydown",(function(e){return!![T.ENTER_KEY,T.SPACE_KEY].some((function(t){return t===e.keyCode}))&&q(e.target,"toggleMegaMenu",{isKeyboard:!0})})),M(t).forEach((function(e){e.addEventListener("mouseenter",l),e.addEventListener("click",f),e.classList.contains("menu-bar__link--current")&&j(e,".mega-menu",1)&&sessionStorage.getItem("menubarKlick")&&(q(e,"toggleMegaMenu",{isMouse:!0}),sessionStorage.removeItem("menubarKlick"))}));document.addEventListener("scroll",(function(e){var t=document.querySelector(".top-header-row").offsetHeight,n=document.querySelector(".main-header-row").offsetHeight;r.classList.toggle("main-header-row--sticky",window.scrollY>t),document.querySelector(".page-container").style.paddingTop=window.scrollY>t?n+"px":"0";var o=document.querySelector("[data-crisis-alert]");o&&(o.style.top=window.scrollY>t?n+"px":"0")}))}};n(5827),n(7727);function U(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(e,t)}(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 V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Y=I({tagName:"div",className:"m-menu-loader",childs:[I({tagName:"div",className:"m-menu-loader__inner"})]}),W=I({tagName:"div",className:"m-menu-loader__circle"});function K(){var e="".concat(window.location.origin,"/Api/GetMenu/"),t=document.querySelector("body"),n=t.getAttribute("data-currentpageid"),r=t.getAttribute("data-lang"),o=window.matchMedia("screen and (max-width: 1023px)"),i=document.querySelector(".js-menu-button"),a=document.querySelector(".js-menuwrapper"),c="m-menu-",s=".m-menu",u=".js-menu__toggle",l=".m-menu__item--has-children",d="m-menu__item--is-open",f=function(e){var t=_(e),r=U(t.querySelectorAll(u));r.forEach((function(e){var t=e.nextElementSibling;if(t){var n=L(e,c),r=L(t,c);e.setAttribute("id",n),e.setAttribute("aria-controls",r),e.setAttribute("aria-expanded",!1),e.setAttribute("aria-haspopup",!0),t.setAttribute("id",r),t.setAttribute("aria-labelledby",n),t.setAttribute("aria-hidden",!0)}}));var o=t.querySelector('[data-current-node="'.concat(n,'"]'));o&&o.classList.add("m-menu__link--current"),U(r.reduce((function(e,t){return t.nextElementSibling.querySelector('[data-current-node="'.concat(n,'"]'))&&e.push(t),e}
2),[])).forEach((function(e){var t=e.nextElementSibling;e.setAttribute("aria-expanded",!0),t.setAttribute("aria-hidden",!1);var n=e.closest(l);n&&n.classList.add(d)})),t.addEventListener("click",p),a.insertBefore(t,a.firstChild)},p=function(e){var t=e.target;if(t.closest(s)&&(e.stopPropagation(),t.closest(u))){var n=t.classList.contains("m-menu__toggle--back")?document.querySelector('[data-targetid="'.concat(t.dataset.target,'"]')):t,r=n.nextElementSibling,o=n.closest(l);x(n,"aria-expanded"),x(r,"aria-hidden"),v(t,n,r),"true"===n.getAttribute("aria-expanded")?o.classList.add(d):o.classList.remove(d),document.querySelector(s).scroll(0,0)}},m=function(e){h(n,r)},h=function(t,n){i.removeEventListener("click",m),function(){Y.appendChild(W);var e=Y.querySelector(".m-menu-loader__inner");e.appendChild(W),e.classList.add("m-menu-loader__inner--show"),a.appendChild(Y)}(),fetch("".concat(e,"?currentPageId=").concat(t,"&lang=").concat(n),{credentials:"include",headers:{Accept:"text/html","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"}}).then((function(e){if(!e.ok)throw Error("Unsuccessful response");return e.text().then((function(e){var t=JSON.parse(e);t.Success&&f(t.View)}))})).catch((function(e){console.warn(e),i.addEventListener("click",m)})).finally((function(){var e;i.removeEventListener("click",m),o.removeListener(g),(e=document.querySelector(".m-menu-loader")).parentNode.removeChild(e)}))},g=function(e){return e.matches?"false"===a.getAttribute("aria-hidden")?(h(n,r),!1):(i.addEventListener("click",m),!0):(i.removeEventListener("click",m),!1)},v=function(e,t,n){var r=t.closest(s),o=t.closest(".js-menu-list"),i=window.innerHeight,a=e.closest("header"),c=a.clientHeight,u=a.querySelector(".js-language-mobile").clientHeight,l=r.querySelector(".js-menu-item").clientHeight,d=Math.floor((i-(c+u))/l);r.style.overflowY=null,e.classList.contains("m-menu__toggle--back")?o&&o.children.length<=d&&(r.style.overflowY="hidden"):n.children.length<=d?r.style.overflowY="hidden":n.style.minHeight="".concat(r.scrollHeight,"px")};o.addListener(g),g(o)}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(e,t)}(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 G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Z=".js-googlemap",J=[],Q=document.querySelector(".js-show-text"),ee={url:"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent('\n    <svg xmlns="http://www.w3.org/2000/svg" width="25" height="35" viewBox="0 0 300 435" fill="none">\n      <circle cx="150" cy="150" r="150" fill="#006390" transform="scale(1)" />\n      <path d="M150 435L23.5603 230.25L276.44 230.25L150 435Z" fill="#006390" transform="scale(1)" />\n      <path d="M104.51 166.18C118.926 158.489 131.54 147.815 141.51 134.87C135.473 125.328 130.734 115.024 127.42 104.23C120.429 118.547 109.56 130.615 96.0507 139.061C82.5412 147.508 66.9327 151.994 51 152.01V180.35C73.532 180.387 95.1306 189.354 111.063 205.287C126.996 221.219 135.963 242.818 136 265.35H164.34C164.38 222.09 140.3 185.35 104.51 166.18ZM195.92 166.18C181.5 173.866 168.886 184.54 158.92 197.49C164.954 207.032 169.689 217.337 173 228.13C179.992 213.814 190.861 201.747 204.37 193.3C217.88 184.854 233.488 180.367 249.42 180.35V152C226.886 151.968 205.285 143.003 189.351 127.069C173.417 111.135 164.452 89.5337 164.42 67H136C136 110.26 160.13 147.01 195.92 166.18Z" fill="#34E0A1" transform="scale(1)" />\n    </svg>\n  ')},te={url:"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent('\n    <svg xmlns="http://www.w3.org/2000/svg" width="25" height="35" viewB
2ox="0 0 300 435" fill="none">\n      <circle cx="150" cy="150" r="150" fill="#34E0A1" transform="scale(1)" />\n      <path d="M150 435L23.5603 230.25L276.44 230.25L150 435Z" fill="#34E0A1" transform="scale(1)" />\n      <path d="M104.51 166.18C118.926 158.489 131.54 147.815 141.51 134.87C135.473 125.328 130.734 115.024 127.42 104.23C120.429 118.547 109.56 130.615 96.0507 139.061C82.5412 147.508 66.9327 151.994 51 152.01V180.35C73.532 180.387 95.1306 189.354 111.063 205.287C126.996 221.219 135.963 242.818 136 265.35H164.34C164.38 222.09 140.3 185.35 104.51 166.18ZM195.92 166.18C181.5 173.866 168.886 184.54 158.92 197.49C164.954 207.032 169.689 217.337 173 228.13C179.992 213.814 190.861 201.747 204.37 193.3C217.88 184.854 233.488 180.367 249.42 180.35V152C226.886 151.968 205.285 143.003 189.351 127.069C173.417 111.135 164.452 89.5337 164.42 67H136C136 110.26 160.13 147.01 195.92 166.18Z" fill="white" transform="scale(1)" />\n    </svg>\n  ')},ne=function(){if("undefined"==typeof google||void 0===google.maps||void 0===google.maps.Map){var e=document.createElement("script");e.src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAwtviTF8LOlgJyeyZ6uRpcL97vz_SX6Pg";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t);var n=document.createElement("script");n.src="https://unpkg.com/@google/[email protected]/dist/markerclustererplus.min.js",t.parentNode.insertBefore(n,t)}},re=function(){var e=X(document.querySelectorAll(Z));if(e.length)for(var t=0;t<e.length;t++){var n,r=e[t],o={lat:parseFloat(r.dataset.lat),lng:parseFloat(r.dataset.lng)},i=new google.maps.InfoWindow,a=X(r.querySelectorAll(".js-marker-locations")),c=new google.maps.Map(r.querySelector(".js-map"),($(n={zoomControlOptions:{position:google.maps.ControlPosition.LEFT_TOP},center:o,mapTypeControl:!1,streetViewControl:!1,zoom:parseInt(r.dataset.zoom),maxZoom:18},"mapTypeControl",!1),$(n,"streetViewControl",!1),$(n,"streetViewControlOptions",{position:google.maps.ControlPosition.LEFT_TOP}),$(n,"styles",[{featureType:"administrative",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#d0d0d0"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#d0d0d0"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#d0d0d0"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#d0d0d0"},{lightness:16}]},{featureType:"transit",elementType:"all",stylers:[{color:"#fff"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{hue:"#727D82"},{lightness:-30},{saturation:-80}]},{featureType:"water",elementType:"all",stylers:[{visibility:"simplified"},{color:"#e1e1e1"}]}]),n));if(a.length){var s=[];s.push({lat:parseFloat(r.dataset.lat),lng:parseFloat(r.dataset.lng),title:r.dataset.title,url:r.dataset.url,phone:r.dataset.phone,description:r.dataset.description,highLighted:!0});for(t=0;t<a.length;t++)s.push({lat:parseFloat(a[t].dataset.lat),lng:parseFloat(a[t].dataset.lng),title:a[t].dataset.title,url:a[t].dataset.url,phone:a[t].dataset.phone,description:a[t].dataset.description,highLighted:!1});for(var u=0;u<s.length;u++)oe(c,i,s[u]);new MarkerClusterer(c,J,{imagePath:"/Static/images/markers/icon-marker",gridSize:36,maxZoom:18})}}};function oe(e,t,n){var r=new google.maps.Marker({position:{lat:n.lat,lng:n.lng},map:e,title:n.title,icon:n.highLighted?te:ee});J.push(r),n.title&&google.maps.event.addListener(r,"click",(function(){t.close(),t.setContent('<div class="googlemaps__infowindow"><h3 class="text-medium-blue text-xl">'.concat(n.title,'</h3>\n    <div class="d-flex justify-content-between">\n        <div>\n          <p class="text-base"><span class="d-block mb-3">').concat(n.description,'</span>\n              <span class="d-block mb-2"> ').concat(n.phone,'</span>\n            </p></div>\n        <div class="mt-auto pb-3">\n            <a href="').concat(n.url,'" class="button button-reset button-googlemap">').concat(Q.value,"</a>\n        </div></div>  </div>")),t.open(e,r),setTimeout((function(e){var t=document.querySelector(".gm-ui-hover-effect"),n=document.createElement("span"),r=document.createElement("span");t.classList.add("googlemaps__close"),t.innerText="",t.appendChild(n),t.appendChild(r)}),1)}))}n(8194);function ie(e){return function(e){if(Array.isArray(e))return ae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(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 ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ce={init:function(){var e=this,t=ie(document.querySelectorAll(".js-modal"));t.length&&t.forEach((function(e){"1"!==e.dataset.open||Cookies.get("cookie-popup-dismissed")||e.classList.add("modal--show")}));var n=ie(document.querySelectorAll(".js-modal-close"));
2n.length&&n.forEach((function(t){t.addEventListener("click",e.onModalCloseClick)}))},onModalCloseClick:function(e){e.preventDefault();var t=e.currentTarget.closest(".js-modal");if(t.classList.remove("modal--show"),"1"===t.dataset.setcookie){Cookies.set("cookie-popup-dismissed","true",{expires:365,path:"/"})}}};function se(e){return function(e){if(Array.isArray(e))return ue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ue(e,t)}(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 ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var le={init:function(){var e=this,t=se(document.querySelectorAll(".js-accordion-button"));t.length&&t.forEach((function(t){t.addEventListener("click",e.onAccordionBtnClick)}))},onAccordionBtnClick:function(e){e.target.closest(".js-accordion").classList.add("accordion--open")}},de={init:function(){var e=document.querySelector(".js-side-menu-button");null!=e&&e.addEventListener("click",this.sideMenuBtnClick)},sideMenuBtnClick:function(e){var t=document.querySelector(".js-side-menu-nav");null!=t&&(t.classList.toggle("d-none"),e.srcElement.innerText=t.classList.contains("d-none")?e.srcElement.dataset.show:e.srcElement.dataset.hide)}},fe=(n(6699),n(2023),n(3123),n(1249),n(6755),n(189),n(285),n(4765),{loader:document.querySelector(".js-loader"),query:"office-search",init:function(){var e=document.querySelector(".js-search-auto-complete");e&&e.addEventListener("keyup",this.displayAutoCompleteOptions);var t=document.querySelector(".js-search-office-form");t&&t.addEventListener("submit",this.onOfficeFormSubmit),window.location.href.includes(fe.query)&&t&&fe.handleQuery(t);var n=document.querySelector(".js-category-select");n&&n.addEventListener("change",this.onCategorySelectChange);var r=document.querySelector(".js-office-lookup");r&&r.addEventListener("click",this.onOfficeLookupBtnClick)},displayAutoCompleteOptions:function(){var e=document.querySelector(".js-search-auto-complete"),t=document.querySelector(".js-auto-complete-options"),n=document.querySelector(".js-search-autocomplete"),r=document.querySelector(".js-search-office-form");if(e.value.length>1){var o=t.innerHTML.split("|");o=o.map((function(e){return e.replace("(","").replace(")","")}));var i=[];o.forEach((function(t){t.split(" ").forEach((function(t){var n=t.toLowerCase();"-"!=t&&"bravida"!=n&&"&amp;"!=n&&n.length>2&&n.startsWith(e.value.toLowerCase())&&i.push(t)}))}));var a=(i=Array.from(new Set(i))).filter((function(t){return t.toLowerCase().includes(e.value.toLowerCase())}));if(a.length){n.innerHTML="";a.slice(0,15).forEach((function(t){var o=document.createElement("li");o.addEventListener("click",(function(){r&&(e.value=t,fe.showLoader(),fe.doSearch(r),n.classList.add("d-none"))})),o.innerHTML=t,n.appendChild(o)})),n.classList.remove("d-none")}else n.classList.add("d-none")}else n.classList.add("d-none")},onOfficeFormSubmit:function(e){e.preventDefault(),fe.showLoader(),fe.doSearch(e.target)},onCategorySelectChange:function(e){var t=document.querySelector(".js-search-office-form");fe.showLoader(),fe.doSearch(t)},doSearch:function(e){fetch(e.action,{method:e.method,body:new FormData(e)}).then((function(e){return e.json()})).then((function(e){e.View&&fe.setResultsView(e.View),fe.hideLoader()})),fe.pushQuery(e)},onOfficeLookupBtnClick:function(e){e.preventDefault(),fe.showLoader(),navigator.geolocation&&navigator.geolocation.getCurrentPosition(fe.getCurrentPosition,fe.failedToGetPosition)},failedToGetPosition:function(){document.querySelector(".js-officesearcherror").classList.add("officesearcherror--open");var e=document.querySelector(".js-officesearchresult");
2e.innerHTML=null,e.classList.add("officesearchresult--open"),fe.hideLoader()},getCurrentPosition:function(e){if(e){var t=e.coords.latitude,n=e.coords.longitude,r=document.querySelector(".js-find-office-url").value;r+="?latitude=".concat(t,"&longitude=").concat(n),fetch(r,{method:"POST"}).then((function(e){return e.json()})).then((function(e){e.View&&(fe.setResultsView(e.View),fe.hideLoader())}))}},setResultsView:function(e){var t=document.querySelector(".js-officesearchresult");t.innerHTML=e,t.classList.remove("officesearchresult--open"),document.querySelector(".js-officesearcherror").classList.remove("officesearcherror--open");setTimeout((function(e){t.classList.add("officesearchresult--open")}),50)},pushQuery:function(e){var t=e.querySelector("#SearchForm_Query").value,n="?".concat(fe.query,"=").concat(t);window.history.pushState("","",n)},handleQuery:function(e){var t=e.querySelector('[type="submit"]'),n=e.querySelector("#SearchForm_Query"),r=new URLSearchParams(window.location.search);n.value=r.get(fe.query),t.click()},showLoader:function(){document.querySelector(".loader--container__search-offices").classList.remove("d-none"),fe.loader.classList.add("loader--loading")},hideLoader:function(){document.querySelector(".loader--container__search-offices").classList.add("d-none"),fe.loader.classList.remove("loader--loading")}});function pe(e){return function(e){if(Array.isArray(e))return me(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return me(e,t)}(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 me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var he={init:function(){var e=document.querySelector(".js-button-list");e&&e.addEventListener("click",this.onListBtnClick)},onListBtnClick:function(e){e.preventDefault();var t=e.target,n=parseInt(t.dataset.page),r=parseInt(t.dataset.lastpage);fetch("".concat(window.location.href,"?page=").concat(n),{credentials:"include",headers:{Accept:"text/html","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"}}).then((function(e){return e.json()})).then((function(e){if(e.View){var o=document.querySelector(".js-list"),i=document.createElement("div");i.innerHTML=e.View,pe(i.querySelectorAll("li")).forEach((function(e){o.appendChild(e)}))}n>=r?t.remove():(n++,t.dataset.page=n)}))}},ge={init:function(){var e=this,t=document.querySelector(".js-cookiebanner");!t||Cookies.get("cookieAccepted")&&t||(t.classList.add("show"),document.querySelector(".js-cookie-disclaimer-btn").addEventListener("click",this.onAcceptCookieClick));var n=document.querySelectorAll(".js-cookie-concent-change");n.length&&n.forEach((function(t){t.addEventListener("click",e.onChangeCookies)}))},onAcceptCookieClick:function(e){e.preventDefault(),Cookies.set("cookieAccepted","true",{expires:365,path:"/"}),document.querySelector(".js-cookiebanner").classList.remove("show")},onChangeCookies:function(e){e.preventDefault(),Cookiebot.renew()}};function ve(e){return function(e){if(Array.isArray(e))return ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ye(e,t)}(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 ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var be={heatSteps:ve(document.querySelectorAll(".js-heatpumpstep")),stepCounter:document.querySelector(".js-stepcounter"),topPrevText:document.querySelector(".js-prev-next-step"),topPrevArrow:document.querySelector(".js-
2heat-prev"),heatRanges:ve(document.querySelectorAll('.js-heatpumprecommendation input[type="range"]')),heatNumberInputs:ve(document.querySelectorAll('.js-heatpumprecommendation input[type="number"]')),heatRadios:ve(document.querySelectorAll('.js-heatpumprecommendation input[type="radio"]')),resultsBtn:document.querySelector(".js-result-anchor"),heatSourceInputs:ve(document.querySelectorAll('[name="HeatSource"]')),init:function(){var e=this,t=ve(document.querySelectorAll(".js-step-anchor"));t.length&&this.topPrevArrow&&(t.forEach((function(t){t.addEventListener("click",e.onStepAnchorClick)})),this.topPrevArrow.addEventListener("click",this.onPrevArrowClick),this.heatRanges.forEach((function(e){e.addEventListener("input",be.onRangeChange)})),this.heatNumberInputs.forEach((function(e){e.addEventListener("blur",be.onNumberInputBlur)})),this.heatRadios.forEach((function(e){e.addEventListener("change",be.onHeatRadiosChange)})),this.resultsBtn.addEventListener("click",be.onResultsBtnClick),this.heatSourceInputs.forEach((function(e){e.addEventListener("change",be.onHeatSourceInputChange)})))},onStepAnchorClick:function(e){e.preventDefault();var t=e.currentTarget;if(!t.classList.contains("disabled")){var n=t.dataset.step;be.switchToCorrectStep(n)}},onPrevArrowClick:function(e){var t=be.stepCounter.dataset.currentstep-1;be.switchToCorrectStep(t)},switchToCorrectStep:function(e){be.stepCounter.dataset.currentstep=e,be.topPrevText.innerText=e,be.heatSteps.forEach((function(t){t.dataset.step==e?t.classList.add("heatpumprecommendation__step--current"):t.classList.remove("heatpumprecommendation__step--current")})),e>1?be.topPrevArrow.classList.remove("d-none"):be.topPrevArrow.classList.add("d-none")},onRangeChange:function(e){var t=e.currentTarget,n=t.nextElementSibling,r=t.previousElementSibling.querySelector('input[type="number"]');t.style.setProperty("--val",t.value),n.value=t.value,r&&(r.value=t.value),be.enableNextBtn(e.currentTarget)},onNumberInputBlur:function(e){var t=e.currentTarget,n=t.parentElement.nextElementSibling,r=t.nextElementSibling;n.style.setProperty("--val",t.value),n.value=t.value,r.value=t.value,be.enableNextBtn(e.currentTarget)},onHeatRadiosChange:function(e){be.enableNextBtn(e.currentTarget)},onHeatSourceInputChange:function(e){var t=document.querySelector(".js-heat-spending"),n=document.querySelector(".js-heat-spending-range"),r=document.querySelector(".js-unit"),o=document.querySelector(".js-solidfuel-helptext"),i=e.currentTarget.value;t.max=5e3,n.max=5e3,o.classList.add("d-none"),"pellets"===i?r.innerText="kg":"gas"===i?r.innerText="m3":"solidfuel"===i?(r.innerText="Rm",t.max=22,n.max=22,o.classList.remove("d-none")):r.innerText="L"},enableNextBtn:function(e){var t=e.closest(".js-heatpumpstep").querySelector(".js-next-anchor");t.classList.remove("disabled"),t.classList.add("button--inverted")},onResultsBtnClick:function(e){e.preventDefault();var t=e.currentTarget;if(!t.classList.contains("disabled")){var n=t.querySelector(".js-loader");n.classList.add("loader--loading");var r="".concat(window.location.origin,"/Api/CalculateHeatPumpRecommendation/"),o=be.getInputValues();fetch(r,{method:"POST",body:JSON.stringify(o),credentials:"include",headers:{Accept:"text/html","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"}}).then((function(e){return e.json()})).then((function(e){if(e.View){be.switchToCorrectStep(9),document.querySelector(".js-resultsstep").innerHTML=e.View,n.classList.remove("loader--loading"),document.querySelector(".js-contactus-btn").addEventListener("click",(function(t){be.onContactBtnClick(t,e.HiddenFieldValue)}))}}))}},onContactBtnClick:function(e,t){e.preventDefault();var n=document.querySelector(".js-resultsform");n.classList.remove("d-none"),n.querySelector(".js-form-hiddenfield").value=t},getInputValues:function(){return{HeatSource:document.querySelector('[name="HeatSource"]:checked').value,HeatSpending:document.querySelector('[name="HeatSpending"]').value,AgeValuePercent:document.querySelector('[name="Age"]:checked').value,NumberOfPeopleInHouseHold:document.querySelector('[name="PeopleInHouseHold"]:checked').value,CentralHeating:document.querySelector('[name="CentralHeating"]:checked').value,HeatingArea:document.querySelector('[name="HeatingArea"]').value,EnergySupplement:document.querySelector('[name="EnergySupplement"]:checked').value,CurrentBlockId:document.querySelector(".js-currentBlockId").value}}}
2,Se=document.querySelector(".js-hero-video"),we=null==Se?void 0:Se.querySelector("source"),Ae=null==Se?void 0:Se.dataset.videoSrc,Ee=null==Se?void 0:Se.dataset.videoType,Ce=null==Se?void 0:Se.dataset.mobileVideoSrc,Le=null==Se?void 0:Se.dataset.mobileVideoType,ke=document.querySelector(".js-mobile-hero-image-no-mobile-video"),je=document.querySelector(".js-hero-toggle-play"),xe=null==je?void 0:je.querySelector(".js-hero-toggle-lable"),qe=null==je?void 0:je.getAttribute("data-video-play"),Te=null==je?void 0:je.getAttribute("data-video-pause"),Ie=function(){return localStorage.getItem("play-disabled")},_e=function(){return window.innerWidth>=Oe},Oe=768,Pe=!1,Me=function(){Se.play()},He=function(e,t){!function(e,t){we.setAttribute("src",e),we.setAttribute("type",t)}(e,t),Se.load(),Ie()?Be():(Me(),ze())},Ne=function(){Ie()?(localStorage.removeItem("play-disabled"),Me(),ze()):(localStorage.setItem("play-disabled","true"),Se.pause(),Be())},ze=function(){je&&(je.setAttribute("aria-pressed","true"),xe.textContent=Te)},Be=function(){je&&(je.setAttribute("aria-pressed","false"),xe.textContent=qe)},Re=function(){Se&&we&&(_e()&&Ae&&Ee&&(He(Ae,Ee),Pe=!0),!_e()&&Ce&&Le?He(Ce,Le):!_e()&&Ae&&Ee&&!ke&&He(Ae,Ee),window.addEventListener("resize",(function(){Pe&&!_e()&&Ce&&Le&&(He(Ce,Le),Pe=!1),!Pe&&_e()&&Ae&&Ee&&(He(Ae,Ee),Pe=!0)})),je&&je.addEventListener("click",Ne))},Fe=n(2711),De=n.n(Fe);n(3680),n(2703),n(3706),n(9601),n(7941),n(5069),n(561),n(2707);function Ue(e){return(Ue="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)}function Ve(e){return function(e){if(Array.isArray(e))return Ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ye(e,t)}(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 Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(){var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{CREATED:function(){return F},DESTROYED:function(){return Y},IDLE:function(){return U},MOUNTED:function(){return D},MOVING:function(){return V}});function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var r=Object.keys;function o(e,t){r(e).some((function(n,r){return t(e[n],n,r)}))}function i(e){return r(e).map((function(t){return e[t]}))}function a(e){return"object"===Ue(e)}function c(e,t){var r=n({},e);return o(t,(function(e,t){a(e)?(a(r[t])||(r[t]={}),r[t]=c(r[t],e)):r[t]=e})),r}function s(e){return Array.isArray(e)?e:[e]}function u(e,t,n){return Math.min(Math.max(e,t>n?n:t),t>n?t:n)}function l(e,t){var n=0;return e.replace(/%s/g,(function(){return s(t)[n++]}))}function d(e){var t=Ue(e);return"number"===t&&e>0?parseFloat(e)+"px":"string"===t?e:""}function f(e){return e<10?"0"+e:e}function p(e,t){if("string"==typeof t){var n=v("div",{});A(n,{position:"absolute",width:t}),S(e,n),t=n.clientWidth,b(n)}return+t||0}function m(e,t){return e?e.querySelector(t.split(" ")[0]):null}function h(e,t){return g(e,t)[0]}function g(e,t){return e?i(e.children).filter((function(e){return k(e,t.split(" ")[0])||e.tagName===t})):[]}function v(e,t){var n=document.createElement(e);return o(t,(function(e,t){return j(n,t,e)})),n}function y(e){var t=v("div",{});return t.innerHTML=e,t.firstChild}function b(e){s(e).forEach((function(e){if(e){var t=e.parentElement;t&&t.removeChild(e)}}))}function S(e,t){e&&e.appendChild(t)}function w(e,t){if(e&&t){var n=t.parentElement;n&&n.insertBefore(e,t)}}function A(e,t){e&&o(t,(function(t,n){null!==t&&(e.style[n]=t)}))}function E(e,t,n){e&&s(t).forEach((function(t){t&&e.classList[n?"remove":"add"](t)}))}function C(e,t){E(e,t,!1)}function L(e,t){E(e,t,!0)}function k(e,t){return!!e&&e.classList.contains(t)}function j(e,t,n){e&&e.setAttribute(t,n)}function x(e,t){return e?e.getAttribute(t):""}function q(e,t){s(t).forEach((function(t){s(e).forEach((function(e){return e&&e.removeAttribute(t)}))}
2))}function T(e){return e.getBoundingClientRect()}var I="slide",_="loop",O="fade",P=function(e,t){var n,r;return{mount:function(){n=t.Elements.list,e.on("transitionend",(function(e){e.target===n&&r&&r()}),n)},start:function(o,i,a,c,s){var u=e.options,l=t.Controller.edgeIndex,d=u.speed;r=s,e.is(I)&&(0===a&&i>=l||a>=l&&0===i)&&(d=u.rewindSpeed||d),A(n,{transition:"transform "+d+"ms "+u.easing,transform:"translate("+c.x+"px,"+c.y+"px)"})}}},M=function(e,t){function n(n){var r=e.options;A(t.Elements.slides[n],{transition:"opacity "+r.speed+"ms "+r.easing})}return{mount:function(){n(e.index)},start:function(e,r,o,i,a){var c=t.Elements.track;A(c,{height:d(c.clientHeight)}),n(r),setTimeout((function(){a(),A(c,{height:""})}))}}};function H(e){console.error("[SPLIDE] "+e)}function N(e,t){if(!e)throw new Error(t)}var z="splide",B={active:"is-active",visible:"is-visible",loading:"is-loading"},R={type:"slide",rewind:!1,speed:400,rewindSpeed:0,waitForTransition:!0,width:0,height:0,fixedWidth:0,fixedHeight:0,heightRatio:0,autoWidth:!1,autoHeight:!1,perPage:1,perMove:0,clones:0,start:0,focus:!1,gap:0,padding:0,arrows:!0,arrowPath:"",pagination:!0,autoplay:!1,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,lazyLoad:!1,preloadPages:1,easing:"cubic-bezier(.42,.65,.27,.99)",keyboard:"global",drag:!0,dragAngleThreshold:30,swipeDistanceThreshold:150,flickVelocityThreshold:.6,flickPower:600,flickMaxPages:1,direction:"ltr",cover:!1,accessibility:!0,slideFocus:!0,isNavigation:!1,trimSpace:!0,updateOnMove:!1,throttle:100,destroy:!1,breakpoints:!1,classes:{root:z,slider:z+"__slider",track:z+"__track",list:z+"__list",slide:z+"__slide",container:z+"__slide__container",arrows:z+"__arrows",arrow:z+"__arrow",prev:z+"__arrow--prev",next:z+"__arrow--next",pagination:z+"__pagination",page:z+"__pagination__page",clone:z+"__slide--clone",progress:z+"__progress",bar:z+"__progress__bar",autoplay:z+"__autoplay",play:z+"__play",pause:z+"__pause",spinner:z+"__spinner",sr:z+"__sr"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay"}},F=1,D=2,U=3,V=4,Y=5;function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var K=function(){function e(e,n,r){var o;void 0===n&&(n={}),void 0===r&&(r={}),this.root=e instanceof Element?e:document.querySelector(e),N(this.root,"An invalid element/selector was given."),this.Components=null,this.Event=function(){var e=[];function t(e){e.elm&&e.elm.removeEventListener(e.event,e.handler,e.options)}return{on:function(t,n,r,o){void 0===r&&(r=null),void 0===o&&(o={}),t.split(" ").forEach((function(t){r&&r.addEventListener(t,n,o),e.push({event:t,handler:n,elm:r,options:o})}))},off:function(n,r){void 0===r&&(r=null),n.split(" ").forEach((function(n){e=e.filter((function(e){return!e||e.event!==n||e.elm!==r||(t(e),!1)}))}))},emit:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.forEach((function(e){e.elm||e.event.split(".")[0]!==t||e.handler.apply(e,r)}))},destroy:function(){e.forEach(t),e=[]}}}(),this.State=(o=F,{set:function(e){o=e},is:function(e){return e===o}}),this.STATES=t,this._o=c(R,n),this._i=0,this._c=r,this._e={},this._t=null}var n,r,a,s=e.prototype;return s.mount=function(e,t){var n=this;void 0===e&&(e=this._e),void 0===t&&(t=this._t),this.State.set(F),this._e=e,this._t=t,this.Components=function(e,t,n){var r={};return o(t,(function(t,n){r[n]=t(e,r,n.toLowerCase())})),n||(n=e.is(O)?M:P),r.Transition=n(e,r),r}(this,c(this._c,e),t);try{o(this.Components,(function(e,t){var r=e.required;void 0===r||r?e.mount&&e.mount():delete n.Components[t]}))}catch(e){return void H(e.message)}var r=this.State;return r.set(D),o(this.Components,(function(e){e.mounted&&e.mounted()})),this.emit("mounted"),r.set(U),this.emit("ready"),A(this.root,{visibility:"visible"}),this.on("move drag",(function(){return r.set(V)})).on("moved dragged",(function(){return r.set(U)})),this},s.sync=function(e){return this.sibling=e,this},s.on=function(e,t,n,r){return void 0===n&&(n=null),void 0===r&&(r={}),this.Event.on(e,t,n,r),this},s.off=function(e,t){return void 0===t&&(t=null),this.Event.off(e,t),this},s.emit=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.Event).emit.apply(t,[e].concat(r)),this},s.go=function(e,t){return void 0===t&&(t=this.options.waitForTransition),(this.State.is(U)||this.State.is(V)&&!t)&&this.Components.Controller.go(e,!1),this},s.is=function(e){return e===this._o.type},s.add=function(e,t){return void 0===t&&(t=-1),this.Components.Elements.add(e,t,this.refresh.bind(this)),this},s.remove=function(e){return this.Components.Elements.remove(e),this.refresh(),this}
2,s.refresh=function(){return this.emit("refresh:before").emit("refresh").emit("resize"),this},s.destroy=function(e){var t=this;if(void 0===e&&(e=!0),!this.State.is(F))return i(this.Components).reverse().forEach((function(t){t.destroy&&t.destroy(e)})),this.emit("destroy",e),this.Event.destroy(),this.State.set(Y),this;this.on("ready",(function(){return t.destroy(e)}))},n=e,(r=[{key:"index",get:function(){return this._i},set:function(e){this._i=parseInt(e)}},{key:"length",get:function(){return this.Components.Elements.length}},{key:"options",get:function(){return this._o},set:function(e){var t=this.State.is(F);t||this.emit("update"),this._o=c(this._o,e),t||this.emit("updated",this._o)}},{key:"classes",get:function(){return this._o.classes}},{key:"i18n",get:function(){return this._o.i18n}}])&&W(n.prototype,r),a&&W(n,a),e}(),$=function(e){var t=x(e.root,"data-splide");if(t)try{e.options=JSON.parse(t)}catch(e){H(e.message)}return{mount:function(){e.State.is(F)&&(e.index=e.options.start)}}},X="rtl",G="ttb",Z="update.slide",J=function(e,t){var n=e.root,r=e.classes,a=[];if(!n.id){window.splide=window.splide||{};var c=window.splide.uid||0;window.splide.uid=++c,n.id="splide"+f(c)}var s={mount:function(){var t=this;this.init(),e.on("refresh",(function(){t.destroy(),t.init()})).on("updated",(function(){L(n,u()),C(n,u())}))},destroy:function(){a.forEach((function(e){e.destroy()})),a=[],L(n,u())},init:function(){var e=this;!function(){s.slider=h(n,r.slider),s.track=m(n,"."+r.track),s.list=h(s.track,r.list),N(s.track&&s.list,"Track or list was not found."),s.slides=g(s.list,r.slide);var e=l(r.arrows);s.arrows={prev:m(e,"."+r.prev),next:m(e,"."+r.next)};var t=l(r.autoplay);s.bar=m(l(r.progress),"."+r.bar),s.play=m(t,"."+r.play),s.pause=m(t,"."+r.pause),s.track.id=s.track.id||n.id+"-track",s.list.id=s.list.id||n.id+"-list"}(),C(n,u()),this.slides.forEach((function(t,n){e.register(t,n,-1)}))},register:function(t,n,r){var o=function(e,t,n,r){var o=e.options.updateOnMove,a="ready.slide updated.slide resized.slide moved.slide"+(o?" move.slide":""),c={slide:r,index:t,realIndex:n,container:h(r,e.classes.container),isClone:n>-1,mount:function(){var i=this;this.isClone||(r.id=e.root.id+"-slide"+f(t+1)),e.on(a,(function(){return i.update()})).on(Z,u).on("click",(function(){return e.emit("click",i)}),r),o&&e.on("move.slide",(function(e){e===n&&s(!0,!1)})),A(r,{display:""}),this.styles=x(r,"style")||""},destroy:function(){e.off(a).off(Z).off("click",r),L(r,i(B)),u(),q(this.container,"style")},update:function(){s(this.isActive(),!1),s(this.isVisible(),!0)},isActive:function(){return e.index===t},isVisible:function(){var t=this.isActive();if(e.is(O)||t)return t;var n=Math.ceil,o=T(e.Components.Elements.track),i=T(r);return e.options.direction===G?o.top<=i.top&&i.bottom<=n(o.bottom):o.left<=i.left&&i.right<=n(o.right)},isWithin:function(n,r){var o=Math.abs(n-t);return e.is(I)||this.isClone||(o=Math.min(o,e.length-o)),o<r}};function s(t,n){var o=n?"visible":"active",i=B[o];t?(C(r,i),e.emit(""+o,c)):k(r,i)&&(L(r,i),e.emit(n?"hidden":"inactive",c))}function u(){j(r,"style",c.styles)}return c}(e,n,r,t);o.mount(),a.push(o)},getSlide:function(e){return a.filter((function(t){return t.index===e}))[0]},getSlides:function(e){return e?a:a.filter((function(e){return!e.isClone}))},getSlidesByPage:function(n){var r=t.Controller.toIndex(n),o=e.options,i=!1!==o.focus?1:o.perPage;return a.filter((function(e){var t=e.index;return r<=t&&t<r+i}))},add:function(e,t,n){if("string"==typeof e&&(e=y(e)),e instanceof Element){var r=this.slides[t];A(e,{display:"none"}),r?(w(e,r),this.slides.splice(t,0,e)):(S(this.list,e),this.slides.push(e)),function(e,t){var n=e.querySelectorAll("img"),r=n.length;if(r){var i=0;o(n,(function(e){e.onload=e.onerror=function(){++i===r&&t()}}))}else t()}(e,(function(){n&&n(e)}))}},remove:function(e){b(this.slides.splice(e,1)[0])},each:function(e){a.forEach(e)},get length(){return this.slides.length},get total(){return a.length}};function u(){var t=r.root,n=e.options;return[t+"--"+n.type,t+"--"+n.direction,n.drag?t+"--draggable":"",n.isNavigation?t+"--nav":"",B.active]}function l(e){return h(n,e)||h(s.slider,e)}return s},Q=Math.floor,ee=function(e,t){var n,r,o={mount:function(){n=e.options,r=e.is(_),e.on("move",(function(t){e.index=t})).on("updated refresh",(function(t){n=t||n,e.index=u(e.index,0,o.edgeIndex)}))},go:function(e,n){var r=this.trim(this.parse(e));t.Track.go(r,this.rewind(r),n)},parse:function(t){var r=e.index,i=String(t).match(/([+\-<>]+)(\d+)?/),a=i?i[1]:"",c=i?parseInt(i[2]):0;switch(a){case"+":r+=c||1;break;case"-":r-=c||1;break;case">":case"<":r=function(e,t,r){if(e>-1)return o.toIndex(e);var i=n.perMove,a=r?-1:1;
2if(i)return t+i*a;return o.toIndex(o.toPage(t)+a)}(c,r,"<"===a);break;default:r=parseInt(t)}return r},toIndex:function(t){if(i())return t;var r=e.length,o=n.perPage,a=t*o;return r-o<=(a-=(this.pageLength*o-r)*Q(a/r))&&a<r&&(a=r-o),a},toPage:function(t){if(i())return t;var r=e.length,o=n.perPage;return Q(r-o<=t&&t<r?(r-1)/o:t/o)},trim:function(e){return r||(e=n.rewind?this.rewind(e):u(e,0,this.edgeIndex)),e},rewind:function(e){var t=this.edgeIndex;if(r){for(;e>t;)e-=t+1;for(;e<0;)e+=t+1}else e>t?e=0:e<0&&(e=t);return e},isRtl:function(){return n.direction===X},get pageLength(){var t=e.length;return i()?t:Math.ceil(t/n.perPage)},get edgeIndex(){var t=e.length;return t?i()||n.isNavigation||r?t-1:t-n.perPage:0},get prevIndex(){var t=e.index-1;return(r||n.rewind)&&(t=this.rewind(t)),t>-1?t:-1},get nextIndex(){var t=e.index+1;return(r||n.rewind)&&(t=this.rewind(t)),e.index<t&&t<=this.edgeIndex||0===t?t:-1}};function i(){return!1!==n.focus}return o},te=Math.abs,ne=function(e,t){var n,r,o,i=e.options.direction===G,a=e.is(O),c=e.options.direction===X,s=!1,l=c?1:-1,d={sign:l,mount:function(){r=t.Elements,n=t.Layout,o=r.list},mounted:function(){var t=this;a||(this.jump(0),e.on("mounted resize updated",(function(){t.jump(e.index)})))},go:function(n,r,o){var i=p(n),c=e.index;e.State.is(V)&&s||(s=n!==r,o||e.emit("move",r,c,n),Math.abs(i-this.position)>=1||a?t.Transition.start(n,r,c,this.toCoord(i),(function(){f(n,r,c,o)})):n!==c&&"move"===e.options.trimSpace?t.Controller.go(n+n-c,o):f(n,r,c,o))},jump:function(e){this.translate(p(e))},translate:function(e){A(o,{transform:"translate"+(i?"Y":"X")+"("+e+"px)"})},cancel:function(){e.is(_)?this.shift():this.translate(this.position),A(o,{transition:""})},shift:function(){var t=te(this.position),n=te(this.toPosition(0)),r=te(this.toPosition(e.length)),o=r-n;t<n?t+=o:t>r&&(t-=o),this.translate(l*t)},trim:function(t){return!e.options.trimSpace||e.is(_)?t:u(t,l*(n.totalSize()-n.size-n.gap),0)},toIndex:function(e){var t=this,n=0,o=1/0;return r.getSlides(!0).forEach((function(r){var i=r.index,a=te(t.toPosition(i)-e);a<o&&(o=a,n=i)})),n},toCoord:function(e){return{x:i?0:e,y:i?e:0}},toPosition:function(e){var t=n.totalSize(e)-n.slideSize(e)-n.gap;return l*(t+this.offset(e))},offset:function(t){var r=e.options.focus,o=n.slideSize(t);return"center"===r?-(n.size-o)/2:-(parseInt(r)||0)*(o+n.gap)},get position(){var e=i?"top":c?"right":"left";return T(o)[e]-(T(r.track)[e]-n.padding[e]*l)}};function f(t,n,r,i){A(o,{transition:""}),s=!1,a||d.jump(n),i||e.emit("moved",n,r,t)}function p(e){return d.trim(d.toPosition(e))}return d},re=function(e,t){var n=[],r=0,o=t.Elements,i={mount:function(){var t=this;e.is(_)&&(a(),e.on("refresh:before",(function(){t.destroy()})).on("refresh",a).on("resize",(function(){r!==c()&&(t.destroy(),e.refresh())})))},destroy:function(){b(n),n=[]},get clones(){return n},get length(){return n.length}};function a(){i.destroy(),function(e){var t=o.length,r=o.register;if(t){for(var i=o.slides;i.length<e;)i=i.concat(i);i.slice(0,e).forEach((function(e,i){var a=s(e);S(o.list,a),n.push(a),r(a,i+t,i%t)})),i.slice(-e).forEach((function(o,a){var c=s(o);w(c,i[0]),n.push(c),r(c,a-e,(t+a-e%t)%t)}))}}(r=c())}function c(){var t=e.options;if(t.clones)return t.clones;var n=t.autoWidth||t.autoHeight?o.length:t.perPage,r=t.direction===G?"Height":"Width",i=p(e.root,t["fixed"+r]);return i&&(n=Math.ceil(o.track["client"+r]/i)),n*(t.drag?t.flickMaxPages+1:1)}function s(t){var n=t.cloneNode(!0);return C(n,e.classes.clone),q(n,"id"),n}return i};function oe(e,t){var n;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}var ie=function(e,t){var n,o,i=t.Elements,a=e.options.direction===G,c=(n={mount:function(){e.on("resize load",oe((function(){e.emit("resize")}),e.options.throttle),window).on("resize",u).on("updated refresh",s),s(),this.totalSize=a?this.totalHeight:this.totalWidth,this.slideSize=a?this.slideHeight:this.slideWidth},destroy:function(){q([i.list,i.track],"style")},get size(){return a?this.height:this.width}},o=a?function(e,t){var n,r,o=t.Elements,i=e.root;return{margin:"marginBottom",init:function(){this.resize()},resize:function(){r=e.options,n=o.track,this.gap=p(i,r.gap);var t=r.padding,a=p(i,t.top||t),c=p(i,t.bottom||t);this.padding={top:a,bottom:c},A(n,{paddingTop:d(a),paddingBottom:d(c)})},totalHeight:function(t){void 0===t&&(t=e.length-1);var n=o.getSlide(t);return n?T(n.slide).bottom-T(o.list).top+this.gap:0},slideWidth:function(){return p(i,r.fixedWidth||this.width)},slideHeight:function(e){if(r.autoHeight){var t=o.getSlide(e);return t?t.slide.offsetHeight:0}var n=r.fixedHeight||(this.height+this.gap)/r.perPage-this.gap;return p(i,n)},get width(){return n.clientWidth},get height(){var e=r.height||this.width*r.heightRatio;return N(e,'"height" or "heightRatio" is missing.'),p(i,e)-this.padding.top-this.padding.bottom}}}(e,t):function(e,t){var n,r=t.Elements,o=e.root,i=e.options;return{margin:"margin"+(i.direction===X?"Left":"Right"),height:0,init:function(){this.resize()},resize:function(){i=e.options,n=r.track,this.gap=p(o,i.gap);var t=i.padding,a=p(o,t.left||t),c=p(o,t.right||t);this.padding={left:a,right:c},A(n,{paddingLeft:d(a),paddingRight:d(c)})},totalWidth:function(t){void 0===t&&(t=e.length-1);var n=r.getSlide(t),o=0;if(n){var a=T(n.slide),c=T(r.list);o=i.direction===X?c.right-a.left:a.right-c.left,o+=this.gap}return o},slideWidth:function(e){if(i.autoWidth){var t=r.getSlide(e);return t?t.slide.offsetWidth:0}var n=i.fixedWidth||(this.width+this.gap)/i.perPage-this.gap;return p(o,n)},slideHeight:function(){var e=i.height||i.fixedHeight||this.width*i.heightRatio;return p(o,e)},get width(){return n.clientWidth-this.padding.left-this.padding.right}}}
2(e,t),r(o).forEach((function(e){n[e]||Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))})),n);function s(){c.init(),A(e.root,{maxWidth:d(e.options.width)}),i.each((function(e){e.slide.style[c.margin]=d(c.gap)})),u()}function u(){var t=e.options;c.resize(),A(i.track,{height:d(c.height)});var n=t.autoHeight?null:d(c.slideHeight());i.each((function(e){A(e.container,{height:n}),A(e.slide,{width:t.autoWidth?null:d(c.slideWidth(e.index)),height:e.container?null:n})})),e.emit("resized")}return c},ae=Math.abs,ce=function(e,t){var n,r,i,a,c=t.Track,s=t.Controller,l=e.options.direction===G,d=l?"y":"x",f={disabled:!1,mount:function(){var n=this,r=t.Elements,i=r.track;e.on("touchstart mousedown",p,i).on("touchmove mousemove",h,i,{passive:!1}).on("touchend touchcancel mouseleave mouseup dragend",g,i).on("mounted refresh",(function(){o(r.list.querySelectorAll("img, a"),(function(t){e.off("dragstart",t).on("dragstart",(function(e){e.preventDefault()}),t,{passive:!1})}))})).on("mounted updated",(function(){n.disabled=!e.options.drag}))}};function p(e){f.disabled||a||m(e)}function m(e){n=c.toCoord(c.position),r=v(e,{}),i=r}function h(t){if(r)if(i=v(t,r),a){if(t.cancelable&&t.preventDefault(),!e.is(O)){var o=n[d]+i.offset[d];c.translate(function(t){if(e.is(I)){var n=c.sign,r=n*c.trim(c.toPosition(0)),o=n*c.trim(c.toPosition(s.edgeIndex));(t*=n)<r?t=r-7*Math.log(r-t):t>o&&(t=o+7*Math.log(t-o)),t*=n}return t}(o))}}else(function(t){var n=t.offset;if(e.State.is(V)&&e.options.waitForTransition)return!1;var r=180*Math.atan(ae(n.y)/ae(n.x))/Math.PI;l&&(r=90-r);return r<e.options.dragAngleThreshold})(i)&&(e.emit("drag",r),a=!0,c.cancel(),m(t))}function g(){r=null,a&&(e.emit("dragged",i),function(n){var r=n.velocity[d],o=ae(r);if(o>0){var i=e.options,a=e.index,l=r<0?-1:1,f=a;if(!e.is(O)){var p=c.position;o>i.flickVelocityThreshold&&ae(n.offset[d])<i.swipeDistanceThreshold&&(p+=l*Math.min(o*i.flickPower,t.Layout.size*(i.flickMaxPages||1))),f=c.toIndex(p)}f===a&&o>.1&&(f=a+l*c.sign),e.is(I)&&(f=u(f,0,s.edgeIndex)),s.go(f,i.isNavigation)}}(i),a=!1)}function v(e,t){var n=e.timeStamp,r=e.touches,o=r?r[0]:e,i=o.clientX,a=o.clientY,c=t.to||{},s=c.x,u=void 0===s?i:s,l=c.y,d={x:i-u,y:a-(void 0===l?a:l)},f=n-(t.time||0);return{to:{x:i,y:a},offset:d,time:n,velocity:{x:d.x/f,y:d.y/f}}}return f},se=function(e,t){var n=!1;function r(e){n&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation())}return{required:e.options.drag,mount:function(){e.on("click",r,t.Elements.track,{capture:!0}).on("drag",(function(){n=!0})).on("dragged",(function(){setTimeout((function(){n=!1}))}))}}},ue=1,le=2,de=3,fe=function(e,t,n){var r,o,i,a=e.classes,c=e.root,s=t.Elements;function u(){var i=t.Controller,a=i.prevIndex,c=i.nextIndex,s=e.length>e.options.perPage||e.is(_);r.disabled=a<0||!s,o.disabled=c<0||!s,e.emit(n+":updated",r,o,a,c)}function l(t){return y('<button class="'+a.arrow+" "+(t?a.prev:a.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg"\tviewBox="0 0 40 40"\twidth="40"\theight="40"><path d="'+(e.options.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}return{required:e.options.arrows,mount:function(){r=s.arrows.prev,o=s.arrows.next,r&&o||!e.options.arrows||(r=l(!0),o=l(!1),i=!0,function(){var t=v("div",{class:a.arrows});S(t,r),S(t,o);var n=s.slider,i="slider"===e.options.arrows&&n?n:c;w(t,i.firstElementChild)}()),r&&o&&e.on("click",(function(){e.go("<")}),r).on("click",(function(){e.go(">")}),o).on("mounted move updated refresh",u),this.arrows={prev:r,next:o}},mounted:function(){e.emit(n+":mounted",r,o)},destroy:function(){q([r,o],"disabled"),i&&b(r.parentElement)}}},pe="move.page",me="updated.page refresh.page",he=function(e,t,n){var r={},o=t.Elements,i={mount:function(){var t=e.options.pagination;if(t){r=function(){var t=e.options,n=e.classes,r=v("ul",{class:n.pagination}),i=o.getSlides(!1).filter((function(e){return!1!==t.focus||e.index%t.perPage==0})).map((function(t,i){var a=v("li",{}),c=v("button",{class:n.page,type:"button"});return S(a,c),S(r,a),e.on("click",(function(){e.go(">"+i)}),c),{li:a,button:c,page:i,Slides:o.getSlidesByPage(i)}}));return{list:r,items:i}}();var n=o.slider;S("slider"===t&&n?n:e.root,r.list),e.on(pe,a)}
2e.off(me).on(me,(function(){i.destroy(),e.options.pagination&&(i.mount(),i.mounted())}))},mounted:function(){if(e.options.pagination){var t=e.index;e.emit(n+":mounted",r,this.getItem(t)),a(t,-1)}},destroy:function(){b(r.list),r.items&&r.items.forEach((function(t){e.off("click",t.button)})),e.off(pe),r={}},getItem:function(e){return r.items[t.Controller.toPage(e)]},get data(){return r}};function a(t,o){var a=i.getItem(o),c=i.getItem(t),s=B.active;a&&L(a.button,s),c&&C(c.button,s),e.emit(n+":updated",r,a,c)}return i},ge="data-splide-lazy",ve="data-splide-lazy-srcset",ye="aria-current",be="aria-controls",Se="aria-label",we="aria-hidden",Ae="tabindex",Ee={ltr:{ArrowLeft:"<",ArrowRight:">",Left:"<",Right:">"},rtl:{ArrowLeft:">",ArrowRight:"<",Left:">",Right:"<"},ttb:{ArrowUp:"<",ArrowDown:">",Up:"<",Down:">"}},Ce=function(e,t){var n=e.i18n,r=t.Elements,o=[we,Ae,be,Se,ye,"role"];function i(t,n){j(t,we,!n),e.options.slideFocus&&j(t,Ae,n?0:-1)}function a(e,t){var n=r.track.id;j(e,be,n),j(t,be,n)}function c(t,r,o,i){var a=e.index,c=o>-1&&a<o?n.last:n.prev,s=i>-1&&a>i?n.first:n.next;j(t,Se,c),j(r,Se,s)}function s(t,r){r&&j(r.button,ye,!0),t.items.forEach((function(t){var r=e.options,o=l(!1===r.focus&&r.perPage>1?n.pageX:n.slideX,t.page+1),i=t.button,a=t.Slides.map((function(e){return e.slide.id}));j(i,be,a.join(" ")),j(i,Se,o)}))}function u(e,t,n){t&&q(t.button,ye),n&&j(n.button,ye,!0)}function d(e){r.each((function(t){var r=t.slide,o=t.realIndex;p(r)||j(r,"role","button");var i=o>-1?o:t.index,a=l(n.slideX,i+1),c=e.Components.Elements.getSlide(i);j(r,Se,a),c&&j(r,be,c.slide.id)}))}function f(e,t){var n=e.slide;t?j(n,ye,!0):q(n,ye)}function p(e){return"BUTTON"===e.tagName}return{required:e.options.accessibility,mount:function(){e.on("visible",(function(e){i(e.slide,!0)})).on("hidden",(function(e){i(e.slide,!1)})).on("arrows:mounted",a).on("arrows:updated",c).on("pagination:mounted",s).on("pagination:updated",u).on("refresh",(function(){q(t.Clones.clones,o)})),e.options.isNavigation&&e.on("navigation:mounted navigation:updated",d).on("active",(function(e){f(e,!0)})).on("inactive",(function(e){f(e,!1)})),["play","pause"].forEach((function(e){var t=r[e];t&&(p(t)||j(t,"role","button"),j(t,be,r.track.id),j(t,Se,n[e]))}))},destroy:function(){var e=t.Arrows,n=e?e.arrows:{};q(r.slides.concat([n.prev,n.next,r.play,r.pause]),o)}}},Le="move.sync",ke="mouseup touchend",je=[" ","Enter","Spacebar"],xe={Options:$,Breakpoints:function(e){var t,n,r=e.options.breakpoints,o=oe(a,50),i=[];function a(){var o,a=(o=i.filter((function(e){return e.mql.matches}))[0])?o.point:-1;if(a!==n){n=a;var c=e.State,s=r[a]||t,u=s.destroy;u?(e.options=t,e.destroy("completely"===u)):(c.is(Y)&&e.mount(),e.options=s)}}return{required:r&&matchMedia,mount:function(){i=Object.keys(r).sort((function(e,t){return+e-+t})).map((function(e){return{point:e,mql:matchMedia("(max-width:"+e+"px)")}})),this.destroy(!0),addEventListener("resize",o),t=e.options,a()},destroy:function(e){e&&removeEventListener("resize",o)}}},Controller:ee,Elements:J,Track:ne,Clones:re,Layout:ie,Drag:ce,Click:se,Autoplay:function(e,t,n){var r,o=[],i=t.Elements,a={required:e.options.autoplay,mount:function(){var t=e.options;i.slides.length>t.perPage&&(r=function(e,t,n){var r,o,i,a=window.requestAnimationFrame,c=!0,s=function s(u){c||(r||(r=u,i&&i<1&&(r-=i*t)),i=(o=u-r)/t,o>=t&&(r=0,i=1,e()),n&&n(i),a(s))};return{pause:function(){c=!0,r=0},play:function(e){r=0,e&&(i=0),c&&(c=!1,a(s))}}}((function(){e.go(">")}),t.interval,(function(t){e.emit(n+":playing",t),i.bar&&A(i.bar,{width:100*t+"%"})})),function(){var t=e.options,n=e.sibling,r=[e.root,n?n.root:null];t.pauseOnHover&&(c(r,"mouseleave",ue,!0),c(r,"mouseenter",ue,!1));t.pauseOnFocus&&(c(r,"focusout",le,!0),c(r,"focusin",le,!1));i.play&&e.on("click",(function(){a.play(le),a.play(de)}),i.play);i.pause&&c([i.pause],"click",de,!1);e.on("move refresh",(function(){a.play()})).on("destroy",(function(){a.pause()}))}(),this.play())},play:function(t){void 0===t&&(t=0),(o=o.filter((function(e){return e!==t}))).length||(e.emit(n+":play"),r.play(e.options.resetProgress))},pause:function(t){void 0===t&&(t=0),r.pause(),-1===o.indexOf(t)&&o.push(t),1===o.length&&e.emit(n+":pause")}};function c(t,n,r,o){t.forEach((function(t){e.on(n,(function(){a[o?"play":"pause"](r)}
2),t)}))}return a},Cover:function(e,t){function n(e){t.Elements.each((function(t){var n=h(t.slide,"IMG")||h(t.container,"IMG");n&&n.src&&r(n,e)}))}function r(e,t){A(e.parentElement,{background:t?"":'center/cover no-repeat url("'+e.src+'")'}),A(e,{display:t?"":"none"})}return{required:e.options.cover,mount:function(){e.on("lazyload:loaded",(function(e){r(e,!1)})),e.on("mounted updated refresh",(function(){return n(!1)}))},destroy:function(){n(!0)}}},Arrows:fe,Pagination:he,LazyLoad:function(e,t,n){var r,i,a=e.options,c="sequential"===a.lazyLoad;function s(){i=[],r=0}function u(t){t=isNaN(t)?e.index:t,(i=i.filter((function(e){return!e.Slide.isWithin(t,a.perPage*(a.preloadPages+1))||(l(e.img,e.Slide),!1)})))[0]||e.off("moved."+n)}function l(t,n){C(n.slide,B.loading);var r=v("span",{class:e.classes.spinner});S(t.parentElement,r),t.onload=function(){f(t,r,n,!1)},t.onerror=function(){f(t,r,n,!0)},j(t,"srcset",x(t,ve)||""),j(t,"src",x(t,ge)||"")}function d(){if(r<i.length){var e=i[r];l(e.img,e.Slide)}r++}function f(t,r,o,i){L(o.slide,B.loading),i||(b(r),A(t,{display:""}),e.emit(n+":loaded",t).emit("resize")),c&&d()}return{required:a.lazyLoad,mount:function(){e.on("mounted refresh",(function(){s(),t.Elements.each((function(e){o(e.slide.querySelectorAll("[data-splide-lazy], ["+ve+"]"),(function(t){t.src||t.srcset||(i.push({img:t,Slide:e}),A(t,{display:"none"}))}))})),c&&d()})),c||e.on("mounted refresh moved."+n,u)},destroy:s}},Keyboard:function(e){var t;return{mount:function(){e.on("mounted updated",(function(){var n=e.options,r=e.root,o=Ee[n.direction],i=n.keyboard;t&&(e.off("keydown",t),q(r,Ae)),i&&("focused"===i?(t=r,j(r,Ae,0)):t=document,e.on("keydown",(function(t){o[t.key]&&e.go(o[t.key])}),t))}))}}},Sync:function(e){var t=e.sibling,n=t&&t.options.isNavigation;function r(){e.on(Le,(function(e,n,r){t.off(Le).go(t.is(_)?r:e,!1),o()}))}function o(){t.on(Le,(function(t,n,o){e.off(Le).go(e.is(_)?o:t,!1),r()}))}function i(){t.Components.Elements.each((function(t){var n=t.slide,r=t.index;e.off(ke,n).on(ke,(function(e){e.button&&0!==e.button||a(r)}),n),e.off("keyup",n).on("keyup",(function(e){je.indexOf(e.key)>-1&&(e.preventDefault(),a(r))}),n,{passive:!1})}))}function a(n){e.State.is(U)&&t.go(n)}return{required:!!t,mount:function(){r(),o(),n&&(i(),e.on("refresh",(function(){setTimeout((function(){i(),t.emit("navigation:updated",e)}))})))},mounted:function(){n&&t.emit("navigation:mounted",e)}}},A11y:Ce};var qe=function(e){var t,n;function r(t,n){return e.call(this,t,n,xe)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(K);window.Splide=qe}();var We={splideSliderMain:document.querySelector(".js-splideslider"),splideSliderThumbnails:document.querySelector(".js-splideslider-secondary"),sliderBlocks:Ve(document.querySelectorAll(".js-sliderblock")),setImage:function(e){var t=".js-image-".concat(e);Ve(document.querySelectorAll(t)).forEach((function(e){e.classList.contains("d-none")&&(e.classList.remove("d-none"),e.src=e.dataset.src)}))},init:function(){var e=this;if(this.splideSliderMain&&this.splideSliderThumbnails){var t=new Splide(this.splideSliderMain,{type:"fade",pagination:!1,arrows:!0,cover:!0,rewind:!0}),n=new Splide(this.splideSliderThumbnails,{fixedWidth:100,height:66,gap:10,cover:!0,isNavigation:!0,pagination:!1,arrows:!1}).mount();t.sync(n).mount(),t.on("move",this.setImage)}this.sliderBlocks.length&&this.sliderBlocks.forEach((function(t){var n=t.querySelectorAll("li").length,r=parseInt(t.dataset.interval),o=n>1;new Splide(t,{type:"loop",pagination:!1,arrows:o,cover:!0,rewind:o,drag:o,autoplay:o,interval:r}).mount().on("move",e.setImage)}))}},Ke=function(){window.dataLayer=window.dataLayer||[];var e=document.querySelector("[data-epiform-redirect-url]"),t=!1,n="";e&&(window.onbeforeunload=function(){(function(e){function t(e,t){return t.split(".").reduce((function(e,t){return null==e?e:e[t]}),e)}return window.dataLayer.filter((function(n){var r,o=!1;for(r in e)n[r]!=e[r]&&t(n,r)!=e[r]||(o=!0);return o}
2)).length>0})({event:"Epiform_Submitted",currentFormId:n})||"undefined"!=typeof $$epiforms&&t&&dataLayer.push({event:"Epiform_Submitted",currentFormId:n})}),"undefined"!=typeof $$epiforms&&$$epiforms(document).ready((function(){$$epiforms(".EPiServerForms").on("formsSubmitted",(function(){t=!0,n=$$epiforms(this).get(0).getAttribute("id"),dataLayer.push({event:"Epiform_Submitted",currentFormId:n})}))}))},$e={init:function(){var e=document.querySelector(".js-news-filter-year");e&&e.addEventListener("change",this.handleYearFilterChange);var t=document.querySelector(".js-news-filter-type");t&&t.addEventListener("change",this.handleTypeFilterChange)},handleYearFilterChange:function(e){var t=e.target.value,n=new URLSearchParams(window.location.search);n.set("year",t),window.location.search=n.toString()},handleTypeFilterChange:function(e){var t=e.target.value,n=new URLSearchParams(window.location.search);n.set("type",t),window.location.search=n.toString()}},Xe={init:function(){var e=document.querySelector(".js-vacancies-filter-country");e&&e.addEventListener("change",this.handleCountryFilterChange);var t=document.querySelector(".js-vacancies-filter-profession");t&&t.addEventListener("change",this.handleProfessionFilterChange);var n=document.querySelector(".js-vacancies-filter-area");n&&n.addEventListener("change",this.handleAreaFilterChange);var r=document.querySelector(".js-vacancies-filter-position");r&&r.addEventListener("change",this.handlePositionFilterChange)},handleCountryFilterChange:function(e){var t=e.target.value,n=new URLSearchParams(window.location.search);n.set("country",t),window.location.search=n.toString()},handleProfessionFilterChange:function(e){var t=e.target.value,n=new URLSearchParams(window.location.search);n.set("profession",t),window.location.search=n.toString()},handleAreaFilterChange:function(e){var t=e.target.value,n=new URLSearchParams(window.location.search);n.set("area",t),window.location.search=n.toString()},handlePositionFilterChange:function(e){var t=e.target.value,n=new URLSearchParams(window.location.search);n.set("position",t),window.location.search=n.toString()}};n(3371);function Ge(e){return function(e){if(Array.isArray(e))return Ze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ze(e,t)}(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 Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Je=Object.freeze({videoSelector:"[data-video]",videoPlayButtonSelector:"[data-video-play]",videoPlayerSelector:"[data-video-player]",videoPlaceholderImageSelector:"[data-video-placeholder]",api:"https://www.youtube.com/iframe_api",cookiebotScriptSelector:"#Cookiebot",videoCookiebotPlaceholderSelector:"data-cookiebot-video-placeholder",youtubeVideoSelector:"[data-video-youtube]",videoSrcSelector:"[data-video-src]",videoOverlay:"[data-video-overlay]"}),Qe=function(e,t){var n,r,o=document.querySelector(Je.youtubeVideoSelector),i=[],a=function(e){e.target.playVideo()},c=function(e,t){if(o){var n=new YT.Player(t,{height:"100%",width:"100%",videoId:e,events:{onReady:a}}),r=n.g;r&&r.setAttribute("data-cookieconsent","marketing"),i.push(n)}},s=t.querySelector(Je.videoPlayerSelector);document.querySelector(Je.cookiebotScriptSelector)&&"undefined"!=typeof Cookiebot&&1==(null===(n=Cookiebot)||void 0===n||null===(r=n.consent)||void 0===r?void 0:r.marketing)&&(function(){if(o){if("undefined"==typeof YT||void 0===YT.Player){var e=function(){var e=document.createElement("script");return e.src=Je.api,e}(),t=document.getElementsByTagName("script")[0];return t.parentNode.insertBefore(e,t),!1}return!0}}()?c(e,s):window.onYouTubePlayerAPIReady=function(){c(e,s)})},et=function(){Ge(document.querySelectorAll(Je.videoSelector)).length&&document.querySelector("body").addEventListener("click",(function(e){var t=e.target.closest(Je.videoSelector);if(t){var n=t.dataset.videoId;n&&(!function(e){var t,n;if(document.querySelector(Je.cookiebotScriptSelector)&&"undefined"!=typeof Cookiebot&&1==(null===(t=Cookiebot)||void 0===t||null===(n=t.consent)||void 0===n?void 0:n.marketing)){var r=e.querySelector(Je.videoOverlay);r&&r.classList.remove("video-overlay");var o=e.querySelector(Je.videoPlayButtonSelector);o&&o.classList.add("d-none");var i=e.querySelector(".js-video-image");i&&i.classList.add("d-none")}}(t),Qe(n,t))}}))},tt={init:function(){var e=document.querySelector(".js-pagination-btn");e&&e.addEventListener("click",this.onPaginationBtnClick)},onPaginationBtnClick:function(e){e.preventDefault();var t=e.currentTarget,n=parseInt(t.dataset.page),r=parseInt(t.dataset.year),o=parseInt(t.dataset.type),i=t.dataset.category,a="".concat(t.dataset.pageurl,"?p=").concat(n);r>0&&o>0?a="".concat(t.dataset.pageurl,"?p=").concat(n,"&year=").concat(r,"&type=").concat(o):r>0?a="".concat(t.dataset.pageurl,"?p=").concat(n,"&year=").concat(r):o>0?a="".concat(t.dataset.pageurl,"?p=").concat(n,"&type=").concat(o):null!=i&&(a="".concat(t.dataset.pageurl,"?p=").concat(n,"&category=").concat(i));var c=document.querySelector(".js-pagination-loader");c.classList.remove("d-none"),fetch(a,{credentials:"include",method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8","X-Requested-With":"XMLHttpRequest"}}).then((function(e){return e.text()})).then((function(e){var a=JSON.parse(e);if(a.View){n++,t.dataset.page=n;var s="".concat(t.dataset.pageurl,"?p=").concat(n);r>0&&o>0?s="".concat(t.dataset.pageurl,"?p=").concat(n,"&year=").concat(r,"&type=").concat(o):r>0?s="".concat(t.dataset.pageurl,"?p=").concat(n,"&year=").concat(r):o>0?s="".concat(t.dataset.pageurl,"?p=").concat(n,"&type=").concat(o):null!=i&&(s="".concat(t.dataset.pageurl,"?p=").concat(n,"&category=").concat(i)),t.href=s,document.querySelector(".js-resultlist").insertAdjacentHTML("beforeend",a.View),p({events:{load:function(e){var t=e.target;t.classList.contains("lazy")||"IMG"!=t.nodeName||t.classList.add("lazy--loaded")}},observeChanges:!0,lazyClass:"lazy"}),c.classList.add("d-none"),a.HideButton&&t.classList.add("d-none")}else t.classList.add("d-none")})).catch((function(e){console.log("Fetch Error: ",e)}))}};function nt(e){return function(e){if(Array.isArray(e))return rt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return rt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rt(e,t)}(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 rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}
2var ot={init:function(){nt(document.querySelectorAll("[data-countdown-time]")).forEach((function(e){setInterval((function(){var t,n,r,o,i,a,c,s,u,l,d,f,p;t=e,n=new Date(t.dataset.countdownTime),r=t.previousElementSibling,o=t.nextElementSibling,i=t.querySelector("[data-countdownt-days]"),a=t.querySelector("[data-countdownt-hours"),c=t.querySelector("[data-countdownt-minutes]"),s=t.querySelector("[data-countdownt-seconds]"),u=Date.parse(n)/1e3-Date.parse(new Date)/1e3,l=Math.floor(u/86400),d=Math.floor((u-86400*l)/3600),f=Math.floor((u-86400*l-3600*d)/60),p=Math.floor(u-86400*l-3600*d-60*f),d<"10"&&(d="0"+d),f<"10"&&(f="0"+f),p<"10"&&(p="0"+p),i.textContent=l,a.textContent=d,c.textContent=f,s.textContent=p,l<0?(r&&(r.classList.add("d-none"),r.setAttribute("aria-hidden",!0)),o&&(o.classList.remove("d-none"),o.setAttribute("aria-hidden",!1)),t.classList.add("d-none"),t.setAttribute("aria-hidden",!0)):(r&&r.classList.contains("d-none")&&(r.classList.remove("d-none"),r.setAttribute("aria-hidden",!1)),o&&(o.classList.add("d-none"),o.setAttribute("aria-hidden",!0)))}),1e3)}))}};function it(e){return function(e){if(Array.isArray(e))return at(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return at(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return at(e,t)}(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 at(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ct=function(e,t){return e.children[t].innerText||e.children[t].textContent};function st(){it(document.querySelectorAll("[data-trigger='table']")).forEach((function(e){var t=e.querySelector("tbody");(function(e){return!!e&&"true"===e.dataset.sortable})(e)&&function(e){return e.querySelectorAll("th")}(e).forEach((function(e){e.addEventListener("click",(function(){var n,r;Array.from(t.querySelectorAll("tr")).sort((n=Array.from(e.parentNode.children).indexOf(e),r=e.asc=!e.asc,function(e,t){return o=ct(r?e:t,n),i=ct(r?t:e,n),""===o||""===i||isNaN(o)||isNaN(i)?o.toString().localeCompare(i):o-i;var o,i})).forEach((function(e){return t.appendChild(e)}))}))}))}))}var ut=n(5197),lt=n.n(ut);function dt(e){return function(e){if(Array.isArray(e))return ft(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ft(e,t)}(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 ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var pt=function(){var e=dt(document.querySelectorAll("[type='tel']")),t=document.body.dataset.lang,r=t;"sv"==t?r="se":"da"==t&&(r="dk"),e.forEach((function(e){var t=lt()(e,{loadUtils:function(){return n.e(216).then(n.bind(n,1553))},initialCountry:r,countryOrder:["se","no","dk","fi"],separateDialCode:!1}),o=e.closest("form");o&&o.addEventListener("submit",(function(n){e.value=t.getNumber()}))}))};function mt(e){return function(e){if(Array.isArray(e))return ht(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ht(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ht(e,t)}(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 ht(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var gt=function(e){e.preventDefault();var t=e.currentTarget,n=t.querySelector("[data-auto-image-slider-label]"),r=t.parentElement.querySelector("[data-auto-image-track]");"true"===t.getAttribute("aria-pressed")?(t.setAttribute("aria-pressed","fal
2se"),r.style.animationPlayState="paused",n.innerText=t.dataset.animationPlay):(t.setAttribute("aria-pressed","true"),r.style.animationPlayState="running",n.innerText=t.dataset.animationPause)},vt=function(){mt(document.querySelectorAll("[data-auto-image-slider-btn]")).forEach((function(e){e.addEventListener("click",gt)}))};function yt(e){return function(e){if(Array.isArray(e))return bt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return bt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bt(e,t)}(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 bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var St=function(){var e,t,n,r;console.log("App loaded"),p({events:{load:function(e){var t=e.target;t.classList.contains("lazy")||"IMG"!=t.nodeName||t.classList.add("lazy--loaded"),!d&&t.classList.contains("js-object-fit")&&objectFitPolyfill(t)}},observeChanges:!0,lazyClass:"lazy"}),C.init(),S.init(),function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.toggleClass,r=void 0===n?".js-toggle":n,o=t.toggleAttr,i=void 0===o?"data-toggle":o,a=t.togglePrefix,c=void 0===a?"toggle-":a,s=document.querySelectorAll("[".concat(i,"]")),u=function(){s.forEach((function(e){var t=e.getAttribute(i),n=document.getElementById(t);if(n){var r=L(e,c);e.setAttribute("id",r),e.setAttribute("aria-controls",r),e.setAttribute("aria-expanded",!1),e.setAttribute("aria-haspopup",!0),n.setAttribute("aria-labelledby",r),n.setAttribute("aria-hidden",!0),e.addEventListener("click",f)}}))},l=function(t){t.which===T.ESC_KEY&&e&&(d(e),e.focus())},d=function(t){var n=t.getAttribute(i),r=document.getElementById(n),o=document.querySelector("body"),a=document.querySelector("head");if(o.classList.toggle("overflow-y-hidden"),o.classList.toggle("position-fixed"),a.classList.toggle("overflow-y-hidden"),a.classList.toggle("position-fixed"),x(t,"aria-expanded"),x(r,"aria-hidden"),"true"===t.getAttribute("aria-expanded"))document.addEventListener("keydown",l),e=t;else{document.removeEventListener("keydown",l);var c=O(document.querySelectorAll(".m-menu__toggle"));c.length&&c.forEach((function(e){e.setAttribute("aria-expanded",!1)}))}},f=function(e){if(e.target.closest(r)){var t=e.target.closest(r);d(t)}};s.length>0&&u()}(),D(),K(),X(document.querySelectorAll(Z)).length&&(ne(),setTimeout((function(){re()}),1250)),ce.init(),le.init(),de.init(),fe.init(),he.init(),ge.init(),be.init(),We.init(),Ke(),$e.init(),Xe.init(),et(),tt.init(),ot.init(),st(),function(){var e,t=null!==document.querySelector("body.vacancylandingpage"),n=null!==document.querySelector("body.vacancypage")&&(null===(e=document.querySelector(".vacancypage__recruitmentbox").getAttribute("data-adid"))||void 0===e?void 0:e.trim()),r=document.querySelector("html").getAttribute("lang");if((t||n)&&("sv"===r||"da"===r)){var o={lang:r},i=-1;n&&(i=document.querySelector(".vacancypage__recruitmentbox").getAttribute("data-adid"),o.jobId=i);var a={sv:{title:"Ansök här utan CV!",guid:"369ec237-5596-404e-8b7a-15b3b6c47953",id:1},da:{title:"Ansøg uden CV!",guid:"b1c2b74a-5374-46a3-84ea-c406eb8d0d19",id:0}},c=a[r].title||"sv";window.addEventListener("CookiebotOnAccept",(function(e){var t,n,i,s,u,l,d,f,p;Cookiebot.consent.marketing&&(t=window,n=document,i="script",s="zmashBot",u=a[r].guid,l=c,d={a:!1,b:"006390",c:"ffffff"},f=a[r].id,p=o,(t=t[s]=t[s]||{}).biid=u,t.type="a",s=n.getElementsByTagName(i)[0],(n=n.createElement(i)).async=!0,n.src="https://bot.zmashsolutions.com/bot.js",t.himg="https://zmash.com/wp-content/uploads/2022/08/bravida_logo_cmyk_neg-2.png",t.aimg="https://zmash.com/wp-content/uploads/2022/08/bravida-avatar2.png",s.parentNode.insertBefore(n,s),t.cc="006390",t.cta=l||null,t.ao={d:1,m:0,scc:0}||!1,t.ani=d.a||!1,t.ctaBg=d.b||null,t.ctaCc=d.c||null,t.dlp=f,t.zIndex=999999999,t.initParams=p||null)}))}}(),n=null!==document.querySelector("body.vacancylandingpage"),r=null!==document.querySelector("body.vacancypage"),"sv"!==document.querySelector("html").getAttribute("lang")||r||n||(e=document,(t=e.createElement("script")).src="https://euwa.puzzel.com/loader/index.js",e.body.append(t),t.onload=function(){new EUWALoader({customerKey:"4609071",configId:"eeb5ec5e-9794-416e-8815-ca267cff0c6e"}).load()}),pt(),vt();
2var o=document.querySelector(".js-hero-video");o&&Re(o),De().init({once:!0,duration:600,offset:400})},wt=function(){f?Promise.all(yt(f)).then((function(e){try{St()}catch(e){console.error("Failed to start the app",e)}})).catch((function(e){console.error("Failed fetching polyfills",e)})):St()};"loading"!==document.readyState?wt():document.addEventListener("DOMContentLoaded",wt)},8194:function(e,t,n){"use strict";n(5306),n(4916),n(3123),n(9600),n(7042),n(2526),n(1817),n(1539),n(2165),n(8783),n(6992),n(3948);function r(e){return(r="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)}e=n.hmd(e),function(t){var o;if("function"==typeof define&&n.amdO&&(define(t),o=!0),"object"===("undefined"==typeof exports?"undefined":r(exports))&&(e.exports=t(),o=!0),!o){var i=window.Cookies,a=window.Cookies=t();a.noConflict=function(){return window.Cookies=i,a}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
2)+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){if("number"==typeof(i=e({path:"/"},o.defaults,i)).expires){i.expires=new Date(1*new Date+864e5*i.expires)}i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var c="";for(var s in i)i[s]&&(c+="; "+s,!0!==i[s]&&(c+="="+i[s].split(";")[0]));return document.cookie=t+"="+n+c}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var c=i[a].split("="),s=c.slice(1).join("=");n||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var u=t(c[0]);if(s=(r.read||r)(s,u)||t(s),n)try{s=JSON.parse(s)}catch(e){}if(o[u]=s,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))}))}},0,[[8618,666,216]]]);
3//# sourceMappingURL=app.d9f7e319ba9707ba4384.js.map

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.