@assaabloy/gw-group-nav-header
Advanced tools
Comparing version 8.0.5 to 8.0.6
@@ -1,1 +0,1 @@ | ||
!function(e){function t(t){for(var a,o,l=t[0],c=t[1],s=t[2],u=0,p=[];u<l.length;u++)o=l[u],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(d&&d(t);p.length;)p.shift()();return r.push.apply(r,s||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==i[c]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},i={13:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var l=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var d=c;r.push([149,0]),n()}({0:function(e,t){e.exports=React},11:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(0),i=n.n(a),r=n(4),o=n(1);function l(){var e=Object(r.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n "]);return l=function(){return e},e}var c=o.default.div.withConfig({displayName:"styles__View",componentId:"bg3c3f-0"})(["a{color:inherit;text-decoration:none;&:hover{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}}",";"],(function(e){var t=e.rowLimit;return void 0!==t&&Object(o.css)(l(),t)})),s=function(e){var t=e.text,n=e.link,a=void 0!==n&&n,r=e.size,o=e.className,l=e.rowLimit,s=i.a.createElement(r,{},t),d=i.a.createElement(r,{},i.a.createElement("a",{href:a},t));return i.a.createElement(c,{rowLimit:l,className:o},a?d:s)}},123:function(e,t,n){"use strict";n.r(t);var a=n(23),i=n(60);t.default=a.a.create({component:i.a,configuration:{tagname:"gw-group-nav-header",useShadow:!1},plugins:[]})},16:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(2),i=n(17),r=n(0),o=n.n(r),l=n(4),c=n(1);function s(){var e=Object(l.a)(["\n "," 0.8s ease-out;\n "]);return s=function(){return e},e}function d(){var e=Object(l.a)(["\n 0% { filter: blur(10px); transform: scale(1.1)}\n 80% { filter: blur(1px); }\n 100% { filter: blur(0px); transform: scale(1.00)}\n"]);return d=function(){return e},e}var u=c.default.div.withConfig({displayName:"styles__ImageWrapper",componentId:"sc-175nep1-0"})(["position:relative;overflow:hidden;"]),p=Object(c.keyframes)(d()),m=c.default.img.withConfig({displayName:"styles__Image",componentId:"sc-175nep1-1"})(["display:flex;max-width:100%;object-fit:cover;width:100%;filter:",";transform:",";animation:",";"],(function(e){return e.blur?"blur(20px);":""}),(function(e){return e.blur?"scale(1.1);":"scale(1)"}),(function(e){var t=e.blur,n=e.cacheHit,a=e.showProgressiveImage;return n||!a||t?"":Object(c.css)(s(),p)})),g=c.default.div.withConfig({displayName:"styles__Label",componentId:"sc-175nep1-2"})(["position:absolute;top:1rem;left:1rem;padding:0.5rem 1rem;font-size:16px;line-height:24px;border-radius:var(--border-radius);background-color:rgba(26,26,26,0.8);backdrop-filter:blur(10px);color:#fff;z-index:1;p{font-weight:var(--font-weight-semi-bold);}span{font-weight:var(--font-weight-regular);}&.bottomRight{text-align:right;top:unset;left:unset;bottom:1rem;right:1rem;}&.bottomLeft{top:unset;left:unset;bottom:1rem;left:1rem;}&.topLeft{top:1rem;left:1rem;}&.topRight{right:1rem;left:unset;text-align:right;}a{text-decoration:none;color:#fff;}p{margin:0;}"]),f=function(e,t){var n=Object(r.useState)(""),i=Object(a.a)(n,2),o=i[0],l=i[1],c=Object(r.useState)(!1),s=Object(a.a)(c,2),d=s[0],u=s[1];return Object(r.useEffect)((function(){var n=new Image;if(n.src=t,n.complete)return l(t),void u(!0);l(e),n.onload=function(){return l(t)}}),[e,t]),[o,d]},h=function(e){var t=e.caption,n=e.metaContent,l=e.link,c=e.alt,s=e.style,d=void 0===s?"":s,p=e.image,h=e.tinyImageSrc,v=void 0===h?"":h,b=e.imageLabel,x=e.className,w=void 0===x?"":x,y=Object(i.a)(e,["caption","metaContent","link","alt","style","image","tinyImageSrc","imageLabel","className"]),k=v,E=p,_=f(k,E),j=Object(a.a)(_,2),O=j[0],L=j[1],C=Object(r.useState)(!1),I=Object(a.a)(C,2),N=I[0],z=I[1],S=O===k||!N,A=!0;k&&!L||(S=!1),k||(A=!1);var M=O?o.a.createElement(m,{src:O,alt:c,blur:S,cacheHit:L,showProgressiveImage:A,onLoad:function(){return O===E?z(!0):null}}):null;return O?o.a.createElement(u,Object.assign({},y,{className:"".concat(d," ").concat(w)}),b&&b.title&&!1!==b.visible&&o.a.createElement(g,{className:b.position},o.a.createElement("a",{href:b.url},b.title&&o.a.createElement("p",null,b.title),b.text&&o.a.createElement("span",null,b.text))),l?o.a.createElement("a",{href:l},M):M,n&&o.a.createElement("meta",{itemProp:"caption",content:n}),t&&o.a.createElement("span",{className:"cmp-image__title"},t)):null}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(0),i=n.n(a),r=n(1).default.a.withConfig({displayName:"styles__View",componentId:"leqorv-0"})(["text-decoration:none;color:var(--grey);display:flex;align-items:center;font-size:var(--font-size-2);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);div{align-items:center;padding-right:1rem;span{padding-right:10px;margin:0;}}svg{transition:ease-in-out 0.2s;position:relative;top:2px;}&:hover span{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}"]),o=n(7),l=function(e){var t=e.icon?e.icon:i.a.createElement(o.a,null),n=e.ctaLabel?i.a.createElement("div",null,i.a.createElement("span",null,e.ctaLabel)," ",e.hasIcon?t:null):null;return i.a.createElement(r,{href:e.ctaUrl,target:e.target},n,e.children)};l.defaultProps={ctaLabel:"",ctaUrl:"",target:"_self",hasIcon:!0,icon:null}},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(20),i=n.n(a),r=n(29),o=n(2),l=n(0),c=function(e){var t=Object(l.useState)(null),n=Object(o.a)(t,2),a=n[0],c=n[1],s=Object(l.useState)(null),d=Object(o.a)(s,2),u=d[0],p=d[1],m=Object(l.useState)(!1),g=Object(o.a)(m,2),f=g[0],h=g[1];return Object(l.useEffect)((function(){(function(){var t=Object(r.a)(i.a.mark((function t(){var n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h(!0),t.prev=1,t.next=4,fetch(e);case 4:return n=t.sent,t.next=7,n.json();case 7:a=t.sent,c(a),h(!1),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),p(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}})()()}),[e]),{response:a,error:u,isLoading:f}}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(2),i=n(0),r=n(3);function o(){var e=Object(i.useState)({width:void 0,height:void 0}),t=Object(a.a)(e,2),n=t[0],o=t[1];return Object(i.useEffect)((function(){var e=Object(r.b)((function(){o({width:window.innerWidth,height:window.innerHeight})}),500);return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),n}},27:function(e,t){e.exports=ReactDOM},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(14),i=n(2),r=n(0);function o(e){var t=Object(r.useState)(!1),n=Object(i.a)(t,2),o=n[0],l=n[1],c=Object(r.useRef)(null),s=Object(r.useRef)(!0),d=Object(r.useRef)(!1),u=Object(r.useRef)(null),p=Object(r.useRef)([]);Object(r.useEffect)((function(){p.current=Object(a.a)(Array(e)).map((function(){return Object(r.createRef)()}))}),[e]);var m=function(e){var t;c.current=e,null===(t=p.current[e].current)||void 0===t||t.focus()};Object(r.useEffect)((function(){s.current?s.current=!1:o&&!d.current?m(0):o||(d.current=!1)}),[o]),Object(r.useEffect)((function(){if(o){var e=function(e){setTimeout((function(){e.target instanceof Element&&(e.target.closest('[role="menu"]')instanceof Element||l(!1))}),10)};return setTimeout((function(){document.addEventListener("click",e)}),1),function(){return document.removeEventListener("click",e)}}}),[o]),Object(r.useEffect)((function(){var e=function(e){!o||"ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.preventDefault()};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[o]);var g=function(e){if(function(e){return void 0!==e.key}(e)){var t=e.key;if(!["Enter"," ","Tab","ArrowDown"].includes(t))return;("Tab"===t||"ArrowDown"===t)&&d.current&&o?(e.preventDefault(),m(0)):"Tab"!==t&&(e.preventDefault(),l(!0))}else d.current=!o,l(!o)},f=function(e){var t=e.key;if(["Tab","Shift","Enter","Escape","ArrowUp","ArrowDown"].includes(t)){var n,a=c.current;if("Escape"===t)return l(!1),void(null===(n=u.current)||void 0===n||n.focus());if("Tab"!==t){if("Enter"===t)return e.currentTarget.href||e.currentTarget.click(),void l(!1);null!==a&&("ArrowUp"===t?a-=1:"ArrowDown"===t&&(a+=1),a>p.current.length-1?a=0:a<0&&(a=p.current.length-1)),null!==a&&m(a)}else l(!1)}};return{buttonProps:{onKeyDown:g,onClick:g,tabIndex:0,ref:u,role:"button","aria-haspopup":!0,"aria-expanded":o},itemProps:Object(a.a)(Array(e)).map((function(e,t){return{onKeyDown:f,tabIndex:-1,role:"menuitem",ref:p.current[t]}})),isOpen:o,setIsOpen:l}}},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"k",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return s})),n.d(t,"g",(function(){return d})),n.d(t,"j",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"d",(function(){return g}));var a=n(2),i=function(e){try{return JSON.parse(decodeURIComponent(escape(atob(e))))}catch(t){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",e),null}},r=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return"Invalid Date"!==new Date(e).toString()?new Date(e).toISOString().slice(0,10):e},l=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},c=function(e){return e.sort((function(e,t){return e.created>t.created?-1:e.created<t.created?1:0}))},s=function(e){return e.sort((function(e,t){return e.created<t.created?-1:e.created>t.created?1:0}))},d=function(e){return e.sort((function(e,t){return e.title<t.title?-1:e.title>t.title?1:0}))},u=function(e){return e.sort((function(e,t){return e.title>t.title?-1:e.title<t.title?1:0}))};function p(e,t){var n,a=arguments,i=this;return function(r){clearTimeout(n),n=setTimeout((function(t){n=null,e.apply(i,a)}),t)}}var m=function(e,t){if(!t.length)return e;var n=Object(a.a)(t,1)[0];return/^\d+$/.test(e)?"".concat(e).concat(n):"string"===typeof e&&t.some((function(t){return e.endsWith(t)}))?e:"string"===typeof e&&"".concat(e.trim().replace(/\D/g,"")||"0").concat(n)},g=function(e){return null===e||void 0===e?void 0:e.map((function(e){return f(e)})).join(" | ")},f=function(e){return[e.city,e.state,e.country].filter((function(e){return"string"===typeof e&&e.length>0&&e})).join(", ")}},5:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var a={mobileAndUp:576,tabletAndUp:768,desktopAndUp:1024,largeDesktopAndUp:1200},i={mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),tabletAndUp:"(min-width: ".concat(a.tabletAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),largeDesktopAndUp:"(min-width: ".concat(a.largeDesktopAndUp,"px)")}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return Pe}));var a=n(2),i=n(0),r=n.n(i),o=n(6),l=n.n(o),c=n(7),s=n(1),d=n(5),u=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1lptheb-0"})(["display:flex;height:100%;position:relative;button{background:none;border:none;}#level1-menu > li{margin:0 32px;background:transparent;margin:0 17px 0 var(--spacing-medium);a{font-size:var(--font-size-4);font-weight:var(--font-weight-semi-bold);line-height:var(--line-height-size-4);}}"]),p=s.default.ul.withConfig({displayName:"styles__Level1List",componentId:"sc-1lptheb-1"})(["overflow:auto;height:calc(100% - 103px);padding-top:15px !important;margin-bottom:15px;margin-top:0;background:transparent;width:100%;position:absolute;flex-shrink:0;left:",";transition:left 0.2s ease-in-out;> li{display:flex;justify-content:space-between;align-items:center;> a{display:flex;flex-grow:1;padding:15px 0;}> button{display:flex;flex-grow:0;padding:0;height:46px;width:46px;align-items:center;justify-content:center;> svg{height:13px;width:auto;transform:rotate(-90deg);}}}@media and screen ","{height:100%;}"],(function(e){return e.isOpen?"0%":"-100%"}),d.b.tabletAndUp),m=s.default.li.withConfig({displayName:"styles__Level1Item",componentId:"sc-1lptheb-2"})([""]),g=[{id:"",label:"",url:"",description:"",links:[]}],f={label:"",url:"",meta:"",links:[]},h=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1cpt7dd-0"})(["background:transparent;position:absolute;width:100%;flex-shrink:0;left:",";transition:left 0.2s ease-in-out;display:flex;flex-direction:column;height:calc(100% - 100px);@media and screen ","{height:100%;};"],(function(e){return e.isOpen?"0%":"100%"}),d.b.tabletAndUp),v=s.default.button.withConfig({displayName:"styles__BackButton",componentId:"sc-1cpt7dd-1"})(["display:flex;align-items:center;padding:15px 15px 15px 0;margin-left:var(--spacing-medium);svg{height:13px;width:13px;transform:rotate(180deg);}span{font-weight:var(--font-weight-semi-bold);font-size:var(--font-size-4);padding-left:var(--spacing-mini-3);line-height:normal;}"]),b=s.default.ul.withConfig({displayName:"styles__Level2List",componentId:"sc-1cpt7dd-2"})(["margin:0;overflow:auto;"]),x=s.default.li.withConfig({displayName:"styles__Level2Item",componentId:"sc-1cpt7dd-3"})(["flex-wrap:wrap;display:flex;justify-content:space-between;align-items:center;margin:0 17px 0 var(--spacing-medium);& > svg{display:",";transform:rotate(-90deg);width:auto;height:10px;}& > a{display:flex;flex-grow:1;padding:var(--spacing-small);padding-left:",";font-size:var(--font-size-4);font-weight:"," !important;}& > button{display:flex;flex-grow:0;height:46px;width:46px;align-items:center;justify-content:center;}"],(function(e){return e.currentUrl?"block":"none"}),(function(e){return e.currentUrl?"var(--spacing-mini-2)":0}),(function(e){return e.currentUrl?"var(--font-weight-bold)":"var(--font-weight-regular)"})),w=Object(s.default)(c.a).withConfig({displayName:"styles__Level2ButtonIcon",componentId:"sc-1cpt7dd-4"})(["width:13px;height:auto;transform:",";transition:transform 0.16s ease-in-out;"],(function(e){return e.rotate?"rotate(180deg)":"rotate(0deg)"})),y=s.default.ul.withConfig({displayName:"styles__Level3List",componentId:"j2npqe-0"})(["flex-basis:100%;border-left:3px solid var(--assa-abloy-blue);"]),k=s.default.li.withConfig({displayName:"styles__Level3Item",componentId:"j2npqe-1"})(["padding:var(--spacing-small);margin:0;& > a{display:flex;align-items:center;svg{display:none;height:10px;width:auto;transform:rotate(-90deg);display:",";}span{font-weight:",";font-size:var(--font-size-3);padding-left:",";}}"],(function(e){return e.currentUrl?"block":"none"}),(function(e){return e.currentUrl?"var(--font-weight-bold)":"var(--font-weight-regular)"}),(function(e){return e.currentUrl?"var(--spacing-mini-2)":0})),E=function(e){var t=l()({},f,e.menuItem),n=Array.isArray(t.links)?t.links:[];return r.a.createElement(y,{id:"level3-menu"},n.map((function(e,t){return r.a.createElement(k,{key:"menu-item-".concat(t),currentUrl:!1},r.a.createElement("a",{href:e.url},r.a.createElement(c.a,{icon:"chevron.svg"}),r.a.createElement("span",null,e.label)))})))},_=function(e){var t=Object(i.useState)(""),n=Object(a.a)(t,2),o=n[0],s=n[1],d=!!e.menuItem,u=l()({},f,e.menuItem),p=Array.isArray(u.links)?u.links:[],m=function(e){s(o?"":e.currentTarget.dataset.level2ItemLabel||"")};return r.a.createElement(h,{id:"level2-menu",isOpen:d},r.a.createElement(v,{onClick:function(){e.onClickBackButton()}},r.a.createElement(c.a,{icon:"arrow2.svg"}),r.a.createElement("span",null,"Back")),r.a.createElement(b,null,p.map((function(e,t){var n;return r.a.createElement(x,{key:"menu-item-".concat(t),currentUrl:!1},r.a.createElement(c.a,{icon:"chevron.svg"}),r.a.createElement("a",{href:e.url},e.label),(null===(n=e.links)||void 0===n?void 0:n.length)>0?r.a.createElement("button",{onClick:m,"data-level2-item-label":e.label},r.a.createElement(w,{icon:"chevron.svg",rotate:e.label===o})):null,e.label===o?r.a.createElement(E,{menuItem:p.find((function(e){return e.label===o}))}):null)}))))},j=function(e){var t=Object(i.useState)(""),n=Object(a.a)(t,2),o=n[0],l=n[1],s=e.menuItems.find((function(e){return e.label===o})),d=!s,g=function(e){var t=e.currentTarget.dataset.menuItemLabel||"";l(t)};return r.a.createElement(u,null,r.a.createElement(p,{id:"level1-menu",isOpen:d},e.menuItems.map((function(e,t){var n;return r.a.createElement(m,{key:"menu-item-".concat(t)},r.a.createElement("a",{href:e.url},e.label),(null===(n=e.links)||void 0===n?void 0:n.length)>0?r.a.createElement("button",{onClick:g,"data-menu-item-label":e.label},r.a.createElement(c.a,{icon:"chevron.svg"})):null)}))),r.a.createElement(_,{menuItem:s,onClickBackButton:function(){l("")}}))};j.defaultProps={menuItems:[]};var O=j,L=n(9),C=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1dxqxb1-0"})(["display:flex;min-height:100%;box-shadow:0px 100px 80px rgba(0,0,0,0.02),0px 41.7776px 33.4221px rgba(0,0,0,0.0143771),0px 22.3363px 17.869px rgba(0,0,0,0.0119221),0px 12.5216px 10.0172px rgba(0,0,0,0.01),0px 6.6501px 5.32008px rgba(0,0,0,0.00807786),0px 2.76726px 2.21381px rgba(0,0,0,0.00562291);& .meta-description{color:var(--grey-80);font-size:var(--font-size-2);margin-top:18px;margin-bottom:0px;}"]),I=s.default.li.withConfig({displayName:"styles__View",componentId:"sc-1h5xuwo-0"})(["margin-left:",";.sub-menu{font-size:1rem;line-height:var(--line-height-size-2);}.main-menu{font-size:1rem;line-height:var(--line-height-size-3);padding:14px 18px;}&.active{background-color:",";.main-menu,.sub-menu{font-weight:var(--font-weight-semi-bold) !important;}}&:hover{cursor:pointer;border-left:2px solid var(--navigation-border-color);background-color:",";.main-menu,.sub-menu{text-decoration:underline;}}"],(function(e){var t=e.navigationLevel;if(2===t||3===t)return"18px;"}),(function(e){var t=e.navigationLevel;return 1===t?"var(--section-background-alt-2)":2===t?"var(--navigation-background-alt-1)":3===t?"var(--navigation-background-alt-2)":void 0}),(function(e){var t=e.navigationLevel;return 1===t?"var(--section-background-alt-2)":2===t?"var(--navigation-background-alt-1)":3===t?"var(--navigation-background-alt-2)":void 0})),N=s.default.a.withConfig({displayName:"styles__DirectLink",componentId:"sc-1h5xuwo-1"})(["padding:6px 18px;display:block;font-weight:400 !important;&:hover{text-decoration:none !important;}"]),z=s.default.button.withConfig({displayName:"styles__MenuLink",componentId:"sc-1h5xuwo-2"})(["text-align:left;border:none;width:100%;background-color:transparent;outline:0;padding:6px 18px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;> svg{width:auto;height:11px;transform:rotate(-90deg);}"]),S=function(e){var t=e.linkType,n=void 0===t?"direct":t,o=e.handleClick,l=e.className,s=void 0===l?"link":l,d=e.link,u=e.navigationLevel,p=e.activeID,m=Object(i.useState)(""),g=Object(a.a)(m,2),f=g[0],h=g[1],v=Object(i.useRef)(null);return Object(i.useEffect)((function(){d.id===p?h("active"):h("")}),[p,d.id]),"direct"===n?r.a.createElement(I,{className:"".concat(f),navigationLevel:u,linkType:n},r.a.createElement(N,{navigationLevel:u,linkType:n,className:"direct-link ".concat(s," ").concat(f),href:d.url},d.label)):r.a.createElement(I,{navigationLevel:u,className:"".concat(f),linkType:n},r.a.createElement(z,{ref:v,navigationLevel:u,linkType:n,className:"menu-link ".concat(s),onClick:function(){o&&o(d)}},d.label,r.a.createElement(c.a,{icon:"chevron.svg"})))},A={id:"",label:"",links:[],metaDescription:"",url:"/#"},M=s.default.section.withConfig({displayName:"styles__View",componentId:"sc-7285u0-0"})(["min-height:550px;overflow:auto;padding-bottom:",";padding-top:",";background-color:",";width:",";@media (min-width:980px){width:",";}@media (min-width:1240px){width:",";}"],(function(e){return 1===e.navigationLevel?"calc(84px + 56px + 32px)":"80px"}),(function(e){return 1===e.navigationLevel&&"36px"}),(function(e){var t=e.theme,n=e.navigationLevel;return"main-menu"===t?"var(--navigation-background-alt-1)":"sub-menu"===t&&2===n?"var(--navigation-background-alt-2)":"sub-menu"===t&&3===n?"var(--navigation-background-alt-1)":void 0}),(function(e){return 1===e.navigationLevel?"300px":"calc(50vw - 10.4rem)"}),(function(e){return 1===e.navigationLevel?"320px":"calc(50vw - 11rem)"}),(function(e){return 1===e.navigationLevel?"320px":"440px"})),D=s.default.ul.withConfig({displayName:"styles__LinkList",componentId:"sc-7285u0-1"})(["margin:0;li{padding:3px 0;margin:0 14px !important;cursor:pointer;border-left:2px solid transparent;border-left:",";}&.active li{border-left:2px solid transparent;&.active{border-left:2px solid var(--navigation-border-color);}}& li:last-child{margin-bottom:24px !important;}"],(function(e){return 1!==e.navigationLevel&&"2px solid var(--navigation-border-color);"})),U=s.default.a.withConfig({displayName:"styles__Head",componentId:"sc-7285u0-2"})(["padding:36px 36px 0 36px;font-size:16px;display:block;cursor:pointer;&:hover{text-decoration:underline;}> h5{display:inline;margin-right:var(--spacing-small-1);}> p{color:var(--grey-80);font-weight:400;margin:0;margin-top:18px;margin-bottom:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden !important;}"]),H=function(e){var t,n=Object(L.a)(Object(L.a)({},e),{},{links:l()([],A,e.content)}),o=Object(i.useState)(""),s=Object(a.a)(o,2),d=s[0],u=s[1];return Object(i.useEffect)((function(){var t;(null===(t=n.content.links)||void 0===t?void 0:t.filter((function(t){return t.id===e.activeID}))).length>0?u("active"):u("not-active")}),[e.activeID,n.content.links]),r.a.createElement(M,{theme:e.linkType,navigationLevel:e.navigationLevel},1!==e.navigationLevel&&r.a.createElement(U,{href:n.content.url},r.a.createElement("h5",null,n.content.label),r.a.createElement(c.a,{icon:"arrow2.svg"}),r.a.createElement("p",null,n.content.description)),r.a.createElement(D,{className:d,navigationLevel:e.navigationLevel},null===(t=n.content.links)||void 0===t?void 0:t.map((function(e){return r.a.createElement(S,{key:e.id,activeID:n.activeID,className:n.linkType,navigationLevel:n.navigationLevel,linkType:e.links?"undirect":"direct",handleClick:n.handleClick,link:e})}))))},V=function(e){var t=e.menuItems,n=Object(i.useState)({level1:"",level2:""}),o=Object(a.a)(n,2),l=o[0],c=o[1],s=Object(i.useState)({level1:t,level2:{},level3:{}}),d=Object(a.a)(s,2),u=d[0],p=d[1],m=u.level1,g=u.level2,f=u.level3;return r.a.createElement(C,null,r.a.createElement(H,{linkType:"main-menu",navigationLevel:1,content:m,handleClick:function(e){p(Object(L.a)(Object(L.a)({},u),{},{level2:e,level3:{}})),c(Object(L.a)(Object(L.a)({},l),{},{level1:e.id,level2:""}))},activeID:l.level1}),g.links&&r.a.createElement(H,{linkType:"sub-menu",navigationLevel:2,content:g,handleClick:function(e){p(Object(L.a)(Object(L.a)({},u),{},{level3:e})),c(Object(L.a)(Object(L.a)({},l),{},{level2:e.id}))},activeID:l.level2}),f.links&&r.a.createElement(H,{linkType:"sub-menu",navigationLevel:3,content:f}))};V.defaultProps={};var B=V,T=n(25),R=s.default.div.withConfig({displayName:"styles__View",componentId:"zbj9ay-0"})(["position:relative;background-color:transparent;height:100%;font-size:16px;a{text-decoration:none;font-weight:var(--font-weight-medium);color:var(--grey);}ul{padding:0;li{list-style:none;}}"]),P=s.default.div.withConfig({displayName:"styles__Nav",componentId:"zbj9ay-1"})(["display:flex;align-items:center;height:100%;min-height:64px;display:flex;align-items:center;nav{display:none;ul{display:flex;align-items:flex-start;flex-wrap:wrap;height:24px;overflow:hidden;li{height:24px;}a{color:var(--white);margin-right:var(--spacing-medium-1);&:hover{text-decoration:underline;}}}}&.open{a{opacity:0;pointer-events:none;}}&.closed{a{opacity:1;}}@media only screen and (min-width:980px){nav{display:initial;}}"]),F=s.default.div.withConfig({displayName:"styles__HamburgerNav",componentId:"zbj9ay-2"})(["overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;position:absolute;top:64px;left:-0.5rem;border-radius:0 0 var(--border-radius) var(--border-radius);height:calc(100vh - 112px);min-height:550px;background-color:#fff;box-shadow:inset 0px 100px 80px rgba(0,0,0,0.02),0px 41.7776px 33.4221px rgba(0,0,0,0.0143771),0px 22.3363px 17.869px rgba(0,0,0,0.0119221),0px 12.5216px 10.0172px rgba(0,0,0,0.01),0px 6.6501px 5.32008px rgba(0,0,0,0.00807786),0px 2.76826px 2.21381px rgba(0,0,0,0.00562291);nav{display:flex;flex-direction:column;flex-grow:1;height:100%;li{a:hover{text-decoration:underline;}}}@media only screen and (max-width:767px){width:100vw;}@media only screen and (min-width:767px){height:calc(100vh - 72px);overflow:unset;min-width:300px;nav li{margin:var(--spacing-medium) var(--spacing-medium) var(--spacing-medium) var(--spacing-medium-1);}height:auto;}@media only screen and (min-width:1024px){min-width:320px;}"]),W=s.default.div.withConfig({displayName:"styles__Current",componentId:"zbj9ay-3"})(["background-color:var(--grey-80);width:100vw;padding:18px;color:var(--white);z-index:99;p{font-weight:var(--font-weight-medium);margin:0;}span{font-weight:var(--font-weight-light);display:block;}@media (min-width:767px){max-width:300px;position:absolute;bottom:0;width:100%;left:0;}@media (min-width:980px){max-width:320px;}"]),Z=s.default.div.withConfig({displayName:"styles__SwitcherContainer",componentId:"zbj9ay-4"})(["width:calc(100vw - 64px);position:absolute;z-index:999;left:var(--spacing-medium);display:flex;& .division-brand-switcher{display:flex !important;}.dropdown{width:100%;button{width:100%;}}bottom:calc(84px + 32px);.is-visible{max-height:112px;overflow:scroll;z-index:99;}@media (min-width:768px){width:calc(300px - 28px);left:14px;}@media (min-width:980px){width:calc(320px - 28px);}@media (min-width:1025px){}@media (min-width:1200px){display:none;}"]),q=s.default.button.withConfig({displayName:"styles__Hamburger",componentId:"zbj9ay-5"})(["display:flex;align-items:center;flex-direction:column;cursor:pointer;border:none;background:none;position:relative;margin-left:0;margin-right:var(--spacing-small-1);span{background-color:var(--white);width:22px;height:2px;margin:2px 0;display:block;transform-origin:0 0;}&.open span:nth-child(1){transform:rotate(45deg) translate(1px,-2px);width:18px;}&.open span:nth-child(2){transform:scaleX(0);}&.open span:nth-child(3){transform:rotate(-45deg);width:19px;}&:hover{cursor:pointer;}@media only screen and (min-width:768px){margin-left:var(--spacing-small);margin-right:var(--spacing-medium);}"]),J=function(e){var t={links:l()([],g,e.menuItems)},n=e.marketData.name,o=Object(i.useState)(!1),c=Object(a.a)(o,2),s=c[0],d=c[1],u=Object(T.a)().width||window.innerWidth,p=e.LanguageSwitcher,m=e.DivisionBrandSwitcher;return document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__navigation")||d(!1))})),r.a.createElement(R,{className:"nav-bar__navigation"},r.a.createElement(P,null,r.a.createElement(q,{onClick:function(){d(!s)},className:s?"open":""},r.a.createElement("span",null),r.a.createElement("span",null),r.a.createElement("span",null)),!s&&r.a.createElement("nav",null,r.a.createElement("ul",null,e.menuItems.map((function(e,t){return r.a.createElement("li",{key:"menu-item-".concat(t)},r.a.createElement("a",{href:e.url},e.label))}))))),s&&r.a.createElement(F,null,r.a.createElement("nav",null,u>=767?r.a.createElement(B,{menuItems:t}):r.a.createElement(O,{menuItems:e.menuItems})),r.a.createElement(Z,null,p&&p,m&&m),r.a.createElement(W,null,r.a.createElement("span",null,"You are visiting"),r.a.createElement("p",null,n))))};J.defaultProps={menuItems:[],LanguageSwitcher:void 0};var K=J,Y=n(28),G=function(e){var t=e.color;return r.a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M6.15 8.981c-.046-.045.057.367.205.515.258.264.464.296.574.303.238.006.534-.058.708-.135.167-.071.464-.226.58-.445.025-.045.09-.128.045-.322-.033-.148-.13-.206-.245-.193-.116.007-.47.103-.644.155-.174.051-.522.16-.676.193-.155.026-.496-.02-.548-.071zM10.49 13.895a70.55 70.55 0 01-1.669-.702c-.16-.077-.56-.245-.747-.322.529-.818.863-1.43.908-1.527.084-.173.644-1.268.657-1.332.013-.071.026-.323.02-.38-.013-.058-.22.057-.496.148-.277.096-.812.438-1.011.483-.206.045-.863.29-1.198.405-.335.11-.973.303-1.237.374-.264.07-.49.077-.637.122 0 0 .02.206.058.264a.657.657 0 00.341.258c.161.045.425.026.547 0 .123-.026.335-.129.361-.174.026-.045-.013-.187.032-.225.052-.046.69-.194.928-.264.244-.078 1.165-.393 1.294-.374-.038.129-.786 1.604-1.024 2.048-.238.438-1.63 2.376-1.932 2.718-.225.257-.773.92-.96 1.069.046.013.387-.013.445-.052.386-.238 1.024-1.03 1.23-1.275a20.762 20.762 0 001.571-2.119c.084.032.754.58.928.702.174.123.863.509 1.017.573.148.065.728.329.747.239.02-.097-.11-.631-.174-.657z",fill:t}),r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.605 20.367l-1.86-.142.514.844c-.103.058-.212.135-.277.168a5.753 5.753 0 01-.38.206c-.148.077-.309.154-.438.218-.109.046-.231.097-.328.142-.122.045-.238.097-.348.136-.174.057-.347.122-.508.167-.168.051-.335.09-.503.129-.225.051-.457.09-.663.122-.264.039-.509.052-.767.077h-.67c-.135 0-.798-.083-.824-.083a12.368 12.368 0 01-.734-.136 10.346 10.346 0 01-1.256-.38 8.268 8.268 0 01-.908-.405 3.524 3.524 0 01-.405-.22c-.045-.019-.284-.193-.406-.193a.213.213 0 00-.219.22c0 .064.006.128.097.186a7.875 7.875 0 001.558.786c.283.11.573.219.876.296.174.052.367.103.547.142.232.051.477.097.709.135.264.039.534.064.798.09h.986c.219 0 .991-.122 1.069-.135.141-.02.283-.058.425-.09.373-.09.792-.225 1.172-.367.29-.11.599-.245.895-.406.148-.084.322-.154.464-.251.07-.052.186-.097.277-.155l.47.767.637-1.868z",fill:t}),r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.28 7.107l1.72.547v12.578l-9.042-2.885c-.006.013-.02.019-.026.019-.186.077-8.597 2.898-8.707 2.898-.09 0-.173-.058-.219-.154a.047.047 0 00-.003-.017.048.048 0 01-.003-.016V7.526l.009-.03a.2.2 0 01.043-.093c.05-.072.138-.096.203-.114l.028-.008.211-.07 1.535-.516v-4.47l6.53 2.306.193-.058c.45-.187 2.634-.914 3.548-1.217C15.572 3.159 18.94 2 19.043 2a.23.23 0 01.238.238v4.869zm-.45-.148V2.535L12.106 4.82l6.724 2.138zM3.45 19.71L11.592 17V4.995l-8.14 2.71V19.71zm12.102-7.168l.889-2.144.74 2.64-1.63-.496zm1.52-3.819l-1.166-.354-2.544 6.247 1.198.36.535-1.28 2.473.746.431 1.572 1.198.36-2.125-7.65z",fill:t}))},X={background:"var(--dropdown-background-light)",color:"var(--dropdown-color)"},$={background:"var(--assa-abloy-blue-90)",color:"var(--white)"},Q=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1wm9rbq-0"})(["display:flex;@media only screen and (min-width:1025px){margin-left:0;justify-content:flex-end;}& .dropdown__button{background-color:",";color:",";&::after{border-right:2px solid #fff;border-right:",";border-bottom:",";display:",";}.dropdown__button__icon__wrapper svg > *{fill:",";}}"],(function(e){return e.theme.background}),(function(e){return e.theme.color}),(function(e){var t=e.theme;return"2px solid ".concat(t.color)}),(function(e){var t=e.theme;return"2px solid ".concat(t.color)}),(function(e){return e.hasLanguages<=1&&"none"}),(function(e){var t=e.theme;return"".concat(t.color)})),ee=s.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1wm9rbq-1"})(["position:relative;font-size:16px;@media only screen and (min-width:1025px){display:block;}.dropdown__button{display:flex;align-items:center;height:46px;position:relative;outline:none;min-width:120px;border:0;margin:0;padding:0.8rem 1rem 0.8rem 0.8rem;padding-right:",';border-radius:var(--border-radius);text-align:left;cursor:pointer;font-family:var(--font-family-body);font-weight:var(--font-weight-medium);&::after{content:"";position:absolute;width:8px;height:8px;right:16px;top:calc(50% - 3px);transform:rotate(45deg);border-radius:1px;transition:ease-in-out 0.16s;transform-origin:center center;}&__icon__wrapper{display:inline-block;width:24px;height:auto;margin-right:0.4rem;transform:translateY(2px);}&[aria-expanded="true"]{&::after{transform:rotate(-135deg);}}}'],(function(e){return e.hasLanguages<=1?"0.8rem":"calc(1.6rem + 0.5rem)"})),te=s.default.div.withConfig({displayName:"styles__Menu",componentId:"sc-1wm9rbq-2"})(["display:none;border-radius:0 0 4px 4px;position:absolute;width:100%;z-index:1;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);animation:fadeOut 0.2s linear;animation-fill-mode:forwards;opacity:0;pointer-events:none;a{opacity:0;}&.is-visible{display:block;animation:fadeIn 0.2s linear;animation-fill-mode:forwards;opacity:0;pointer-events:unset;a{animation:fadeIn 0.3s linear;animation-fill-mode:forwards;opacity:0;}}a{border-top:1px solid var(--checkbox-border-color);min-height:56px;display:block;border-radius:0;background-color:var(--dropdown-background-alt-1);color:var(--dropdown-color);position:relative;text-decoration:none;min-width:120px;margin:0;padding:0.8rem 1rem;padding-right:calc(1.6rem + 0.5rem);text-align:left;cursor:pointer;&.is-active{font-weight:var(--font-weight-semi-bold);}&:hover{background-color:var(--grey-5) !important;cursor:pointer;text-decoration:underline;}&:last-child{border-radius:0px 0px 0.25rem 0.25rem;}}"]),ne=function(e){var t=Object(Y.a)(e.languages.length),n=t.buttonProps,o=t.itemProps,l=t.isOpen,c=t.setIsOpen,s=Object(i.useState)(e.currentLanguage),d=Object(a.a)(s,2),u=d[0],p=d[1];Object(i.useEffect)((function(){"string"===typeof e.currentLanguage&&p(e.currentLanguage)}),[e.currentLanguage]);var m=e.languages.map((function(e,t){var n=e.label,a=e.url;return r.a.createElement("a",Object.assign({key:n},o[t],{className:u===n?"is-active":"",href:a,onClick:function(e){return p(n),void c(!1)}}),n)}));return r.a.createElement(Q,{theme:function(e){switch(e){case"theme-alt-1":return X;case"theme-alt-2":return $;default:return X}}(e.theme),hasLanguages:m.length,className:"nav-bar__language-switcher"},r.a.createElement(ee,{hasLanguages:m.length,className:"dropdown"},r.a.createElement("button",Object.assign({className:"dropdown__button"},n),r.a.createElement("span",{className:"dropdown__button__icon__wrapper"},r.a.createElement(G,{color:"#000"})),u),r.a.createElement(te,{className:l?"is-visible":"",role:"menu"},m.length>1&&m)))};ne.defaultProps={languages:[],currentLanguage:""};var ae=ne,ie=n(4);function re(){var e=Object(ie.a)(["\n body div#addsearch-results {\n font-family: var(--font-family-body);\n font-weight: var(--font-weight-regular);\n background: var(--white);\n top: 128px !important;\n width: 408px !important;\n border: none !important;\n box-shadow:\n 0px 100px 80px rgba(0, 0, 0, 0.00696822),\n 0px 30.1471px 24.1177px rgba(0, 0, 0, 0.01),\n 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.0130318),\n 0px 4.5288px 3.62304px rgba(0, 0, 0, 0.02);\n backdrop-filter: blur(100px);\n border-radius: 4px;\n padding: var(--spacing-small);\n height: calc(100% - 150px) !important;\n left: unset !important;\n right: 1rem !important;\n\n @media screen and (max-width: 1200px) {\n right: 9px !important;\n left: unset !important;\n }\n\n @media screen and (min-width: 768px) {\n height: unset !important;\n }\n\n @media screen and (max-width: 767px) {\n right: unset !important;\n left: unset !important;\n width: 98% !important;\n margin-left: 1%;\n margin-right: 1%;\n box-sizing: border-box;\n top: 112px !important;\n padding-right: var(--spacing-small);\n height: calc(100% - 110px) !important;\n }\n\n * {\n background-image: none !important;\n }\n\n #addsearch-top-close {\n display: none !important;\n }\n\n #addsearch-results-right {\n display: none;\n }\n\n #addsearch-results-mid {\n width: 100%;\n }\n\n\n @media (max-width: 768px) {\n #addsearch-results-mid {\n height: 100% !important;\n }\n }\n\n #addsearch-results-bottom {\n display: none;\n }\n\n .addsearch-result-item-sub {\n margin: 0;\n width: unset !important;\n border: none;\n min-height: unset;\n\n > div {\n padding: 0;\n padding-bottom: var(--spacing-small) !important;\n padding-left: var(--spacing-small) !important;\n padding-right: var(--spacing-small) !important;\n position: relative;\n min-height: unset;\n height: unset;\n width: unset !important;\n border-bottom: 1px solid var(--grey-10);\n margin-bottom: var(--spacing-small);\n }\n\n p {\n font-size: var(--font-size-2);\n line-height: var(--line-height-loose-size-2);\n color: var(--black);\n padding: 0;\n }\n\n h2 {\n padding-top: 30px;\n\n a {\n font-size: var(--font-size-3);\n line-height: var(--line-height-loose-size-3);\n color: var(--black);\n padding: 0;\n }\n }\n\n &.addsearch-result-item-sub-active {\n background-color: unset;\n }\n\n .addsearch_category {\n position: absolute;\n margin: 0;\n top: 0;\n\n em {\n color: var(--grey-80);\n }\n }\n }\n }\n"]);return re=function(){return e},e}var oe=Object(s.createGlobalStyle)(re()),le=s.default.span.withConfig({displayName:"styles__SearchIcon",componentId:"wan7wq-0"})(["display:",";align-items:center;justify-content:center;width:100%;height:100%;background:transparent;border:0;padding:0;margin-right:0;svg{height:19px;width:auto;}@media screen and ","{display:",";margin-right:5px;width:46px;height:46px;}"],(function(e){return e.isInputFocused?"none":"flex"}),d.b.tabletAndUp,(function(e){return e.isInputFocused?"none":"flex"})),ce=s.default.button.withConfig({displayName:"styles__ClearButton",componentId:"wan7wq-1"})(["display:",";align-items:center;justify-content:center;width:46px;height:46px;background:transparent;border:0;padding:0;margin-right:5px;svg{height:15px;width:auto;}"],(function(e){return e.isInputFocused?"flex":"none"})),se=s.default.div.withConfig({displayName:"styles__View",componentId:"wan7wq-2"})(["height:46px;border-radius:40px;display:flex;margin:0;padding:0;align-items:center;justify-content:center;position:",";right:",";background-color:",";width:",";@media screen and ","{right:8px;width:150px;width:",";position:relative;}input{display:flex;height:46px;background:transparent;border:none;flex-grow:1;font-size:16px;font-weight:var(--font-weight-medium);padding:0;outline:none;padding-left:",";color:",";width:",";&::placeholder{color:transparent;}@media screen and ","{display:flex;padding-left:24px;&::placeholder{color:var(--white);}}}"],(function(e){return e.isFocused?"absolute":"relative"}),(function(e){return e.isFocused&&"8px"}),(function(e){return e.isFocused?"var(--white)":"var(--assa-abloy-blue-90)"}),(function(e){return e.isFocused?"calc(100% - 80px)":"46px"}),d.b.tabletAndUp,(function(e){return e.isFocused?"220px":"150px"}),(function(e){return e.isFocused?"24px":"0"}),(function(e){return e.isFocused?"var(--grey)":"var(--dark-tone-50)"}),(function(e){return e.isFocused?"100%":"0"}),d.b.tabletAndUp),de=function(e){var t,n,o=Object(i.useState)(!1),l=Object(a.a)(o,2),s=l[0],d=l[1],u=Object(i.useState)(""),p=Object(a.a)(u,2),m=p[0],g=p[1],f=Object(i.useRef)(),h=null===e||void 0===e||null===(t=e.search)||void 0===t||null===(n=t.addSearch)||void 0===n?void 0:n.id;Object(i.useEffect)((function(){window.addsearch_settings={results_box_opening_direction:"right",number_of_results:10};var e="https://addsearch.com/js/?key=".concat(h),t=document.createElement("script");t.src=e,h?document.body.appendChild(t):console.warn("Could not inject addSearch script with id: ".concat(h)),document.addEventListener("click",(function(e){if(e.target instanceof Element&&!e.target.closest("#addsearch-results")){var t=document.querySelector("#addsearch-results");t&&(t.style.display="none")}})),document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__search-bar")||d(!1))}))}),[h]);return r.a.createElement(r.a.Fragment,null,r.a.createElement(oe,null),r.a.createElement(se,{className:"nav-bar__search-bar",isFocused:s},r.a.createElement("input",{type:"text",className:"addsearch",placeholder:"Search",disabled:!0,value:m,onChange:function(e){g(e.target.value||"")},ref:f,onFocus:function(e){d(!0)}}),r.a.createElement(le,{isInputFocused:s,onClick:function(){d(!0),f.current&&f.current.focus()}},r.a.createElement(c.a,{icon:"search.svg"})),r.a.createElement(ce,{onClick:function(){g(""),f.current&&f.current.focus()},isInputFocused:s},r.a.createElement(c.a,{icon:"circledcross.svg"}))))},ue=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1ryuw7o-0"})(["&,a{display:flex;}justify-content:center;align-items:center;img{width:9.375rem;}@media (min-width:481px){img{width:11.63rem;}}"]),pe=function(e){var t=e.link,n=e.image;return t&&n?r.a.createElement(ue,{className:"nav-bar__logotype"},r.a.createElement("a",{href:t},r.a.createElement("img",{src:n,alt:"logotype"}))):null},me=n(27),ge=n.n(me),fe=s.default.section.withConfig({displayName:"styles__ModalWrapper",componentId:"dxhpla-0"})(["position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;"]),he=s.default.div.withConfig({displayName:"styles__Modal",componentId:"dxhpla-1"})(["position:absolute;z-index:999999999;height:100%;width:100%;top:0;left:0;background-color:var(--white);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;overflow:auto;@media (min-width:768px){width:90%;height:auto;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:var(--border-radius);}@media (min-width:1024px){width:unset;}"]),ve=s.default.button.withConfig({displayName:"styles__CloseModal",componentId:"dxhpla-2"})(["position:absolute;right:0;top:0;padding:20px;border:0;background:transparent;cursor:pointer;svg{width:20px;height:auto;}"]),be=s.default.div.withConfig({displayName:"styles__Overlay",componentId:"dxhpla-3"})(["position:relative;z-index:9999999;width:100%;height:100%;background-color:rgba(0,0,0,0.8);"]),xe=s.default.div.withConfig({displayName:"styles__Body",componentId:"dxhpla-4"})(["height:calc(100% - 74px);background-color:#fff;"]),we=s.default.div.withConfig({displayName:"styles__Footer",componentId:"dxhpla-5"})(["@media (min-width:768px){width:100%;height:74px;background-color:#f6f6f6;}"]),ye=function(e){var t=document.querySelector("body"),n=Object(i.useState)(e.isOpen),o=Object(a.a)(n,2),l=o[0],s=o[1];return document.addEventListener("keydown",(function(t){"Escape"===t.key&&e.closeModal()})),Object(i.useEffect)((function(){s(e.isOpen)}),[e.isOpen,l]),l?ge.a.createPortal(r.a.createElement(fe,null,r.a.createElement(be,{onClick:e.closeModal}),r.a.createElement(he,{className:"modal",style:Object(L.a)({},e.styles)},r.a.createElement(ve,{onClick:e.closeModal},r.a.createElement(c.a,{icon:"cross.svg"})),r.a.createElement(xe,null,e.children),r.a.createElement(we,null))),t):null},ke=n(19),Ee=n(11),_e=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"wqnviw-0"})(["padding:3rem 1rem 0rem 1rem;border-bottom:1px solid #dfdfdf;@media (min-width:1024px){padding:1rem;border-bottom:0;border-right:1px solid #dfdfdf;}"]),je=s.default.div.withConfig({displayName:"styles__Content",componentId:"wqnviw-1"})(["margin-top:24px;p{margin-top:8px;margin-bottom:var(--spacing-small);}.division{padding-right:32px;margin-bottom:16px;}@media (min-width:1024px){display:flex;.division{width:230px;margin-bottom:0;}}@media (min-width:1200px){display:flex;.division{width:250px;margin-bottom:0;}}"]),Oe=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"wqnviw-2"})(["color:var(--grey-80);"]),Le=function(e){return r.a.createElement(_e,null,r.a.createElement(Oe,{className:"eyebrow"},e.title),r.a.createElement(je,null,e.links.map((function(e,t){return r.a.createElement("div",{className:"division",key:t},r.a.createElement(Ee.a,{text:e.title,size:"h5"}),r.a.createElement("p",null,e.text),r.a.createElement(ke.a,{ctaLabel:e.link.text,ctaUrl:e.link.url,target:"_blank"}))}))))},Ce=n(16),Ie=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1wcevnj-0"})(["padding:1rem;padding-top:2rem;width:100%;@media (min-width:1024px){padding-top:1rem;}"]),Ne=s.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1wcevnj-1"})(["margin-top:24px;display:flex;align-items:center;> .brand{margin-right:var(--spacing-medium);img{object-fit:cover;object-position:left;max-width:100px;max-height:70px;width:unset;}}@media (min-width:1024px){display:block;padding-left:32px;> .brand{width:150px;img{max-width:120px;max-height:100px;}}}"]),ze=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"sc-1wcevnj-2"})(["color:var(--grey-80);@media (min-width:1024px){padding-left:32px;}"]),Se=function(e){return r.a.createElement(Ie,null,r.a.createElement(ze,{className:"eyebrow"},e.title),r.a.createElement(Ne,null,e.links.map((function(e,t){return r.a.createElement("div",{className:"brand",key:t},r.a.createElement(ke.a,{ctaLabel:"",ctaUrl:e.linkURL,hasIcon:!1,target:"_blank"},r.a.createElement(Ce.a,{image:e.logotype,alt:""})))}))))},Ae=function(e){return r.a.createElement("svg",{className:e.className,onClick:e.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29.66 29.55"},r.a.createElement("path",{d:"M29.66,14.72a.6.6,0,0,0-.29-.52l-3.89-2.3,3.89-2.34a.6.6,0,0,0,0-1L15.14.08a.62.62,0,0,0-.62,0L.29,8.53a.6.6,0,0,0,0,1L4.17,11.9.29,14.2a.6.6,0,0,0,0,1l3.88,2.34L.29,19.87a.6.6,0,0,0,0,1l14.23,8.56a.58.58,0,0,0,.62,0L29.37,20.9a.6.6,0,0,0,0-1l-3.88-2.3,3.88-2.34A.6.6,0,0,0,29.66,14.72ZM14.83,1.3,27.89,9.05,14.83,16.91,1.77,9.05ZM27.89,20.39,14.83,28.25,1.77,20.39l3.57-2.12,9.18,5.52a.58.58,0,0,0,.62,0l9.18-5.52Z"}))},Me=s.default.button.withConfig({displayName:"styles__View",componentId:"sc-641bcd-0"})(["display:flex;height:46px;width:46px;justify-content:center;align-items:center;border:0;cursor:pointer;background:var(--grey-5);margin-left:0.5rem;border-radius:var(--border-radius);@media screen and (min-width:1200px){background:transparent;}"]),De=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-641bcd-1"})(["@media (min-width:768px){padding:30px 30px 20px 30px;}@media (min-width:1024px){padding:40px 16px 16px 16px;display:flex;justify-content:space-between;}@media (min-width:1200px){padding:40px 65px;}"]),Ue=Object(s.default)(Ae).withConfig({displayName:"styles__Icon",componentId:"sc-641bcd-2"})(["fill:var(--black);min-width:22px;min-height:22px;box-sizing:content-box;padding:0.3rem;@media screen and (min-width:1200px){fill:var(--white);}"]),He=function(e){var t=Object(i.useState)(!1),n=Object(a.a)(t,2),o=n[0],l=n[1];return r.a.createElement(Me,{className:"division-brand-switcher"},r.a.createElement(ye,{isOpen:o,closeModal:function(){return l(!1)}},r.a.createElement(De,null,r.a.createElement(Le,e.divisions),r.a.createElement(Se,e.brands))),r.a.createElement(Ue,{onClick:function(){return l(!0)}}))},Ve=n(3),Be={url:"",logo:{url:"",link:""},navigationData:{marketData:{name:""},menuItems:[]},languageSwitcherData:{currentLanguage:"",languages:[]},search:{addSearch:{id:""}},divisionBrandSwitcherData:{divisions:{title:"",links:[]},brands:{title:"",links:[]}}},Te=n(24),Re=s.default.header.withConfig({displayName:"styles__Header",componentId:"uaecoh-0"})(["background-color:var(--assa-abloy-blue);width:100vw;z-index:99;align-content:center;display:grid;grid-template-columns:repeat(5,1fr) 150px repeat(5,1fr);grid-auto-flow:column;height:64px;margin:0;border-radius:0;box-shadow:0 100px 80px rgba(0,0,0,0.02),0 41.7776px 33.4221px rgba(0,0,0,0.0143771),0 22.3363px 17.869px rgba(0,0,0,0.0119221),0 12.5216px 10.0172px rgba(0,0,0,0.01),0 6.6501px 5.32008px rgba(0,0,0,0.00807786),0 2.76726px 2.21381px rgba(0,0,0,0.00562291);padding:0 0.5rem;width:100%;.nav-bar__navigation{grid-column:1 / 6;}.nav-bar__logotype{grid-column:6 / 7;svg{fill:#fff;}}.nav-container-right{grid-column:7 / 12;display:flex;justify-content:flex-end;align-items:center;}@media only screen and (min-width:767px){grid-template-columns:repeat(5,1fr) 200px repeat(5,1fr);width:calc(100% - 32px);border-radius:4px;margin:var(--spacing-small) auto 0 auto;}@media only screen and (max-width:1200px){.nav-container-right .nav-bar__language-switcher,.division-brand-switcher{display:none;}}"]),Pe=(s.default.div.withConfig({displayName:"styles__Placeholder",componentId:"uaecoh-1"})(["@media (min-width:1200px){width:200px;}"]),s.default.button.withConfig({displayName:"styles__ModalTrigger",componentId:"uaecoh-2"})(["width:40px;height:40px;background:grey;"]),function(e){var t=l()({},Be,Object(Ve.a)(e.content)),n=window.location.pathname,o="".concat(t.url,"?page=").concat(n),c=Object(Te.a)(o),s=Object(i.useState)(t),d=Object(a.a)(s,2),u=d[0],p=d[1];Object(i.useEffect)((function(){if(null!==c.response&&null===c.error){var e=c.response;p(l()({},t,e))}else null!==c.error&&console.log(c.error)}),[c.response,c.error]);var m=(Object(T.a)().width||0)<1200;return r.a.createElement(Re,{className:"nav-bar"},r.a.createElement(K,Object.assign({},u.navigationData,{DivisionBrandSwitcher:m?r.a.createElement(He,u.divisionBrandSwitcherData):null,LanguageSwitcher:m?r.a.createElement(ae,Object.assign({theme:"theme-alt-1"},u.languageSwitcherData)):null})),r.a.createElement(pe,{link:t.logo.link,image:t.logo.src}),r.a.createElement("div",{className:"nav-container-right"},r.a.createElement(de,{search:t.search}),r.a.createElement(ae,Object.assign({theme:"theme-alt-2"},u.languageSwitcherData)),r.a.createElement(He,u.divisionBrandSwitcherData)))});Pe.defaultProps={content:""}},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),i=n.n(a),r=function(e){var t=null;switch(e.icon){case"externalLink.svg":t=i.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5043 0.575736C14.7386 0.810051 14.7386 1.18995 14.5043 1.42426L6.87427 9.05427C6.63996 9.28858 6.26006 9.28858 6.02575 9.05427C5.79143 8.81995 5.79143 8.44005 6.02575 8.20574L13.6558 0.575736C13.8901 0.341421 14.27 0.341422 14.5043 0.575736Z",fill:"black"}),i.a.createElement("path",{d:"M14.08 4.81789V1H10.2679L14.08 4.81789Z",fill:"black"}),i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.71366 0.770181C9.80658 0.546087 10.0253 0.4 10.2679 0.4H14.08C14.4114 0.4 14.68 0.668629 14.68 1V4.81789C14.68 5.06065 14.5337 5.27949 14.3094 5.3723C14.0851 5.46512 13.827 5.41362 13.6554 5.24183L9.84331 1.42394C9.6719 1.25227 9.62074 0.994274 9.71366 0.770181ZM11.7149 1.6L13.48 3.36781V1.6H11.7149Z",fill:"black"}),i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.27001 1.6C2.80201 1.6 1.6 2.802 1.6 4.27V10.81C1.6 12.278 2.80201 13.48 4.27001 13.48H10.81C12.278 13.48 13.48 12.278 13.48 10.81V7.81681C13.48 7.48544 13.7487 7.21681 14.08 7.21681C14.4114 7.21681 14.68 7.48544 14.68 7.81681V10.81C14.68 12.9407 12.9408 14.68 10.81 14.68H4.27001C2.13926 14.68 0.4 12.9407 0.4 10.81V4.27C0.4 2.13925 2.13927 0.4 4.27001 0.4H7.26319C7.59456 0.4 7.86318 0.668629 7.86318 1C7.86318 1.33137 7.59456 1.6 7.26319 1.6H4.27001Z",fill:"black"}));break;case"cross.svg":t=i.a.createElement("svg",{className:e.className,width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":t=i.a.createElement("svg",{className:e.className,width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;case"document.svg":t=i.a.createElement("svg",{className:e.className,width:"16px ",viewBox:"0 0 23.88 29.55",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("g",{id:"Layer_2","data-name":"Layer 2"},i.a.createElement("g",{id:"icons"},i.a.createElement("path",{d:"M23.67,5.83,18.05.2a.61.61,0,0,0-.44-.2H2.87A2.88,2.88,0,0,0,0,2.87V26.68a2.88,2.88,0,0,0,2.87,2.87H21a2.88,2.88,0,0,0,2.87-2.87V6.27A.56.56,0,0,0,23.67,5.83ZM18.21,2.06l3.61,3.61H19.88A1.67,1.67,0,0,1,18.21,4ZM21,28.35H2.87A1.67,1.67,0,0,1,1.2,26.68V2.87A1.67,1.67,0,0,1,2.87,1.2H17V4a2.87,2.87,0,0,0,2.87,2.87h2.8V26.68A1.67,1.67,0,0,1,21,28.35Z"}),i.a.createElement("path",{d:"M14.77,17H3.43a.6.6,0,0,0,0,1.2H14.77a.6.6,0,0,0,0-1.2Z"}),i.a.createElement("path",{d:"M17.61,11.34H3.43a.6.6,0,0,0,0,1.2H17.61a.6.6,0,1,0,0-1.2Z"}),i.a.createElement("path",{d:"M3.43,6.87H9.1a.6.6,0,0,0,0-1.2H3.43a.6.6,0,1,0,0,1.2Z"}))));break;case"arrow2.svg":t=i.a.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M7.23629 15.1542C7.70242 15.6206 8.45899 15.6188 8.92284 15.1501L14.6074 9.40694C15.3788 8.62759 15.3788 7.37241 14.6074 6.59306L8.92661 0.85369C8.46102 0.383294 7.70132 0.38237 7.23458 0.851632C6.77271 1.316 6.7721 2.06605 7.23322 2.53116L11.4367 6.77113H1.22887C0.550182 6.77113 0 7.32132 0 8C0 8.67868 0.550182 9.22887 1.22887 9.22887H11.4367L7.2322 13.4767C6.77187 13.9418 6.7737 14.6914 7.23629 15.1542Z",fill:"#1A1A1A"}));break;case"chevron.svg":t=i.a.createElement("svg",{className:e.className,width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M5.76471 7.52942L9.52942 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}),i.a.createElement("path",{d:"M5.76471 7.52942L2 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"circledcross.svg":t=i.a.createElement("svg",{className:e.className,width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M8.00004 15.1668C11.6819 15.1668 14.6667 12.1821 14.6667 8.50016C14.6667 4.81826 11.6819 1.8335 8.00004 1.8335C4.31814 1.8335 1.33337 4.81826 1.33337 8.50016C1.33337 12.1821 4.31814 15.1668 8.00004 15.1668Z",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M10 6.5L6 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M6 6.5L10 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"search.svg":t=i.a.createElement("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("circle",{cx:"7.52083",cy:"8.02083",r:"5.33333",stroke:"white",strokeWidth:"2"}),i.a.createElement("path",{d:"M16.6265 17.1265L11.4807 11.9807",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}));break;default:t=i.a.createElement("svg",{className:e.className,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M6.36069 13.2889C6.7526 13.681 7.3887 13.6795 7.77869 13.2854L13.3037 7.70347C13.6894 7.31379 13.6894 6.68621 13.3037 6.29653L7.78042 0.716306C7.38976 0.321611 6.75232 0.320835 6.36069 0.714579L6.30027 0.775326C5.91273 1.16496 5.91222 1.79431 6.29913 2.18457L10.0071 5.92474H1C0.447715 5.92474 0 6.37246 0 6.92474V7.07526C0 7.62754 0.447715 8.07526 1 8.07526H10.0071L6.2997 11.8209C5.91266 12.212 5.9142 12.8422 6.30314 13.2313L6.36069 13.2889Z",fill:"#1A1A1A"}))}return t}}}); | ||
!function(e){function t(t){for(var a,o,l=t[0],c=t[1],s=t[2],u=0,p=[];u<l.length;u++)o=l[u],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(d&&d(t);p.length;)p.shift()();return r.push.apply(r,s||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==i[c]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},i={13:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var l=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var d=c;r.push([150,0]),n()}({0:function(e,t){e.exports=React},11:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(0),i=n.n(a),r=n(4),o=n(1);function l(){var e=Object(r.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n "]);return l=function(){return e},e}var c=o.default.div.withConfig({displayName:"styles__View",componentId:"bg3c3f-0"})(["a{color:inherit;text-decoration:none;&:hover{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}}",";"],(function(e){var t=e.rowLimit;return void 0!==t&&Object(o.css)(l(),t)})),s=function(e){var t=e.text,n=e.link,a=void 0!==n&&n,r=e.size,o=e.className,l=e.rowLimit,s=i.a.createElement(r,{},t),d=i.a.createElement(r,{},i.a.createElement("a",{href:a},t));return i.a.createElement(c,{rowLimit:l,className:o},a?d:s)}},124:function(e,t,n){"use strict";n.r(t);var a=n(23),i=n(61);t.default=a.a.create({component:i.a,configuration:{tagname:"gw-group-nav-header",useShadow:!1},plugins:[]})},16:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(2),i=n(17),r=n(0),o=n.n(r),l=n(4),c=n(1);function s(){var e=Object(l.a)(["\n "," 0.8s ease-out;\n "]);return s=function(){return e},e}function d(){var e=Object(l.a)(["\n 0% { filter: blur(10px); transform: scale(1.1)}\n 80% { filter: blur(1px); }\n 100% { filter: blur(0px); transform: scale(1.00)}\n"]);return d=function(){return e},e}var u=c.default.div.withConfig({displayName:"styles__ImageWrapper",componentId:"sc-175nep1-0"})(["position:relative;overflow:hidden;"]),p=Object(c.keyframes)(d()),m=c.default.img.withConfig({displayName:"styles__Image",componentId:"sc-175nep1-1"})(["display:flex;max-width:100%;object-fit:cover;width:100%;filter:",";transform:",";animation:",";"],(function(e){return e.blur?"blur(20px);":""}),(function(e){return e.blur?"scale(1.1);":"scale(1)"}),(function(e){var t=e.blur,n=e.cacheHit,a=e.showProgressiveImage;return n||!a||t?"":Object(c.css)(s(),p)})),g=c.default.div.withConfig({displayName:"styles__Label",componentId:"sc-175nep1-2"})(["position:absolute;top:1rem;left:1rem;padding:0.5rem 1rem;font-size:16px;line-height:24px;border-radius:var(--border-radius);background-color:rgba(26,26,26,0.8);backdrop-filter:blur(10px);color:#fff;z-index:1;p{font-weight:var(--font-weight-semi-bold);}span{font-weight:var(--font-weight-regular);}&.bottomRight{text-align:right;top:unset;left:unset;bottom:1rem;right:1rem;}&.bottomLeft{top:unset;left:unset;bottom:1rem;left:1rem;}&.topLeft{top:1rem;left:1rem;}&.topRight{right:1rem;left:unset;text-align:right;}a{text-decoration:none;color:#fff;}p{margin:0;}"]),f=function(e,t){var n=Object(r.useState)(""),i=Object(a.a)(n,2),o=i[0],l=i[1],c=Object(r.useState)(!1),s=Object(a.a)(c,2),d=s[0],u=s[1];return Object(r.useEffect)((function(){var n=new Image;if(n.src=t,n.complete)return l(t),void u(!0);l(e),n.onload=function(){return l(t)}}),[e,t]),[o,d]},h=function(e){var t=e.caption,n=e.metaContent,l=e.link,c=e.alt,s=e.style,d=void 0===s?"":s,p=e.image,h=e.tinyImageSrc,v=void 0===h?"":h,b=e.imageLabel,x=e.className,w=void 0===x?"":x,y=Object(i.a)(e,["caption","metaContent","link","alt","style","image","tinyImageSrc","imageLabel","className"]),k=v,E=p,_=f(k,E),j=Object(a.a)(_,2),O=j[0],L=j[1],C=Object(r.useState)(!1),I=Object(a.a)(C,2),N=I[0],z=I[1],S=O===k||!N,A=!0;k&&!L||(S=!1),k||(A=!1);var M=O?o.a.createElement(m,{src:O,alt:c,blur:S,cacheHit:L,showProgressiveImage:A,onLoad:function(){return O===E?z(!0):null}}):null;return O?o.a.createElement(u,Object.assign({},y,{className:"".concat(d," ").concat(w)}),b&&b.title&&!1!==b.visible&&o.a.createElement(g,{className:b.position},o.a.createElement("a",{href:b.url},b.title&&o.a.createElement("p",null,b.title),b.text&&o.a.createElement("span",null,b.text))),l?o.a.createElement("a",{href:l},M):M,n&&o.a.createElement("meta",{itemProp:"caption",content:n}),t&&o.a.createElement("span",{className:"cmp-image__title"},t)):null}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(0),i=n.n(a),r=n(1).default.a.withConfig({displayName:"styles__View",componentId:"leqorv-0"})(["text-decoration:none;color:var(--grey);display:flex;align-items:center;font-size:var(--font-size-2);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);div{align-items:center;padding-right:1rem;span{padding-right:10px;margin:0;}}svg{transition:ease-in-out 0.2s;position:relative;top:2px;}&:hover span{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}"]),o=n(7),l=function(e){var t=e.icon?e.icon:i.a.createElement(o.a,null),n=e.ctaLabel?i.a.createElement("div",null,i.a.createElement("span",null,e.ctaLabel)," ",e.hasIcon?t:null):null;return i.a.createElement(r,{href:e.ctaUrl,target:e.target},n,e.children)};l.defaultProps={ctaLabel:"",ctaUrl:"",target:"_self",hasIcon:!0,icon:null}},24:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(20),i=n.n(a),r=n(29),o=n(2),l=n(0),c=function(e){var t=Object(l.useState)(null),n=Object(o.a)(t,2),a=n[0],c=n[1],s=Object(l.useState)(null),d=Object(o.a)(s,2),u=d[0],p=d[1],m=Object(l.useState)(!1),g=Object(o.a)(m,2),f=g[0],h=g[1];return Object(l.useEffect)((function(){(function(){var t=Object(r.a)(i.a.mark((function t(){var n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h(!0),t.prev=1,t.next=4,fetch(e);case 4:return n=t.sent,t.next=7,n.json();case 7:a=t.sent,c(a),h(!1),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),p(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}})()()}),[e]),{response:a,error:u,isLoading:f}}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(2),i=n(0),r=n(3);function o(){var e=Object(i.useState)({width:void 0,height:void 0}),t=Object(a.a)(e,2),n=t[0],o=t[1];return Object(i.useEffect)((function(){var e=Object(r.b)((function(){o({width:window.innerWidth,height:window.innerHeight})}),500);return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),n}},27:function(e,t){e.exports=ReactDOM},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(14),i=n(2),r=n(0);function o(e){var t=Object(r.useState)(!1),n=Object(i.a)(t,2),o=n[0],l=n[1],c=Object(r.useRef)(null),s=Object(r.useRef)(!0),d=Object(r.useRef)(!1),u=Object(r.useRef)(null),p=Object(r.useRef)([]);Object(r.useEffect)((function(){p.current=Object(a.a)(Array(e)).map((function(){return Object(r.createRef)()}))}),[e]);var m=function(e){var t;c.current=e,null===(t=p.current[e].current)||void 0===t||t.focus()};Object(r.useEffect)((function(){s.current?s.current=!1:o&&!d.current?m(0):o||(d.current=!1)}),[o]),Object(r.useEffect)((function(){if(o){var e=function(e){setTimeout((function(){e.target instanceof Element&&(e.target.closest('[role="menu"]')instanceof Element||l(!1))}),10)};return setTimeout((function(){document.addEventListener("click",e)}),1),function(){return document.removeEventListener("click",e)}}}),[o]),Object(r.useEffect)((function(){var e=function(e){!o||"ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.preventDefault()};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[o]);var g=function(e){if(function(e){return void 0!==e.key}(e)){var t=e.key;if(!["Enter"," ","Tab","ArrowDown"].includes(t))return;("Tab"===t||"ArrowDown"===t)&&d.current&&o?(e.preventDefault(),m(0)):"Tab"!==t&&(e.preventDefault(),l(!0))}else d.current=!o,l(!o)},f=function(e){var t=e.key;if(["Tab","Shift","Enter","Escape","ArrowUp","ArrowDown"].includes(t)){var n,a=c.current;if("Escape"===t)return l(!1),void(null===(n=u.current)||void 0===n||n.focus());if("Tab"!==t){if("Enter"===t)return e.currentTarget.href||e.currentTarget.click(),void l(!1);null!==a&&("ArrowUp"===t?a-=1:"ArrowDown"===t&&(a+=1),a>p.current.length-1?a=0:a<0&&(a=p.current.length-1)),null!==a&&m(a)}else l(!1)}};return{buttonProps:{onKeyDown:g,onClick:g,tabIndex:0,ref:u,role:"button","aria-haspopup":!0,"aria-expanded":o},itemProps:Object(a.a)(Array(e)).map((function(e,t){return{onKeyDown:f,tabIndex:-1,role:"menuitem",ref:p.current[t]}})),isOpen:o,setIsOpen:l}}},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"k",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return s})),n.d(t,"g",(function(){return d})),n.d(t,"j",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"d",(function(){return g}));var a=n(2),i=function(e){try{return JSON.parse(decodeURIComponent(escape(atob(e))))}catch(t){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",e),null}},r=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return"Invalid Date"!==new Date(e).toString()?new Date(e).toISOString().slice(0,10):e},l=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},c=function(e){return e.sort((function(e,t){return e.created>t.created?-1:e.created<t.created?1:0}))},s=function(e){return e.sort((function(e,t){return e.created<t.created?-1:e.created>t.created?1:0}))},d=function(e){return e.sort((function(e,t){return e.title<t.title?-1:e.title>t.title?1:0}))},u=function(e){return e.sort((function(e,t){return e.title>t.title?-1:e.title<t.title?1:0}))};function p(e,t){var n,a=arguments,i=this;return function(r){clearTimeout(n),n=setTimeout((function(t){n=null,e.apply(i,a)}),t)}}var m=function(e,t){if(!t.length)return e;var n=Object(a.a)(t,1)[0];return/^\d+$/.test(e)?"".concat(e).concat(n):"string"===typeof e&&t.some((function(t){return e.endsWith(t)}))?e:"string"===typeof e&&"".concat(e.trim().replace(/\D/g,"")||"0").concat(n)},g=function(e){return null===e||void 0===e?void 0:e.map((function(e){return f(e)})).join(" | ")},f=function(e){return[e.city,e.state,e.country].filter((function(e){return"string"===typeof e&&e.length>0&&e})).join(", ")}},5:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var a={mobileAndUp:576,tabletAndUp:768,desktopAndUp:1024,largeDesktopAndUp:1200},i={mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),tabletAndUp:"(min-width: ".concat(a.tabletAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),largeDesktopAndUp:"(min-width: ".concat(a.largeDesktopAndUp,"px)")}},61:function(e,t,n){"use strict";n.d(t,"a",(function(){return Pe}));var a=n(2),i=n(0),r=n.n(i),o=n(6),l=n.n(o),c=n(7),s=n(1),d=n(5),u=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1lptheb-0"})(["display:flex;height:100%;position:relative;button{background:none;border:none;}#level1-menu > li{margin:0 32px;background:transparent;margin:0 17px 0 var(--spacing-medium);a{font-size:var(--font-size-4);font-weight:var(--font-weight-semi-bold);line-height:var(--line-height-size-4);}}"]),p=s.default.ul.withConfig({displayName:"styles__Level1List",componentId:"sc-1lptheb-1"})(["overflow:auto;height:calc(100% - 103px);padding-top:15px !important;margin-bottom:15px;margin-top:0;background:transparent;width:100%;position:absolute;flex-shrink:0;left:",";transition:left 0.2s ease-in-out;> li{display:flex;justify-content:space-between;align-items:center;> a{display:flex;flex-grow:1;padding:15px 0;}> button{display:flex;flex-grow:0;padding:0;height:46px;width:46px;align-items:center;justify-content:center;> svg{height:13px;width:auto;transform:rotate(-90deg);}}}@media and screen ","{height:100%;}"],(function(e){return e.isOpen?"0%":"-100%"}),d.b.tabletAndUp),m=s.default.li.withConfig({displayName:"styles__Level1Item",componentId:"sc-1lptheb-2"})([""]),g=[{id:"",label:"",url:"",description:"",links:[]}],f={label:"",url:"",meta:"",links:[]},h=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1cpt7dd-0"})(["background:transparent;position:absolute;width:100%;flex-shrink:0;left:",";transition:left 0.2s ease-in-out;display:flex;flex-direction:column;height:calc(100% - 100px);@media and screen ","{height:100%;};"],(function(e){return e.isOpen?"0%":"100%"}),d.b.tabletAndUp),v=s.default.button.withConfig({displayName:"styles__BackButton",componentId:"sc-1cpt7dd-1"})(["display:flex;align-items:center;padding:15px 15px 15px 0;margin-left:var(--spacing-medium);svg{height:13px;width:13px;transform:rotate(180deg);}span{font-weight:var(--font-weight-semi-bold);font-size:var(--font-size-4);padding-left:var(--spacing-mini-3);line-height:normal;}"]),b=s.default.ul.withConfig({displayName:"styles__Level2List",componentId:"sc-1cpt7dd-2"})(["margin:0;overflow:auto;"]),x=s.default.li.withConfig({displayName:"styles__Level2Item",componentId:"sc-1cpt7dd-3"})(["flex-wrap:wrap;display:flex;justify-content:space-between;align-items:center;margin:0 17px 0 var(--spacing-medium);& > svg{display:",";transform:rotate(-90deg);width:auto;height:10px;}& > a{display:flex;flex-grow:1;padding:var(--spacing-small);padding-left:",";font-size:var(--font-size-4);font-weight:"," !important;}& > button{display:flex;flex-grow:0;height:46px;width:46px;align-items:center;justify-content:center;}"],(function(e){return e.currentUrl?"block":"none"}),(function(e){return e.currentUrl?"var(--spacing-mini-2)":0}),(function(e){return e.currentUrl?"var(--font-weight-bold)":"var(--font-weight-regular)"})),w=Object(s.default)(c.a).withConfig({displayName:"styles__Level2ButtonIcon",componentId:"sc-1cpt7dd-4"})(["width:13px;height:auto;transform:",";transition:transform 0.16s ease-in-out;"],(function(e){return e.rotate?"rotate(180deg)":"rotate(0deg)"})),y=s.default.ul.withConfig({displayName:"styles__Level3List",componentId:"j2npqe-0"})(["flex-basis:100%;border-left:3px solid var(--assa-abloy-blue);"]),k=s.default.li.withConfig({displayName:"styles__Level3Item",componentId:"j2npqe-1"})(["padding:var(--spacing-small);margin:0;& > a{display:flex;align-items:center;svg{display:none;height:10px;width:auto;transform:rotate(-90deg);display:",";}span{font-weight:",";font-size:var(--font-size-3);padding-left:",";}}"],(function(e){return e.currentUrl?"block":"none"}),(function(e){return e.currentUrl?"var(--font-weight-bold)":"var(--font-weight-regular)"}),(function(e){return e.currentUrl?"var(--spacing-mini-2)":0})),E=function(e){var t=l()({},f,e.menuItem),n=Array.isArray(t.links)?t.links:[];return r.a.createElement(y,{id:"level3-menu"},n.map((function(e,t){return r.a.createElement(k,{key:"menu-item-".concat(t),currentUrl:!1},r.a.createElement("a",{href:e.url},r.a.createElement(c.a,{icon:"chevron.svg"}),r.a.createElement("span",null,e.label)))})))},_=function(e){var t=Object(i.useState)(""),n=Object(a.a)(t,2),o=n[0],s=n[1],d=!!e.menuItem,u=l()({},f,e.menuItem),p=Array.isArray(u.links)?u.links:[],m=function(e){s(o?"":e.currentTarget.dataset.level2ItemLabel||"")};return r.a.createElement(h,{id:"level2-menu",isOpen:d},r.a.createElement(v,{onClick:function(){e.onClickBackButton()}},r.a.createElement(c.a,{icon:"arrow2.svg"}),r.a.createElement("span",null,"Back")),r.a.createElement(b,null,p.map((function(e,t){var n;return r.a.createElement(x,{key:"menu-item-".concat(t),currentUrl:!1},r.a.createElement(c.a,{icon:"chevron.svg"}),r.a.createElement("a",{href:e.url},e.label),(null===(n=e.links)||void 0===n?void 0:n.length)>0?r.a.createElement("button",{onClick:m,"data-level2-item-label":e.label},r.a.createElement(w,{icon:"chevron.svg",rotate:e.label===o})):null,e.label===o?r.a.createElement(E,{menuItem:p.find((function(e){return e.label===o}))}):null)}))))},j=function(e){var t=Object(i.useState)(""),n=Object(a.a)(t,2),o=n[0],l=n[1],s=e.menuItems.find((function(e){return e.label===o})),d=!s,g=function(e){var t=e.currentTarget.dataset.menuItemLabel||"";l(t)};return r.a.createElement(u,null,r.a.createElement(p,{id:"level1-menu",isOpen:d},e.menuItems.map((function(e,t){var n;return r.a.createElement(m,{key:"menu-item-".concat(t)},r.a.createElement("a",{href:e.url},e.label),(null===(n=e.links)||void 0===n?void 0:n.length)>0?r.a.createElement("button",{onClick:g,"data-menu-item-label":e.label},r.a.createElement(c.a,{icon:"chevron.svg"})):null)}))),r.a.createElement(_,{menuItem:s,onClickBackButton:function(){l("")}}))};j.defaultProps={menuItems:[]};var O=j,L=n(9),C=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1dxqxb1-0"})(["display:flex;min-height:100%;box-shadow:0px 100px 80px rgba(0,0,0,0.02),0px 41.7776px 33.4221px rgba(0,0,0,0.0143771),0px 22.3363px 17.869px rgba(0,0,0,0.0119221),0px 12.5216px 10.0172px rgba(0,0,0,0.01),0px 6.6501px 5.32008px rgba(0,0,0,0.00807786),0px 2.76726px 2.21381px rgba(0,0,0,0.00562291);& .meta-description{color:var(--grey-80);font-size:var(--font-size-2);margin-top:18px;margin-bottom:0px;}"]),I=s.default.li.withConfig({displayName:"styles__View",componentId:"sc-1h5xuwo-0"})(["margin-left:",";.sub-menu{font-size:1rem;line-height:var(--line-height-size-2);}.main-menu{font-size:1rem;line-height:var(--line-height-size-3);padding:14px 18px;}&.active{background-color:",";.main-menu,.sub-menu{font-weight:var(--font-weight-semi-bold) !important;}}&:hover{cursor:pointer;border-left:2px solid var(--navigation-border-color);background-color:",";.main-menu,.sub-menu{text-decoration:underline;}}"],(function(e){var t=e.navigationLevel;if(2===t||3===t)return"18px;"}),(function(e){var t=e.navigationLevel;return 1===t?"var(--section-background-alt-2)":2===t?"var(--navigation-background-alt-1)":3===t?"var(--navigation-background-alt-2)":void 0}),(function(e){var t=e.navigationLevel;return 1===t?"var(--section-background-alt-2)":2===t?"var(--navigation-background-alt-1)":3===t?"var(--navigation-background-alt-2)":void 0})),N=s.default.a.withConfig({displayName:"styles__DirectLink",componentId:"sc-1h5xuwo-1"})(["padding:6px 18px;display:block;font-weight:400 !important;&:hover{text-decoration:none !important;}"]),z=s.default.button.withConfig({displayName:"styles__MenuLink",componentId:"sc-1h5xuwo-2"})(["text-align:left;border:none;width:100%;background-color:transparent;outline:0;padding:6px 18px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;> svg{width:auto;height:11px;transform:rotate(-90deg);}"]),S=function(e){var t=e.linkType,n=void 0===t?"direct":t,o=e.handleClick,l=e.className,s=void 0===l?"link":l,d=e.link,u=e.navigationLevel,p=e.activeID,m=Object(i.useState)(""),g=Object(a.a)(m,2),f=g[0],h=g[1],v=Object(i.useRef)(null);return Object(i.useEffect)((function(){d.id===p?h("active"):h("")}),[p,d.id]),"direct"===n?r.a.createElement(I,{className:"".concat(f),navigationLevel:u,linkType:n},r.a.createElement(N,{navigationLevel:u,linkType:n,className:"direct-link ".concat(s," ").concat(f),href:d.url},d.label)):r.a.createElement(I,{navigationLevel:u,className:"".concat(f),linkType:n},r.a.createElement(z,{ref:v,navigationLevel:u,linkType:n,className:"menu-link ".concat(s),onClick:function(){o&&o(d)}},d.label,r.a.createElement(c.a,{icon:"chevron.svg"})))},A={id:"",label:"",links:[],metaDescription:"",url:"/#"},M=s.default.section.withConfig({displayName:"styles__View",componentId:"sc-7285u0-0"})(["min-height:550px;overflow:auto;padding-bottom:",";padding-top:",";background-color:",";width:",";@media (min-width:980px){width:",";}@media (min-width:1240px){width:",";}"],(function(e){return 1===e.navigationLevel?"calc(84px + 56px + 32px)":"80px"}),(function(e){return 1===e.navigationLevel&&"36px"}),(function(e){var t=e.theme,n=e.navigationLevel;return"main-menu"===t?"var(--navigation-background-alt-1)":"sub-menu"===t&&2===n?"var(--navigation-background-alt-2)":"sub-menu"===t&&3===n?"var(--navigation-background-alt-1)":void 0}),(function(e){return 1===e.navigationLevel?"300px":"calc(50vw - 10.4rem)"}),(function(e){return 1===e.navigationLevel?"320px":"calc(50vw - 11rem)"}),(function(e){return 1===e.navigationLevel?"320px":"440px"})),D=s.default.ul.withConfig({displayName:"styles__LinkList",componentId:"sc-7285u0-1"})(["margin:0;li{padding:3px 0;margin:0 14px !important;cursor:pointer;border-left:2px solid transparent;border-left:",";}&.active li{border-left:2px solid transparent;&.active{border-left:2px solid var(--navigation-border-color);}}& li:last-child{margin-bottom:24px !important;}"],(function(e){return 1!==e.navigationLevel&&"2px solid var(--navigation-border-color);"})),U=s.default.a.withConfig({displayName:"styles__Head",componentId:"sc-7285u0-2"})(["padding:36px 36px 0 36px;font-size:16px;display:block;cursor:pointer;&:hover{text-decoration:underline;}> h5{display:inline;margin-right:var(--spacing-small-1);}> p{color:var(--grey-80);font-weight:400;margin:0;margin-top:18px;margin-bottom:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden !important;}"]),H=function(e){var t,n=Object(L.a)(Object(L.a)({},e),{},{links:l()([],A,e.content)}),o=Object(i.useState)(""),s=Object(a.a)(o,2),d=s[0],u=s[1];return Object(i.useEffect)((function(){var t;(null===(t=n.content.links)||void 0===t?void 0:t.filter((function(t){return t.id===e.activeID}))).length>0?u("active"):u("not-active")}),[e.activeID,n.content.links]),r.a.createElement(M,{theme:e.linkType,navigationLevel:e.navigationLevel},1!==e.navigationLevel&&r.a.createElement(U,{href:n.content.url},r.a.createElement("h5",null,n.content.label),r.a.createElement(c.a,{icon:"arrow2.svg"}),r.a.createElement("p",null,n.content.description)),r.a.createElement(D,{className:d,navigationLevel:e.navigationLevel},null===(t=n.content.links)||void 0===t?void 0:t.map((function(e){return r.a.createElement(S,{key:e.id,activeID:n.activeID,className:n.linkType,navigationLevel:n.navigationLevel,linkType:e.links?"undirect":"direct",handleClick:n.handleClick,link:e})}))))},V=function(e){var t=e.menuItems,n=Object(i.useState)({level1:"",level2:""}),o=Object(a.a)(n,2),l=o[0],c=o[1],s=Object(i.useState)({level1:t,level2:{},level3:{}}),d=Object(a.a)(s,2),u=d[0],p=d[1],m=u.level1,g=u.level2,f=u.level3;return r.a.createElement(C,null,r.a.createElement(H,{linkType:"main-menu",navigationLevel:1,content:m,handleClick:function(e){p(Object(L.a)(Object(L.a)({},u),{},{level2:e,level3:{}})),c(Object(L.a)(Object(L.a)({},l),{},{level1:e.id,level2:""}))},activeID:l.level1}),g.links&&r.a.createElement(H,{linkType:"sub-menu",navigationLevel:2,content:g,handleClick:function(e){p(Object(L.a)(Object(L.a)({},u),{},{level3:e})),c(Object(L.a)(Object(L.a)({},l),{},{level2:e.id}))},activeID:l.level2}),f.links&&r.a.createElement(H,{linkType:"sub-menu",navigationLevel:3,content:f}))};V.defaultProps={};var B=V,T=n(25),R=s.default.div.withConfig({displayName:"styles__View",componentId:"zbj9ay-0"})(["position:relative;background-color:transparent;height:100%;font-size:16px;a{text-decoration:none;font-weight:var(--font-weight-medium);color:var(--grey);}ul{padding:0;li{list-style:none;}}"]),P=s.default.div.withConfig({displayName:"styles__Nav",componentId:"zbj9ay-1"})(["display:flex;align-items:center;height:100%;min-height:64px;display:flex;align-items:center;nav{display:none;ul{display:flex;align-items:flex-start;flex-wrap:wrap;height:24px;overflow:hidden;li{height:24px;}a{color:var(--white);margin-right:var(--spacing-medium-1);&:hover{text-decoration:underline;}}}}&.open{a{opacity:0;pointer-events:none;}}&.closed{a{opacity:1;}}@media only screen and (min-width:980px){nav{display:initial;}}"]),F=s.default.div.withConfig({displayName:"styles__HamburgerNav",componentId:"zbj9ay-2"})(["overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;position:absolute;top:64px;left:-0.5rem;border-radius:0 0 var(--border-radius) var(--border-radius);height:calc(100vh - 112px);min-height:550px;background-color:#fff;box-shadow:inset 0px 100px 80px rgba(0,0,0,0.02),0px 41.7776px 33.4221px rgba(0,0,0,0.0143771),0px 22.3363px 17.869px rgba(0,0,0,0.0119221),0px 12.5216px 10.0172px rgba(0,0,0,0.01),0px 6.6501px 5.32008px rgba(0,0,0,0.00807786),0px 2.76826px 2.21381px rgba(0,0,0,0.00562291);nav{display:flex;flex-direction:column;flex-grow:1;height:100%;li{a:hover{text-decoration:underline;}}}@media only screen and (max-width:767px){width:100vw;}@media only screen and (min-width:767px){height:calc(100vh - 72px);overflow:unset;min-width:300px;nav li{margin:var(--spacing-medium) var(--spacing-medium) var(--spacing-medium) var(--spacing-medium-1);}height:auto;}@media only screen and (min-width:1024px){min-width:320px;}"]),W=s.default.div.withConfig({displayName:"styles__Current",componentId:"zbj9ay-3"})(["background-color:var(--grey-80);width:100vw;padding:18px;color:var(--white);z-index:99;p{font-weight:var(--font-weight-medium);margin:0;}span{font-weight:var(--font-weight-light);display:block;}@media (min-width:767px){max-width:300px;position:absolute;bottom:0;width:100%;left:0;}@media (min-width:980px){max-width:320px;}"]),Z=s.default.div.withConfig({displayName:"styles__SwitcherContainer",componentId:"zbj9ay-4"})(["width:calc(100vw - 64px);position:absolute;z-index:999;left:var(--spacing-medium);display:flex;& .division-brand-switcher{display:flex !important;}.dropdown{width:100%;button{width:100%;}}bottom:calc(84px + 32px);.is-visible{max-height:112px;overflow:scroll;z-index:99;}@media (min-width:768px){width:calc(300px - 28px);left:14px;}@media (min-width:980px){width:calc(320px - 28px);}@media (min-width:1025px){}@media (min-width:1200px){display:none;}"]),q=s.default.button.withConfig({displayName:"styles__Hamburger",componentId:"zbj9ay-5"})(["display:flex;align-items:center;flex-direction:column;cursor:pointer;border:none;background:none;position:relative;margin-left:0;margin-right:var(--spacing-small-1);span{background-color:var(--white);width:22px;height:2px;margin:2px 0;display:block;transform-origin:0 0;}&.open span:nth-child(1){transform:rotate(45deg) translate(1px,-2px);width:18px;}&.open span:nth-child(2){transform:scaleX(0);}&.open span:nth-child(3){transform:rotate(-45deg);width:19px;}&:hover{cursor:pointer;}@media only screen and (min-width:768px){margin-left:var(--spacing-small);margin-right:var(--spacing-medium);}"]),J=function(e){var t={links:l()([],g,e.menuItems)},n=e.marketData.name,o=Object(i.useState)(!1),c=Object(a.a)(o,2),s=c[0],d=c[1],u=Object(T.a)().width||window.innerWidth,p=e.LanguageSwitcher,m=e.DivisionBrandSwitcher;return document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__navigation")||d(!1))})),r.a.createElement(R,{className:"nav-bar__navigation"},r.a.createElement(P,null,r.a.createElement(q,{onClick:function(){d(!s)},className:s?"open":""},r.a.createElement("span",null),r.a.createElement("span",null),r.a.createElement("span",null)),!s&&r.a.createElement("nav",null,r.a.createElement("ul",null,e.menuItems.map((function(e,t){return r.a.createElement("li",{key:"menu-item-".concat(t)},r.a.createElement("a",{href:e.url},e.label))}))))),s&&r.a.createElement(F,null,r.a.createElement("nav",null,u>=767?r.a.createElement(B,{menuItems:t}):r.a.createElement(O,{menuItems:e.menuItems})),r.a.createElement(Z,null,p&&p,m&&m),r.a.createElement(W,null,r.a.createElement("span",null,"You are visiting"),r.a.createElement("p",null,n))))};J.defaultProps={menuItems:[],LanguageSwitcher:void 0};var K=J,Y=n(28),G=function(e){var t=e.color;return r.a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M6.15 8.981c-.046-.045.057.367.205.515.258.264.464.296.574.303.238.006.534-.058.708-.135.167-.071.464-.226.58-.445.025-.045.09-.128.045-.322-.033-.148-.13-.206-.245-.193-.116.007-.47.103-.644.155-.174.051-.522.16-.676.193-.155.026-.496-.02-.548-.071zM10.49 13.895a70.55 70.55 0 01-1.669-.702c-.16-.077-.56-.245-.747-.322.529-.818.863-1.43.908-1.527.084-.173.644-1.268.657-1.332.013-.071.026-.323.02-.38-.013-.058-.22.057-.496.148-.277.096-.812.438-1.011.483-.206.045-.863.29-1.198.405-.335.11-.973.303-1.237.374-.264.07-.49.077-.637.122 0 0 .02.206.058.264a.657.657 0 00.341.258c.161.045.425.026.547 0 .123-.026.335-.129.361-.174.026-.045-.013-.187.032-.225.052-.046.69-.194.928-.264.244-.078 1.165-.393 1.294-.374-.038.129-.786 1.604-1.024 2.048-.238.438-1.63 2.376-1.932 2.718-.225.257-.773.92-.96 1.069.046.013.387-.013.445-.052.386-.238 1.024-1.03 1.23-1.275a20.762 20.762 0 001.571-2.119c.084.032.754.58.928.702.174.123.863.509 1.017.573.148.065.728.329.747.239.02-.097-.11-.631-.174-.657z",fill:t}),r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.605 20.367l-1.86-.142.514.844c-.103.058-.212.135-.277.168a5.753 5.753 0 01-.38.206c-.148.077-.309.154-.438.218-.109.046-.231.097-.328.142-.122.045-.238.097-.348.136-.174.057-.347.122-.508.167-.168.051-.335.09-.503.129-.225.051-.457.09-.663.122-.264.039-.509.052-.767.077h-.67c-.135 0-.798-.083-.824-.083a12.368 12.368 0 01-.734-.136 10.346 10.346 0 01-1.256-.38 8.268 8.268 0 01-.908-.405 3.524 3.524 0 01-.405-.22c-.045-.019-.284-.193-.406-.193a.213.213 0 00-.219.22c0 .064.006.128.097.186a7.875 7.875 0 001.558.786c.283.11.573.219.876.296.174.052.367.103.547.142.232.051.477.097.709.135.264.039.534.064.798.09h.986c.219 0 .991-.122 1.069-.135.141-.02.283-.058.425-.09.373-.09.792-.225 1.172-.367.29-.11.599-.245.895-.406.148-.084.322-.154.464-.251.07-.052.186-.097.277-.155l.47.767.637-1.868z",fill:t}),r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.28 7.107l1.72.547v12.578l-9.042-2.885c-.006.013-.02.019-.026.019-.186.077-8.597 2.898-8.707 2.898-.09 0-.173-.058-.219-.154a.047.047 0 00-.003-.017.048.048 0 01-.003-.016V7.526l.009-.03a.2.2 0 01.043-.093c.05-.072.138-.096.203-.114l.028-.008.211-.07 1.535-.516v-4.47l6.53 2.306.193-.058c.45-.187 2.634-.914 3.548-1.217C15.572 3.159 18.94 2 19.043 2a.23.23 0 01.238.238v4.869zm-.45-.148V2.535L12.106 4.82l6.724 2.138zM3.45 19.71L11.592 17V4.995l-8.14 2.71V19.71zm12.102-7.168l.889-2.144.74 2.64-1.63-.496zm1.52-3.819l-1.166-.354-2.544 6.247 1.198.36.535-1.28 2.473.746.431 1.572 1.198.36-2.125-7.65z",fill:t}))},X={background:"var(--dropdown-background-light)",color:"var(--dropdown-color)"},$={background:"var(--assa-abloy-blue-90)",color:"var(--white)"},Q=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1wm9rbq-0"})(["display:flex;@media only screen and (min-width:1025px){margin-left:0;justify-content:flex-end;}& .dropdown__button{background-color:",";color:",";&::after{border-right:2px solid #fff;border-right:",";border-bottom:",";display:",";}.dropdown__button__icon__wrapper svg > *{fill:",";}}"],(function(e){return e.theme.background}),(function(e){return e.theme.color}),(function(e){var t=e.theme;return"2px solid ".concat(t.color)}),(function(e){var t=e.theme;return"2px solid ".concat(t.color)}),(function(e){return e.hasLanguages<=1&&"none"}),(function(e){var t=e.theme;return"".concat(t.color)})),ee=s.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1wm9rbq-1"})(["position:relative;font-size:16px;@media only screen and (min-width:1025px){display:block;}.dropdown__button{display:flex;align-items:center;height:46px;position:relative;outline:none;min-width:120px;border:0;margin:0;padding:0.8rem 1rem 0.8rem 0.8rem;padding-right:",';border-radius:var(--border-radius);text-align:left;cursor:pointer;font-family:var(--font-family-body);font-weight:var(--font-weight-medium);&::after{content:"";position:absolute;width:8px;height:8px;right:16px;top:calc(50% - 3px);transform:rotate(45deg);border-radius:1px;transition:ease-in-out 0.16s;transform-origin:center center;}&__icon__wrapper{display:inline-block;width:24px;height:auto;margin-right:0.4rem;transform:translateY(2px);}&[aria-expanded="true"]{&::after{transform:rotate(-135deg);}}}'],(function(e){return e.hasLanguages<=1?"0.8rem":"calc(1.6rem + 0.5rem)"})),te=s.default.div.withConfig({displayName:"styles__Menu",componentId:"sc-1wm9rbq-2"})(["display:none;border-radius:0 0 4px 4px;position:absolute;width:100%;z-index:1;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);animation:fadeOut 0.2s linear;animation-fill-mode:forwards;opacity:0;pointer-events:none;a{opacity:0;}&.is-visible{display:block;animation:fadeIn 0.2s linear;animation-fill-mode:forwards;opacity:0;pointer-events:unset;a{animation:fadeIn 0.3s linear;animation-fill-mode:forwards;opacity:0;}}a{border-top:1px solid var(--checkbox-border-color);min-height:56px;display:block;border-radius:0;background-color:var(--dropdown-background-alt-1);color:var(--dropdown-color);position:relative;text-decoration:none;min-width:120px;margin:0;padding:0.8rem 1rem;padding-right:calc(1.6rem + 0.5rem);text-align:left;cursor:pointer;&.is-active{font-weight:var(--font-weight-semi-bold);}&:hover{background-color:var(--grey-5) !important;cursor:pointer;text-decoration:underline;}&:last-child{border-radius:0px 0px 0.25rem 0.25rem;}}"]),ne=function(e){var t=Object(Y.a)(e.languages.length),n=t.buttonProps,o=t.itemProps,l=t.isOpen,c=t.setIsOpen,s=Object(i.useState)(e.currentLanguage),d=Object(a.a)(s,2),u=d[0],p=d[1];Object(i.useEffect)((function(){"string"===typeof e.currentLanguage&&p(e.currentLanguage)}),[e.currentLanguage]);var m=e.languages.map((function(e,t){var n=e.label,a=e.url;return r.a.createElement("a",Object.assign({key:n},o[t],{className:u===n?"is-active":"",href:a,onClick:function(e){return p(n),void c(!1)}}),n)}));return r.a.createElement(Q,{theme:function(e){switch(e){case"theme-alt-1":return X;case"theme-alt-2":return $;default:return X}}(e.theme),hasLanguages:m.length,className:"nav-bar__language-switcher"},r.a.createElement(ee,{hasLanguages:m.length,className:"dropdown"},r.a.createElement("button",Object.assign({className:"dropdown__button"},n),r.a.createElement("span",{className:"dropdown__button__icon__wrapper"},r.a.createElement(G,{color:"#000"})),u),r.a.createElement(te,{className:l?"is-visible":"",role:"menu"},m.length>1&&m)))};ne.defaultProps={languages:[],currentLanguage:""};var ae=ne,ie=n(4);function re(){var e=Object(ie.a)(["\n body div#addsearch-results {\n font-family: var(--font-family-body);\n font-weight: var(--font-weight-regular);\n background: var(--white);\n top: 128px !important;\n width: 408px !important;\n border: none !important;\n box-shadow:\n 0px 100px 80px rgba(0, 0, 0, 0.00696822),\n 0px 30.1471px 24.1177px rgba(0, 0, 0, 0.01),\n 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.0130318),\n 0px 4.5288px 3.62304px rgba(0, 0, 0, 0.02);\n backdrop-filter: blur(100px);\n border-radius: 4px;\n padding: var(--spacing-small);\n height: calc(100% - 150px) !important;\n left: unset !important;\n right: 1rem !important;\n\n @media screen and (max-width: 1200px) {\n right: 9px !important;\n left: unset !important;\n }\n\n @media screen and (min-width: 768px) {\n height: unset !important;\n }\n\n @media screen and (max-width: 767px) {\n right: unset !important;\n left: unset !important;\n width: 98% !important;\n margin-left: 1%;\n margin-right: 1%;\n box-sizing: border-box;\n top: 112px !important;\n padding-right: var(--spacing-small);\n height: calc(100% - 110px) !important;\n }\n\n * {\n background-image: none !important;\n }\n\n #addsearch-top-close {\n display: none !important;\n }\n\n #addsearch-results-right {\n display: none;\n }\n\n #addsearch-results-mid {\n width: 100%;\n }\n\n\n @media (max-width: 768px) {\n #addsearch-results-mid {\n height: 100% !important;\n }\n }\n\n #addsearch-results-bottom {\n display: none;\n }\n\n .addsearch-result-item-sub {\n margin: 0;\n width: unset !important;\n border: none;\n min-height: unset;\n\n > div {\n padding: 0;\n padding-bottom: var(--spacing-small) !important;\n padding-left: var(--spacing-small) !important;\n padding-right: var(--spacing-small) !important;\n position: relative;\n min-height: unset;\n height: unset;\n width: unset !important;\n border-bottom: 1px solid var(--grey-10);\n margin-bottom: var(--spacing-small);\n }\n\n p {\n font-size: var(--font-size-2);\n line-height: var(--line-height-loose-size-2);\n color: var(--black);\n padding: 0;\n }\n\n h2 {\n padding-top: 30px;\n\n a {\n font-size: var(--font-size-3);\n line-height: var(--line-height-loose-size-3);\n color: var(--black);\n padding: 0;\n }\n }\n\n &.addsearch-result-item-sub-active {\n background-color: unset;\n }\n\n .addsearch_category {\n position: absolute;\n margin: 0;\n top: 0;\n\n em {\n color: var(--grey-80);\n }\n }\n }\n }\n"]);return re=function(){return e},e}var oe=Object(s.createGlobalStyle)(re()),le=s.default.span.withConfig({displayName:"styles__SearchIcon",componentId:"wan7wq-0"})(["display:",";align-items:center;justify-content:center;width:100%;height:100%;background:transparent;border:0;padding:0;margin-right:0;svg{height:19px;width:auto;}@media screen and ","{display:",";margin-right:5px;width:46px;height:46px;}"],(function(e){return e.isInputFocused?"none":"flex"}),d.b.tabletAndUp,(function(e){return e.isInputFocused?"none":"flex"})),ce=s.default.button.withConfig({displayName:"styles__ClearButton",componentId:"wan7wq-1"})(["display:",";align-items:center;justify-content:center;width:46px;height:46px;background:transparent;border:0;padding:0;margin-right:5px;svg{height:15px;width:auto;}"],(function(e){return e.isInputFocused?"flex":"none"})),se=s.default.div.withConfig({displayName:"styles__View",componentId:"wan7wq-2"})(["height:46px;border-radius:40px;display:flex;margin:0;padding:0;align-items:center;justify-content:center;position:",";right:",";background-color:",";width:",";@media screen and ","{right:8px;width:150px;width:",";position:relative;}input{display:flex;height:46px;background:transparent;border:none;flex-grow:1;font-size:16px;font-weight:var(--font-weight-medium);padding:0;outline:none;padding-left:",";color:",";width:",";&::placeholder{color:transparent;}@media screen and ","{display:flex;padding-left:24px;&::placeholder{color:var(--white);}}}"],(function(e){return e.isFocused?"absolute":"relative"}),(function(e){return e.isFocused&&"8px"}),(function(e){return e.isFocused?"var(--white)":"var(--assa-abloy-blue-90)"}),(function(e){return e.isFocused?"calc(100% - 80px)":"46px"}),d.b.tabletAndUp,(function(e){return e.isFocused?"220px":"150px"}),(function(e){return e.isFocused?"24px":"0"}),(function(e){return e.isFocused?"var(--grey)":"var(--dark-tone-50)"}),(function(e){return e.isFocused?"100%":"0"}),d.b.tabletAndUp),de=function(e){var t,n,o=Object(i.useState)(!1),l=Object(a.a)(o,2),s=l[0],d=l[1],u=Object(i.useState)(""),p=Object(a.a)(u,2),m=p[0],g=p[1],f=Object(i.useRef)(),h=null===e||void 0===e||null===(t=e.search)||void 0===t||null===(n=t.addSearch)||void 0===n?void 0:n.id;Object(i.useEffect)((function(){window.addsearch_settings={results_box_opening_direction:"right",number_of_results:10};var e="https://addsearch.com/js/?key=".concat(h),t=document.createElement("script");t.src=e,h?document.body.appendChild(t):console.warn("Could not inject addSearch script with id: ".concat(h)),document.addEventListener("click",(function(e){if(e.target instanceof Element&&!e.target.closest("#addsearch-results")){var t=document.querySelector("#addsearch-results");t&&(t.style.display="none")}})),document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__search-bar")||d(!1))}))}),[h]);return r.a.createElement(r.a.Fragment,null,r.a.createElement(oe,null),r.a.createElement(se,{className:"nav-bar__search-bar",isFocused:s},r.a.createElement("input",{type:"text",className:"addsearch",placeholder:"Search",disabled:!0,value:m,onChange:function(e){g(e.target.value||"")},ref:f,onFocus:function(e){d(!0)}}),r.a.createElement(le,{isInputFocused:s,onClick:function(){d(!0),f.current&&f.current.focus()}},r.a.createElement(c.a,{icon:"search.svg"})),r.a.createElement(ce,{onClick:function(){g(""),f.current&&f.current.focus()},isInputFocused:s},r.a.createElement(c.a,{icon:"circledcross.svg"}))))},ue=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1ryuw7o-0"})(["&,a{display:flex;}justify-content:center;align-items:center;img{width:9.375rem;}@media (min-width:481px){img{width:11.63rem;}}"]),pe=function(e){var t=e.link,n=e.image;return t&&n?r.a.createElement(ue,{className:"nav-bar__logotype"},r.a.createElement("a",{href:t},r.a.createElement("img",{src:n,alt:"logotype"}))):null},me=n(27),ge=n.n(me),fe=s.default.section.withConfig({displayName:"styles__ModalWrapper",componentId:"dxhpla-0"})(["position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;"]),he=s.default.div.withConfig({displayName:"styles__Modal",componentId:"dxhpla-1"})(["position:absolute;z-index:999999999;height:100%;width:100%;top:0;left:0;background-color:var(--white);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;overflow:auto;@media (min-width:768px){width:90%;height:auto;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:var(--border-radius);}@media (min-width:1024px){width:unset;}"]),ve=s.default.button.withConfig({displayName:"styles__CloseModal",componentId:"dxhpla-2"})(["position:absolute;right:0;top:0;padding:20px;border:0;background:transparent;cursor:pointer;svg{width:20px;height:auto;}"]),be=s.default.div.withConfig({displayName:"styles__Overlay",componentId:"dxhpla-3"})(["position:relative;z-index:9999999;width:100%;height:100%;background-color:rgba(0,0,0,0.8);"]),xe=s.default.div.withConfig({displayName:"styles__Body",componentId:"dxhpla-4"})(["height:calc(100% - 74px);background-color:#fff;"]),we=s.default.div.withConfig({displayName:"styles__Footer",componentId:"dxhpla-5"})(["@media (min-width:768px){width:100%;height:74px;background-color:#f6f6f6;}"]),ye=function(e){var t=document.querySelector("body"),n=Object(i.useState)(e.isOpen),o=Object(a.a)(n,2),l=o[0],s=o[1];return document.addEventListener("keydown",(function(t){"Escape"===t.key&&e.closeModal()})),Object(i.useEffect)((function(){s(e.isOpen)}),[e.isOpen,l]),l?ge.a.createPortal(r.a.createElement(fe,null,r.a.createElement(be,{onClick:e.closeModal}),r.a.createElement(he,{className:"modal",style:Object(L.a)({},e.styles)},r.a.createElement(ve,{onClick:e.closeModal},r.a.createElement(c.a,{icon:"cross.svg"})),r.a.createElement(xe,null,e.children),r.a.createElement(we,null))),t):null},ke=n(19),Ee=n(11),_e=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"wqnviw-0"})(["padding:3rem 1rem 0rem 1rem;border-bottom:1px solid #dfdfdf;@media (min-width:1024px){padding:1rem;border-bottom:0;border-right:1px solid #dfdfdf;}"]),je=s.default.div.withConfig({displayName:"styles__Content",componentId:"wqnviw-1"})(["margin-top:24px;p{margin-top:8px;margin-bottom:var(--spacing-small);}.division{padding-right:32px;margin-bottom:16px;}@media (min-width:1024px){display:flex;.division{width:230px;margin-bottom:0;}}@media (min-width:1200px){display:flex;.division{width:250px;margin-bottom:0;}}"]),Oe=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"wqnviw-2"})(["color:var(--grey-80);"]),Le=function(e){return r.a.createElement(_e,null,r.a.createElement(Oe,{className:"eyebrow"},e.title),r.a.createElement(je,null,e.links.map((function(e,t){return r.a.createElement("div",{className:"division",key:t},r.a.createElement(Ee.a,{text:e.title,size:"h5"}),r.a.createElement("p",null,e.text),r.a.createElement(ke.a,{ctaLabel:e.link.text,ctaUrl:e.link.url,target:"_blank"}))}))))},Ce=n(16),Ie=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1wcevnj-0"})(["padding:1rem;padding-top:2rem;width:100%;@media (min-width:1024px){padding-top:1rem;}"]),Ne=s.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1wcevnj-1"})(["margin-top:24px;display:flex;align-items:center;> .brand{margin-right:var(--spacing-medium);img{object-fit:cover;object-position:left;max-width:100px;max-height:70px;width:unset;}}@media (min-width:1024px){display:block;padding-left:32px;> .brand{width:150px;img{max-width:120px;max-height:100px;}}}"]),ze=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"sc-1wcevnj-2"})(["color:var(--grey-80);@media (min-width:1024px){padding-left:32px;}"]),Se=function(e){return r.a.createElement(Ie,null,r.a.createElement(ze,{className:"eyebrow"},e.title),r.a.createElement(Ne,null,e.links.map((function(e,t){return r.a.createElement("div",{className:"brand",key:t},r.a.createElement(ke.a,{ctaLabel:"",ctaUrl:e.linkURL,hasIcon:!1,target:"_blank"},r.a.createElement(Ce.a,{image:e.logotype,alt:""})))}))))},Ae=function(e){return r.a.createElement("svg",{className:e.className,onClick:e.onClick,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29.66 29.55"},r.a.createElement("path",{d:"M29.66,14.72a.6.6,0,0,0-.29-.52l-3.89-2.3,3.89-2.34a.6.6,0,0,0,0-1L15.14.08a.62.62,0,0,0-.62,0L.29,8.53a.6.6,0,0,0,0,1L4.17,11.9.29,14.2a.6.6,0,0,0,0,1l3.88,2.34L.29,19.87a.6.6,0,0,0,0,1l14.23,8.56a.58.58,0,0,0,.62,0L29.37,20.9a.6.6,0,0,0,0-1l-3.88-2.3,3.88-2.34A.6.6,0,0,0,29.66,14.72ZM14.83,1.3,27.89,9.05,14.83,16.91,1.77,9.05ZM27.89,20.39,14.83,28.25,1.77,20.39l3.57-2.12,9.18,5.52a.58.58,0,0,0,.62,0l9.18-5.52Z"}))},Me=s.default.button.withConfig({displayName:"styles__View",componentId:"sc-641bcd-0"})(["display:flex;height:46px;width:46px;justify-content:center;align-items:center;border:0;cursor:pointer;background:var(--grey-5);margin-left:0.5rem;border-radius:var(--border-radius);@media screen and (min-width:1200px){background:transparent;}"]),De=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-641bcd-1"})(["@media (min-width:768px){padding:30px 30px 20px 30px;}@media (min-width:1024px){padding:40px 16px 16px 16px;display:flex;justify-content:space-between;}@media (min-width:1200px){padding:40px 65px;}"]),Ue=Object(s.default)(Ae).withConfig({displayName:"styles__Icon",componentId:"sc-641bcd-2"})(["fill:var(--black);min-width:22px;min-height:22px;box-sizing:content-box;padding:0.3rem;@media screen and (min-width:1200px){fill:var(--white);}"]),He=function(e){var t=Object(i.useState)(!1),n=Object(a.a)(t,2),o=n[0],l=n[1];return r.a.createElement(Me,{className:"division-brand-switcher"},r.a.createElement(ye,{isOpen:o,closeModal:function(){return l(!1)}},r.a.createElement(De,null,r.a.createElement(Le,e.divisions),r.a.createElement(Se,e.brands))),r.a.createElement(Ue,{onClick:function(){return l(!0)}}))},Ve=n(3),Be={url:"",logo:{url:"",link:""},navigationData:{marketData:{name:""},menuItems:[]},languageSwitcherData:{currentLanguage:"",languages:[]},search:{addSearch:{id:""}},divisionBrandSwitcherData:{divisions:{title:"",links:[]},brands:{title:"",links:[]}}},Te=n(24),Re=s.default.header.withConfig({displayName:"styles__Header",componentId:"uaecoh-0"})(["background-color:var(--assa-abloy-blue);width:100vw;z-index:99;align-content:center;display:grid;grid-template-columns:repeat(5,1fr) 150px repeat(5,1fr);grid-auto-flow:column;height:64px;margin:0;border-radius:0;box-shadow:0 100px 80px rgba(0,0,0,0.02),0 41.7776px 33.4221px rgba(0,0,0,0.0143771),0 22.3363px 17.869px rgba(0,0,0,0.0119221),0 12.5216px 10.0172px rgba(0,0,0,0.01),0 6.6501px 5.32008px rgba(0,0,0,0.00807786),0 2.76726px 2.21381px rgba(0,0,0,0.00562291);padding:0 0.5rem;width:100%;.nav-bar__navigation{grid-column:1 / 6;}.nav-bar__logotype{grid-column:6 / 7;svg{fill:#fff;}}.nav-container-right{grid-column:7 / 12;display:flex;justify-content:flex-end;align-items:center;}@media only screen and (min-width:767px){grid-template-columns:repeat(5,1fr) 200px repeat(5,1fr);width:calc(100% - 32px);border-radius:4px;margin:var(--spacing-small) auto 0 auto;}@media only screen and (max-width:1200px){.nav-container-right .nav-bar__language-switcher,.division-brand-switcher{display:none;}}"]),Pe=(s.default.div.withConfig({displayName:"styles__Placeholder",componentId:"uaecoh-1"})(["@media (min-width:1200px){width:200px;}"]),s.default.button.withConfig({displayName:"styles__ModalTrigger",componentId:"uaecoh-2"})(["width:40px;height:40px;background:grey;"]),function(e){var t=l()({},Be,Object(Ve.a)(e.content)),n=window.location.pathname,o="".concat(t.url,"?page=").concat(n),c=Object(Te.a)(o),s=Object(i.useState)(t),d=Object(a.a)(s,2),u=d[0],p=d[1];Object(i.useEffect)((function(){if(null!==c.response&&null===c.error){var e=c.response;p(l()({},t,e))}else null!==c.error&&console.log(c.error)}),[c.response,c.error]);var m=(Object(T.a)().width||0)<1200;return r.a.createElement(Re,{className:"nav-bar"},r.a.createElement(K,Object.assign({},u.navigationData,{DivisionBrandSwitcher:m?r.a.createElement(He,u.divisionBrandSwitcherData):null,LanguageSwitcher:m?r.a.createElement(ae,Object.assign({theme:"theme-alt-1"},u.languageSwitcherData)):null})),r.a.createElement(pe,{link:t.logo.link,image:t.logo.src}),r.a.createElement("div",{className:"nav-container-right"},r.a.createElement(de,{search:t.search}),r.a.createElement(ae,Object.assign({theme:"theme-alt-2"},u.languageSwitcherData)),r.a.createElement(He,u.divisionBrandSwitcherData)))});Pe.defaultProps={content:""}},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),i=n.n(a),r=function(e){var t=null;switch(e.icon){case"externalLink.svg":t=i.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5043 0.575736C14.7386 0.810051 14.7386 1.18995 14.5043 1.42426L6.87427 9.05427C6.63996 9.28858 6.26006 9.28858 6.02575 9.05427C5.79143 8.81995 5.79143 8.44005 6.02575 8.20574L13.6558 0.575736C13.8901 0.341421 14.27 0.341422 14.5043 0.575736Z",fill:"black"}),i.a.createElement("path",{d:"M14.08 4.81789V1H10.2679L14.08 4.81789Z",fill:"black"}),i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.71366 0.770181C9.80658 0.546087 10.0253 0.4 10.2679 0.4H14.08C14.4114 0.4 14.68 0.668629 14.68 1V4.81789C14.68 5.06065 14.5337 5.27949 14.3094 5.3723C14.0851 5.46512 13.827 5.41362 13.6554 5.24183L9.84331 1.42394C9.6719 1.25227 9.62074 0.994274 9.71366 0.770181ZM11.7149 1.6L13.48 3.36781V1.6H11.7149Z",fill:"black"}),i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.27001 1.6C2.80201 1.6 1.6 2.802 1.6 4.27V10.81C1.6 12.278 2.80201 13.48 4.27001 13.48H10.81C12.278 13.48 13.48 12.278 13.48 10.81V7.81681C13.48 7.48544 13.7487 7.21681 14.08 7.21681C14.4114 7.21681 14.68 7.48544 14.68 7.81681V10.81C14.68 12.9407 12.9408 14.68 10.81 14.68H4.27001C2.13926 14.68 0.4 12.9407 0.4 10.81V4.27C0.4 2.13925 2.13927 0.4 4.27001 0.4H7.26319C7.59456 0.4 7.86318 0.668629 7.86318 1C7.86318 1.33137 7.59456 1.6 7.26319 1.6H4.27001Z",fill:"black"}));break;case"cross.svg":t=i.a.createElement("svg",{className:e.className,width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":t=i.a.createElement("svg",{className:e.className,width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;case"document.svg":t=i.a.createElement("svg",{className:e.className,width:"16px ",viewBox:"0 0 23.88 29.55",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("g",{id:"Layer_2","data-name":"Layer 2"},i.a.createElement("g",{id:"icons"},i.a.createElement("path",{d:"M23.67,5.83,18.05.2a.61.61,0,0,0-.44-.2H2.87A2.88,2.88,0,0,0,0,2.87V26.68a2.88,2.88,0,0,0,2.87,2.87H21a2.88,2.88,0,0,0,2.87-2.87V6.27A.56.56,0,0,0,23.67,5.83ZM18.21,2.06l3.61,3.61H19.88A1.67,1.67,0,0,1,18.21,4ZM21,28.35H2.87A1.67,1.67,0,0,1,1.2,26.68V2.87A1.67,1.67,0,0,1,2.87,1.2H17V4a2.87,2.87,0,0,0,2.87,2.87h2.8V26.68A1.67,1.67,0,0,1,21,28.35Z"}),i.a.createElement("path",{d:"M14.77,17H3.43a.6.6,0,0,0,0,1.2H14.77a.6.6,0,0,0,0-1.2Z"}),i.a.createElement("path",{d:"M17.61,11.34H3.43a.6.6,0,0,0,0,1.2H17.61a.6.6,0,1,0,0-1.2Z"}),i.a.createElement("path",{d:"M3.43,6.87H9.1a.6.6,0,0,0,0-1.2H3.43a.6.6,0,1,0,0,1.2Z"}))));break;case"arrow2.svg":t=i.a.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M7.23629 15.1542C7.70242 15.6206 8.45899 15.6188 8.92284 15.1501L14.6074 9.40694C15.3788 8.62759 15.3788 7.37241 14.6074 6.59306L8.92661 0.85369C8.46102 0.383294 7.70132 0.38237 7.23458 0.851632C6.77271 1.316 6.7721 2.06605 7.23322 2.53116L11.4367 6.77113H1.22887C0.550182 6.77113 0 7.32132 0 8C0 8.67868 0.550182 9.22887 1.22887 9.22887H11.4367L7.2322 13.4767C6.77187 13.9418 6.7737 14.6914 7.23629 15.1542Z",fill:"#1A1A1A"}));break;case"chevron.svg":t=i.a.createElement("svg",{className:e.className,width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M5.76471 7.52942L9.52942 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}),i.a.createElement("path",{d:"M5.76471 7.52942L2 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"circledcross.svg":t=i.a.createElement("svg",{className:e.className,width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M8.00004 15.1668C11.6819 15.1668 14.6667 12.1821 14.6667 8.50016C14.6667 4.81826 11.6819 1.8335 8.00004 1.8335C4.31814 1.8335 1.33337 4.81826 1.33337 8.50016C1.33337 12.1821 4.31814 15.1668 8.00004 15.1668Z",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M10 6.5L6 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M6 6.5L10 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"search.svg":t=i.a.createElement("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("circle",{cx:"7.52083",cy:"8.02083",r:"5.33333",stroke:"white",strokeWidth:"2"}),i.a.createElement("path",{d:"M16.6265 17.1265L11.4807 11.9807",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}));break;default:t=i.a.createElement("svg",{className:e.className,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M6.36069 13.2889C6.7526 13.681 7.3887 13.6795 7.77869 13.2854L13.3037 7.70347C13.6894 7.31379 13.6894 6.68621 13.3037 6.29653L7.78042 0.716306C7.38976 0.321611 6.75232 0.320835 6.36069 0.714579L6.30027 0.775326C5.91273 1.16496 5.91222 1.79431 6.29913 2.18457L10.0071 5.92474H1C0.447715 5.92474 0 6.37246 0 6.92474V7.07526C0 7.62754 0.447715 8.07526 1 8.07526H10.0071L6.2997 11.8209C5.91266 12.212 5.9142 12.8422 6.30314 13.2313L6.36069 13.2889Z",fill:"#1A1A1A"}))}return t}}}); |
{ | ||
"name": "@assaabloy/gw-group-nav-header", | ||
"version": "8.0.5", | ||
"version": "8.0.6", | ||
"description": "Web component - Header navigation", | ||
@@ -17,3 +17,3 @@ "type": "module", | ||
}, | ||
"gitHead": "a33f4daadea76122ec1eba7222ced54f5b6f21d0" | ||
"gitHead": "70495765dd0d0a325e556aa380d551736116a78b" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package