1import{l as d,R as c,n as p,J as h,bq as u,A as s,r as f}from"./index.40d342e9.1791468131499.js";import{r as x}from"./agentation.5bb278ab.1791468131499.js";import{m as j}from"./selector.4b536653.1791468131499.js";import{R as w}from"./D_reset-password_ss2_v2_landing.cbf5840f.1791468131499.js";import{c as r}from"./reset-password.controller.852fde7a.1791468131499.js";import{w as b}from"./withTranslation.a6818040.1791468131499.js";import{T as P}from"./Translation.47eeeadc.1791468131499.js";import"./index.56f327d8.1791468131499.js";import"./index.cbdc45e1.1791468131499.js";import"./index.66ef353b.1791468131499.js";import"./warning.883c7a3c.1791468131499.js";import"./otp-helper.254f32a9.1791468131499.js";import"./reset-password-popup-constant.3f4d1838.1791468131499.js";import"./image-helper.16e71c4e.1791468131499.js";import"./svg-icon.b05f6210.1791468131499.js";import"./text.0b0a15a5.1791468131499.js";import"./option_beta.9f11821c.1791468131499.js";import"./SmallLoading.91d9ae4e.1791468131499.js";import"./transaction-button.selector.13d39adc.1791468131499.js";import"./miniLazyComponent.41633251.1791468131499.js";import"./sliderRecaptcha-popup.selector.c5773b6e.1791468131499.js";import"./Turnstile.28a96d3c.1791468131499.js";import"./index.d57c008d.1791468131499.js";import"./phone-otp-util.c186d566.1791468131499.js";import"./index.eb637b05.1791468131499.js";import"./index.578a46aa.1791468131499.js";import"./store.016afc78.1791468131499.js";import"./floatingNotification.constant.27687fe7.1791468131499.js";import"./dayjs.min.d5a1da16.1791468131499.js";import"./matchPredictionModules.59d916eb.1791468131499.js";import"./oddsFeedModules.090fa001.1791468131499.js";import"./promotionModules.50dc86d8.1791468131499.js";import"./index.d73faf44.1791468131499.js";class R extends c.Component{constructor(){super(),r.init(this)}componentWillUnmount(){this.setState=()=>{}}componentDidMount(){p.loadCustomTranslation("reset-password",this)}render(){const{selectedContactType:n,customTranslationObj:t}=this.state,{features:o}=this.props.portal.settings,m=this.props?.authSettingsReducer?.moduleData?.[h.AFF_RESET_PASSWORD]?.authType===u.OTP;let a=[];return o&&o.resetPasswordDescLists&&(a=o.resetPasswordDescLists),m?s.jsx(w,{onRequestResetPasswordSuccess:r.onRequestResetPasswordSuccess,selectedContactType:n,updateSelectedContactType:r.updateSelectedContactType}):s.jsx(P,{children:e=>s.jsx("section",{className:"resetPassSection",children:s.jsx("div",{className:"reset-password-container",children:s.jsxs("div",{className:"reset-control",children:[s.jsxs("div",{className:"form-field",children:[s.jsx("label",{className:"standard-label mandatory",children:e("global:global.form.email","Email")}),s.jsxs("div",{className:"inputContainer",children:[s.jsx("div",{className:"input-field",children:s.jsx("input",{type:"text",value:this.state.fields.email,onChange:i=>r.handleFieldChanged(i,"email"),placeholder:e("global:global.form.email-placeholder","Email Address"),onBlur:()=>r.handleValidation()})}),s.jsx("div",{className:"error-validation",children:e(this.state.errors.email)})]})]}),s.jsxs("div",{className:"reset-description",children:[s.jsx("p",{className:"title-desc",children:t&&t["reset-password"]?t["reset-password"]:e("home:home.mobile.reset-password","Reset Password")}),a.length>0?a.map((i,l)=>s.jsx("p",{className:"list-info",children:t&&t["info-"+l]?e(t["info-"+l]):e(i)},l)):s.jsxs(f.Fragment,{children:[s.jsx("p",{className:"list-info",children:e("reset:reset.request.messages.info")}),s.jsx("p",{className:"list-info",children:e("reset:reset.request.messages.info-2")})]})]}),s.jsx("div",{className:"tab-btn-container-full-width",children:s.jsx("button",{disabled:!this.state.isFormValid||this.state.isLoading,onClick:()=>r.handleSubmit(),children:e("reset:reset.request.form.button","Reset Password")})})]})})})})}}const ts=d.connect(j)(b(["global","reset","home"])(x.withRouter(R)));export{ts as default};
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.