PageSourceSearch

https://app2.sked.life/assets/unsubscribe.component-1stbA4Bd.js

js sked.life collected 2026-10-02 12:14:34 UTC 1,011 bytes, 1 lines download raw bytes

1import{o as u,t as b,j as e,G as s,P as d,a9 as m,n as p,N as h,be as t}from"./index-2k2e1F8S.js";import{C as f}from"./Card-sWLQbFU6.js";const j=p(f)({padding:15,"& legend":{fontSize:21,marginBottom:10}}),k=()=>{const o=u(),r=(n,a)=>{n.preventDefault();const c={token:a,allowEmail:!1};return h.post("/unsubscribe",c).then(()=>t("Success!","You have been unsubscribed. You can close this browser tab.")).catch(l=>{t("Error!","You could not be unsubscribed! Try again in a little while or contact us ([email protected])."),console.error(l)})},{token:i}=b.parse(o.search);return e.jsxs(s,{container:!0,justifyContent:"center",padding:2,children:[e.jsx(d,{}),e.jsx(s,{item:!0,md:4,children:e.jsxs(j,{children:[e.jsx("legend",{children:"Unsubscribe from Email Notifications"}),e.jsx("label",{children:"To unsubscribe from email notifications, click the button below."}),e.jsx("br",{}),e.jsx("br",{}),e.jsx(m,{variant:"contained",color:"primary",onClick:n=>r(n,i),children:"Unsubscribe"})]})})]})};export{k as default};

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.