PageSourceSearch

https://www.theprose.com/_next/static/chunks/pages/p/unsubscribe-92b997643b9de15b5b42.js

js theprose.com collected 2026-09-24 09:26:36 UTC 2,591 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9947],{68192:function(e,t,n){"use strict";n.r(t);var i=n(38566),s=n(27378),o=n(40384),l=n(7936),a=n(87065),r=n(36954),c=n(74300),u=n(88273),m=n(26509),f=n.n(m),d=n(52077),p=n(50301),b=n(33345),h=n(5104),v=n(98725),w=n(66197),x=n(24246),k=[{title:"All Newsletters",value:"newsletters",description:"Don't send me newsletters or announcement emails."},{title:"All Notifications",value:"notifications",description:"Don't send me notifications when people interact with me on Prose."},{title:"All Emails",value:"all",description:"Don't send me any email notifications whatsoever."}];t.default=function(){var e=(0,c.Kx)().token,t=(0,s.useState)(""),n=t[0],m=t[1],N=(0,s.useState)(!1),_=N[0],g=N[1],E=(0,d.g$)(),j=(0,i.Z)(E,2),y=j[0],C=j[1],U=(0,p.bq)(),M=(0,p.eR)(),A=(0,p.s)(),R=(0,h.z)(),S=(0,b.H$)((function(){return M("/settings/notifications")}),[M]),B=(0,s.useCallback)((function(){A({type:u.nK.CONFIRM,title:"Unsubscribe",text:"Are you sure you wish to unsubscribe from Prose. emails? You may miss out on important communications and notifications from fellow users.",destructive:!0,buttonText:"Unsubscribe",onConfirm:function(){y({scope:n,token:e}).then((function(){g(!0),R.event(v.s.EMAIL_UNSUBSCRIBE,{scope:n}),setTimeout((function(){return M("/")}),1e3)})).catch((function(e){return U(e)}))}})}),[y,n,e,M,U,R]);return(0,x.jsx)(r.$k,{children:(0,x.jsx)("div",{className:f()["simple-page-small"],children:_?(0,x.jsx)("div",{className:f()["simple-page-title"],children:"Unsubscribed"}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:f()["simple-page-title"],children:"Unsubscribe"}),(0,x.jsx)("div",{className:f()["simple-page-text"],children:'Use the form below to adjust your email preferences. If you\'d like more granular control over email notifications, click the "Manage Email" button below.'}),(0,x.jsx)(a.M,{title:"Remove me from...",children:(0,x.jsx)(l.N,{items:k,value:n,setValue:m})}),(0,x.jsxs)(w.q,{classModifier:"button-container--simple-page",children:[(0,x.jsx)(o.Kk,{title:"Manage Email",type:o.m5.BLUE,onClick:S}),(0,x.jsx)(o.Kk,{title:"Save Changes",type:o.m5.BLUE_GREY,onClick:B,loading:C})]})]})})})}},47571:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/p/unsubscribe",function(){return n(68192)}])}},function(e){e.O(0,[9774,6761,6261,935,1024,2482,3448,5170,8050,848,2319,5275,7064,2354,5511,6939,6605,9832,1414,4317,4984,6376,2849,4633,2182,4245,6530,8480,5748,7987,2436,5629,5621,9046,9563,2947,2888,2183,179],(function(){return t=47571,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.