PageSourceSearch

https://www.casinoatlanticcity.com/_next/static/chunks/pages/apues…/forgotPassword-49f7c26408e50d5b.js

js casinoatlanticcity.com collected 2026-10-05 11:30:17 UTC 4,856 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5359],{94689:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apuestas-deportivas/forgotPassword",function(){return t(79342)}])},19047:function(e,s,t){"use strict";var a=t(32894),r=t(92747),o=t(20301),n=t(11163),i=t(67294);s.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{loggedInGlobal:s,setLoggedInGlobal:t}=(0,i.useContext)(o.P),[l,c]=(0,i.useState)(e),m=(0,n.useRouter)();return(0,i.useEffect)(()=>{(async function(){if(a.n&&a.n.getUser()){if(await a.n.validateSession()){c(!0),t(!0);let e=m.asPath;e.includes("/casino-online")?m.push(r.Z.HOMECOL):e.includes("/apuestas-deportivas")?m.push("/apuestas-deportivas"):m.push("/")}else a.n.removeUser(),c(!1),t(!1)}else c(!1),t(!1)})()},[s]),{isLoggedIn:l,router:m}}},40577:function(e,s,t){"use strict";var a=t(20301),r=t(67294);s.Z=e=>{let{globalTheme:s,setGlobalTheme:t}=(0,r.useContext)(a.P);(0,r.useEffect)(()=>{"casino"===e?(document.getElementsByTagName("html")[0].classList.remove("apuestas"),document.getElementsByTagName("html")[0].classList.add("casino")):"apuestas"===e?(document.getElementsByTagName("html")[0].classList.remove("casino"),document.getElementsByTagName("html")[0].classList.add("apuestas")):(document.getElementsByTagName("html")[0].classList.remove("casino"),document.getElementsByTagName("html")[0].classList.remove("apuestas"),document.getElementsByTagName("html")[0].classList.add("general")),t(e)},[s])}},79342:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return forgotPassword}});var a=t(85893),r=t(49256),o=t.n(r),n=t(67294),i=t(61903),l=t(72700),c=t(87536),m=t(62425),d=t(16105),u=t.n(d),_=t(86010),g=t(11163),f=t(40577),p=t(92747),w=t(19047);function forgotPassword(){let e=new(o())(m.Z),{register:s,handleSubmit:t,formState:{errors:r}}=(0,c.cI)({mode:"onChange"}),d=(0,g.useRouter)(),[x,h]=(0,n.useState)(""),[P,v]=(0,n.useState)({existsError:!1});(0,f.Z)("apuestas");let{isLoggedIn:E}=(0,w.Z)(!0);return E?null:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:(0,_.Z)(u().page,u().apuestas),children:(0,a.jsxs)("div",{className:u().emailFormStep,children:[(0,a.jsxs)("div",{className:u().sendEmailTxt,children:[(0,a.jsx)("h2",{className:u().titleTxt,children:"Recuperar contrase\xf1a"}),(0,a.jsx)("p",{className:u().txt,children:"Ingresa el correo con el que te registraste y te enviaremos las instrucciones para restablecer tu contrase\xf1a."})]}),(0,a.jsxs)("form",{className:u().emailForm,onSubmit:t(function(){let s=e.forgotPassword(x);try{s.then(function(e){if("OK"===e.result)d.push(p.Z.transversals.ADForgotPasswordSent);else{let s=e.description;v({existsError:!0,msg:s})}}).catch(function(e){console.error("calimaco: ForgotPassword:  error: "+JSON.stringify(e)),v({existsError:!0,msg:"Error desconocido"})})}catch(e){console.error("calimaco: ForgotPassword: error: "+e)}}),children:[(0,a.jsxs)("div",{className:(0,_.Z)(u().inputContainer),children:[(0,a.jsx)(i.Z,{className:"clmc-input clmc-w100 ".concat(u().nonePlaceholder),"aria-invalid":r.email?"true":"false",...s("email",{pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,message:"Ingresa un correo electr\xf3nico v\xe1lido."}}),name:"email",id:"email",type:"email",label:"Email",variant:"filled",value:x,onChangeCapture:function(e){h(e.target.value)}}),r.email&&(0,a.jsx)(l.Z,{severity:"error",className:"d-flex align-items-center "+u().ErrorClass,children:r.email.message.toString()}),P.existsError&&(0,a.jsx)("div",{className:"errorMessage",id:"errorMessage",children:P.msg})]}),(0,a.jsx)("div",{className:u().formBtn,children:(0,a.jsx)("button",{className:(0,_.Z)(u().nextStep,"clmc-btn-primary clmc-mv20",(Object.keys(r).length>0||!x)&&u().disabled),children:"Recuperar Contrase\xf1a"})})]}),(0,a.jsx)("div",{className:"clmc-success-message clmc-hidden",id:"successMessage"})]})})})}},16105:function(e){e.exports={page:"forgotPassword_page__f_oQg",confirmStep:"forgotPassword_confirmStep__LH9tN",emailFormStep:"forgotPassword_emailFormStep__czg1g",newPwdStep:"forgotPassword_newPwdStep__m1ImG",emailForm:"forgotPassword_emailForm__m_EJx",newPwdForm:"forgotPassword_newPwdForm__w_KYb",inputContainer:"forgotPassword_
1inputContainer__L0O5W",formBtn:"forgotPassword_formBtn__g7pGO",nextStep:"forgotPassword_nextStep__qLScI",apuestas:"forgotPassword_apuestas__cL9W0","input-container":"forgotPassword_input-container__N9bNF",sendEmailTxt:"forgotPassword_sendEmailTxt__zbl_B",newPwdTxt:"forgotPassword_newPwdTxt__cDph7",titleTxt:"forgotPassword_titleTxt__Itbzz",txt:"forgotPassword_txt__cMX0I",sentEmailTxt:"forgotPassword_sentEmailTxt__Tzfvw",disabled:"forgotPassword_disabled__LhLSC",nonePlaceholder:"forgotPassword_nonePlaceholder__WCAH0",ErrorClass:"forgotPassword_ErrorClass__imFMz"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=94689)}),_N_E=e.O()}]);

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.