PageSourceSearch

https://bpstfi-www-frontend-hmtuumfhv-bpstfi-tfc.vercel.app/_next/…/nowe-haslo/[token]-047c240d8d431184.js

js bpstfi-www-frontend-hmtuumfhv-bpstfi-tfc.vercel.app collected 2026-10-03 06:19:02 UTC 6,544 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4835],{3409:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/logowanie/strefa-fiz/nowe-haslo/[token]",function(){return t(8664)}])},2516:function(e,n,t){"use strict";t.d(n,{T:function(){return s}});var s=function(e){return{content:{header:{header:e,color:"white",type:"h2",style:"h2",align:"left",margin_bottom:0,margin_top:0}}}}},8664:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return Z},default:function(){return F}});var s=t(5893),o=t(1605),r=t(8042),a=t(5693),i=t(2516),l=t(3172),c=t(7568),d=t(4051),u=t.n(d),h=t(5734),j=t(1163),w=t(7294),m=t(259),p=t(7536),g=function(){var e=(0,p.cI)(),n=e.control,t=e.handleSubmit,s=(0,j.useRouter)(),o=(0,w.useState)(""),r=o[0],a=o[1],i=(0,m.xX)().executeRecaptcha,l=(0,w.useState)(""),d=l[0],g=l[1],x=(0,w.useState)(""),f=x[0],b=x[1],y=(0,w.useState)(!1),_=y[0],k=y[1],S=(0,w.useState)(!1),z=S[0],v=S[1],Z=function(e){var n=[];return e.length<8&&n.push("co najmniej 8 znak\xf3w"),/(?=.*[a-z])/.test(e)||n.push("co najmniej jedna ma\u0142a litera"),/(?=.*[A-Z])/.test(e)||n.push("co najmniej jedna wielka litera"),/(?=.*\d)/.test(e)||n.push("co najmniej jedna cyfra"),/(?=.*[@$!%*?&])/.test(e)||n.push("co najmniej jeden znak specjalny (@, $, !, %, *, ?, &)"),e===f&&0!==f.length||n.push("has\u0142a s\u0105 takie same"),n}(d),F=function(){var e=(0,c.Z)(u().mark((function e(n){var t,o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i){e.next=3;break}return console.warn("Execute recaptcha not yet available"),e.abrupt("return");case 3:return e.next=5,i("yourAction");case 5:return t=e.sent,o={password:d,captcha:t,token:s.query.token},console.log(o),e.prev=8,e.next=11,(0,h.Z)("/api/set-new-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});case 11:v(!0),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(8),e.t0?(a(e.t0.data.message),k(!0)):console.error("An unexpected error happened:",e.t0);case 17:case"end":return e.stop()}}),e,null,[[8,14]])})));return function(n){return e.apply(this,arguments)}}(),N=function(){var e=(0,c.Z)(u().mark((function e(n){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:F(n);case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return{control:n,handleSubmit:t,onSubmit:N,errorMsg:r,passwordStrength:Z,password:d,setPassword:g,confirmedPassword:f,setConfirmedPassword:b,showConfirmationView:z,showExpiredView:_}},x=t(9418),f=t(5975),b=t(7484),y=t.n(b),_=t(8410),k=t.n(_),S=function(e){var n=e.label;return e.passwordStrength.includes(n)?(0,s.jsx)("li",{children:(0,s.jsx)(f.Z,{size:"small",align:"left",opacity:.4,children:n})}):(0,s.jsx)("li",{children:(0,s.jsx)(f.Z,{size:"small",color:"green",align:"left",children:n})})},z=function(e){var n=e.title,t=(0,i.T)(n).content,c=g(),d=c.handleSubmit,u=c.onSubmit,h=c.passwordStrength,m=c.password,p=c.setPassword,b=c.confirmedPassword,_=c.setConfirmedPassword,z=c.showExpiredView,v=c.showConfirmationView,Z=(0,j.useRouter)().query.token;return y()(Number(Z.substring(0,13))).add(24,"hours").isBefore(y()())||z?(0,s.jsx)(w.Fragment,{children:(0,s.jsx)(l.Z,{firstSection:!0,content:t,paddingBottom:"large",background:"grey",bottomLeftDecore:!0,topRightDecore:!0,children:(0,s.jsx)(r.Z,{children:(0,s.jsxs)("div",{className:k().logInForm,style:{maxWidth:680,margin:"auto"},children:[(0,s.jsx)(x.Z,{type:"h3",children:"Tw\xf3j link do zmiany has\u0142a wygas\u0142"}),(0,s.jsxs)(f.Z,{children:["Wygl\u0105da na to, \u017ce link do resetowania has\u0142a, kt\xf3ry Ci wys\u0142ali\u015bmy, wygas\u0142. Pami\u0119taj, \u017ce takie linki s\u0105 wa\u017cne tylko przez 24 godziny, aby chroni\u0107 Twoje konto.",(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),"Je\u015bli wci\u0105\u017c chcesz zmieni\u0107 has\u0142o, wystarczy, \u017ce ponownie poprosisz o link do resetowania. Kliknij poni\u017cej, \u017ceby to zrobi\u0107:",(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)(o.Z,{link:"/logowanie/strefa-fiz/reset-hasla",children:"Zresetuj has\u0142o"})]})]})})})}):v?(0,s.jsx)(w.Fragment,{children:(0,s.jsx)(l.Z,{firstSection:!0,content:t,paddingBottom:"large",background:"grey",bottomLeftDecore:!0,top
1RightDecore:!0,children:(0,s.jsx)(r.Z,{children:(0,s.jsxs)("div",{className:k().logInForm,style:{maxWidth:680,margin:"auto"},children:[(0,s.jsx)(x.Z,{type:"h3",children:"Has\u0142o zosta\u0142o zmienione"}),(0,s.jsxs)(f.Z,{children:["Twoje nowe has\u0142o zosta\u0142o pomy\u015blnie ustawione. Teraz mo\u017cesz si\u0119 zalogowa\u0107 na swoje konto, korzystaj\u0105c z nowego has\u0142a.",(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)(o.Z,{link:"/logowanie",children:"Logowanie"})]})]})})})}):(0,s.jsx)(w.Fragment,{children:(0,s.jsx)(l.Z,{firstSection:!0,content:t,paddingBottom:"large",background:"grey",bottomLeftDecore:!0,topRightDecore:!0,children:(0,s.jsx)(r.Z,{children:(0,s.jsxs)("div",{className:k().logInForm,children:[(0,s.jsx)(x.Z,{type:"h3",children:"Ustaw nowe has\u0142o "}),(0,s.jsxs)("form",{onSubmit:d(u),children:[(0,s.jsxs)("div",{className:k().logInForm__input,children:[(0,s.jsx)(a.Z,{label:"Nowe has\u0142o",onChange:p,value:m,autoComplete:"new-password",name:"password",type:"password"}),(0,s.jsx)("div",{children:(0,s.jsxs)("ul",{className:k().testList,children:[(0,s.jsx)(S,{label:"co najmniej 8 znak\xf3w",passwordStrength:h}),(0,s.jsx)(S,{label:"co najmniej jedna ma\u0142a litera",passwordStrength:h}),(0,s.jsx)(S,{label:"co najmniej jedna wielka litera",passwordStrength:h}),(0,s.jsx)(S,{label:"co najmniej jedna cyfra",passwordStrength:h}),(0,s.jsx)(S,{label:"co najmniej jeden znak specjalny (@, $, !, %, *, ?, &)",passwordStrength:h})]})}),(0,s.jsx)(a.Z,{label:"Powt\xf3rz nowe has\u0142o",onChange:_,value:b,name:"confirmedPassword",type:"password"}),(0,s.jsx)("ul",{className:k().testList,children:(0,s.jsx)(S,{label:"has\u0142a s\u0105 takie same",passwordStrength:h})})]}),(0,s.jsx)("div",{className:k().logInForm__button,children:(0,s.jsx)(o.Z,{type:"submit",disabled:!(0===h.length&&m===b),children:"Resetuj has\u0142o"})})]})]})})})})},v=function(){return(0,s.jsx)(z,{title:"Strefa FIZ"})};v.title="Strefa FIZ";var Z=!0,F=v},8410:function(e){e.exports={logInForm__input:"NewPasswordForm_logInForm__input__jpnAv",logInForm__button:"NewPasswordForm_logInForm__button__zhwV6",logInForm:"NewPasswordForm_logInForm__vAQor",testList:"NewPasswordForm_testList___m7O5"}}},function(e){e.O(0,[3465,3172,9774,2888,179],(function(){return n=3409,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.