PageSourceSearch

https://volumo.com/_next/static/chunks/pages/profile/close-account-29f497c118380707.js

js volumo.com collected 2026-09-25 18:42:06 UTC 5,549 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4356],{14547:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/close-account",function(){return o(27945)}])},25604:e=>{e.exports={block:"CloseAccount_block__7Ey87"}},27945:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>T});var s=o(80263),l=o(94386),n=o(97930),a=o(43959),r=o(61528),i=o(13463),c=o(53239),u=o(50005),d=o(43391),p=o(70719),m=o(64011),x=o(77665),h=o(78852),j=o(49457),v=o(95498),y=o(84001),b=o(61469),C=o.n(b),_=o(82762),w=o(51143),f=o(59138),g=o.n(f);let k=e=>{let{onCloseAttempt:t}=e,{t:o}=(0,i.c3)(),a=(0,c.useRef)(null),r=(0,w.hM)(),u=(0,c.useCallback)(async()=>{await (0,j.H)(a.current)&&r.mutate({password:a.current?.values.password},{onSuccess:()=>{t(),C().push(p.KW.Root)}})},[r,t]),b=(0,c.useCallback)(e=>{e.key===v.D$.Enter&&u()},[u]);return(0,s.jsx)(d.$m,{children:(0,s.jsxs)("div",{className:g().dialog,children:[(0,s.jsx)(d.wt,{children:o("Confirm your action")}),(0,s.jsx)(h.K,{mt:2}),(0,s.jsx)(y.l1,{enableReinitialize:!0,initialStatus:(0,m.iE)(r.error),initialValues:{password:""},innerRef:a,validationSchema:_.Ik().shape({password:_.Yj().required(o("Required"))}),onSubmit:e=>{r.mutate({password:e.password})},children:e=>{let{handleChange:t,handleBlur:l,values:a,errors:r,touched:i,status:c,setStatus:u}=e;return(0,s.jsx)(y.lV,{onKeyDown:b,children:(0,s.jsxs)(n.f6,{columns:"1fr",children:[(0,s.jsx)("div",{children:o("Deleting your account implies losing your balance money and losing the ability to re-download your purchased music.")}),(0,s.jsx)("div",{children:o("If you are a content provider, you also lose all your verified artists and labels, and all user-generated content (albums, etc) will be removed from the store and deleted. All unpaid earnings will also be lost.")}),(0,s.jsx)(x.y,{autoFocus:!0,error:i.password&&(r.password||c?.password),id:"password",label:o("Enter your password to proceed"),name:"password",value:a.password,onBlur:l,onChange:e=>{t(e),u("")}})]})})}}),(0,s.jsx)(d.jl,{children:(0,s.jsxs)(n.W3,{alignItems:"stretch",columns:"1fr 1fr",children:[(0,s.jsx)(l.$,{className:g().button,loading:a.current?.isSubmitting,variant:"destructive",onClick:u,children:o("Delete account and logout")}),(0,s.jsx)(l.$,{className:g().button,muted:"inPopup",onClick:t,children:o("Cancel")})]})})]})})},S=e=>{let{open:t,onCloseAttempt:o}=e;return(0,s.jsx)(d.aF,{fullWidthBelowSm:!1,open:t,openStateHash:"delete-account",onCloseAttempt:o,children:(0,s.jsx)(k,{onCloseAttempt:o})})};var N=o(42173),A=o(54923),E=o(7060),O=o(59486),B=o(25604),D=o.n(B);let I=()=>{let{t:e}=(0,i.c3)(),{isOpen:t,open:o,close:d}=(0,a.F)(!1),p=(0,A.UV)(e),m=e("Close account"),x=(0,c.useMemo)(()=>({title:m}),[m]),h=(0,c.useMemo)(()=>[p.Root,p.UserProfile,{text:m}],[p,m]);return(0,s.jsxs)(O.u,{topLine:(0,s.jsx)(u.I,{pageName:"closeAccount",values:h}),children:[(0,s.jsx)(N.t,{fields:x,microdata:(0,r.Oq)(h),pageName:"closeAccount"}),(0,s.jsx)("div",{className:D().block,children:(0,s.jsxs)(n.NP,{columns:"1fr auto",horizontalSpacing:2,verticalSpacing:2,children:[(0,s.jsx)("div",{children:e("Delete your account and account data")}),(0,s.jsx)(l.$,{size:"small",variant:"destructive",onClick:o,children:e("Close my account")})]})}),(0,s.jsx)(S,{open:t,onCloseAttempt:d})]})};I.renderInLayout=E.P;let T=I},32081:e=>{e.exports={copyButton:"CopyTextInputBase_copyButton__GOcjn",copied:"CopyTextInputBase_copied__rqVVo"}},49457:(e,t,o)=>{"use strict";o.d(t,{H:()=>n});var s=o(10330);let l=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e.reduce((e,o)=>({...e,[o]:t}),{})},n=async e=>{if((0,s.HS)(e,"No form available"))return e.setTouched(l(Object.keys(e.values))),0===Object.keys(await e.validateForm()).length}},59138:e=>{e.exports={dialog:"DeleteAccountModalContent_dialog__ztt8r",closeButton:"DeleteAccountModalContent_closeButton__bXGyp",title:"DeleteAccountModalContent_title__DianP"}},67921:(e,t,o)=>{"use strict";o.d(t,{W:()=>m});var s=o(80263),l=o(92839),n=o(31322),a=o(36316),r=o(13463),i=o(27129),c=o(3638),u=o(53239),d=o(32081),p=o.n(d);let m=e=>{let{canCopy:t=!0,copiedDelay:o=3e3,postfix:d,...m}=e,{t:x}=(0,r.c3)(),[h,j]=(0,u.useState)(!1),v=(0,u.useRef)(),y=(0,u.useCallback)(()=>{void 0!==m.value&&((0,i.lW)(`${m.value}`),j(!0),clearTimeout(v.current),v.current=setTimeout(()=>j(!1),o))},[m.value]);return(0,s.jsx)(a.l,{readOnly:!0,...m,postfix:(0,s.jsxs)(s.Fragment,{children:[d,t&&(0,s.jsx)(n.n,{className:(0,
1c.A)(p().copyButton,h&&p().copied),iconComponent:l.bzS,onClick:y,children:x(h?"Copied!":"Copy")})]}),validationState:h?"success":m.validationState})}},77665:(e,t,o)=>{"use strict";o.d(t,{y:()=>d});var s=o(80263),l=o(67921),n=o(904),a=o(53239);let r=e=>{let{className:t,error:o,footnote:a,inputContainerClassName:r,label:i,labelOption:c,mini:u,required:d,reserveErrorSpace:p,tooltip:m,...x}=e;return(0,s.jsx)(n.v,{className:t,disabled:x.disabled,error:o,footnote:a,forId:x.id,label:i,labelOption:c,mini:u,required:d,reserveErrorSpace:p,tooltip:m,children:(0,s.jsx)(l.W,{className:r,validationState:o?"error":"normal",...x})})};var i=o(92839),c=o(31322);let u=e=>{let{onClick:t}=e;return(0,s.jsx)(c.n,{"aria-label":"Toggle password visibility",iconComponent:i.r9M,onClick:t})},d=e=>{let[t,o]=(0,a.useState)(!1);return(0,s.jsx)(r,{readOnly:!1,...e,canCopy:e.canCopy??!1,postfix:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u,{onClick:()=>o(e=>!e)}),e.postfix]}),type:t?"text":"password"})}}},e=>{e.O(0,[4001,7236,2762,8288,5720,7874,4802,5599,7095,1488,636,6593,8792],()=>e(e.s=14547)),_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.