PageSourceSearch

https://bitstage.ai/assets/EmailUnsubscribePage-vZPYDvyK.js

js bitstage.ai collected 2026-10-05 13:30:41 UTC 4,933 bytes, 1 lines download raw bytes

1import{a_ as m,r,j as e,aL as a}from"./vendor-CkXPoFMb.js";import{b as x,B as s}from"./index-CR9aNikF.js";import{b as u}from"./bitstage-logo-full-BrydXt0F.js";import{aq as h,az as p,aw as f}from"./vendor-icons-DPnl4cY3.js";import"./vendor-datefns-N8mCDnaz.js";import"./vendor-jspdf-D2r6YsBm.js";import"./vendor-fingerprint-f-b5Qes_.js";import"./vendor-sanitize-8YZbVxp6.js";import"./vendor-sentry-DuxUMs8C.js";import"./vendor-motion-DvZ9ooo_.js";const g={job_alert:"role alert emails",score_notification:"score notification emails",candidate_result_ready:"results-ready emails",candidate_survey_reminder:"survey reminder emails",candidate_completion_survey:"survey invitation emails",candidate_rehearsal_completed:"rehearsal completion emails",employer_candidate_rehearsal_completed:"employer rehearsal notification emails",candidate_resume_passed:"resume passed emails",employer_review_ready:"employer review emails",migration_blast:"product announcement emails",client_welcome_day0:"welcome emails",client_nudge_post_role:"role setup reminder emails",client_role_live:"rehearsal drive emails",client_first_rehearsal:"first rehearsal notification emails",client_hire_moment:"hire milestone emails",client_day25_conversion:"hiring workflow check-in emails",client_day30_unfilled:"pipeline reminder emails",client_day43:"BitStage check-in emails",client_day45:"performance snapshot emails",client_day83_precharge:"billing reminder emails",client_day90_retention:"retention and tips emails",client_weekly_receipt:"weekly recap emails",activity_digest:"daily activity digest emails"};function y(i){return i?g[i]??null:null}function C(){const[i]=m(),[t,l]=r.useState("loading"),[n,c]=r.useState(null);return r.useEffect(()=>{const o=(i.get("email_unsub")||"").trim(),d=(i.get("template")||"").trim();c(y(d)),l(o==="1"?"success":o==="expired"?"expired":"invalid")},[i]),e.jsxs(e.Fragment,{children:[e.jsx(x,{title:"Unsubscribe - BitStage",description:"Manage your email preferences.",noIndex:!0}),e.jsx("div",{className:"min-h-screen flex flex-col items-center justify-center px-4 py-10",style:{background:"linear-gradient(135deg, hsl(80 45% 85%) 0%, hsl(90 40% 88%) 50%, hsl(75 45% 82%) 100%)"},children:e.jsxs("div",{className:"w-full max-w-md bg-white rounded-2xl shadow-xl p-8 flex flex-col items-center text-center gap-6",children:[e.jsx(a,{to:"/",className:"mb-2",children:e.jsx("img",{src:u,alt:"BitStage",className:"h-6 w-auto object-contain hover:opacity-80 transition-opacity"})}),t==="loading"&&e.jsx("div",{className:"h-10 w-10 border-2 border-[hsl(var(--brand-navy))] border-t-transparent rounded-full animate-spin"}),t==="success"&&e.jsxs(e.Fragment,{children:[e.jsx(h,{className:"w-14 h-14 text-green-500"}),e.jsxs("div",{children:[e.jsx("h1",{className:"font-display text-2xl font-bold text-foreground",children:"You've been unsubscribed"}),e.jsxs("p",{className:"text-muted-foreground mt-2 text-sm leading-relaxed",children:[n?e.jsxs(e.Fragment,{children:["You won't receive ",e.jsx("strong",{children:n})," ","from BitStage anymore."]}):e.jsx(e.Fragment,{children:"You won't receive that type of email from BitStage anymore."})," ","Important emails about your account, applications, billing, and security will still be delivered."]})]}),e.jsx(s,{asChild:!0,className:"w-full",children:e.jsx(a,{to:"/",children:"Back to BitStage"})})]}),t==="expired"&&e.jsxs(e.Fragment,{children:[e.jsx(p,{className:"w-14 h-14 text-amber-500"}),e.jsxs("div",{children:[e.jsx("h1",{className:"font-display text-2xl font-bold text-foreground",children:"Link expired"}),e.jsx("p",{className:"text-muted-foreground mt-2 text-sm leading-relaxed",children:"This unsubscribe link has expired - links are valid for 60 days. Please log in to manage your email preferences, or contact us directly."})]}),e.jsxs("div",{className:"flex gap-3 w-full",children:[e.jsx(s,{asChild:!0,className:"flex-1",children:e.jsx(a,{to:"/login",children:"Log in"})}),e.jsx(s,{asChild:!0,variant:"outline",className:"flex-1",children:e.jsx(a,{to:"/contact",children:"Contact us"})})]})]}),t==="invalid"&&e.jsxs(e.Fragment,{children:[e.jsx(f,{className:"w-14 h-14 text-destructive"}),e.jsxs("div",{children:[e.jsx("h1",{className:"font-display text-2xl font-bold text-foreground",children:"Invalid link"}),e.jsx("p",{className:"text-muted-foreground mt-2 text-sm leading-relaxed",children:"This unsubscribe link is invali
1d or has already been used. Please log in to manage your email preferences."})]}),e.jsxs("div",{className:"flex gap-3 w-full",children:[e.jsx(s,{asChild:!0,className:"flex-1",children:e.jsx(a,{to:"/login",children:"Log in"})}),e.jsx(s,{asChild:!0,variant:"outline",className:"flex-1",children:e.jsx(a,{to:"/contact",children:"Contact us"})})]})]}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-2",children:["Powered by"," ",e.jsx(a,{to:"/",className:"hover:underline font-medium",children:"BitStage"})]})]})})]})}export{C 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.