PageSourceSearch

https://volumo.com/_next/static/chunks/pages/profile/change-email-baf75bd8fa80e6c1.js

js volumo.com collected 2026-09-25 18:42:01 UTC 4,607 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7061],{7011:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/change-email",function(){return a(68458)}])},14555:e=>{e.exports={logoutLink:"change-email_logoutLink__Rw9Dv"}},32081:e=>{e.exports={copyButton:"CopyTextInputBase_copyButton__GOcjn",copied:"CopyTextInputBase_copied__rqVVo"}},67921:(e,s,a)=>{"use strict";a.d(s,{W:()=>m});var r=a(80263),n=a(92839),o=a(31322),t=a(36316),i=a(13463),l=a(27129),u=a(3638),d=a(53239),c=a(32081),p=a.n(c);let m=e=>{let{canCopy:s=!0,copiedDelay:a=3e3,postfix:c,...m}=e,{t:w}=(0,i.c3)(),[h,x]=(0,d.useState)(!1),j=(0,d.useRef)(),g=(0,d.useCallback)(()=>{void 0!==m.value&&((0,l.lW)(`${m.value}`),x(!0),clearTimeout(j.current),j.current=setTimeout(()=>x(!1),a))},[m.value]);return(0,r.jsx)(t.l,{readOnly:!0,...m,postfix:(0,r.jsxs)(r.Fragment,{children:[c,s&&(0,r.jsx)(o.n,{className:(0,u.A)(p().copyButton,h&&p().copied),iconComponent:n.bzS,onClick:g,children:w(h?"Copied!":"Copy")})]}),validationState:h?"success":m.validationState})}},68458:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>S});var r=a(80263),n=a(94386),o=a(62907),t=a(97930),i=a(64011),l=a(77665),u=a(22269),d=a(136),c=a(61528),p=a(78852),m=a(13463),w=a(84001),h=a(53239),x=a(82762),j=a(50005),g=a(42173),f=a(35388),v=a(51143),C=a(54923),_=a(7060),y=a(59486),b=a(14555),E=a.n(b);let k=()=>{let{t:e}=(0,m.c3)(),s=(0,h.useRef)(null),a=(0,h.useRef)(null),_=(0,v.Iu)(),b=(0,f.Sh)(),k=(0,h.useCallback)(e=>{let{newEmail:r,password:n}=e;a.current?.focus(),_.mutate({new_email:r,password:n},{onSuccess:()=>s.current?.resetForm()})},[_]),S=e("Change email address"),N=(0,h.useMemo)(()=>({title:S}),[S]),R=(0,C.UV)(e),q=(0,h.useMemo)(()=>[R.Root,R.UserProfile,{text:S}],[R,S]);return(0,r.jsxs)(y.u,{topLine:(0,r.jsx)(j.I,{pageName:"changeEmail",values:q}),children:[(0,r.jsx)(g.t,{fields:N,microdata:(0,c.Oq)(q),pageName:"changeEmail"}),_.isSuccess&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(d.p,{type:"success",children:[e("Your email address has been successfully changed."),(0,r.jsx)("br",{}),e("Please check your email box in order to confirm the new email address.")]}),(0,r.jsx)(p.K,{mt:3})]}),(0,r.jsx)(w.l1,{enableReinitialize:!0,initialStatus:(0,i.iE)(_.error),initialValues:{newEmail:"",password:""},innerRef:s,validationSchema:x.Ik().shape({newEmail:x.Yj().required(e("Required")),password:x.Yj().required(e("Required"))}),onSubmit:k,children:s=>{let{errors:d,handleChange:c,handleBlur:m,status:x,touched:j,values:g}=s,f=(0,h.useMemo)(()=>j.password&&(d.password||x?.password)&&(0,r.jsxs)(r.Fragment,{children:[(0,i.Nw)(d.password||x?.password),x?.password&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("br",{}),e("If you neither have access to your current email address nor have a password for this account, please {logout} and create a new account.",void 0,{logout:(0,r.jsx)(o.u,{className:E().logoutLink,onClick:()=>b.mutate(),children:e("log out")})})]})]}),[j.password,d.password,x?.password]);return(0,r.jsxs)(w.lV,{children:[(0,r.jsxs)(t.f6,{children:[(0,r.jsx)(u.k,{autoComplete:"off",error:j.newEmail&&(d.newEmail||x?.new_email),id:"newEmail",label:e("New email"),name:"newEmail",required:!0,type:"email",value:g.newEmail,onBlur:m,onChange:c}),(0,r.jsx)(l.y,{autoComplete:"current-password",error:f,id:"password",label:e("Current user password"),name:"password",required:!0,value:g.password,onBlur:m,onChange:c})]}),(0,r.jsx)(p.K,{mt:4}),(0,r.jsx)(t.W3,{children:(0,r.jsx)(n.$,{disabled:!g.newEmail||!g.password,innerRef:a,loading:_.isPending,type:"submit",children:e("Save changes")})})]})}})]})};k.getConfig=()=>({isAuthenticationRequired:!0}),k.renderInLayout=_.P;let S=k},77665:(e,s,a)=>{"use strict";a.d(s,{y:()=>c});var r=a(80263),n=a(67921),o=a(904),t=a(53239);let i=e=>{let{className:s,error:a,footnote:t,inputContainerClassName:i,label:l,labelOption:u,mini:d,required:c,reserveErrorSpace:p,tooltip:m,...w}=e;return(0,r.jsx)(o.v,{className:s,disabled:w.disabled,error:a,footnote:t,forId:w.id,label:l,labelOption:u,mini:d,required:c,reserveErrorSpace:p,tooltip:m,children:(0,r.jsx)(n.W,{className:i,validationState:a?"error":"normal",...w})})};var l=a(92839),u=a(31322);let d=e=>{let{onClick:s}=e;return(0,r.jsx)(u.n,{"aria-label":"Toggle password visibility",iconComponent:l.r9M,onClick:s})},c=e=>{let[s,a]=(0,t.useState)(!1);return(0,r.jsx)(i,{readOnly:!1,...e,canCopy:e.canCopy??!1,postfix:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{onClick:()=>a(e=>!e)}),e.postfix]}),type:s?"text":"password"})}}},e=>{e.O(0,[4001,7236,2762,8288,5720,7874,4802,5599,7095,1488,636,6593,8792],()=>e(e.s=7011)),_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.