PageSourceSearch

https://www.cofetariazoomserie.ro/_next/static/chunks/pages/[count…/finalize-password-14237cfa7ef43c6a.js

js cofetariazoomserie.ro collected 2026-10-02 15:32:55 UTC 4,069 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5278],{82542:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[country]/[language]/finalize-password",function(){return n(49684)}])},49684:function(e,s,n){"use strict";n.r(s),n.d(s,{__N_SSP:function(){return g}});var i=n(47568),a=n(828),r=n(10092),t=n(85893),l=n(67294),o=n(11163),c=n(9008),d=n.n(c),u=n(41664),m=n.n(u),p=n(82175),f=n(15226),x=n(61646),h=n(17435);var g=!0;s.default=function(e){var s=e.finalize_password,n=e.session_token;(0,h.Z)({session_token:n});var c=(0,l.useState)(null),u=c[0],g=c[1],j=(0,l.useState)(!1),v=j[0],N=j[1],_=(0,l.useState)(!1),w=_[0],b=_[1],y=(0,o.useRouter)(),k=function(){N(!v)},S=function(){b(!w)},Z=v?"text":"password",E=w?"text":"password",P=v?"far fa-eye-slash":"far fa-eye",z=w?"far fa-eye-slash":"far fa-eye";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(d(),{children:[(0,t.jsx)("title",{children:null===s||void 0===s?void 0:s.texts.heading_title}),(0,t.jsx)("meta",{name:"finalize-password",content:"Zoomserie"})]}),(0,t.jsx)(f.Z,{isLoginPage:!0}),(0,t.jsx)("main",{id:"login-page-content",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"row",children:(0,t.jsxs)("div",{className:"col-12 justify-content-center",children:[(0,t.jsx)(m(),{href:"/",children:(0,t.jsxs)("div",{className:"login-page-back-btn",children:[(0,t.jsx)("i",{className:"fas fa-arrow-left me-1"}),(0,t.jsx)("span",{children:null===s||void 0===s?void 0:s.texts.text_back_to_website})]})}),(0,t.jsx)("div",{className:"login-page-register-container",children:(0,t.jsxs)("div",{className:"login-page-cont-box",children:[(0,t.jsx)("div",{className:"login-page-title",children:null===s||void 0===s?void 0:s.texts.heading_title}),(0,t.jsx)("hr",{}),(0,t.jsx)(p.J9,{initialValues:{password:"",confirm:""},onSubmit:function(){var e=(0,i.Z)((function(e,n){var i,a,t;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return(i=n.setSubmitting)(!0),(a=new FormData).append("email",s.email),a.append("password",e.password),a.append("confirm",e.confirm),[4,x.Z.post("/api_finalize_password_reset",a,{},{usePrefix:!0})];case 1:return(t=r.sent().data).data.error?(i(!1),g(t.data.error),[2]):((null===t||void 0===t?void 0:t.data.redirect)?(i(!1),y.replace(t.data.redirect)):i(!1),[2])}}))}));return function(s,n){return e.apply(this,arguments)}}(),children:function(e){var n=e.handleSubmit,i=e.isSubmitting;return(0,t.jsxs)("form",{onSubmit:n,children:[(0,t.jsxs)("div",{className:"register-full-input",children:[(0,t.jsxs)("span",{className:"login-page-input-label",children:[(0,t.jsx)("b",{children:"*"}),null===s||void 0===s?void 0:s.texts.entry_password]}),(0,t.jsxs)("div",{className:"input-password-group",children:[(0,t.jsx)(p.gN,{type:Z,name:"password",className:"form-control login-page-input"}),(0,t.jsx)("i",{className:P,onClick:k})]})]}),u&&(0,t.jsx)(t.Fragment,{children:Object.entries(u).map((function(e,s){var n=(0,a.Z)(e,2),i=n[0],r=n[1];if("password"==i)return(0,t.jsx)("div",{className:"register-form-error",children:r},s)}))}),(0,t.jsxs)("div",{className:"mt-3",children:[(0,t.jsxs)("div",{className:"register-full-input",children:[(0,t.jsxs)("span",{className:"login-page-input-label",children:[(0,t.jsx)("b",{children:"*"}),null===s||void 0===s?void 0:s.texts.entry_confirm]}),(0,t.jsxs)("div",{className:"input-password-group",children:[(0,t.jsx)(p.gN,{type:E,name:"confirm",className:"form-control login-page-input"}),(0,t.jsx)("i",{className:z,onClick:S})]})]}),u&&(0,t.jsx)(t.Fragment,{children:Object.entries(u).map((function(e,s){var n=(0,a.Z)(e,2),i=n[0],r=n[1];if("confirm"==i)return(0,t.jsx)("div",{className:"register-form-error",children:r},s)}))})]}),(0,t.jsx)("div",{className:"d-grid gap-2 mt-4",children:(0,t.jsx)("button",{className:"w-100 login-page-main-btn",type:"submit",disabled:i,children:null===s||void 0===s?void 0:s.texts.button_continue})})]})}})]})})]})})})})]})}}},function(e){e.O(0,[4976,3996,5675,9603,2175,9510,9774,2888,179],(function(){return s=82542,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

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.