(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[59],{"6te8":function(n,t,e){"use strict";e.r(t);var i=e("q1tI"),o=e.n(i),r=e("vOnD"),a=e("1Veo"),l=e("GjP8"),c=e("z7pX"),u=e("mwIZ"),s=e.n(u),f=e("TjS6"),p=e("jT3O"),d=e("mBlu");function m(){var n=Object(p.a)(["\n        font-size: ","px;\n\n        span {\n           font-size: ","px;\n        }\n        > a > img {\n           max-height: ","px;\n        }\n    "]);return m=function(){return n},n}function h(){var n=Object(p.a)(["\n        position: absolute;\n        bottom: 0;\n        left: 0;\n        right: 0;\n    "]);return h=function(){return n},n}function g(){var n=Object(p.a)(["\n        padding: 110px 120px;\n        align-items: flex-end;\n\n        li:first-child {\n            align-self: flex-start;\n        }\n\n        li:before {\n            margin-right: 50px;\n        }\n\n        a {\n            font-size: ","px;\n        }\n    "]);return g=function(){return n},n}function x(){var n=Object(p.a)(["\n        padding: 90px 80px;\n        align-items: flex-end;\n\n        li:first-child {\n            align-self: flex-start;\n        }\n\n        li:before {\n            margin-right: 50px;\n        }\n\n        a {\n            font-size: ","px;\n        }\n    "]);return x=function(){return n},n}function _(){var n=Object(p.a)(["\n        padding: 50px 60px 27px;\n        align-items: flex-end;\n\n        li:first-child {\n            align-self: flex-start;\n        }\n\n        li:before {\n            margin-right: 40px;\n        }\n\n        a {\n            font-size: ","px;\n        }\n    "]);return _=function(){return n},n}function E(){var n=Object(p.a)(["\n        padding: 90px 50px 27px;\n\n        li:before {\n            margin-right: 50px;\n            font-size: 20px;\n        }\n\n        a {\n            font-size: ","px;\n        }\n    "]);return E=function(){return n},n}function O(){var n=Object(p.a)(["\n        padding: 140px 30px 27px;\n    "]);return O=function(){return n},n}function b(){var n=Object(p.a)(["\n        margin-top: 25px;\n        margin-bottom: 25px;\n    "]);return b=function(){return n},n}function v(){var n=Object(p.a)(["\n       padding: 75px 120px;\n    "]);return v=function(){return n},n}function L(){var n=Object(p.a)(["\n        padding: 35px 80px;\n    "]);return L=function(){return n},n}function w(){var n=Object(p.a)(["\n        padding: 25px 60px;\n    "]);return w=function(){return n},n}function k(){var n=Object(p.a)(["\n        padding: 25px 50px;\n    "]);return k=function(){return n},n}function N(){var n=Object(p.a)(["\n        padding: 25px 30px;\n    "]);return N=function(){return n},n}var y=r.default.div.withConfig({displayName:"nodes__Wrapper",componentId:"sc-14qmcml-0"})(["background:",";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;transition:padding 350ms;padding:25px 20px;pointer-events:none;"," "," "," "," ",""],(function(n){return n.theme.BACKGROUND_COLOR}),d.b.phone(N()),d.b.tablet(k()),d.b.laptop(w()),d.b.desktop(L()),d.b.desktopLarge(v())),I=r.default.div.withConfig({displayName:"nodes__MenuButton",componentId:"sc-14qmcml-1"})(["position:relative;z-index:978;width:35px;height:14px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;flex-direction:column;margin-left:auto;margin-top:15px;margin-bottom:15px;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;}}"])}),d.b.desktop(b()),(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})),R=r.default.div.withConfig({displayName:"nodes__MenuDropdown",componentId:"sc-14qmcml-2"})(["background:",";position:fixed;top:0;left:0;right:0;z-index:490;height:100vh;min-height:100vh;pointer-events:auto;display:flex;flex-direction:column;align-items:center;transition-duration:400ms;@supports (-webkit-touch-callout:none){height:-webkit-fill-available;}"],(function(n){return n.theme.BACKGROUND_COLOR})),S=r.default.div.withConfig({displayName:"nodes__DropdownBody",componentId:"sc-14qmcml-3"})(["overflow-y:auto;flex-grow:1;display:flex;flex-direction:column;width:100%;"]),A=Object(r.keyframes)(["0%{opacity:0;transform:translateY(100%);}100%{opacity:1;transform:translateY(0);}"]),D=r.default.ol.withConfig({displayName:"nodes__DropdownList",componentId:"sc-14qmcml-4"})(["min-height:max-content;counter-reset:item;list-style-type:none;margin:0;padding:110px 20px 27px;width:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:center;font-family:'","',sans-serif;li{opacity:0;z-index:1;animation:"," 1.5s cubic-bezier(0.19,1,0.22,1) forwards;",";}li:before{content:counter(item,decimal-leading-zero) ' ';counter-increment:item;margin-right:40px;font-size:16px;line-height:1.5;color:",";}a{color:",";font-family:'","',sans-serif !important;display:inline-block;padding:10px 0;font-size:","px;line-height:1.2;letter-spacing:0.05em;transform:translateZ(0) skew(-12deg);transform-origin:1%;transition:350ms;-webkit-backface-visibility:hidden;&:hover{transform:translateZ(0) skew(0);}}"," "," "," "," ",""],(function(n){return n.theme.HEADER_LINKS_FONT_NAME}),A,(function(n){return function(n){for(var t,e="",i=1;i<=n;i++)t=.05*i,e+="&:nth-child(".concat(i,") {\n            animation-delay: ").concat(t.toFixed(2),"s;\n        }");return e}(n.links)}),(function(n){return n.theme.HEADER_LINKS_COLOR}),(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?40*+n.theme.HEADER_LINKS_SIZE:40}),d.b.phone(O()),d.b.tablet(E(),(function(n){return n.theme.HEADER_LINKS_SIZE?70*+n.theme.HEADER_LINKS_SIZE:70})),d.b.laptop(_(),(function(n){return n.theme.HEADER_LINKS_SIZE?60*+n.theme.HEADER_LINKS_SIZE:60})),d.b.desktop(x(),(function(n){return n.theme.HEADER_LINKS_SIZE?70*+n.theme.HEADER_LINKS_SIZE:70})),d.b.desktopLarge(g(),(function(n){return n.theme.HEADER_LINKS_SIZE?80*+n.theme.HEADER_LINKS_SIZE:80}))),H=r.default.div.withConfig({displayName:"nodes__DropdownFooter",componentId:"sc-14qmcml-5"})(["",""],d.b.desktop(h())),j=Object(r.default)(l.a).withConfig({displayName:"nodes__StyledFooter",componentId:"sc-14qmcml-6"})(["& > div{background-color:transparent;}a{z-index:2;}"]),C=r.default.div.withConfig({displayName:"nodes__Logo",componentId:"sc-14qmcml-7"})(["position:relative;max-width:calc(100% - 70px);font-size:","px;font-family:'","',sans-serif;line-height:1.05;flex-shrink:0;z-index:1;pointer-events:auto;word-break:break-word;overflow:hidden;margin-top:",";margin-bottom:",";> a{color:",";font-family:'","',sans-serif !important;display:flex;justify-content:flex-end;flex-direction:column;> img{max-height:","px;max-width:100%;}}span{display:block;font-size:","px;font-family:'","',sans-serif;color:",";font-weight:400;line-height:1.5;text-transform:none;opacity:0.7;}",""],(function(n){return n.theme.HEADER_LOGO_SIZE?25*+n.theme.HEADER_LOGO_SIZE:25}),(function(n){return n.theme.HEADER_LOGO_FONT_NAME}),(function(n){var t=n.marginTop,e=n.initialMarginTop;return("0"!==t&&void 0!==t?t:e)+"px"}),(function(n){var t=n.marginBottom,e=n.initialMarginBottom;return("0"!==t&&void 0!==t?t:e)+"px"}),(function(n){return n.theme.HEADER_LOGO_COLOR}),(function(n){return n.theme.HEADER_LOGO_FONT_NAME}),(function(n){return n.maxHeight?Math.min(59,n.maxHeight):59}),(function(n){return n.theme.HEADER_SUBLOGO_SIZE?10*+n.theme.HEADER_SUBLOGO_SIZE:10}),(function(n){return n.theme.HEADER_SUBLOGO_FONT_NAME}),(function(n){return n.theme.HEADER_SUBLOGO_COLOR}),d.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?14*+n.theme.HEADER_SUBLOGO_SIZE:14}),(function(n){return(n.maxHeight?Math.min(120,n.maxHeight):120)*n.logoSizePercent}))),G=e("DGEy"),M=o.a.createElement,T=Object(r.withTheme)((function(n){var t=n.onClose,e=n.headerLinks,i=n.footer,o=n.onClickMenu;Object(G.c)();return M(R,null,M(S,null,M(D,{links:e.length},e.map((function(n){return M("li",{key:n.link},M(f.a,{link:n.link,onClick:t,reloadDocument:n.pageType===a.t.HTML},n.name))}))),M(H,null,M(j,{footer:i,onMenuLinkClick:o}))))})),z=o.a.createElement,Z=function(n){var t=n.footer,e=n.hideLogo,r=n.linksHeader,a=Object(i.useState)(!1),l=a[0],c=a[1],u=function(){return c(!l)};return z(o.a.Fragment,null,z(I,{onClick:u,isOpen:l},z("div",null),z("div",null),z("div",null)),l&&z(T,{onClose:function(){return c(!1)},headerLinks:r,footer:t,onClickMenu:u,hideLogo:e}))},B=o.a.createElement,K={top:0,bottom:0},P=Object(r.withTheme)((function(n){var t=n.header,e=t.links,r=void 0===e?[]:e,l=t.siteName,u=t.siteDescription,p=t.hideLogo,d=n.footer,m=n.logo,h=n.isListPage,g=n.theme,x=g.HEADER_LOGO_MARGIN_TOP,_=g.HEADER_LOGO_MARGIN_BOTTOM;Object(i.useEffect)((function(){var n,t;null===(n=window)||void 0===n||null===(t=n.top)||void 0===t||t.postMessage(JSON.stringify({name:a.k.CURRENT_TEMPLATE_MARGINS,value:K}),"*")}),[]);return B(y,null,!h&&B(C,{marginTop:x,marginBottom:_,isOpen:!1,maxHeight:s()(m,"height"),logoSizePercent:s()(m,"logoSizePercent",1),initialMarginBottom:K.bottom,initialMarginTop:K.top},B(f.a,{link:"/"},s()(m,"logoPath")?B("img",{src:m.logoPath,alt:"Website logo"}):B(o.a.Fragment,null,l," ",B("span",null,u)))),B(Z,{linksHeader:[{link:"/",name:"Home"}].concat(Object(c.a)(r)),footer:d,hideLogo:p}))})),U=o.a.createElement,q=r.default.div.withConfig({displayName:"Layout__Wrapper",componentId:"sc-q3ls3h-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}),(function(n){return n.isMainPage&&"overflow: hidden;"})),F=r.default.div.withConfig({displayName:"Layout__Content",componentId:"sc-q3ls3h-1"})(["background:",";position:relative;flex-shrink:0;flex-grow:1;"],(function(n){return n.theme.BACKGROUND_COLOR})),W=function(n){var t=n.header,e=n.footer,i=n.logo,o=n.children,r=n.pageType,c=n.slideshowEnabled,u=n.footerOverSlideShow,s=r===a.j.MAIN_PAGE,f=s&&c&&u;return U(q,{isMainPage:s,isDetailsPage:r===a.j.DETAILS_PAGE},U(P,{header:t,footer:e,logo:i,isListPage:r===a.j.UNKNOWN_PAGE}),U(F,null,o),U(l.a,{footer:e,variant:f?"transparent":"default",isOver:f}))};W.defaultProps={};t.default=W}}]);