PageSourceSearch

https://www.mmcloud.io/_next/static/chunks/pages/customer-terminated/reset-password-15b5c18b16869c06.js

js mmcloud.io collected 2026-10-03 21:02:47 UTC 4,329 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2953],{36124:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer-terminated/reset-password",function(){return r(24967)}])},17105:function(e,s,r){"use strict";var n=r(51438),t=r(52951),a=r(88029),c=r(16567),u=r(85893),i=r(67294),d=r(11382),o=function(e){(0,a.Z)(r,e);var s=(0,c.Z)(r);function r(){return(0,n.Z)(this,r),s.apply(this,arguments)}return(0,t.Z)(r,[{key:"render",value:function(){return(0,u.jsx)(d.Z,{size:"large"})}}]),r}(i.Component);s.Z=o},24967:function(e,s,r){"use strict";r.r(s),r.d(s,{__N_SSP:function(){return I}});var n=r(47568),t=r(41799),a=r(69396),c=r(34051),u=r.n(c),i=r(85893),d=r(16536),o=r(58492),l=r(71230),m=r(15746),h=r(80737),p=r(2831),x=r(71577),f=r(36089),j=r(11163),w=r(31567),v=r(9473),Z=r(80614),_=r(13395),N=r(54885),y=r(41664),b=r.n(y),g=r(67294),k=r(70231),P=r(17105),I=!0;s.default=function(e){var s=(0,j.useRouter)(),r=(0,w.$)(),c=r.t,y=r.i18n,I=(0,v.v9)((function(e){return e.currentCustomer.data})),q=(0,g.useState)(!0),C=q[0],E=q[1],S=(0,g.useState)(!1),T=S[0],F=S[1],A=(0,g.useState)(!1),B=A[0],O=A[1];(0,g.useEffect)((function(){R()}),[]);var R=function(){var e=(0,n.Z)(u().mark((function e(){var r,n,t;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!T){e.next=2;break}return e.abrupt("return");case 2:return r=s.query.email,n=s.query.passwordcode,F(!0),e.next=7,(0,f.v)("customer/reset_password/",{customeremail:r,passwordcode:n},y.language);case 7:(t=e.sent).info.success&&t.data.success?E(!1):(d.ZP.destroy(),d.ZP.error({content:t.data.message}),s.replace("/")),F(!1);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,i.jsxs)(N.Z,{children:[(0,i.jsx)(Z.Z,{params:{t:c},title:c("menu.customer.reset-password"),path:s.asPath}),(0,i.jsxs)(_.Z,{params:{t:c,i18n:y,router:s,currentCustomer:I},active:"my-account",breadcrumb:(0,i.jsxs)(o.Z,{className:"breadcrumb",children:[(0,i.jsx)(o.Z.Item,{children:(0,i.jsx)(b(),{href:"/",children:c("menu.home.name")})}),(0,i.jsx)(o.Z.Item,{children:c("menu.customer.reset-password")})]}),children:[(0,i.jsx)("h1",{className:"pageTitle",children:c("menu.customer.reset-password")}),(0,i.jsxs)("div",{className:"blockFrame",children:[(0,i.jsxs)(l.Z,{hidden:B,className:"my1",children:[(0,i.jsx)(m.Z,{md:6,xs:0}),(0,i.jsx)(m.Z,{md:12,xs:24,children:(0,i.jsx)("div",{className:"indexActivate",children:C?(0,i.jsx)(P.Z,{}):(0,i.jsx)("div",{className:"indexForm d100",children:(0,i.jsxs)(h.Z,{onFinish:function(){var e=(0,n.Z)(u().mark((function e(r){var n,c,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return F(!0),n=s.query.email,c=s.query.passwordcode,r=(0,a.Z)((0,t.Z)({},r),{customeremail:n,passwordcode:c}),e.next=6,(0,f.v)("customer/reset_password/",r,y.language);case 6:(i=e.sent).info.success&&i.data.success?O(!0):d.ZP.error({content:i.data.message}),F(!1);case 9:case"end":return e.stop()}}),e)})));return function(s){return e.apply(this,arguments)}}(),children:[(0,i.jsx)(h.Z.Item,{name:"newpassword",label:null,rules:[{required:!0,message:c("fe.newpassword_not_empty")}],children:(0,i.jsx)(p.Z.Password,{placeholder:c("fe.newpassword"),className:"authInput"})}),(0,i.jsx)(h.Z.Item,{name:"repeatpassword",label:null,rules:[{required:!0,message:c("fe.repeatpassword_not_empty")}],children:(0,i.jsx)(p.Z.Password,{placeholder:c("fe.repeatpassword"),className:"authInput"})}),(0,i.jsx)("div",{className:"ac",children:(0,i.jsx)(x.Z,{type:"primary",htmlType:"submit",shape:"round",className:"submitBtn",loading:T,children:c("menu.customer.reset-password")})})]})})})}),(0,i.jsx)(m.Z,{md:6,xs:0})]}),(0,i.jsx)("div",{className:"indexActivate",hidden:!B,children:(0,i.jsxs)("div",{className:"indexHint",children:[(0,i.jsx)("div",{className:"hintIcon",children:(0,i.jsx)(k.ReY,{})}),(0,i.jsx)("div",{className:"hintTitle",children:c("fe.common_success_title")}),(0,i.jsx)("div",{className:"hintContent ac",children:c("fe.reset_password_success")}),(0,i.jsx)("div",{className:"hintButton ac",children:(0,i.jsx)(b(),{href:"/customer/login",children:(0,i.jsx)("a",{children:c("menu.customer.login")})})})]})})]})]})]})}}},function(e){e.O(0,[1228,1778,9244,6207,4747,378,8757,737,4389,2145,3395,9774,2888,179],(function(){return s=36124,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.