PageSourceSearch

https://thelostogle.com/_next/static/chunks/pages/_sites/[siteSlug]/unsubscribe-894607daa239835b.js

js thelostogle.com collected 2026-10-02 07:49:56 UTC 3,160 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7202],{12473:(e,s,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_sites/[siteSlug]/unsubscribe",function(){return r(46108)}])},46102:e=>{e.exports={wrapper:"unsubscribe-form_wrapper__HQU9O",form:"unsubscribe-form_form__1g7sa",button:"unsubscribe-form_button__YQfg4",inputWrapper:"unsubscribe-form_inputWrapper__luUFM",labelText:"unsubscribe-form_labelText__rFlns",input:"unsubscribe-form_input__QQAos"}},46108:(e,s,r)=>{"use strict";r.r(s),r.d(s,{__N_SSP:()=>f,default:()=>g});var i=r(37876),a=r(12277),t=r(43954),n=r(14232),u=r(10346),l=r(38703),c=r(37062);let o=async e=>{let{email:s,siteSlug:r,nonce:i}=e,a=await fetch((0,c.c)("customer/unsubscribe"),{method:"POST",headers:{"Content-Type":"application/json","Cache-Control":"no-cache, must-revalidate, max-age=0",...i?{"X-Nonce":i}:{}},body:JSON.stringify({email:s,siteSlug:r})});if(!a.ok)return{ok:!1};let t=await a.json();return t&&"success"===t.status?{ok:!0}:{ok:!1}};var b=r(50287),m=r(46102),d=r.n(m);let p=e=>{let{siteSlug:s,initialEmail:r=""}
1=e,[a,t]=(0,n.useState)(r),[c,m]=(0,n.useState)("idle"),{nonce:p,refreshNonce:_,isLoading:h}=(0,l.A)(),f=async e=>{if(e.preventDefault(),!a||"submitting"===c)return;m("submitting");let r=await o({email:a,siteSlug:s,nonce:p});await _(),m(r.ok?"success":"error")};return"success"===c?(0,i.jsx)("div",{className:d().wrapper,children:(0,i.jsx)(u.A,{status:b.A.Success,msg:"You've been unsubscribed from all emails. It may take a few minutes to take effect."})}):(0,i.jsxs)("div",{className:d().wrapper,children:[(0,i.jsxs)("form",{className:d().form,onSubmit:f,children:[(0,i.jsx)("div",{className:d().inputWrapper,children:(0,i.jsxs)("label",{htmlFor:"unsubscribeEmail",children:[(0,i.jsx)("input",{type:"email",id:"unsubscribeEmail",name:"unsubscribeEmail",required:!0,"aria-label":"Email address",placeholder:"Enter your email address",className:d().input,value:a,onChange:e=>t(e.target.value)}),(0,i.jsx)("span",{className:d().labelText,children:"Enter your email address"})]})}),(0,i.jsx)("button",{type:"submit",className:d().button,disabled:h||"submitting"===c,children:(0,i.jsx)("span",{children:"submitting"===c?"Unsubscribing…":"Unsubscribe"})})]}),"error"===c?(0,i.jsx)(u.A,{status:b.A.Error,msg:"Something went wrong. Please try again."}):null]})};var _=r(81678),h=r.n(_),f=!0;let g=e=>{let{globalData:s,siteSlug:r,initialEmail:n}=e,{siteTitle:u}=s;return(0,i.jsx)(a.A,{...s,title:"".concat(u," | Unsubscribe"),headerTheme:"simple",footerTheme:"simple",hideAds:!0,children:(0,i.jsxs)(t.A,{className:h().inner,children:[(0,i.jsx)("h1",{className:h().heading,children:"Unsubscribe from all emails"}),(0,i.jsxs)("p",{className:h().description,children:["Enter your email address below to unsubscribe from all emails from"," ".concat(u),". This will stop every newsletter and email subscription associated with your address."]}),(0,i.jsx)(p,{siteSlug:r,initialEmail:n})]})})}},81678:e=>{e.exports={inner:"unsubscribe_inner__mR1py",heading:"unsubscribe_heading__uZUgl",description:"unsubscribe_description__rQL0j"}}},e=>{e.O(0,[1596,6511,2277,636,6593,8792],()=>e(e.s=12473)),_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.