PageSourceSearch

https://volumo.com/_next/static/chunks/pages/profile/notifications-903868fc7e50eedd.js

js volumo.com collected 2026-10-03 21:25:14 UTC 6,690 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3494],{3035:e=>{e.exports={itemWrapper:"EmailPreferencesForm_itemWrapper__soQHa",itemTitle:"EmailPreferencesForm_itemTitle__CrMzB",itemText:"EmailPreferencesForm_itemText__BR_QW",dropdown:"EmailPreferencesForm_dropdown__7RdbM"}},3925:(e,l,s)=>{"use strict";s.d(l,{r:()=>k});var a=s(80263),t=s(94386),i=s(97930),r=s(64011),o=s(33894),n=s(14676),d=s(62598),_=s(7665),c=s(78852),u=s(13463),m=s(40377),w=s(84001),p=s(53239),f=s(82762),h=s(76084),y=s(47305),b=s(3035),g=s.n(b);let x=e=>[{text:e("Never"),value:"never"},{text:e("Daily"),value:"daily"},{text:e("Weekly"),value:"weekly"},{text:e("Monthly"),value:"monthly"}],v=e=>[{text:e("Never"),value:"never"},{text:e("Daily"),value:"daily"},{text:e("Weekly"),value:"weekly"}],k=e=>{let{token:l}=e,{t:s}=(0,u.c3)(),b=(0,p.useRef)(null),{data:k}=(0,h.YN)(l),j=(0,h.vL)(),N=(0,p.useMemo)(()=>({allow_tech_support:!0,allow_my_music:k?.my_submitted_music||!1,allow_last_sales:k?.last_sales,allow_direct_messages:k?.direct_messages||!1,allow_billing_receipts:k?.billing_receipts||!1,allow_new_followed_releases:k?.new_followed_releases,allow_discount_reminder:k?.discount_reminder||!1,allow_marketing:k?.marketing_emails}),[k]);return(0,a.jsx)(w.l1,{enableReinitialize:!0,initialStatus:(0,r.iE)(j.error),initialValues:N,innerRef:b,validationSchema:f.Ik().shape({allow_tech_support:f.zM().defined(),allow_product_news:f.zM().optional(),allow_company_offers:f.zM().optional(),allow_my_music:f.zM().optional(),allow_direct_messages:f.zM().optional(),allow_billing_receipts:f.zM().optional(),allow_monthly_newsletter:f.zM().optional(),allow_discount_reminder:f.zM().optional(),allow_store_guide:f.zM().optional(),allow_marketing:f.Yj().optional()}),onSubmit:e=>{let{allow_my_music:a,allow_last_sales:t,allow_new_followed_releases:i,allow_direct_messages:r,allow_billing_receipts:n,allow_discount_reminder:d,allow_marketing:_}=e,c="subscribed"===_&&k?.marketing_emails!=="subscribed";j.mutate({token:l,payload:{my_submitted_music:a,last_sales:t,new_followed_releases:i,direct_messages:r,billing_receipts:n,discount_reminder:d,marketing_emails:_}},{onSuccess:()=>{c?o.vF.success(s("Your subscription settings have been updated. A confirmation email may be sent to your inbox."),{persistent:!0}):o.vF.success(s("Subscription settings updated"))}})},children:e=>{let{handleChange:l,handleBlur:r,setFieldValue:o,values:u}=e;return(0,a.jsxs)(w.lV,{children:[(0,y.N)(s).map(e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.S,{checked:"allow_marketing"===e.key?"subscribed"===u.allow_marketing:!!u[e.key]&&"never"!==u[e.key],disabled:e.disabled,label:(0,a.jsxs)("div",{className:g().itemWrapper,children:[(0,a.jsx)("div",{className:g().itemTitle,children:e.title}),(0,a.jsx)("div",{className:g().itemText,children:e.description})]}),name:e.key,onBlur:r,onChange:"allow_new_followed_releases"===e.key?e=>{o("allow_new_followed_releases",e.target.checked?"weekly":"never")}:"allow_last_sales"===e.key?e=>{o("allow_last_sales",e.target.checked?"daily":"never")}:"allow_marketing"===e.key?e=>{o("allow_marketing",e.target.checked?"subscribed":"unsubscribed")}:l}),(0,a.jsx)(c.K,{mt:2.5}),"allow_new_followed_releases"===e.key&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.l,{canClear:!1,className:g().dropdown,id:"allow_new_followed_releases",name:"allow_new_followed_releases",renderValue:e=>x(s).find(l=>l.value===e)?.text,required:!0,value:u.allow_new_followed_releases,onBlur:r,onChange:e=>o("allow_new_followed_releases",e),children:x(s).map(e=>(0,a.jsx)(_.eb,{value:e.value,children:e.text},e.value))}),(0,a.jsx)(c.K,{mt:4})]}),(0,a.jsx)(c.K,{mt:2.5}),"allow_last_sales"===e.key&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.l,{canClear:!1,className:g().dropdown,id:"allow_last_sales",name:"allow_last_sales",renderValue:e=>v(s).find(l=>l.value===e)?.text,required:!0,value:u.allow_last_sales,onBlur:r,onChange:e=>o("allow_last_sales",e),children:v(s).map(e=>(0,a.jsx)(_.eb,{value:e.value,children:e.text},e.value))}),(0,a.jsx)(c.K,{mt:4})]})]})),(0,a.jsx)(i.W3,{children:(0,a.jsx)(t.$,{disabled:(0,m.bD)(u,N),loading:j.isPending,type:"submit",children:s("Save changes")}
1)})]})}})}},45281:(e,l,s)=>{"use strict";s.r(l),s.d(l,{default:()=>w});var a=s(80263),t=s(61528),i=s(13463),r=s(53239),o=s(50005),n=s(3925),d=s(42173),_=s(54923),c=s(4151),u=s(59486);let m=()=>{let{t:e}=(0,i.c3)(),l=e("Email preferences"),s=(0,r.useMemo)(()=>({title:l}),[l]),c=(0,_.UV)(e),m=(0,r.useMemo)(()=>[c.Root,c.UserProfile,{text:l}],[c,l]);return(0,a.jsxs)(u.u,{topLine:(0,a.jsx)(o.I,{pageName:"emailPreferences",values:m}),children:[(0,a.jsx)(d.t,{fields:s,microdata:(0,t.Oq)(m),pageName:"emailPreferences"}),(0,a.jsx)(n.r,{})]})};m.getConfig=()=>({isAuthenticationRequired:!0}),m.renderInLayout=c.P;let w=m},47305:(e,l,s)=>{"use strict";s.d(l,{N:()=>a});let a=e=>[{key:"allow_tech_support",title:e("Volumo support"),description:e("Technical emails such as password reset"),disabled:!0},{id:"marketing",key:"allow_marketing",title:e("Volumo updates, announcements, and selected offers"),description:e("Stay updated with Volumo news, product updates, and special offers")},{id:"my_submitted_music",key:"allow_my_music",title:e("My submitted music"),description:e("Messages about changes in the status of submitted releases and charts")},{id:"last_sales",key:"allow_last_sales",title:e("Sales notifications"),description:e("Sales notifications (for content providers)")},{id:"direct_messages",key:"allow_direct_messages",title:e("Direct messages"),description:e("Direct messages (for content providers)")},{id:"new_followed_releases",key:"allow_new_followed_releases",title:e("New followed releases"),description:e("Notify when your followed artists or labels publish new releases")},{id:"discount_reminder",key:"allow_discount_reminder",title:e("Discount reminder"),description:e("Notify when your discount expires")}]},54503:(e,l,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/notifications",function(){return s(45281)}])},62598:(e,l,s)=>{"use strict";s.d(l,{l:()=>d});var a=s(80263),t=s(904),i=s(7665),r=s(3638);s(53239);var o=s(80491),n=s.n(o);let d=e=>{let{className:l,error:s,inputContainerClassName:o,label:d,labelOption:_,mini:c,placeholder:u,required:m,reserveErrorSpace:w,...p}=e;return(0,a.jsx)(t.v,{className:(0,r.A)(n().root,l),disabled:p.disabled,error:s,forId:p.id,label:d,labelOption:_,mini:c,required:m,reserveErrorSpace:w,children:(0,a.jsx)(i.oJ,{className:o,label:d,placeholder:u,required:m,validationState:s?"error":"normal",...p})})}},80491:e=>{e.exports={root:"Select_root__LBRIF"}}},e=>{e.O(0,[4001,7236,2762,8288,904,5046,4802,1001,1048,1488,636,6593,8792],()=>e(e.s=54503)),_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.