(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5585],{20856:function(e,t,a){"use strict";var r,n=a(4410);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.Z=function(e){return n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 48 48"},e),r||(r=n.createElement("path",{d:"M20.5 46a2.503 2.503 0 0 1-2.5-2.5V26l-4.45.003a2.507 2.507 0 0 1-2.501-2.476l-.029-3.003a2.478 2.478 0 0 1 .724-1.783A2.478 2.478 0 0 1 13.52 18H18v-4.5c0-6.746 3.442-10.462 9.691-10.462 2.472 0 4.63.175 4.65.177.965.086 1.691.88 1.691 1.847v4.57a1.856 1.856 0 0 1-1.854 1.854H29.27a2.21 2.21 0 0 0-2.208 2.208L27.006 18h4.438a2.503 2.503 0 0 1 2.483 2.789l-.349 3A2.498 2.498 0 0 1 31.096 26H27v17.5c0 1.379-1.122 2.5-2.5 2.5h-4z"})))}},55089:function(e,t,a){"use strict";var r,n=a(4410);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.Z=function(e){return n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),r||(r=n.createElement("path",{d:"M8 3a5 5 0 0 0-5 5v8a5 5 0 0 0 5 5h8a5 5 0 0 0 5-5V8a5 5 0 0 0-5-5H8zm10 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm-6 2a5 5 0 1 1-.001 10.001A5 5 0 0 1 12 7zm0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"})))}},55695:function(e,t,a){"use strict";var r,n=a(4410);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}t.Z=function(e){return n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),r||(r=n.createElement("path",{d:"M21.582 6.186a2.506 2.506 0 0 0-1.768-1.768C18.254 4 12 4 12 4s-6.254 0-7.814.418c-.86.23-1.538.908-1.768 1.768C2 7.746 2 12 2 12s0 4.254.418 5.814c.23.86.908 1.538 1.768 1.768C5.746 20 12 20 12 20s6.254 0 7.814-.418a2.504 2.504 0 0 0 1.768-1.768C22 16.254 22 12 22 12s0-4.254-.418-5.814zM10 15.464V8.536L16 12l-6 3.464z"})))}},71305:function(e,t,a){Promise.resolve().then(a.bind(a,55896)),Promise.resolve().then(a.bind(a,55469))},24109:function(e,t,a){"use strict";var r=a(57437),n=a(9772),l=a.n(n),s=a(2265);t.Z=e=>{let{children:t,className:a,loading:n,...i}=e,c=(0,s.useMemo)(()=>n||i.disabled,[n,i.disabled]);return(0,r.jsxs)("button",{...i,disabled:c,className:l()("flex items-center justify-center h-9 text-base font-normal font-secondary text-white bg-orange-500 rounded-[4px] relative transition-transform uppercase px-5 py-2 min-w-[120px]","disabled:cursor-not-allowed",a),children:[(0,r.jsx)("span",{className:l()("flex gap-2",{invisible:n}),children:t}),n?(0,r.jsx)("span",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",children:"Loading"}):null]})}},55896:function(e,t,a){"use strict";var r=a(57437);a(2265);var n=a(18087),l=a(42349),s=a(20856),i=a(55695),c=a(55089);t.default=()=>{let e=(0,n.useTranslations)("Footer");return(0,r.jsx)("footer",{className:"bg-blue-secondary",children:(0,r.jsxs)("div",{className:"container mx-auto pb-20 pt-5 px-5 md:px-0 lg:pb-5",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-[auto,_1fr,_auto]",children:[(0,r.jsx)(l.rU,{href:"/",children:(0,r.jsx)("h3",{className:"text-orange-500 font-secondary font-bold text-[1.375rem] text-center",children:"poltrax"})}),(0,r.jsx)("ul",{className:"text-blue-300 text-center text-sm flex flex-col gap-3 pt-4 md:flex-row md:pt-0 md:justify-center md:items-center",children:l.Ok.map(t=>(0,r.jsx)("li",{children:(0,r.jsx)(l.rU,{href:t.href,children:e(t.intlId)})},t.intlId))}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-5 text-blue-300 py-2",children:[(0,r.jsx)("a",{href:"https://www.facebook.com/poltrax.live",target:"_blank",children:(0,r.jsx)(s.Z,{className:"h-6"})}),(0,r.jsx)("a",{href:"https://www.youtube.com/channel/UCh0O0cNM0JZZgVMljg49fhA",target:"_blank",children:(0,r.jsx)(i.Z,{className:"h-6"})}),(0,r.jsx)("a",{href:"https://www.instagram.com/poltrax.live/",target:"_blank",children:(0,r.jsx)(c.Z,{className:"h-6"})})]})]}),(0,r.jsx)("p",{className:"py-3 text-center text-sm text-blue-300",children:"\xa9 Poltrax 2021. All rights reserved."})]})})}},55469:function(e,t,a){"use strict";a.d(t,{default:function(){return V}});var r,n,l,s,i,c,h,o=a(57437),d=a(2265),f=a(66648),u=a(20920),m=a(18087),x=a(9772),p=a.n(x),v=a(49896),g=a(59226),j=a(84573),w=a(12472),b=a(16463),y=a(4410);function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var A=function(e){return y.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 10"},e),r||(r=y.createElement("path",{fill:"#fff",d:"M0 0h16v10H0z"})),n||(n=y.createElement("path",{fill:"#dc143c",d:"M0 5h16v5H0z"})))};function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var O=function(e){return y.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 30"},e),l||(l=y.createElement("clipPath",{id:"uk-flag_svg__a"},y.createElement("path",{d:"M25 15h25v15zv15H0zH0V0zV0h25z"}))),s||(s=y.createElement("path",{fill:"#012169",d:"M0 0v30h50V0z"})),i||(i=y.createElement("path",{stroke:"#fff",strokeWidth:6,d:"m0 0 50 30m0-30L0 30"})),c||(c=y.createElement("path",{stroke:"#C8102E",strokeWidth:4,d:"m0 0 50 30m0-30L0 30",clipPath:"url(#uk-flag_svg__a)"})),h||(h=y.createElement("path",{fill:"#C8102E",stroke:"#FFF",strokeWidth:2,d:"M-1 11h22V-1h8v12h22v8H29v12h-8V19H-1z"})))},C=a(42349);let E=e=>{let{flag:t}=e;return(0,o.jsx)("div",{className:"w-7 h-7 overflow-hidden rounded-full relative border-2 border-blue-primary",children:(0,o.jsx)(t,{className:"min-h-full min-w-full absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"})})};var Z=()=>{let e=(0,m.useLocale)(),t=(0,C.jD)(),a=(0,d.useMemo)(()=>"en"===e?O:A,[e]);return(0,o.jsx)(v.J,{className:"flex items-center",children:r=>{let{close:n}=r;return(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)(v.J.Button,{className:"flex items-center gap-1 outline-none",children:(0,o.jsx)(E,{flag:a})}),(0,o.jsx)(v.J.Panel,{className:"absolute top-full right-0 left-0 pt-2",children:"en"===e?(0,o.jsx)(C.rU,{href:t,locale:"pl",onClick:()=>n(),children:(0,o.jsx)(E,{flag:A})}):(0,o.jsx)(C.rU,{href:t,locale:"en",onClick:()=>n(),children:(0,o.jsx)(E,{flag:O})})}),(0,o.jsx)(v.J.Overlay,{className:"fixed z-50"})]})}})},_=a(24109),z={src:"/_next/static/media/logo.fd1fe14c.png",height:58,width:190,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAFVBMVEXDw8OdprDLy8ukpKSsq6u2t7iRmqY+786xAAAACXBIWXMAACE4AAAhOAFFljFgAAAAGklEQVR4nGNgY2RlYWZmYWVgZGRgYGJiYAIAAdMAKHjoChwAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2},M=a(20856),I=a(55695),U=a(55089),V=()=>{let e=(0,b.usePathname)(),t=(0,m.useTranslations)("Navigation.links");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"bg-white h-18 w-full fixed top-0 flex items-center z-50",children:(0,o.jsx)("div",{className:"w-full px-3",children:(0,o.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,o.jsx)("div",{className:"flex-initial",children:(0,o.jsx)(C.rU,{href:"/",children:(0,o.jsx)(f.default,{src:z,width:115,height:35,alt:"Poltrax",className:"min-w-[115px]"})})}),(0,o.jsx)("div",{className:"hidden flex-1 justify-center gap-10 lg:flex",children:C.Ok.map(a=>{var r;return(0,o.jsx)(C.rU,{href:{pathname:a.href.pathname},className:p()("text-blue-primary hover:text-orange-400",{"text-orange-400":(null===(r=a.href)||void 0===r?void 0:r.pathname)===e&&"/"!==e}),children:t(a.intlId)},(0,u.Z)())})}),(0,o.jsx)("div",{className:"hidden flex-initial lg:block",children:(0,o.jsx)(C.rU,{href:{pathname:"/",hash:"contact"},children:(0,o.jsx)(_.Z,{children:t("contact")})})}),(0,o.jsx)("div",{className:"flex-initial flex gap-5",children:(0,o.jsx)(Z,{})})]})})}),(0,o.jsx)(v.J,{as:d.Fragment,children:a=>{let{open:r,close:n}=a;return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:"bg-white w-full fixed bottom-0 flex items-center z-50 lg:hidden",children:(0,o.jsxs)("div",{className:"px-4 py-5 relative w-full",children:[(0,o.jsxs)("div",{className:"flex gap-10 w-full",children:[(0,o.jsx)(C.rU,{href:{pathname:"/",hash:"contact"},className:"flex-1",onClick:()=>n(),children:(0,o.jsx)(_.Z,{className:"w-full",children:t("contact")})}),(0,o.jsxs)(v.J.Button,{className:"inline-flex items-center justify-center outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:"Open main menu"}),r?(0,o.jsx)(j.Z,{className:"block h-9 w-9","aria-hidden":"true"}):(0,o.jsx)(w.Z,{className:"block h-9 w-9 rotate-180","aria-hidden":"true"})]})]}),(0,o.jsx)(g.u,{as:d.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:(0,o.jsx)(v.J.Panel,{className:"absolute bottom-full right-0 left-0 lg:hidden",children:(0,o.jsxs)("div",{className:"px-4 pt-6 bg-white text-center",children:[C.Ok.map(a=>{var r;return(0,o.jsx)("div",{className:"text-center w-full py-5 border-b border-gray-200 text-lg font-medium",children:(0,o.jsx)(C.rU,{href:a.href,onClick:()=>n(),className:p()("text-blue-primary uppercase hover:text-orange-400",{"text-orange-400":(null===(r=a.href)||void 0===r?void 0:r.pathname)===e&&"/"!==e}),children:t(a.intlId)})},(0,u.Z)())}),(0,o.jsxs)("div",{className:"flex justify-center items-center gap-5 py-5 text-blue-primary",children:[(0,o.jsx)("a",{href:"https://www.facebook.com/poltrax.live",target:"_blank",className:"flex justify-center",onClick:()=>n(),children:(0,o.jsx)(M.Z,{className:"h-6"})}),(0,o.jsx)("a",{href:"https://www.youtube.com/channel/UCh0O0cNM0JZZgVMljg49fhA",target:"_blank",className:"flex justify-center",onClick:()=>n(),children:(0,o.jsx)(I.Z,{className:"h-6"})}),(0,o.jsx)("a",{href:"https://www.instagram.com/poltrax.live",target:"_blank",className:"flex justify-center",onClick:()=>n(),children:(0,o.jsx)(U.Z,{className:"h-6"})})]})]})})})]})})})}})]})}},42349:function(e,t,a){"use strict";a.d(t,{rU:function(){return l},Ok:function(){return n},jD:function(){return i},tv:function(){return c}});var r=a(5758);let n=[{href:{pathname:"/",hash:"what-it-is"},intlId:"whatItIs"},{href:{pathname:"/",hash:"how-it-works"},intlId:"howItWorks"},{href:{pathname:"/",hash:"why-us"},intlId:"whyUs"},{href:{pathname:"/",hash:"reviews"},intlId:"reviews"},{href:{pathname:"/events"},intlId:"events"},{href:{pathname:"/faq"},intlId:"faq"}],{Link:l,redirect:s,usePathname:i,useRouter:c}=(0,r.QZ)({locales:["en","pl"],pathnames:{"/":"/","/faq":"/faq","/events":{en:"/events",pl:"/zawody"},"/[slug]":"/[slug]"},localePrefix:"as-needed"})}},function(e){e.O(0,[8087,881,6540,1745,2340,7436,2971,7023,1744],function(){return e(e.s=71305)}),_N_E=e.O()}]);