1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[672],{77979:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgotten-password",function(){return e(23662)}])},23662:function(n,t,e){"use strict";e.r(t),e.d(t,{__N_SSP:function(){return B},default:function(){return Y}});var r=e(72253),o=e(14932),a=e(85893),i=e(51698),s=e(50494),c=e(58237),l=e(39897),u=e(11010),d=e(24043),p=e(97582),m=e(67294),h=e(37303),f=e(14416),b=e(11163),_=e(34853),j=e(64871),v=e(96583),g=e(25910),O=e(70653),w=e(67117),x=e(70036),P=e(73863),Z=e(38640),S=e(71321),y=e(69065),T=e(76595),k=e(85585),L=e(27980),N=(0,y.Z)({form:j.n5.FORGOTTEN_PASSWORD_FORM,destroyOnUnmount:!0,forceUnregisterOnUnmount:!0,touchOnChange:!0,shouldValidate:function(){return!0},validate:function(n){var t={};return n.email||(t.email=null===h.ag||void 0===h.ag?void 0:h.ag.t("Toto pole je povinn\xe9")),n.email&&!T.TH.test(n.email)&&(t.email=null===h.ag||void 0===h.ag?void 0:h.ag.t("Email nie je platn\xfd")),t}})(function(n){var t=n.handleSubmit,e=n.pristine,r=n.anyTouched,o=n.invalid,i=n.submitting,s=(0,h.$G)().t;return(0,a.jsx)(k.Z,{handleSubmit:void 0===t?function(){}:t,pristine:e,disabled:r&&o||i,buttonLabel:s("Obnoviť"),children:(0,a.jsx)(S.Z,{name:"email",component:L.Z,showLabel:!0,type:"text",label:s("Email"),placeholder:s("Zadaj svoj email")})})}),C=e(18135),E=e(27361),R=e.n(E),F=e(83541),I=(0,y.Z)({form:j.n5.SET_NEW_PASSWORD_FORM,destroyOnUnmount:!0,forceUnregisterOnUnmount:!0,touchOnChange:!0,shouldValidate:function(){return!0},validate:function(n){var t={};return n.password||(t.password=null===h.ag||void 0===h.ag?void 0:h.ag.t("Toto pole je povinn\xe9")),n.password&&n.password.length<5&&(t.password=null===h.ag||void 0===h.ag?void 0:h.ag.t("Minim\xe1lna dĺžka hesla je 5 znakov")),n.confirmPassword||(t.confirmPassword=null===h.ag||void 0===h.ag?void 0:h.ag.t("Toto pole je povinn\xe9")),n.confirmPassword&&n.password&&n.confirmPassword!==n.password&&(t.confirmPassword=null===h.ag||void 0===h.ag?void 0:h.ag.t("Hesl\xe1 sa nezhoduj\xfa")),t}})(function(n){var t=n.handleSubmit,e=n.pristine,r=n.anyTouched,o=n.invalid,i=n.submitting,s=(0,h.$G)().t,c=(0,f.v9)(function(n){return(0,C.Z)(j.n5.SET_NEW_PASSWORD_FORM)(n)}),l=c&&c.password?c.password:"",u=(0,O.To)(l,s);return(0,a.jsxs)(k.Z,{handleSubmit:void 0===t?function(){}:t,pristine:e,disabled:r&&o||i,buttonLabel:s("Uložiť nov\xe9 heslo"),children:[(0,a.jsx)(S.Z,{name:"password",component:F.Z,showLabel:!0,type:"password",label:s("forms_Nov\xe9 heslo"),placeholder:s("forms_Zadaj nov\xe9 heslo"),showTooltip:!1,showPasswordStrength:!!l.length,passwordStrengthLevel:R()(u,"type"),passwordStrengthLevelDescription:R()(u,"desc"),required:!0}),(0,a.jsx)(S.Z,{name:"confirmPassword",component:F.Z,showLabel:!0,type:"password",label:s("forms_Zopakuj nov\xe9 heslo"),placeholder:s("forms_A tu ho sk\xfas zopakovať"),required:!0})]})}),U=e(83428),z=e(83011),D=e(82729),W=e(94589),A=e(58654);function _templateObject(){var n=(0,D._)(["\n width: 100%;\n text-align: center;\n"]);return _templateObject=function(){return n},n}function _templateObject1(){var n=(0,D._)(["\n margin-bottom: ",";\n "]);return _templateObject1=function(){return n},n}function _templateObject2(){var n=(0,D._)(["\n ","\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){var n=(0,D._)(["\n display: inline-flex;\n position: relative;\n align-items: center;\n justify-content: center;\n margin-bottom: ",";\n border-radius: 50%;\n background: ",";\n width: 56px;\n min-width: 56px;\n height: 56px;\n min-height: 56px;\n\n > svg {\n width: 28px;\n height: 28px;\n }\n "]);return _templateObject3=function(){return n},n}function _templateObject4(){var n=(0,D._)(["\n ","\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){var n=(0,D._)(["\n ",";\n margin-bottom: ",";\n "]);return _templateObject5=function(){return n},n}function _templateObject6(){var n=(0,D._)(["\n ","\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){var n=(0,D._)(["\n margin-bottom: 0;\n ",";\n color: ",";\n "]);
1return _templateObject7=function(){return n},n}function _templateObject8(){var n=(0,D._)(["\n ","\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){var n=(0,D._)(["\n ",";\n word-break: break-word;\n color: ",";\n "]);return _templateObject9=function(){return n},n}function _templateObject10(){var n=(0,D._)(["\n ","\n"]);return _templateObject10=function(){return n},n}function _templateObject11(){var n=(0,D._)(["\n margin: 0;\n width: 100%;\n ",";\n text-align: center;\n color: ",";\n "]);return _templateObject11=function(){return n},n}function _templateObject12(){var n=(0,D._)(["\n ","\n"]);return _templateObject12=function(){return n},n}function _templateObject13(){var n=(0,D._)(["\n &&& {\n margin-top: ",";\n }\n "]);return _templateObject13=function(){return n},n}function _templateObject14(){var n=(0,D._)(["\n ","\n"]);return _templateObject14=function(){return n},n}var G=W.ZP.div.withConfig({componentId:"sc-fabd0b20-0"})(_templateObject()),M=(0,W.ZP)(G).withConfig({componentId:"sc-fabd0b20-1"})(_templateObject2(),function(n){var t=n.theme;return(0,W.iv)(_templateObject1(),t.spacing[32])}),X=W.ZP.div.withConfig({componentId:"sc-fabd0b20-2"})(_templateObject4(),function(n){var t=n.theme;return(0,W.iv)(_templateObject3(),t.spacing[24],t["color-base-action-primary-bg10"])}),$=W.ZP.h1.withConfig({componentId:"sc-fabd0b20-3"})(_templateObject6(),function(n){var t=n.theme;return(0,W.iv)(_templateObject5(),A.XP,t.spacing[4])}),q=W.ZP.p.withConfig({componentId:"sc-fabd0b20-4"})(_templateObject8(),function(n){var t=n.theme;return(0,W.iv)(_templateObject7(),A.q6,t["color-base-content-tertiary"])}),H=W.ZP.span.withConfig({componentId:"sc-fabd0b20-5"})(_templateObject10(),function(n){var t=n.theme;return(0,W.iv)(_templateObject9(),A.dc,t["color-base-content-tertiary"])}),J=W.ZP.p.withConfig({componentId:"sc-fabd0b20-6"})(_templateObject12(),function(n){var t=n.theme;return(0,W.iv)(_templateObject11(),A.lT,t["color-base-content-tertiary"])}),V=(0,W.ZP)(U.Z).withConfig({componentId:"sc-fabd0b20-7"})(_templateObject14(),function(n){var t=n.theme;return(0,W.iv)(_templateObject13(),t.spacing[32])}),forgotten_password_ForgottenPassword=function(n){var t,e,r=n.token,o=(0,h.$G)().t,i=(0,f.I0)(),s=(0,m.useRef)(null),c=(0,d._)((0,m.useState)(null),2),l=c[0],S=c[1],y=(0,b.useRouter)(),T=(0,d._)((0,x.S)(),2),k=T[0],L=T[1],C=(0,w.XG)(),E=C.startLoading,R=C.finishLoading,F=(t=(0,u._)(function(n){var t;return(0,p.Jh)(this,function(e){switch(e.label){case 0:if(!(null==s?void 0:s.current))return[3,3];return[4,s.current.executeAsync()];case 1:return t=e.sent(),[4,i((0,P.mx)({email:null==n?void 0:n.email,recaptcha:t},function(){S(null==n?void 0:n.email),(0,O.k3)(),R()},function(){R()}))];case 2:e.sent(),e.label=3;case 3:return[2]}})}),function(n){return t.apply(this,arguments)}),D=(e=(0,u._)(function(n){return(0,p.Jh)(this,function(t){switch(t.label){case 0:return[4,i((0,P.ze)({password:null==n?void 0:n.password,token:r},function(){(0,g.jl)()?y.push(o("paths:calendar|path")):y.push(o("paths:login|path"))},function(){y.push(o("paths:forgotPassword|path"))}))];case 1:return t.sent(),[2]}})}),function(n){return e.apply(this,arguments)});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Z.Z,{title:(0,a.jsx)(M,{children:l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(X,{children:(0,a.jsx)(z.rz,{})}),(0,a.jsx)($,{children:o("Skontroluj svoj email")}),(0,a.jsxs)(q,{children:["".concat(o("Inštrukcie na obnovu hesla sme poslali na")," "),(0,a.jsx)(H,{children:l})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(X,{children:(0,a.jsx)(z.CW,{})}),(0,a.jsx)($,{children:r?o("Nastav nov\xe9 heslo"):o("Zabudnut\xe9 heslo?")}),!r&&(0,a.jsx)(q,{children:o("Nasleduj inštrukcie a obnov si heslo")})]})}),content:l?(0,a.jsxs)(J,{children:["".concat(o("Neprišiel ti email?")," "),(0,a.jsx)(U.Z,{asHTML:j.vf.BUTTON,display:j.L$.FLEX,onClick:(0,u._)(function(){return(0,p.Jh)(this,function(n){switch(n.label){case 0:return E({showLoader:!0}),[4,F({email:l})];case 1:return n.sent(),[2]}})}),children:o("Odoslať znovu")})]}):r?(0,a.jsx)(I,{onSubmit:D}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(N,{onSubmit:F}),(0,a.jsx)(G,{children:(0,a.jsx)(V,{href:o("paths:login|path"),icon:(0,a.jsx)(z.Y4,{}),applyPadding:!0,children:o("Sp\xe4ť na prihl\xe1senie")})})]}),contentInfo:(0,a.jsx)(_.Z,{ref:s,size:"invisible",sitekey:(0,v.Vp)()}),showLegalDocument:L,isForgottenPassword:!0,showSpinner:!!l}),k]})},RegistrationPage=function(n){return(0,a.jsx)(forgotten_password_ForgottenPassword,(0,r._)({},n))};RegistrationPage.getLayout=function(n,t){var e;return(0,a.jsx)("div",{children:(0,a.jsxs)(c.Z,{children:[(0,a.jsx)(l.Z,{shareTags:null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.pageMetadata}),(0,a.jsx)(s.Z,(0,o._)((0,r._)({},t),{pageID:i.$1.FORGOTTEN_PASSWORD,children:n}))]})})};var B=!0,Y=RegistrationPage}},function(n){n.O(0,[2655,7048,6845,5584,5704,6832,2879,7095,8427,8672,7980,35,494,115,2266,6749,6625,9774,2888,179],function(){return n(n.s=77979)}),_N_E=n.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.