1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5785],{74533:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/unsubscribe",function(){return n(6541)}])},71642:function(e,r,n){"use strict";n.d(r,{Z:function(){return t}});var o=n(85893),s=n(82844),i=n.n(s);function t(e){return(0,o.jsx)("div",{className:i().pageLogin,children:(0,o.jsx)("div",{className:["container",i().container].join(" "),children:(0,o.jsx)("div",{className:i().body,children:(0,o.jsx)("div",{className:i().bodyWrapper,style:{width:e.forceWidth?"100%":void 0,maxWidth:e.forceWidth?"none":void 0},children:e.children})})})})}},6541:function(e,r,n){"use strict";n.r(r);var o=n(47568),s=n(10092),i=n(85893),t=n(46979),a=n(44217),l=n(3261),u=n(71642),c=n(11163),d=n(67294),_=function(){var e=(0,c.useRouter)(),r=e.query,n=e.isReady,_=r.token||r.signupId,h=!!_,g=(0,d.useState)("idle"),b=g[0],p=g[1],y=(0,d.useCallback)((0,o.Z)(function(){return(0,s.__generator)(this,function(e){switch(e.label){case 0:if(!_)return[2,p("error")];p("loading"),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,(0,t.qu)("/users/unsubscribe",{token:_})];case 2:return e.sent(),p("done"),[3,4];case 3:return e.sent(),p("error"),[3,4];case 4:return[2]}})}),[_]),x="idle"===b&&n&&!h?"error":b;return"idle"===x?(0,i.jsxs)(u.Z,{children:["Would you like to stop receiving News Alerts? ",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Confirm below and ","we'll"," remove you from the mailing list. Nothing has changed yet. ",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)(a.Z,{title:"Unsubscribe",onClick:y})]}):"loading"===x?(0,i.jsxs)(u.Z,{forceWidth:!0,children:[(0,i.jsxs)("div",{style:{margin:"0 auto",width:"min-content"},children:[(0,i.jsx)(l.Z,{stroke:"blue",width:"125px"}),(0,i.jsx)("br",{})]}),(0,i.jsx)("br",{}),(0,i.jsxs)("p",{style:{textAlign:"center"},children:["Please wait while we process your Unsubscribe request..."," ",(0,i.jsx)("br",{}),"This may take a few moments, but ","don't"," worry,","we're"," ",(0,i.jsx)("br",{}),"working on it! Thank you for your patience."]})]}):"done"===x?(0,i.jsxs)(u.Z,{children:["We're"," sorry to see you go! ","We've"," removed you from our mailing list as requested. ",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"If you have any feedback for us, please ","don't"," hesitate to let us know at"," ",(0,i.jsx)("a",{href:"mailto:[email protected]",className:"link",style:{color:"var(--color-blue)"},children:"[email protected]"}),". ","We're"," always looking for ways to improve our service, and your input is valuable to us. ",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Thanks again for your time and support. We wish you all the best in your future endeavours!"]}):(0,i.jsxs)(u.Z,{children:[h?(0,i.jsxs)(i.Fragment,{children:["Sorry, we ","couldn't"," process your request just now. Nothing has been changed. ",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Please try again, or email us at"," "]}):(0,i.jsxs)(i.Fragment,{children:["Sorry, this link ","doesn't"," tell us which subscription to cancel. Please open the Unsubscribe link straight from one of our emails, or email us at"," "]}),(0,i.jsx)("a",{href:"mailto:[email protected]",className:"link",style:{color:"var(--color-blue)"},children:"[email protected]"})," ","and ","we'll"," take care of it. ",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),h&&(0,i.jsx)(a.Z,{title:"Try again",onClick:y})]})};r.default=_},82844:function(e){e.exports={pageLogin:"Login_pageLogin__6XM1O",container:"Login_container__63_yD",body:"Login_body__Zpkpo",bodyWrapper:"Login_bodyWrapper__uxKZh",header:"Login_header__y0gdP",errorBox:"Login_errorBox__8pq4X",successBox:"Login_successBox___DLRj",title:"Login_title__4kHMs",titleSmaller:"Login_titleSmaller__I3UFq",inputWrapper:"Login_inputWrapper__qvNz1",copy:"Login_copy__lv5oh",linksWrapper:"Login_linksWrapper__raBCV",col:"Login_col__krdMt",remember_me:"Login_remember_me__yJ8IV",highlighted:"Login_highlighted__R_Til"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=74533)}),_N_E=e.O()}]); 2//# sourceMappingURL=unsubscribe-d3f78979ac036d2e.js.map
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.