Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@assaabloy/gw-group-nav-header

Package Overview
Dependencies
Maintainers
9
Versions
440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@assaabloy/gw-group-nav-header - npm Package Compare versions

Comparing version 5.0.2 to 6.0.0

2

navHeader.js

@@ -1,1 +0,1 @@

!function(e){function n(n){for(var a,o,l=n[0],c=n[1],s=n[2],d=0,p=[];d<l.length;d++)o=l[d],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&p.push(r[o][0]),r[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(n);p.length;)p.shift()();return i.push.apply(i,s||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],a=!0,l=1;l<t.length;l++){var c=t[l];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),e=o(o.s=t[0]))}return e}var a={},r={12:0},i=[];function o(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=e,o.c=a,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},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,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)o.d(t,a,function(n){return e[n]}.bind(null,a));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/";var l=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],c=l.push.bind(l);l.push=n,l=l.slice();for(var s=0;s<l.length;s++)n(l[s]);var u=c;i.push([143,0]),t()}({0:function(e,n){e.exports=React},118:function(e,n,t){"use strict";t.r(n);var a=t(20),r=t(45);n.default=a.a.create({component:r.a,configuration:{tagname:"gw-group-nav-header",useShadow:!1},plugins:[]})},23:function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var a=t(2),r=t(0),i=t(4);function o(){var e=Object(r.useState)({width:void 0,height:void 0}),n=Object(a.a)(e,2),t=n[0],o=n[1];return Object(r.useEffect)((function(){var e=Object(i.b)((function(){o({width:window.innerWidth,height:window.innerHeight})}),500);return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),t}},25:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var a=t(17),r=t.n(a),i=t(26),o=t(2),l=t(0),c=function(e){var n=Object(l.useState)(null),t=Object(o.a)(n,2),a=t[0],c=t[1],s=Object(l.useState)(null),u=Object(o.a)(s,2),d=u[0],p=u[1],m=Object(l.useState)(!1),g=Object(o.a)(m,2),f=g[0],v=g[1];return Object(l.useEffect)((function(){(function(){var n=Object(i.a)(r.a.mark((function n(){var t,a;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return v(!0),n.prev=1,n.next=4,fetch(e);case 4:return t=n.sent,n.next=7,t.json();case 7:a=n.sent,c(a),v(!1),n.next=15;break;case 12:n.prev=12,n.t0=n.catch(1),p(n.t0);case 15:case"end":return n.stop()}}),n,null,[[1,12]])})));return function(){return n.apply(this,arguments)}})()()}),[e]),{response:a,error:d,isLoading:f}}},28:function(e,n){e.exports=ReactDOM},4:function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"j",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"d",(function(){return l})),t.d(n,"g",(function(){return c})),t.d(n,"h",(function(){return s})),t.d(n,"f",(function(){return u})),t.d(n,"i",(function(){return d})),t.d(n,"b",(function(){return p})),t.d(n,"e",(function(){return m}));var a=t(2),r=function(e){try{return JSON.parse(decodeURIComponent(escape(atob(e))))}catch(n){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",e),null}},i=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(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")},c=function(e){return e.sort((function(e,n){return e.created>n.created?-1:e.created<n.created?1:0}))},s=function(e){return e.sort((function(e,n){return e.created<n.created?-1:e.created>n.created?1:0}))},u=function(e){return e.sort((function(e,n){return e.title<n.title?-1:e.title>n.title?1:0}))},d=function(e){return e.sort((function(e,n){return e.title>n.title?-1:e.title<n.title?1:0}))};function p(e,n){var t,a=arguments,r=this;return function(i){clearTimeout(t),t=setTimeout((function(n){t=null,e.apply(r,a)}),n)}}var m=function(e,n){if(!n.length)return e;var t=Object(a.a)(n,1)[0];return/^\d+$/.test(e)?"".concat(e).concat(t):"string"===typeof e&&n.some((function(n){return e.endsWith(n)}))?e:"string"===typeof e&&"".concat(e.trim().replace(/\D/g,"")||"0").concat(t)}},45:function(e,n,t){"use strict";t.d(n,"a",(function(){return He}));var a=t(2),r=t(0),i=t.n(r),o=t(5),l=t.n(o),c=t(8),s=t(3),u=t(1);function d(){var e=Object(s.a)([""]);return d=function(){return e},e}function p(){var e=Object(s.a)(["\n overflow: auto;\n height: 100%;\n padding-top: 15px !important;\n margin-bottom: 15px;\n margin-top: 0;\n background: transparent;\n width: 100%;\n position: absolute;\n flex-shrink: 0;\n left: ",";\n transition: left 0.2s ease-in-out;\n\n > li {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n > a {\n display: flex;\n flex-grow: 1;\n padding: 15px 0;\n }\n\n > button {\n display: flex;\n flex-grow: 0;\n padding: 0;\n height: 46px;\n width: 46px;\n align-items: center;\n justify-content: center;\n }\n }\n"]);return p=function(){return e},e}function m(){var e=Object(s.a)(["\n display: flex;\n height: 100%;\n position: relative;\n\n button {\n background: none;\n border: none;\n }\n\n #level1-menu > li {\n margin: 0 32px;\n background: transparent;\n margin: 0 17px 0 var(--spacing-medium);\n\n a {\n font-size: var(--font-size-4);\n font-weight: var(--font-weight-semi-bold);\n line-height: var(--line-height-size-4);\n }\n }\n"]);return m=function(){return e},e}var g=u.default.div(m()),f=u.default.ul(p(),(function(e){return e.isOpen?"0%":"-100%"})),v=u.default.li(d()),h=[{id:"",label:"",url:"",description:"",links:[]}],b={label:"",url:"",meta:"",links:[]};function x(){var e=Object(s.a)(["\n width: 13px;\n height: auto;\n transform: ",";\n transition: transform 0.16s ease-in-out;\n"]);return x=function(){return e},e}function w(){var e=Object(s.a)(["\n flex-wrap: wrap;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 17px 0 var(--spacing-medium);\n\n & > svg {\n display: ",";\n transform: rotate(-90deg);\n width: auto;\n height: 10px;\n }\n\n & > a {\n display: flex;\n flex-grow: 1;\n padding: var(--spacing-small);\n padding-left: ",";\n font-size: var(--font-size-4);\n font-weight: "," !important; // TODO: remove !important\n }\n\n & > button {\n display: flex;\n flex-grow: 0;\n height: 46px;\n width: 46px;\n align-items: center;\n justify-content: center;\n }\n"]);return w=function(){return e},e}function k(){var e=Object(s.a)(["\n margin: 0;\n overflow: auto;\n"]);return k=function(){return e},e}function y(){var e=Object(s.a)(["\n display: flex;\n align-items: center;\n padding: 15px 15px 15px 0;\n margin-left: var(--spacing-medium);\n svg {\n height: 13px;\n width: 13px;\n transform: rotate(180deg);\n }\n span {\n font-weight: var(--font-weight-semi-bold);\n font-size: var(--font-size-4);\n padding-left: var(--spacing-mini-3);\n line-height: normal;\n }\n"]);return y=function(){return e},e}function E(){var e=Object(s.a)(["\n background: transparent;\n position: absolute;\n width: 100%;\n flex-shrink: 0;\n left: ",";\n transition: left 0.2s ease-in-out;\n display: flex;\n flex-direction: column;\n height: 100%;\n"]);return E=function(){return e},e}var j=u.default.div(E(),(function(e){return e.isOpen?"0%":"100%"})),O=u.default.button(y()),L=u.default.ul(k()),_=u.default.li(w(),(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)"})),I=Object(u.default)(c.a)(x(),(function(e){return e.rotate?"rotate(180deg)":"rotate(0deg)"}));function N(){var e=Object(s.a)(["\n padding: var(--spacing-small);\n margin: 0;\n & > a {\n display: flex;\n align-items: center;\n\n svg {\n display: none;\n height: 10px;\n width: auto;\n transform: rotate(-90deg);\n display: ",";\n }\n\n span {\n font-weight: ",";\n font-size: var(--font-size-3);\n padding-left: ",";\n }\n }\n"]);return N=function(){return e},e}function z(){var e=Object(s.a)(["\n flex-basis: 100%;\n border-left: 3px solid var(--assa-abloy-blue);\n"]);return z=function(){return e},e}var C=u.default.ul(z()),A=u.default.li(N(),(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})),M=function(e){var n=l()({},b,e.menuItem),t=Array.isArray(n.links)?n.links:[];return i.a.createElement(C,{id:"level3-menu"},t.map((function(e,n){return i.a.createElement(A,{key:"menu-item-".concat(n),currentUrl:!1},i.a.createElement("a",{href:e.url},i.a.createElement(c.a,{icon:"chevron.svg"}),i.a.createElement("span",null,e.label)))})))},S=function(e){var n=Object(r.useState)(""),t=Object(a.a)(n,2),o=t[0],s=t[1],u=!!e.menuItem,d=l()({},b,e.menuItem),p=Array.isArray(d.links)?d.links:[],m=function(e){s(o?"":e.currentTarget.dataset.level2ItemLabel||"")};return i.a.createElement(j,{id:"level2-menu",isOpen:u},i.a.createElement(O,{onClick:function(){e.onClickBackButton()}},i.a.createElement(c.a,{icon:"arrow2.svg"}),i.a.createElement("span",null,"Back")),i.a.createElement(L,null,p.map((function(e,n){var t;return i.a.createElement(_,{key:"menu-item-".concat(n),currentUrl:!1},i.a.createElement(c.a,{icon:"chevron.svg"}),i.a.createElement("a",{href:e.url},e.label),(null===(t=e.links)||void 0===t?void 0:t.length)>0?i.a.createElement("button",{onClick:m,"data-level2-item-label":e.label},i.a.createElement(I,{icon:"chevron.svg",rotate:e.label===o})):null,e.label===o?i.a.createElement(M,{menuItem:p.find((function(e){return e.label===o}))}):null)}))))},D=function(e){var n=Object(r.useState)(""),t=Object(a.a)(n,2),o=t[0],l=t[1],s=e.menuItems.find((function(e){return e.label===o})),u=!s,d=function(e){var n=e.currentTarget.dataset.menuItemLabel||"";l(n)};return i.a.createElement(g,null,i.a.createElement(f,{id:"level1-menu",isOpen:u},e.menuItems.map((function(e,n){var t;return i.a.createElement(v,{key:"menu-item-".concat(n)},i.a.createElement("a",{href:e.url},e.label),(null===(t=e.links)||void 0===t?void 0:t.length)>0?i.a.createElement("button",{onClick:d,"data-menu-item-label":e.label},i.a.createElement(c.a,{icon:"arrow2.svg"})):null)}))),i.a.createElement(S,{menuItem:s,onClickBackButton:function(){l("")}}))};D.defaultProps={menuItems:[]};var T=D,H=t(6);function U(){var e=Object(s.a)(["\n display: flex;\n /* position: absolute;\n left: 0;\n top: 0; */\n min-height: 100%;\n box-shadow: 0px 100px 80px rgba(0, 0, 0, 0.02),\n 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0143771),\n 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0119221),\n 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.01),\n 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.00807786),\n 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.00562291);\n\n & .meta-description {\n color: var(--grey-80);\n font-size: var(--font-size-2);\n\n margin-top: 18px;\n margin-bottom: 0px;\n }\n"]);return U=function(){return e},e}var B=u.default.div(U()),P=u.default.li.withConfig({displayName:"styles__View",componentId:"sc-1h5xuwo-0"})(["margin-left:",";.sub-menu{font-size:16px;font-size:var(--font-size-2);line-height:var(--line-height-size-2);}.main-menu{font-size:var(--font-size-3);line-height:var(--line-height-size-3);padding:14px 18px;font-weight:700 !important;}&.active{background-color:",";}&:hover{cursor:pointer;border-left:2px solid var(--navigation-border-color);background-color:",";}"],(function(e){var n=e.navigationLevel;if(2===n||3===n)return"18px;"}),(function(e){var n=e.navigationLevel;return 1===n?"var(--section-background-alt-2)":2===n?"var(--navigation-background-alt-1)":3===n?"var(--navigation-background-alt-2)":void 0}),(function(e){var n=e.navigationLevel;return 1===n?"var(--section-background-alt-2)":2===n?"var(--navigation-background-alt-1)":3===n?"var(--navigation-background-alt-2)":void 0})),V=u.default.a.withConfig({displayName:"styles__DirectLink",componentId:"sc-1h5xuwo-1"})(["padding:6px 18px;display:block;font-weight:400 !important;&:hover{text-decoration:none !important;}"]),W=u.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:10px;height:10px;}"]),F=function(e){var n=e.linkType,t=void 0===n?"direct":n,o=e.handleClick,l=e.className,s=void 0===l?"link":l,u=e.link,d=e.navigationLevel,p=e.activeID,m=Object(r.useState)(""),g=Object(a.a)(m,2),f=g[0],v=g[1],h=Object(r.useRef)(null);return Object(r.useEffect)((function(){u.id===p?v("active"):v("")}),[p,u.id]),"direct"===t?i.a.createElement(P,{className:"".concat(f),navigationLevel:d,linkType:t},i.a.createElement(V,{navigationLevel:d,linkType:t,className:"direct-link ".concat(s," ").concat(f),href:u.url},u.label)):i.a.createElement(P,{navigationLevel:d,className:"".concat(f),linkType:t},i.a.createElement(W,{ref:h,navigationLevel:d,linkType:t,className:"menu-link ".concat(s),onClick:function(){o&&o(u)}},u.label,i.a.createElement(c.a,{icon:"arrow2.svg"})))},R={id:"",label:"",links:[],metaDescription:"",url:"/#"};function Z(){var e=Object(s.a)(["\n padding: 36px 36px 0 36px;\n font-size: 16px;\n display: block;\n cursor: pointer;\n &:hover {\n text-decoration: underline;\n }\n p {\n color: var(--grey-80);\n font-weight: 400;\n margin: 0;\n margin-top: 18px;\n margin-bottom: 18px;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n }\n"]);return Z=function(){return e},e}function q(){var e=Object(s.a)(["\n margin: 0;\n\n li {\n padding: 3px 0;\n margin: 0 14px !important;\n cursor: pointer;\n border-left: 2px solid transparent;\n border-left: ",";\n }\n\n &.active li {\n border-left: 2px solid transparent;\n\n &.active {\n border-left: 2px solid var(--navigation-border-color);\n }\n }\n & li:last-child {\n margin-bottom: 24px !important;\n }\n"]);return q=function(){return e},e}function J(){var e=Object(s.a)(["\n min-height: 550px;\n overflow: auto;\n padding-bottom: ",";\n padding-top: ",";\n background-color: ",";\n width: ",";\n\n @media (min-width: 980px) {\n width: ",";\n }\n\n @media (min-width: 1240px) {\n width: ",";\n }\n"]);return J=function(){return e},e}var K=u.default.section(J(),(function(e){return 1===e.navigationLevel?"calc(84px + 56px + 32px)":"80px"}),(function(e){return 1===e.navigationLevel&&"36px"}),(function(e){var n=e.theme,t=e.navigationLevel;return"main-menu"===n?"var(--navigation-background-alt-1)":"sub-menu"===n&&2===t?"var(--navigation-background-alt-2)":"sub-menu"===n&&3===t?"var(--navigation-background-alt-1)":void 0}),(function(e){return 1===e.navigationLevel?"280px":"calc(50vw - 9.75rem)"}),(function(e){return 1===e.navigationLevel?"320px":"calc(50vw - 11rem)"}),(function(e){return 1===e.navigationLevel?"320px":"440px"})),Y=u.default.ul(q(),(function(e){return 1!==e.navigationLevel&&"2px solid var(--navigation-border-color);"})),G=u.default.a(Z()),X=function(e){var n,t=Object(H.a)(Object(H.a)({},e),{},{links:l()([],R,e.content)}),o=Object(r.useState)(""),c=Object(a.a)(o,2),s=c[0],u=c[1];return Object(r.useEffect)((function(){var n;(null===(n=t.content.links)||void 0===n?void 0:n.filter((function(n){return n.id===e.activeID}))).length>0?u("active"):u("not-active")}),[e.activeID,t.content.links]),i.a.createElement(K,{theme:e.linkType,navigationLevel:e.navigationLevel},1!==e.navigationLevel&&i.a.createElement(G,{href:t.content.url},i.a.createElement("h5",null,t.content.label),i.a.createElement("p",null,t.content.description)),i.a.createElement(Y,{className:s,navigationLevel:e.navigationLevel},null===(n=t.content.links)||void 0===n?void 0:n.map((function(e){return i.a.createElement(F,{key:e.id,activeID:t.activeID,className:t.linkType,navigationLevel:t.navigationLevel,linkType:e.links?"undirect":"direct",handleClick:t.handleClick,link:e})}))))},$=function(e){var n=e.menuItems,t=Object(r.useState)({level1:"",level2:""}),o=Object(a.a)(t,2),l=o[0],c=o[1],s=Object(r.useState)({level1:n,level2:{},level3:{}}),u=Object(a.a)(s,2),d=u[0],p=u[1],m=d.level1,g=d.level2,f=d.level3;return i.a.createElement(B,null,i.a.createElement(X,{linkType:"main-menu",navigationLevel:1,content:m,handleClick:function(e){p(Object(H.a)(Object(H.a)({},d),{},{level2:e,level3:{}})),c(Object(H.a)(Object(H.a)({},l),{},{level1:e.id,level2:""}))},activeID:l.level1}),g.links&&i.a.createElement(X,{linkType:"sub-menu",navigationLevel:2,content:g,handleClick:function(e){p(Object(H.a)(Object(H.a)({},d),{},{level3:e})),c(Object(H.a)(Object(H.a)({},l),{},{level2:e.id}))},activeID:l.level2}),f.links&&i.a.createElement(X,{linkType:"sub-menu",navigationLevel:3,content:f}))};$.defaultProps={};var Q=$,ee=t(23),ne=u.default.div.withConfig({displayName:"styles__View",componentId:"zbj9ay-0"})(["position:relative;background-color:transparent;height:100%;font-size:var(--font-size-3);a{text-decoration:none;font-weight:700;color:var(--grey);}ul{padding:0;li{list-style:none;}}"]),te=u.default.div.withConfig({displayName:"styles__Nav",componentId:"zbj9ay-1"})(["display:flex;align-items:center;height:100%;min-height:72px;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;}}"]),ae=u.default.div.withConfig({displayName:"styles__HamburgerNav",componentId:"zbj9ay-2"})(["overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;position:absolute;top:72px;left:-1rem;border-radius:0 0 var(--border-radius) var(--border-radius);height:calc(100vh - 72px);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;li{a:hover{text-decoration:underline;}}}@media only screen and (max-width:767px){width:100vw;}@media only screen and (min-width:767px){overflow:unset;min-width:280px;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;}"]),re=u.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:280px;position:absolute;bottom:0;width:100%;left:0;}@media (min-width:980px){max-width:320px;}"]),ie=u.default.div.withConfig({displayName:"styles__Languages",componentId:"zbj9ay-4"})(["width:calc(100vw - 64px);position:absolute;z-index:999;left:var(--spacing-medium);.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(280px - 28px);left:14px;}@media (min-width:980px){width:calc(320px - 28px);}@media (min-width:1025px){}@media (min-width:1200px){display:none;}"]),oe=u.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-medium);margin-right:var(--spacing-medium-1);}"]),le=function(e){var n={links:l()([],h,e.menuItems)},t=e.marketData.name,o=Object(r.useState)(!1),c=Object(a.a)(o,2),s=c[0],u=c[1],d=Object(ee.a)().width||window.innerWidth,p=e.LanguageSwitcher;return document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__navigation")||u(!1))})),i.a.createElement(ne,{className:"nav-bar__navigation"},i.a.createElement(te,null,i.a.createElement(oe,{onClick:function(){u(!s)},className:"".concat(s)},i.a.createElement("span",null),i.a.createElement("span",null),i.a.createElement("span",null)),!s&&i.a.createElement("nav",null,i.a.createElement("ul",null,e.menuItems.map((function(e,n){return i.a.createElement("li",{key:"menu-item-".concat(n)},i.a.createElement("a",{href:e.url},e.label))}))))),s&&i.a.createElement(ae,null,i.a.createElement("nav",null,d>=767?i.a.createElement(Q,{menuItems:n}):i.a.createElement(T,{menuItems:e.menuItems})),i.a.createElement(ie,null,p&&p),i.a.createElement(re,null,i.a.createElement("span",null,"You are visiting"),i.a.createElement("p",null,t))))};le.defaultProps={menuItems:[],LanguageSwitcher:void 0};var ce=le,se=t(13);var ue=function(e){var n=e.color;return i.a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.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:n}),i.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:n}),i.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:n}))},de={background:"var(--dropdown-background-light)",color:"var(--dropdown-color)"},pe={background:"var(--assa-abloy-blue-90)",color:"var(--white)"},me=u.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:",";}.dropdown__button__icon__wrapper svg > *{fill:",";}}"],(function(e){return e.theme.background}),(function(e){return e.theme.color}),(function(e){var n=e.theme;return"2px solid ".concat(n.color)}),(function(e){var n=e.theme;return"2px solid ".concat(n.color)}),(function(e){var n=e.theme;return"".concat(n.color)})),ge=u.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1wm9rbq-1"})(['position:relative;font-size:var(--font-size-3);@media only screen and (min-width:1025px){display:block;}.dropdown__button{display:flex;align-items:center;height:56px;position:relative;outline:none;min-width:200px;border:0;margin:0;padding:0.8rem 1rem 0.8rem 0.8rem;padding-right:calc(1.6rem + 0.5rem);border-radius:var(--border-radius);text-align:left;cursor:pointer;font-family:var(--font-family-body);font-weight:var(--font-weight-bold);&::after{content:"";position:absolute;width:8px;height:8px;right:22px;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);}}}']),fe=u.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(--dropdown-checkbox-border-color);min-height:56px;display:block;border-radius:0;background-color:var(--dropdown-background-white);color:var(--dropdown-color);position:relative;text-decoration:none;min-width:180px;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;}}"]),ve=function(e){var n=function(e){var n=Object(r.useState)(!1),t=Object(a.a)(n,2),i=t[0],o=t[1],l=Object(r.useRef)(null),c=Object(r.useRef)(!0),s=Object(r.useRef)(!1),u=Object(r.useRef)(null),d=Object(r.useRef)([]);Object(r.useEffect)((function(){d.current=Object(se.a)(Array(e)).map((function(){return Object(r.createRef)()}))}),[e]);var p=function(e){var n;l.current=e,null===(n=d.current[e].current)||void 0===n||n.focus()};Object(r.useEffect)((function(){c.current?c.current=!1:i&&!s.current?p(0):i||(s.current=!1)}),[i]),Object(r.useEffect)((function(){if(i){var e=function(e){setTimeout((function(){e.target instanceof Element&&(e.target.closest('[role="menu"]')instanceof Element||o(!1))}),10)};return setTimeout((function(){document.addEventListener("click",e)}),1),function(){return document.removeEventListener("click",e)}}}),[i]),Object(r.useEffect)((function(){var e=function(e){!i||"ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.preventDefault()};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[i]);var m=function(e){if(function(e){return void 0!==e.key}(e)){var n=e.key;if(!["Enter"," ","Tab","ArrowDown"].includes(n))return;("Tab"===n||"ArrowDown"===n)&&s.current&&i?(e.preventDefault(),p(0)):"Tab"!==n&&(e.preventDefault(),o(!0))}else s.current=!i,o(!i)},g=function(e){var n=e.key;if(["Tab","Shift","Enter","Escape","ArrowUp","ArrowDown"].includes(n)){var t,a=l.current;if("Escape"===n)return o(!1),void(null===(t=u.current)||void 0===t||t.focus());if("Tab"!==n){if("Enter"===n)return e.currentTarget.href||e.currentTarget.click(),void o(!1);null!==a&&("ArrowUp"===n?a-=1:"ArrowDown"===n&&(a+=1),a>d.current.length-1?a=0:a<0&&(a=d.current.length-1)),null!==a&&p(a)}else o(!1)}};return{buttonProps:{onKeyDown:m,onClick:m,tabIndex:0,ref:u,role:"button","aria-haspopup":!0,"aria-expanded":i},itemProps:Object(se.a)(Array(e)).map((function(e,n){return{onKeyDown:g,tabIndex:-1,role:"menuitem",ref:d.current[n]}})),isOpen:i,setIsOpen:o}}(e.languages.length),t=n.buttonProps,o=n.itemProps,l=n.isOpen,c=n.setIsOpen,s=Object(r.useState)(e.currentLanguage),u=Object(a.a)(s,2),d=u[0],p=u[1];Object(r.useEffect)((function(){"string"===typeof e.currentLanguage&&p(e.currentLanguage)}),[e.currentLanguage]);var m=e.languages.map((function(e,n){var t=e.label,a=e.url;return i.a.createElement("a",Object.assign({key:t},o[n],{className:d===t?"is-active":"",href:a,onClick:function(e){return p(t),void c(!1)}}),t)}));return i.a.createElement(me,{theme:function(e){switch(e){case"theme-alt-1":return de;case"theme-alt-2":return pe;default:return de}}(e.theme),className:"nav-bar__language-switcher"},i.a.createElement(ge,{className:"dropdown"},i.a.createElement("button",Object.assign({className:"dropdown__button"},t),i.a.createElement("span",{className:"dropdown__button__icon__wrapper"},i.a.createElement(ue,{color:"#000"})),d),i.a.createElement(fe,{className:l?"is-visible":"",role:"menu"},m)))};ve.defaultProps={languages:[],currentLanguage:""};var he=ve,be=768,xe=992,we=1200,ke={mobileAndUp:"(min-width: ".concat(576,"px)"),tabletAndUp:"(min-width: ".concat(be,"px)"),desktopAndUp:"(min-width: ".concat(xe,"px)"),largeDesktopAndUp:"(min-width: ".concat(we,"px)")};function ye(){var e=Object(s.a)(["\n height: 56px;\n border-radius: 40px;\n display: flex;\n margin: 0;\n padding: 0;\n align-items: center;\n justify-content: center;\n position: ",";\n background-color: ",";\n width: ",";\n\n @media screen and "," {\n width: 220px;\n position: relative;\n }\n\n input {\n display: flex;\n height: 46px;\n background: transparent;\n border: none;\n flex-grow: 1;\n font-size: var(--font-size-3);\n font-weight: var(--font-weight-semi-bold);\n padding: 0;\n outline: none;\n padding-left: ",";\n color: ",";\n width: ",";\n\n &::placeholder {\n color: transparent;\n }\n\n @media screen and "," {\n display: flex;\n padding-left: 24px;\n &::placeholder {\n color: var(--white);\n }\n }\n }\n"]);return ye=function(){return e},e}function Ee(){var e=Object(s.a)(["\n display: ",";\n align-items: center;\n justify-content: center;\n width: 46px;\n height: 46px;\n background: transparent;\n border: 0;\n padding: 0;\n margin-right: 5px;\n\n svg {\n height: 15px;\n width: auto;\n }\n"]);return Ee=function(){return e},e}function je(){var e=Object(s.a)(["\n display: ",";\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: transparent;\n border: 0;\n padding: 0;\n margin-right: 0;\n\n svg {\n height: 19px;\n width: auto;\n }\n\n @media screen and "," {\n display: ",";\n margin-right: 5px;\n width: 46px;\n height: 46px;\n }\n"]);return je=function(){return e},e}function Oe(){var e=Object(s.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: 94px !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 right: unset !important;\n height: calc(100% - 150px) !important;\n\n @media screen and (max-width: 1200px) {\n right: 0 !important;\n left: 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: 80px !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 height: 100%;\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 Oe=function(){return e},e}var Le=Object(u.createGlobalStyle)(Oe()),_e=u.default.span(je(),(function(e){return e.isInputFocused?"none":"flex"}),ke.tabletAndUp,(function(e){return e.isInputFocused?"none":"flex"})),Ie=u.default.button(Ee(),(function(e){return e.isInputFocused?"flex":"none"})),Ne=u.default.div(ye(),(function(e){return e.isFocused?"absolute":"relative"}),(function(e){return e.isFocused?"var(--white)":"var(--assa-abloy-blue-90)"}),(function(e){return e.isFocused?"calc(100% - 80px)":"56px"}),ke.tabletAndUp,(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"}),ke.tabletAndUp),ze=function(e){var n,t,o=Object(r.useState)(!1),l=Object(a.a)(o,2),s=l[0],u=l[1],d=Object(r.useState)(""),p=Object(a.a)(d,2),m=p[0],g=p[1],f=Object(r.useRef)(),v=null===e||void 0===e||null===(n=e.search)||void 0===n||null===(t=n.addSearch)||void 0===t?void 0:t.id;Object(r.useEffect)((function(){window.addsearch_settings={results_box_opening_direction:"right"};var e="https://addsearch.com/js/?key=".concat(v),n=document.createElement("script");n.src=e,v?document.body.appendChild(n):console.warn("Could not inject addSearch script with id: ".concat(v)),document.addEventListener("click",(function(e){if(e.target instanceof Element&&!e.target.closest("#addsearch-results")){var n=document.querySelector("#addsearch-results");n&&(n.style.display="none")}})),document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__search-bar")||u(!1))}))}),[v]);return i.a.createElement(i.a.Fragment,null,i.a.createElement(Le,null),i.a.createElement(Ne,{className:"nav-bar__search-bar",isFocused:s},i.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){u(!0)}}),i.a.createElement(_e,{isInputFocused:s,onClick:function(){u(!0),f.current&&f.current.focus()}},i.a.createElement(c.a,{icon:"search.svg"})),i.a.createElement(Ie,{onClick:function(){g(""),f.current&&f.current.focus()},isInputFocused:s},i.a.createElement(c.a,{icon:"circledcross.svg"}))))},Ce=u.default.div.withConfig({displayName:"styles__View",componentId:"sc-1ryuw7o-0"})(["&,a{display:flex;}justify-content:center;align-items:center;img{width:150px;}@media (min-width:768px){img{width:100%;}}"]),Ae=function(e){var n=e.link,t=e.image;return n&&t?i.a.createElement(Ce,{className:"nav-bar__logotype"},i.a.createElement("a",{href:n},i.a.createElement("img",{src:t,alt:"logotype"}))):null},Me=t(4),Se={url:"",logo:{url:"",link:""},navigationData:{marketData:{name:""},menuItems:[]},languageSwitcherData:{currentLanguage:"",languages:[]},search:{addSearch:{id:""}}},De=t(25),Te=u.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:72px;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:1rem;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;& > div{margin-left:1rem;}}@media only screen and (min-width:767px){grid-template-columns:repeat(5,1fr) 200px repeat(5,1fr);width:calc(100% - 32px);border-radius:4px;width:calc(100vw - 2rem);margin:var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);}@media only screen and (max-width:1200px){.nav-container-right .nav-bar__language-switcher{display:none;}}"]),He=(u.default.div.withConfig({displayName:"styles__Placeholder",componentId:"uaecoh-1"})(["@media (min-width:1200px){width:200px;}"]),function(e){var n=l()({},Se,Object(Me.a)(e.content)),t=Object(De.a)(n.url),o=Object(r.useState)(n),c=Object(a.a)(o,2),s=c[0],u=c[1];Object(r.useEffect)((function(){if(null!==t.response&&null===t.error){var e=t.response;u(l()({},n,e))}else null!==t.error&&console.log(t.error)}),[t.response,t.error]);var d=(Object(ee.a)().width||0)<1200;return i.a.createElement(Te,{className:"nav-bar"},i.a.createElement(ce,Object.assign({},s.navigationData,{LanguageSwitcher:d?i.a.createElement(he,Object.assign({theme:"theme-alt-1"},s.languageSwitcherData)):null})),i.a.createElement(Ae,{link:n.logo.link,image:n.logo.src}),i.a.createElement("div",{className:"nav-container-right"},i.a.createElement(ze,{search:n.search}),i.a.createElement(he,Object.assign({theme:"theme-alt-2"},s.languageSwitcherData))))});He.defaultProps={content:""}},8:function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var a=t(0),r=t.n(a),i=function(e){var n=null;switch(e.icon){case"externalLink.svg":n=r.a.createElement("svg",{className:e.className,width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M13 8.90237V13.2176C13 13.8679 12.4706 14.3999 11.8235 14.3999H2.17647C1.52941 14.3999 1 13.8679 1 13.2176V3.58217C1 2.93192 1.52941 2.3999 2.17647 2.3999H5.70588",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M14 1L6.82141 8.17857",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M14 1H8.6759",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M14 1V6.32411",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"cross.svg":n=r.a.createElement("svg",{className:e.className,width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":n=r.a.createElement("svg",{className:e.className,width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;case"document.svg":n=r.a.createElement("svg",{className:e.className,width:"16px ",viewBox:"0 0 23.88 29.55",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("g",{id:"Layer_2","data-name":"Layer 2"},r.a.createElement("g",{id:"icons"},r.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"}),r.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"}),r.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"}),r.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":n=r.a.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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":n=r.a.createElement("svg",{className:e.className,width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M5.76471 7.52942L9.52942 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M5.76471 7.52942L2 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"circledcross.svg":n=r.a.createElement("svg",{className:e.className,width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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"}),r.a.createElement("path",{d:"M10 6.5L6 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M6 6.5L10 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"search.svg":n=r.a.createElement("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("circle",{cx:"7.52083",cy:"8.02083",r:"5.33333",stroke:"white",strokeWidth:"2"}),r.a.createElement("path",{d:"M16.6265 17.1265L11.4807 11.9807",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}));break;default:n=r.a.createElement("svg",{className:e.className,width:"16",height:"24",viewBox:"0 0 16 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M8.08163 20L16 12L8.08163 4L6.4 5.69072L11.4367 10.7711H0V13.2289H11.4367L6.4 18.3175L8.08163 20Z",fill:"#1A1A1A"}))}return n}}});
!function(e){function n(n){for(var a,o,l=n[0],c=n[1],s=n[2],d=0,p=[];d<l.length;d++)o=l[d],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&p.push(r[o][0]),r[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(n);p.length;)p.shift()();return i.push.apply(i,s||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],a=!0,l=1;l<t.length;l++){var c=t[l];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),e=o(o.s=t[0]))}return e}var a={},r={12:0},i=[];function o(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=e,o.c=a,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},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,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)o.d(t,a,function(n){return e[n]}.bind(null,a));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/";var l=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],c=l.push.bind(l);l.push=n,l=l.slice();for(var s=0;s<l.length;s++)n(l[s]);var u=c;i.push([143,0]),t()}({0:function(e,n){e.exports=React},118:function(e,n,t){"use strict";t.r(n);var a=t(20),r=t(45);n.default=a.a.create({component:r.a,configuration:{tagname:"gw-group-nav-header",useShadow:!1},plugins:[]})},23:function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var a=t(2),r=t(0),i=t(4);function o(){var e=Object(r.useState)({width:void 0,height:void 0}),n=Object(a.a)(e,2),t=n[0],o=n[1];return Object(r.useEffect)((function(){var e=Object(i.b)((function(){o({width:window.innerWidth,height:window.innerHeight})}),500);return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),t}},25:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var a=t(18),r=t.n(a),i=t(26),o=t(2),l=t(0),c=function(e){var n=Object(l.useState)(null),t=Object(o.a)(n,2),a=t[0],c=t[1],s=Object(l.useState)(null),u=Object(o.a)(s,2),d=u[0],p=u[1],m=Object(l.useState)(!1),g=Object(o.a)(m,2),f=g[0],v=g[1];return Object(l.useEffect)((function(){(function(){var n=Object(i.a)(r.a.mark((function n(){var t,a;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return v(!0),n.prev=1,n.next=4,fetch(e);case 4:return t=n.sent,n.next=7,t.json();case 7:a=n.sent,c(a),v(!1),n.next=15;break;case 12:n.prev=12,n.t0=n.catch(1),p(n.t0);case 15:case"end":return n.stop()}}),n,null,[[1,12]])})));return function(){return n.apply(this,arguments)}})()()}),[e]),{response:a,error:d,isLoading:f}}},28:function(e,n){e.exports=ReactDOM},4:function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"j",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"d",(function(){return l})),t.d(n,"g",(function(){return c})),t.d(n,"h",(function(){return s})),t.d(n,"f",(function(){return u})),t.d(n,"i",(function(){return d})),t.d(n,"b",(function(){return p})),t.d(n,"e",(function(){return m}));var a=t(2),r=function(e){try{return JSON.parse(decodeURIComponent(escape(atob(e))))}catch(n){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",e),null}},i=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(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")},c=function(e){return e.sort((function(e,n){return e.created>n.created?-1:e.created<n.created?1:0}))},s=function(e){return e.sort((function(e,n){return e.created<n.created?-1:e.created>n.created?1:0}))},u=function(e){return e.sort((function(e,n){return e.title<n.title?-1:e.title>n.title?1:0}))},d=function(e){return e.sort((function(e,n){return e.title>n.title?-1:e.title<n.title?1:0}))};function p(e,n){var t,a=arguments,r=this;return function(i){clearTimeout(t),t=setTimeout((function(n){t=null,e.apply(r,a)}),n)}}var m=function(e,n){if(!n.length)return e;var t=Object(a.a)(n,1)[0];return/^\d+$/.test(e)?"".concat(e).concat(t):"string"===typeof e&&n.some((function(n){return e.endsWith(n)}))?e:"string"===typeof e&&"".concat(e.trim().replace(/\D/g,"")||"0").concat(t)}},45:function(e,n,t){"use strict";t.d(n,"a",(function(){return He}));var a=t(2),r=t(0),i=t.n(r),o=t(5),l=t.n(o),c=t(9),s=t(3),u=t(1);function d(){var e=Object(s.a)([""]);return d=function(){return e},e}function p(){var e=Object(s.a)(["\n overflow: auto;\n height: 100%;\n padding-top: 15px !important;\n margin-bottom: 15px;\n margin-top: 0;\n background: transparent;\n width: 100%;\n position: absolute;\n flex-shrink: 0;\n left: ",";\n transition: left 0.2s ease-in-out;\n\n > li {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n > a {\n display: flex;\n flex-grow: 1;\n padding: 15px 0;\n }\n\n > button {\n display: flex;\n flex-grow: 0;\n padding: 0;\n height: 46px;\n width: 46px;\n align-items: center;\n justify-content: center;\n }\n }\n"]);return p=function(){return e},e}function m(){var e=Object(s.a)(["\n display: flex;\n height: 100%;\n position: relative;\n\n button {\n background: none;\n border: none;\n }\n\n #level1-menu > li {\n margin: 0 32px;\n background: transparent;\n margin: 0 17px 0 var(--spacing-medium);\n\n a {\n font-size: var(--font-size-4);\n font-weight: var(--font-weight-semi-bold);\n line-height: var(--line-height-size-4);\n }\n }\n"]);return m=function(){return e},e}var g=u.default.div(m()),f=u.default.ul(p(),(function(e){return e.isOpen?"0%":"-100%"})),v=u.default.li(d()),h=[{id:"",label:"",url:"",description:"",links:[]}],b={label:"",url:"",meta:"",links:[]};function x(){var e=Object(s.a)(["\n width: 13px;\n height: auto;\n transform: ",";\n transition: transform 0.16s ease-in-out;\n"]);return x=function(){return e},e}function w(){var e=Object(s.a)(["\n flex-wrap: wrap;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 17px 0 var(--spacing-medium);\n\n & > svg {\n display: ",";\n transform: rotate(-90deg);\n width: auto;\n height: 10px;\n }\n\n & > a {\n display: flex;\n flex-grow: 1;\n padding: var(--spacing-small);\n padding-left: ",";\n font-size: var(--font-size-4);\n font-weight: "," !important; // TODO: remove !important\n }\n\n & > button {\n display: flex;\n flex-grow: 0;\n height: 46px;\n width: 46px;\n align-items: center;\n justify-content: center;\n }\n"]);return w=function(){return e},e}function k(){var e=Object(s.a)(["\n margin: 0;\n overflow: auto;\n"]);return k=function(){return e},e}function y(){var e=Object(s.a)(["\n display: flex;\n align-items: center;\n padding: 15px 15px 15px 0;\n margin-left: var(--spacing-medium);\n svg {\n height: 13px;\n width: 13px;\n transform: rotate(180deg);\n }\n span {\n font-weight: var(--font-weight-semi-bold);\n font-size: var(--font-size-4);\n padding-left: var(--spacing-mini-3);\n line-height: normal;\n }\n"]);return y=function(){return e},e}function E(){var e=Object(s.a)(["\n background: transparent;\n position: absolute;\n width: 100%;\n flex-shrink: 0;\n left: ",";\n transition: left 0.2s ease-in-out;\n display: flex;\n flex-direction: column;\n height: 100%;\n"]);return E=function(){return e},e}var j=u.default.div(E(),(function(e){return e.isOpen?"0%":"100%"})),O=u.default.button(y()),L=u.default.ul(k()),_=u.default.li(w(),(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)"})),I=Object(u.default)(c.a)(x(),(function(e){return e.rotate?"rotate(180deg)":"rotate(0deg)"}));function N(){var e=Object(s.a)(["\n padding: var(--spacing-small);\n margin: 0;\n & > a {\n display: flex;\n align-items: center;\n\n svg {\n display: none;\n height: 10px;\n width: auto;\n transform: rotate(-90deg);\n display: ",";\n }\n\n span {\n font-weight: ",";\n font-size: var(--font-size-3);\n padding-left: ",";\n }\n }\n"]);return N=function(){return e},e}function z(){var e=Object(s.a)(["\n flex-basis: 100%;\n border-left: 3px solid var(--assa-abloy-blue);\n"]);return z=function(){return e},e}var C=u.default.ul(z()),A=u.default.li(N(),(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})),M=function(e){var n=l()({},b,e.menuItem),t=Array.isArray(n.links)?n.links:[];return i.a.createElement(C,{id:"level3-menu"},t.map((function(e,n){return i.a.createElement(A,{key:"menu-item-".concat(n),currentUrl:!1},i.a.createElement("a",{href:e.url},i.a.createElement(c.a,{icon:"chevron.svg"}),i.a.createElement("span",null,e.label)))})))},S=function(e){var n=Object(r.useState)(""),t=Object(a.a)(n,2),o=t[0],s=t[1],u=!!e.menuItem,d=l()({},b,e.menuItem),p=Array.isArray(d.links)?d.links:[],m=function(e){s(o?"":e.currentTarget.dataset.level2ItemLabel||"")};return i.a.createElement(j,{id:"level2-menu",isOpen:u},i.a.createElement(O,{onClick:function(){e.onClickBackButton()}},i.a.createElement(c.a,{icon:"arrow2.svg"}),i.a.createElement("span",null,"Back")),i.a.createElement(L,null,p.map((function(e,n){var t;return i.a.createElement(_,{key:"menu-item-".concat(n),currentUrl:!1},i.a.createElement(c.a,{icon:"chevron.svg"}),i.a.createElement("a",{href:e.url},e.label),(null===(t=e.links)||void 0===t?void 0:t.length)>0?i.a.createElement("button",{onClick:m,"data-level2-item-label":e.label},i.a.createElement(I,{icon:"chevron.svg",rotate:e.label===o})):null,e.label===o?i.a.createElement(M,{menuItem:p.find((function(e){return e.label===o}))}):null)}))))},D=function(e){var n=Object(r.useState)(""),t=Object(a.a)(n,2),o=t[0],l=t[1],s=e.menuItems.find((function(e){return e.label===o})),u=!s,d=function(e){var n=e.currentTarget.dataset.menuItemLabel||"";l(n)};return i.a.createElement(g,null,i.a.createElement(f,{id:"level1-menu",isOpen:u},e.menuItems.map((function(e,n){var t;return i.a.createElement(v,{key:"menu-item-".concat(n)},i.a.createElement("a",{href:e.url},e.label),(null===(t=e.links)||void 0===t?void 0:t.length)>0?i.a.createElement("button",{onClick:d,"data-menu-item-label":e.label},i.a.createElement(c.a,{icon:"arrow2.svg"})):null)}))),i.a.createElement(S,{menuItem:s,onClickBackButton:function(){l("")}}))};D.defaultProps={menuItems:[]};var T=D,H=t(7);function U(){var e=Object(s.a)(["\n display: flex;\n /* position: absolute;\n left: 0;\n top: 0; */\n min-height: 100%;\n box-shadow: 0px 100px 80px rgba(0, 0, 0, 0.02),\n 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0143771),\n 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0119221),\n 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.01),\n 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.00807786),\n 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.00562291);\n\n & .meta-description {\n color: var(--grey-80);\n font-size: var(--font-size-2);\n\n margin-top: 18px;\n margin-bottom: 0px;\n }\n"]);return U=function(){return e},e}var B=u.default.div(U()),P=u.default.li.withConfig({displayName:"styles__View",componentId:"sc-1h5xuwo-0"})(["margin-left:",";.sub-menu{font-size:16px;font-size:var(--font-size-2);line-height:var(--line-height-size-2);}.main-menu{font-size:var(--font-size-3);line-height:var(--line-height-size-3);padding:14px 18px;font-weight:700 !important;}&.active{background-color:",";}&:hover{cursor:pointer;border-left:2px solid var(--navigation-border-color);background-color:",";}"],(function(e){var n=e.navigationLevel;if(2===n||3===n)return"18px;"}),(function(e){var n=e.navigationLevel;return 1===n?"var(--section-background-alt-2)":2===n?"var(--navigation-background-alt-1)":3===n?"var(--navigation-background-alt-2)":void 0}),(function(e){var n=e.navigationLevel;return 1===n?"var(--section-background-alt-2)":2===n?"var(--navigation-background-alt-1)":3===n?"var(--navigation-background-alt-2)":void 0})),V=u.default.a.withConfig({displayName:"styles__DirectLink",componentId:"sc-1h5xuwo-1"})(["padding:6px 18px;display:block;font-weight:400 !important;&:hover{text-decoration:none !important;}"]),W=u.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:10px;height:10px;}"]),F=function(e){var n=e.linkType,t=void 0===n?"direct":n,o=e.handleClick,l=e.className,s=void 0===l?"link":l,u=e.link,d=e.navigationLevel,p=e.activeID,m=Object(r.useState)(""),g=Object(a.a)(m,2),f=g[0],v=g[1],h=Object(r.useRef)(null);return Object(r.useEffect)((function(){u.id===p?v("active"):v("")}),[p,u.id]),"direct"===t?i.a.createElement(P,{className:"".concat(f),navigationLevel:d,linkType:t},i.a.createElement(V,{navigationLevel:d,linkType:t,className:"direct-link ".concat(s," ").concat(f),href:u.url},u.label)):i.a.createElement(P,{navigationLevel:d,className:"".concat(f),linkType:t},i.a.createElement(W,{ref:h,navigationLevel:d,linkType:t,className:"menu-link ".concat(s),onClick:function(){o&&o(u)}},u.label,i.a.createElement(c.a,{icon:"arrow2.svg"})))},R={id:"",label:"",links:[],metaDescription:"",url:"/#"};function Z(){var e=Object(s.a)(["\n padding: 36px 36px 0 36px;\n font-size: 16px;\n display: block;\n cursor: pointer;\n &:hover {\n text-decoration: underline;\n }\n p {\n color: var(--grey-80);\n font-weight: 400;\n margin: 0;\n margin-top: 18px;\n margin-bottom: 18px;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n }\n"]);return Z=function(){return e},e}function q(){var e=Object(s.a)(["\n margin: 0;\n\n li {\n padding: 3px 0;\n margin: 0 14px !important;\n cursor: pointer;\n border-left: 2px solid transparent;\n border-left: ",";\n }\n\n &.active li {\n border-left: 2px solid transparent;\n\n &.active {\n border-left: 2px solid var(--navigation-border-color);\n }\n }\n & li:last-child {\n margin-bottom: 24px !important;\n }\n"]);return q=function(){return e},e}function J(){var e=Object(s.a)(["\n min-height: 550px;\n overflow: auto;\n padding-bottom: ",";\n padding-top: ",";\n background-color: ",";\n width: ",";\n\n @media (min-width: 980px) {\n width: ",";\n }\n\n @media (min-width: 1240px) {\n width: ",";\n }\n"]);return J=function(){return e},e}var K=u.default.section(J(),(function(e){return 1===e.navigationLevel?"calc(84px + 56px + 32px)":"80px"}),(function(e){return 1===e.navigationLevel&&"36px"}),(function(e){var n=e.theme,t=e.navigationLevel;return"main-menu"===n?"var(--navigation-background-alt-1)":"sub-menu"===n&&2===t?"var(--navigation-background-alt-2)":"sub-menu"===n&&3===t?"var(--navigation-background-alt-1)":void 0}),(function(e){return 1===e.navigationLevel?"280px":"calc(50vw - 9.75rem)"}),(function(e){return 1===e.navigationLevel?"320px":"calc(50vw - 11rem)"}),(function(e){return 1===e.navigationLevel?"320px":"440px"})),Y=u.default.ul(q(),(function(e){return 1!==e.navigationLevel&&"2px solid var(--navigation-border-color);"})),G=u.default.a(Z()),X=function(e){var n,t=Object(H.a)(Object(H.a)({},e),{},{links:l()([],R,e.content)}),o=Object(r.useState)(""),c=Object(a.a)(o,2),s=c[0],u=c[1];return Object(r.useEffect)((function(){var n;(null===(n=t.content.links)||void 0===n?void 0:n.filter((function(n){return n.id===e.activeID}))).length>0?u("active"):u("not-active")}),[e.activeID,t.content.links]),i.a.createElement(K,{theme:e.linkType,navigationLevel:e.navigationLevel},1!==e.navigationLevel&&i.a.createElement(G,{href:t.content.url},i.a.createElement("h5",null,t.content.label),i.a.createElement("p",null,t.content.description)),i.a.createElement(Y,{className:s,navigationLevel:e.navigationLevel},null===(n=t.content.links)||void 0===n?void 0:n.map((function(e){return i.a.createElement(F,{key:e.id,activeID:t.activeID,className:t.linkType,navigationLevel:t.navigationLevel,linkType:e.links?"undirect":"direct",handleClick:t.handleClick,link:e})}))))},$=function(e){var n=e.menuItems,t=Object(r.useState)({level1:"",level2:""}),o=Object(a.a)(t,2),l=o[0],c=o[1],s=Object(r.useState)({level1:n,level2:{},level3:{}}),u=Object(a.a)(s,2),d=u[0],p=u[1],m=d.level1,g=d.level2,f=d.level3;return i.a.createElement(B,null,i.a.createElement(X,{linkType:"main-menu",navigationLevel:1,content:m,handleClick:function(e){p(Object(H.a)(Object(H.a)({},d),{},{level2:e,level3:{}})),c(Object(H.a)(Object(H.a)({},l),{},{level1:e.id,level2:""}))},activeID:l.level1}),g.links&&i.a.createElement(X,{linkType:"sub-menu",navigationLevel:2,content:g,handleClick:function(e){p(Object(H.a)(Object(H.a)({},d),{},{level3:e})),c(Object(H.a)(Object(H.a)({},l),{},{level2:e.id}))},activeID:l.level2}),f.links&&i.a.createElement(X,{linkType:"sub-menu",navigationLevel:3,content:f}))};$.defaultProps={};var Q=$,ee=t(23),ne=u.default.div.withConfig({displayName:"styles__View",componentId:"zbj9ay-0"})(["position:relative;background-color:transparent;height:100%;font-size:var(--font-size-3);a{text-decoration:none;font-weight:700;color:var(--grey);}ul{padding:0;li{list-style:none;}}"]),te=u.default.div.withConfig({displayName:"styles__Nav",componentId:"zbj9ay-1"})(["display:flex;align-items:center;height:100%;min-height:72px;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;}}"]),ae=u.default.div.withConfig({displayName:"styles__HamburgerNav",componentId:"zbj9ay-2"})(["overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;position:absolute;top:72px;left:-1rem;border-radius:0 0 var(--border-radius) var(--border-radius);height:calc(100vh - 72px);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;li{a:hover{text-decoration:underline;}}}@media only screen and (max-width:767px){width:100vw;}@media only screen and (min-width:767px){overflow:unset;min-width:280px;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;}"]),re=u.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:280px;position:absolute;bottom:0;width:100%;left:0;}@media (min-width:980px){max-width:320px;}"]),ie=u.default.div.withConfig({displayName:"styles__Languages",componentId:"zbj9ay-4"})(["width:calc(100vw - 64px);position:absolute;z-index:999;left:var(--spacing-medium);.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(280px - 28px);left:14px;}@media (min-width:980px){width:calc(320px - 28px);}@media (min-width:1025px){}@media (min-width:1200px){display:none;}"]),oe=u.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-medium);margin-right:var(--spacing-medium-1);}"]),le=function(e){var n={links:l()([],h,e.menuItems)},t=e.marketData.name,o=Object(r.useState)(!1),c=Object(a.a)(o,2),s=c[0],u=c[1],d=Object(ee.a)().width||window.innerWidth,p=e.LanguageSwitcher;return document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__navigation")||u(!1))})),i.a.createElement(ne,{className:"nav-bar__navigation"},i.a.createElement(te,null,i.a.createElement(oe,{onClick:function(){u(!s)},className:"".concat(s)},i.a.createElement("span",null),i.a.createElement("span",null),i.a.createElement("span",null)),!s&&i.a.createElement("nav",null,i.a.createElement("ul",null,e.menuItems.map((function(e,n){return i.a.createElement("li",{key:"menu-item-".concat(n)},i.a.createElement("a",{href:e.url},e.label))}))))),s&&i.a.createElement(ae,null,i.a.createElement("nav",null,d>=767?i.a.createElement(Q,{menuItems:n}):i.a.createElement(T,{menuItems:e.menuItems})),i.a.createElement(ie,null,p&&p),i.a.createElement(re,null,i.a.createElement("span",null,"You are visiting"),i.a.createElement("p",null,t))))};le.defaultProps={menuItems:[],LanguageSwitcher:void 0};var ce=le,se=t(13);var ue=function(e){var n=e.color;return i.a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.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:n}),i.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:n}),i.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:n}))},de={background:"var(--dropdown-background-light)",color:"var(--dropdown-color)"},pe={background:"var(--assa-abloy-blue-90)",color:"var(--white)"},me=u.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:",";}.dropdown__button__icon__wrapper svg > *{fill:",";}}"],(function(e){return e.theme.background}),(function(e){return e.theme.color}),(function(e){var n=e.theme;return"2px solid ".concat(n.color)}),(function(e){var n=e.theme;return"2px solid ".concat(n.color)}),(function(e){var n=e.theme;return"".concat(n.color)})),ge=u.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1wm9rbq-1"})(['position:relative;font-size:var(--font-size-3);@media only screen and (min-width:1025px){display:block;}.dropdown__button{display:flex;align-items:center;height:56px;position:relative;outline:none;min-width:200px;border:0;margin:0;padding:0.8rem 1rem 0.8rem 0.8rem;padding-right:calc(1.6rem + 0.5rem);border-radius:var(--border-radius);text-align:left;cursor:pointer;font-family:var(--font-family-body);font-weight:var(--font-weight-bold);&::after{content:"";position:absolute;width:8px;height:8px;right:22px;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);}}}']),fe=u.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(--dropdown-checkbox-border-color);min-height:56px;display:block;border-radius:0;background-color:var(--dropdown-background-white);color:var(--dropdown-color);position:relative;text-decoration:none;min-width:180px;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;}}"]),ve=function(e){var n=function(e){var n=Object(r.useState)(!1),t=Object(a.a)(n,2),i=t[0],o=t[1],l=Object(r.useRef)(null),c=Object(r.useRef)(!0),s=Object(r.useRef)(!1),u=Object(r.useRef)(null),d=Object(r.useRef)([]);Object(r.useEffect)((function(){d.current=Object(se.a)(Array(e)).map((function(){return Object(r.createRef)()}))}),[e]);var p=function(e){var n;l.current=e,null===(n=d.current[e].current)||void 0===n||n.focus()};Object(r.useEffect)((function(){c.current?c.current=!1:i&&!s.current?p(0):i||(s.current=!1)}),[i]),Object(r.useEffect)((function(){if(i){var e=function(e){setTimeout((function(){e.target instanceof Element&&(e.target.closest('[role="menu"]')instanceof Element||o(!1))}),10)};return setTimeout((function(){document.addEventListener("click",e)}),1),function(){return document.removeEventListener("click",e)}}}),[i]),Object(r.useEffect)((function(){var e=function(e){!i||"ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.preventDefault()};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[i]);var m=function(e){if(function(e){return void 0!==e.key}(e)){var n=e.key;if(!["Enter"," ","Tab","ArrowDown"].includes(n))return;("Tab"===n||"ArrowDown"===n)&&s.current&&i?(e.preventDefault(),p(0)):"Tab"!==n&&(e.preventDefault(),o(!0))}else s.current=!i,o(!i)},g=function(e){var n=e.key;if(["Tab","Shift","Enter","Escape","ArrowUp","ArrowDown"].includes(n)){var t,a=l.current;if("Escape"===n)return o(!1),void(null===(t=u.current)||void 0===t||t.focus());if("Tab"!==n){if("Enter"===n)return e.currentTarget.href||e.currentTarget.click(),void o(!1);null!==a&&("ArrowUp"===n?a-=1:"ArrowDown"===n&&(a+=1),a>d.current.length-1?a=0:a<0&&(a=d.current.length-1)),null!==a&&p(a)}else o(!1)}};return{buttonProps:{onKeyDown:m,onClick:m,tabIndex:0,ref:u,role:"button","aria-haspopup":!0,"aria-expanded":i},itemProps:Object(se.a)(Array(e)).map((function(e,n){return{onKeyDown:g,tabIndex:-1,role:"menuitem",ref:d.current[n]}})),isOpen:i,setIsOpen:o}}(e.languages.length),t=n.buttonProps,o=n.itemProps,l=n.isOpen,c=n.setIsOpen,s=Object(r.useState)(e.currentLanguage),u=Object(a.a)(s,2),d=u[0],p=u[1];Object(r.useEffect)((function(){"string"===typeof e.currentLanguage&&p(e.currentLanguage)}),[e.currentLanguage]);var m=e.languages.map((function(e,n){var t=e.label,a=e.url;return i.a.createElement("a",Object.assign({key:t},o[n],{className:d===t?"is-active":"",href:a,onClick:function(e){return p(t),void c(!1)}}),t)}));return i.a.createElement(me,{theme:function(e){switch(e){case"theme-alt-1":return de;case"theme-alt-2":return pe;default:return de}}(e.theme),className:"nav-bar__language-switcher"},i.a.createElement(ge,{className:"dropdown"},i.a.createElement("button",Object.assign({className:"dropdown__button"},t),i.a.createElement("span",{className:"dropdown__button__icon__wrapper"},i.a.createElement(ue,{color:"#000"})),d),i.a.createElement(fe,{className:l?"is-visible":"",role:"menu"},m)))};ve.defaultProps={languages:[],currentLanguage:""};var he=ve,be=768,xe=992,we=1200,ke={mobileAndUp:"(min-width: ".concat(576,"px)"),tabletAndUp:"(min-width: ".concat(be,"px)"),desktopAndUp:"(min-width: ".concat(xe,"px)"),largeDesktopAndUp:"(min-width: ".concat(we,"px)")};function ye(){var e=Object(s.a)(["\n height: 56px;\n border-radius: 40px;\n display: flex;\n margin: 0;\n padding: 0;\n align-items: center;\n justify-content: center;\n position: ",";\n background-color: ",";\n width: ",";\n\n @media screen and "," {\n width: 220px;\n position: relative;\n }\n\n input {\n display: flex;\n height: 46px;\n background: transparent;\n border: none;\n flex-grow: 1;\n font-size: var(--font-size-3);\n font-weight: var(--font-weight-semi-bold);\n padding: 0;\n outline: none;\n padding-left: ",";\n color: ",";\n width: ",";\n\n &::placeholder {\n color: transparent;\n }\n\n @media screen and "," {\n display: flex;\n padding-left: 24px;\n &::placeholder {\n color: var(--white);\n }\n }\n }\n"]);return ye=function(){return e},e}function Ee(){var e=Object(s.a)(["\n display: ",";\n align-items: center;\n justify-content: center;\n width: 46px;\n height: 46px;\n background: transparent;\n border: 0;\n padding: 0;\n margin-right: 5px;\n\n svg {\n height: 15px;\n width: auto;\n }\n"]);return Ee=function(){return e},e}function je(){var e=Object(s.a)(["\n display: ",";\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: transparent;\n border: 0;\n padding: 0;\n margin-right: 0;\n\n svg {\n height: 19px;\n width: auto;\n }\n\n @media screen and "," {\n display: ",";\n margin-right: 5px;\n width: 46px;\n height: 46px;\n }\n"]);return je=function(){return e},e}function Oe(){var e=Object(s.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: 94px !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 right: unset !important;\n height: calc(100% - 150px) !important;\n\n @media screen and (max-width: 1200px) {\n right: 0 !important;\n left: 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: 80px !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 height: 100%;\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 Oe=function(){return e},e}var Le=Object(u.createGlobalStyle)(Oe()),_e=u.default.span(je(),(function(e){return e.isInputFocused?"none":"flex"}),ke.tabletAndUp,(function(e){return e.isInputFocused?"none":"flex"})),Ie=u.default.button(Ee(),(function(e){return e.isInputFocused?"flex":"none"})),Ne=u.default.div(ye(),(function(e){return e.isFocused?"absolute":"relative"}),(function(e){return e.isFocused?"var(--white)":"var(--assa-abloy-blue-90)"}),(function(e){return e.isFocused?"calc(100% - 80px)":"56px"}),ke.tabletAndUp,(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"}),ke.tabletAndUp),ze=function(e){var n,t,o=Object(r.useState)(!1),l=Object(a.a)(o,2),s=l[0],u=l[1],d=Object(r.useState)(""),p=Object(a.a)(d,2),m=p[0],g=p[1],f=Object(r.useRef)(),v=null===e||void 0===e||null===(n=e.search)||void 0===n||null===(t=n.addSearch)||void 0===t?void 0:t.id;Object(r.useEffect)((function(){window.addsearch_settings={results_box_opening_direction:"right"};var e="https://addsearch.com/js/?key=".concat(v),n=document.createElement("script");n.src=e,v?document.body.appendChild(n):console.warn("Could not inject addSearch script with id: ".concat(v)),document.addEventListener("click",(function(e){if(e.target instanceof Element&&!e.target.closest("#addsearch-results")){var n=document.querySelector("#addsearch-results");n&&(n.style.display="none")}})),document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__search-bar")||u(!1))}))}),[v]);return i.a.createElement(i.a.Fragment,null,i.a.createElement(Le,null),i.a.createElement(Ne,{className:"nav-bar__search-bar",isFocused:s},i.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){u(!0)}}),i.a.createElement(_e,{isInputFocused:s,onClick:function(){u(!0),f.current&&f.current.focus()}},i.a.createElement(c.a,{icon:"search.svg"})),i.a.createElement(Ie,{onClick:function(){g(""),f.current&&f.current.focus()},isInputFocused:s},i.a.createElement(c.a,{icon:"circledcross.svg"}))))},Ce=u.default.div.withConfig({displayName:"styles__View",componentId:"sc-1ryuw7o-0"})(["&,a{display:flex;}justify-content:center;align-items:center;img{width:150px;}@media (min-width:768px){img{width:100%;}}"]),Ae=function(e){var n=e.link,t=e.image;return n&&t?i.a.createElement(Ce,{className:"nav-bar__logotype"},i.a.createElement("a",{href:n},i.a.createElement("img",{src:t,alt:"logotype"}))):null},Me=t(4),Se={url:"",logo:{url:"",link:""},navigationData:{marketData:{name:""},menuItems:[]},languageSwitcherData:{currentLanguage:"",languages:[]},search:{addSearch:{id:""}}},De=t(25),Te=u.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:72px;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:1rem;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;& > div{margin-left:1rem;}}@media only screen and (min-width:767px){grid-template-columns:repeat(5,1fr) 200px repeat(5,1fr);width:calc(100% - 32px);border-radius:4px;width:calc(100vw - 2rem);margin:var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);}@media only screen and (max-width:1200px){.nav-container-right .nav-bar__language-switcher{display:none;}}"]),He=(u.default.div.withConfig({displayName:"styles__Placeholder",componentId:"uaecoh-1"})(["@media (min-width:1200px){width:200px;}"]),function(e){var n=l()({},Se,Object(Me.a)(e.content)),t=Object(De.a)(n.url),o=Object(r.useState)(n),c=Object(a.a)(o,2),s=c[0],u=c[1];Object(r.useEffect)((function(){if(null!==t.response&&null===t.error){var e=t.response;u(l()({},n,e))}else null!==t.error&&console.log(t.error)}),[t.response,t.error]);var d=(Object(ee.a)().width||0)<1200;return i.a.createElement(Te,{className:"nav-bar"},i.a.createElement(ce,Object.assign({},s.navigationData,{LanguageSwitcher:d?i.a.createElement(he,Object.assign({theme:"theme-alt-1"},s.languageSwitcherData)):null})),i.a.createElement(Ae,{link:n.logo.link,image:n.logo.src}),i.a.createElement("div",{className:"nav-container-right"},i.a.createElement(ze,{search:n.search}),i.a.createElement(he,Object.assign({theme:"theme-alt-2"},s.languageSwitcherData))))});He.defaultProps={content:""}},9:function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var a=t(0),r=t.n(a),i=function(e){var n=null;switch(e.icon){case"externalLink.svg":n=r.a.createElement("svg",{className:e.className,width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M13 8.90237V13.2176C13 13.8679 12.4706 14.3999 11.8235 14.3999H2.17647C1.52941 14.3999 1 13.8679 1 13.2176V3.58217C1 2.93192 1.52941 2.3999 2.17647 2.3999H5.70588",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M14 1L6.82141 8.17857",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M14 1H8.6759",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M14 1V6.32411",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"cross.svg":n=r.a.createElement("svg",{className:e.className,width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":n=r.a.createElement("svg",{className:e.className,width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;case"document.svg":n=r.a.createElement("svg",{className:e.className,width:"16px ",viewBox:"0 0 23.88 29.55",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("g",{id:"Layer_2","data-name":"Layer 2"},r.a.createElement("g",{id:"icons"},r.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"}),r.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"}),r.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"}),r.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":n=r.a.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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":n=r.a.createElement("svg",{className:e.className,width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M5.76471 7.52942L9.52942 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M5.76471 7.52942L2 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"circledcross.svg":n=r.a.createElement("svg",{className:e.className,width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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"}),r.a.createElement("path",{d:"M10 6.5L6 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M6 6.5L10 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"search.svg":n=r.a.createElement("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("circle",{cx:"7.52083",cy:"8.02083",r:"5.33333",stroke:"white",strokeWidth:"2"}),r.a.createElement("path",{d:"M16.6265 17.1265L11.4807 11.9807",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}));break;default:n=r.a.createElement("svg",{className:e.className,width:"16",height:"24",viewBox:"0 0 16 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M8.08163 20L16 12L8.08163 4L6.4 5.69072L11.4367 10.7711H0V13.2289H11.4367L6.4 18.3175L8.08163 20Z",fill:"#1A1A1A"}))}return n}}});
{
"name": "@assaabloy/gw-group-nav-header",
"version": "5.0.2",
"version": "6.0.0",
"description": "Web component - Header navigation",

@@ -17,3 +17,3 @@ "type": "module",

},
"gitHead": "de8f7ad039ccf0f3848cbdf129e32cd2c4c0662d"
"gitHead": "a61898da650f3f662a1c26c1c6037bce22a501b5"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc