PageSourceSearch

https://accounts.dsers.com/accounts/static/js/237.6a4bbc74.chunk.js

js dsers.com collected 2026-10-01 10:16:31 UTC 3,687 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkdsers_mvp_accounts=self.webpackChunkdsers_mvp_accounts||[]).push([[237],{44237(e,s,r){r.r(s),r.d(s,{ForgotPasswordReset:()=>x});r(18348);var o=r(86346),a=(r(37053),r(18811)),t=r(73216),i=r(41708);const n="ForgetPasswordReset_container__7HbQv",d="ForgetPasswordReset_title__4dOs7",l="ForgetPasswordReset_button__bRRHP",u="ForgetPasswordReset_tipsRow__UAASn";var c=r(48218),F=r(27370),w=r(90221),m=r(2127),p=r(17277),h=r(9921),v=r(42455),g=r(75025),f=r(7905),P=r(65043),_=r(70579);const x=()=>{const[e]=(0,F.useForm)(),s=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent),{code:r}=(0,t.g)(),[x,D]=(0,P.useState)(""),{loading:R,run:j,error:S,data:C}=(0,h.A)(async()=>{const s=await e.validateFields();try{if(s){const e=await v.Di.forgotPasswordSubmit({code:r||"",password:s.password});if(e.code)return e;a.default.success("Reset password success",2,()=>{window.location.href=(0,f.fx)({})}),await(0,f.nR)()}}catch(S){return a.default.error("reset password failed"),null}},{manual:!0}),b=(0,P.useMemo)(()=>{return"VERIFY_CODE_ERROR"===(null===C||void 0===C?void 0:C.reason)||"VERIFY_CODE_EXPIRE"===(null===C||void 0===C?void 0:C.reason)?"Your authorization code for resetting your password has expired or has been used, please resend the reset password email and try again":"PWD_IS_OLD_USED"===(null===C||void 0===C?void 0:C.reason)&&null!==(e=null===C||void 0===C?void 0:C.message)&&void 0!==e?e:null===C||void 0===C?void 0:C.reason;var e},[C]);return(0,_.jsx)(g.ob,{title:"Reset Password",children:(0,_.jsx)(i.Oj,{children:(0,_.jsxs)("div",{className:n,children:[(0,_.jsx)("div",{className:d,children:"Reset Password"}),b?(0,_.jsx)(p.Fc,{type:"error",style:{marginBottom:32},showIcon:!0,message:b}):null,(0,_.jsxs)(o.A,{name:"reset-password",form:e,children:[(0,_.jsx)(o.A.Item,{name:"password",rules:[{required:!0,message:"Password is required"},{pattern:/^(?:[\0-\u2017\u201A\u201B\u201E-\u3000\u3003-\u3009\u300C-\u300F\u3012-\u4DFF\u9FA6-\uD7FF\uE000-\uFF00\uFF02-\uFF0B\uFF0D-\uFF19\uFF1C-\uFF1E\uFF20-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/,message:"Your password contains unacceptable characters. Special characters should be like ./*&% etc."},{pattern:/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()[\]_,-.?+='";/:{}|<>]).{12,24}$/,message:""},{validator:()=>(e.getFieldValue("confirmPassword")&&setTimeout(()=>{e.validateFields(["confirmPassword"])},200),Promise.resolve())}],children:(0,_.jsx)(c.G,{onChange:e=>{D(e.target.value)},iconRender:e=>e?(0,_.jsx)(w.W7w,{title:"Hide",style:{fontSize:"24px",color:"#7F7F7F",cursor:"pointer"}}):(0,_.jsx)(m.v7C,{title:"Show",style:{fontSize:"23px",color:"#7F7F7F",cursor:"pointer"}}),label:"New Password"})}),(0,_.jsx)(o.A.Item,{name:"confirmPassword",rules:[{validator:(s,r)=>{const o=e.getFieldValue("password");return o&&o!==r?Promise.reject():Promise.resolve()},message:"Passwords do not match twice"}],children:(0,_.jsx)(c.G,{isShowTips:!0,iconRender:e=>e?(0,_.jsx)(w.W7w,{title:"Hide",style:{fontSize:"24px",color:"#7F7F7F",cursor:"pointer"}}):(0,_.jsx)(m.v7C,{title:"Show",style:{fontSize:"23px",color:"#7F7F7F",cursor:"pointer"}}),label:"Confirm new Password"})}),s?(0,_.jsx)(i.n$,{passValue:x}):null]}),(0,_.jsx)(p.$n,{style:{marginBottom:24},loading:R,onClick:j,size:"large",className:l,children:"RESET PASSWORD"}),(0,_.jsxs)("div",{className:u,children:["If you have any question , please"," ",(0,_.jsx)("a",{target:"_blank",rel:"noreferrer noopener",href:"https://www.messenger.com/t/DSersOfficial",children:"CONTACT US"}),"."]})]})})})}}}]);
2//# sourceMappingURL=../../sourcemaps/static/js/237.6a4bbc74.chunk.js.map

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.