(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[136],{EStv:function(n,e,t){"use strict";t.r(e);var i=t("q1tI"),o=t.n(i),r=t("vOnD"),a=t("mwIZ"),c=t.n(a),u=t("1Veo"),l=t("TjS6"),s=t("phrq"),f=t("DGEy"),d=t("GjP8"),p=t("jT3O"),h=t("mBlu");function m(){var n=Object(p.a)(["\n        font-size: ","px;\n        span {\n            font-size: ","px;\n        }\n    "]);return m=function(){return n},n}function O(){var n=Object(p.a)(["\n        font-size: ","px;\n        span {\n            font-size: ","px;\n        }\n    "]);return O=function(){return n},n}function E(){var n=Object(p.a)(["\n        font-size: ","px;\n    "]);return E=function(){return n},n}function b(){var n=Object(p.a)(["\n                 max-height: ","px;\n            "]);return b=function(){return n},n}function g(){var n=Object(p.a)(["\n        a {\n            font-size: ","px;\n        }\n    "]);return g=function(){return n},n}function _(){var n=Object(p.a)(["\n        > ul {\n            padding-inline-start: 0;\n            flex-direction: row;\n            flex-wrap: wrap;\n        }\n        a {\n            margin: 0 25px;\n        }\n    "]);return _=function(){return n},n}function x(){var n=Object(p.a)(["\n        a {\n            font-size: ","px;\n            padding: 15px 0;\n        }\n\n    "]);return x=function(){return n},n}function v(){var n=Object(p.a)(["\n        margin-top: 25px;\n        margin-bottom: 25px;\n    "]);return v=function(){return n},n}function w(){var n=Object(p.a)(["\n       padding: 40px 100px;\n    "]);return w=function(){return n},n}function L(){var n=Object(p.a)(["\n        padding: 40px 80px;\n    "]);return L=function(){return n},n}function R(){var n=Object(p.a)(["\n        padding: 20px 40px;\n    "]);return R=function(){return n},n}var y=r.default.div.withConfig({displayName:"nodes__Wrapper",componentId:"sc-1hbzzbh-0"})(["position:absolute;top:0;left:0;width:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-shrink:0;flex-grow:0;padding:20px;pointer-events:none;"," "," ",""],h.b.tablet(R()),h.b.desktop(L()),h.b.desktopLarge(w())),k=r.default.div.withConfig({displayName:"nodes__MenuButton",componentId:"sc-1hbzzbh-1"})(["position:relative;z-index:978;width:35px;height:18px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;flex-direction:column;margin-left:auto;pointer-events:auto;"," "," & div{width:100%;height:2px;background-color:",";transition-duration:300ms;&:nth-child(1){transform:",";}&:nth-child(2){opacity:",";}&:nth-child(3){transform:",";}}"],(function(n){return n.isOpen?Object(r.css)(["height:30px;"]):Object(r.css)(["&:hover{div:nth-child(1){transform:translateY(-3px);transition-duration:200ms;}div:nth-child(3){transform:translateY(3px);transition-duration:200ms;}}"])}),h.b.desktop(v()),(function(n){return n.theme.BURGER_COLOR}),(function(n){return n.isOpen?"translate(5px, 14px) rotate(-45deg)":null}),(function(n){return n.isOpen?"0":"1"}),(function(n){return n.isOpen?"translate(5px, -14px) rotate(45deg)":null})),S=Object(r.keyframes)(["0%{opacity:0;transform:scale(1.4);}100%{opacity:1;transform:scale(1);}"]),j=Object(r.keyframes)(["0%{opacity:1;transform:scale(1);}100%{opacity:0;transform:scale(1.4);}"]),I=r.default.div.withConfig({displayName:"nodes__MenuDropdown",componentId:"sc-1hbzzbh-2"})(["background:",";position:fixed;top:0;left:0;right:0;z-index:490;min-height:100vh;height:100vh;display:flex;flex-direction:column;align-items:center;animation:"," 400ms forwards;pointer-events:auto;@supports (-webkit-touch-callout:none){height:-webkit-fill-available;}"],(function(n){return n.theme.BACKGROUND_COLOR}),(function(n){return n.isOpen?S:j})),A=r.default.div.withConfig({displayName:"nodes__DropdownHead",componentId:"sc-1hbzzbh-3"})(["flex-shrink:0;position:relative;z-index:980;width:100%;height:85px;background:",";"],(function(n){return n.theme.BACKGROUND_COLOR})),D=r.default.div.withConfig({displayName:"nodes__DropdownBody",componentId:"sc-1hbzzbh-4"})(["overflow-y:auto;flex-grow:1;display:flex;flex-direction:column;width:100%;"]),N=r.default.div.withConfig({displayName:"nodes__DropdownList",componentId:"sc-1hbzzbh-5"})(["min-height:max-content;display:flex;align-items:center;justify-content:center;padding:40px 20px;width:100%;flex-grow:1;font-family:",",sans-serif;> ul{list-style:none;margin:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding-inline-start:0;}a{color:",";display:inline-block;padding:9px 0;font-family:",",sans-serif !important;font-size:","px;line-height:1.2;transition:200ms linear;&:hover{color:",";}}"," "," ",""],(function(n){return n.theme.HEADER_LINKS_FONT_NAME}),(function(n){return n.theme.HEADER_LINKS_COLOR}),(function(n){return n.theme.HEADER_LINKS_FONT_NAME}),(function(n){return n.theme.HEADER_LINKS_SIZE&&!n.isMobile?32*+n.theme.HEADER_LINKS_SIZE:32}),(function(n){return n.theme.HOVER_COLOR}),h.b.tablet(x(),(function(n){return n.theme.HEADER_LINKS_SIZE&&!n.isMobile?28*+n.theme.HEADER_LINKS_SIZE:28})),h.b.laptop(_()),h.b.desktop(g(),(function(n){return n.theme.HEADER_LINKS_SIZE&&!n.isMobile?40*+n.theme.HEADER_LINKS_SIZE:40}))),C=r.default.div.withConfig({displayName:"nodes__DropdownFooter",componentId:"sc-1hbzzbh-6"})(["display:flex;flex-wrap:wrap;justify-content:space-between;width:100%;margin-top:auto;"]),H=r.default.div.withConfig({displayName:"nodes__Logo",componentId:"sc-1hbzzbh-7"})(["position:relative;z-index:978;max-width:calc(100% - 70px);font-size:","px;font-family:",",sans-serif;line-height:1.3;flex-shrink:0;pointer-events:auto;transform:translateY(",");opacity:",";transition:transform 1s cubic-bezier(0.77,0,0.175,1),opacity 1s cubic-bezier(0.77,0,0.175,1);overflow:hidden;margin-top:",";margin-bottom:",";> a{font-family:",",sans-serif !important;color:",";display:flex;justify-content:flex-end;flex-direction:column;word-break:break-word;> img{max-height:59px;max-width:100%;","}}span{display:block;font-size:","px;font-family:",",sans-serif;color:",";font-weight:400;line-height:1.4;text-transform:none;opacity:0.7;}"," "," ",""],(function(n){return n.theme.HEADER_LOGO_SIZE?28*+n.theme.HEADER_LOGO_SIZE:28}),(function(n){return n.theme.HEADER_LOGO_FONT_NAME}),(function(n){return n.scrolled?"-20px":"0"}),(function(n){return n.scrolled?"0":"1"}),(function(n){var e=n.marginTop,t=n.initialMarginTop;return("0"!==e&&void 0!==e?e:t)+"px"}),(function(n){var e=n.marginBottom,t=n.initialMarginBottom;return("0"!==e&&void 0!==e?e:t)+"px"}),(function(n){return n.theme.HEADER_LOGO_FONT_NAME}),(function(n){return n.theme.HEADER_LOGO_COLOR}),h.b.desktop(b(),(function(n){return(n.maxHeight?Math.min(120,n.maxHeight):120)*n.logoSizePercent})),(function(n){return n.theme.HEADER_SUBLOGO_SIZE?11*+n.theme.HEADER_SUBLOGO_SIZE:11}),(function(n){return n.theme.HEADER_SUBLOGO_FONT_NAME}),(function(n){return n.theme.HEADER_SUBLOGO_COLOR}),h.b.tablet(E(),(function(n){return n.theme.HEADER_LOGO_SIZE?30*+n.theme.HEADER_LOGO_SIZE:30})),h.b.desktop(O(),(function(n){return n.theme.HEADER_LOGO_SIZE?32*+n.theme.HEADER_LOGO_SIZE:32}),(function(n){return n.theme.HEADER_SUBLOGO_SIZE?12*+n.theme.HEADER_SUBLOGO_SIZE:12})),h.b.desktop(m(),(function(n){return n.theme.HEADER_LOGO_SIZE?36*+n.theme.HEADER_LOGO_SIZE:36}),(function(n){return n.theme.HEADER_SUBLOGO_SIZE?13*+n.theme.HEADER_SUBLOGO_SIZE:13}))),z=o.a.createElement,G=Object(r.withTheme)((function(n){var e=n.isOpen,t=n.onClose,o=n.setIsRendered,r=n.headerLinks,a=n.footer,c=n.onClickMenu,p=Object(i.useState)(""),h=p[0],m=p[1];Object(f.b)((function(){if(s.a){var n=window.getComputedStyle(document.body).overflow;m(n)}}),[]),Object(f.b)((function(){s.a&&(document.body.style.overflow=e?"hidden":h)}),[e,h]);return z(I,{isOpen:e,onAnimationEnd:function(){e||o(!1)}},z(A,null),z(D,null,z(N,{links:r.length},z("ul",null,r.map((function(n,e){return z("li",{key:"".concat(n.link,"-").concat(e)},z(l.a,{link:n.link,onClick:t,reloadDocument:n.pageType===u.t.HTML},n.name))})))),z(C,null,z(d.a,{footer:a,onMenuLinkClick:c}))))})),M=o.a.createElement,T=function(n){var e=n.linksHeader,t=n.light,r=n.footer,a=n.isOpen,c=n.onClickMenu,u=Object(i.useState)(a),l=u[0],s=u[1];return Object(i.useEffect)((function(){a&&s(!0)}),[a]),M(o.a.Fragment,null,M(k,{onClick:c,isOpen:a,light:t},M("div",null),M("div",null),M("div",null)),l&&M(G,{onClose:function(){return c()},isOpen:a,setIsRendered:s,headerLinks:e,footer:r,onClickMenu:c}))},B=o.a.createElement,Z={top:0,bottom:0},U=Object(r.withTheme)((function(n){var e=n.header,t=e.links,r=void 0===t?[]:t,a=e.siteName,s=e.siteDescription,f=e.hideLogo,d=n.footer,p=n.logo,h=n.theme,m=h.HEADER_LOGO_MARGIN_TOP,O=h.HEADER_LOGO_MARGIN_BOTTOM,E=Object(i.useState)(!1),b=E[0],g=E[1],_=Object(i.useState)(0),x=_[0],v=_[1],w=Object(i.useRef)(),L=Object(i.useRef)(),R=Object(i.useRef)(),k=Object(i.useRef)(),S=Object(i.useState)(!1),j=S[0],I=S[1],A=Object(i.useCallback)((function(n){var e=n.deltaY?n.deltaY:n.deltaX;g(e<0)}),[]),D=Object(i.useCallback)((function(n){v(n.changedTouches[0].clientX)}),[]),N=Object(i.useCallback)((function(n){var e=n.changedTouches[0].clientX,t=x>e?e-x:Math.abs(x-e);g(t<0)}),[x]);Object(i.useEffect)((function(){L.current=A}),[A]),Object(i.useEffect)((function(){R.current=D}),[D]),Object(i.useEffect)((function(){k.current=N}),[N]),Object(i.useEffect)((function(){var n=function(n){return L.current(n)},e=function(n){return R.current(n)},t=function(n){return k.current(n)};return window.addEventListener("wheel",n,{passive:!1}),window.addEventListener("touchstart",e),window.addEventListener("touchend",t),function(){window.removeEventListener("wheel",n),window.removeEventListener("touchstart",e),window.removeEventListener("touchend",t)}}),[]),Object(i.useEffect)((function(){var n,e;null===(n=window)||void 0===n||null===(e=n.top)||void 0===e||e.postMessage(JSON.stringify({name:u.k.CURRENT_TEMPLATE_MARGINS,value:Z}),"*")}),[]);return B(y,{ref:w},B(H,{isOpen:!1,scrolled:b,maxHeight:c()(p,"height"),logoSizePercent:c()(p,"logoSizePercent",1),marginTop:m,marginBottom:O,initialMarginBottom:Z.bottom,initialMarginTop:Z.top},B(l.a,{link:"/",onClick:function(){return I(!1)}},c()(p,"logoPath")?B("img",{src:p.logoPath,alt:"Website logo"}):B(o.a.Fragment,null,a," ",B("span",null,s)))),B(T,{linksHeader:r,hideLogo:f,footer:d,isOpen:j,onClickMenu:function(){return I(!j)}}))})),K=o.a.createElement,P=r.default.div.withConfig({displayName:"Layout__Wrapper",componentId:"sc-a5asgx-0"})(["min-height:100vh;font-style:normal;display:flex;flex-direction:column;background:",";@supports (-webkit-touch-callout:none){min-height:-webkit-fill-available;}"],(function(n){return n.theme.BACKGROUND_COLOR})),F=r.default.div.withConfig({displayName:"Layout__Content",componentId:"sc-a5asgx-1"})(["background:",";position:relative;flex-shrink:0;flex-grow:1;"],(function(n){return n.theme.BACKGROUND_COLOR})),Y=function(n){var e=n.header,t=n.footer,i=n.logo,o=n.children;return K(P,null,K(U,{header:e,footer:t,logo:i}),K(F,null,o))};Y.defaultProps={};e.default=Y}}]);