PageSourceSearch

https://trueresume.ai/_next/static/chunks/pages/unsubscribe-0951a2f715cc7854.js

js trueresume.ai collected 2026-10-02 01:13:54 UTC 2,248 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5785],{66266:function(e,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/unsubscribe",function(){return s(47088)}])},47088:function(e,r,s){"use strict";s.r(r),s.d(r,{default:function(){return d}});var n=s(85893),t=s(67294),o=s(11163),a=s(41664),i=s.n(a),c=s(9008),u=s.n(c);function d(){let{email:e}=(0,o.useRouter)().query,[r,s]=(0,t.useState)("idle"),[a,c]=(0,t.useState)("");return(0,t.useEffect)(()=>{e&&(async()=>{s("loading");try{let r=await fetch("/api/unsubscribe?email=".concat(encodeURIComponent(String(e))));if(!r.ok){if(404===r.status){s("notfound"),c("No account found for that email.");return}throw Error("Failed to unsubscribe")}s("success"),c("You have been unsubscribed from daily job digests.")}catch(e){console.error("unsubscribe failed",e),s("error"),c("An error occurred while processing your unsubscribe request.")}})()},[e]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(u(),{children:[(0,n.jsx)("title",{children:"Unsubscribe - TrueResume"}),(0,n.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,n.jsx)("div",{className:"max-w-[680px] mx-auto mt-12 px-4 font-sans",children:(0,n.jsxs)("div",{className:"bg-white dark:bg-[#1A1A1B] p-8 rounded-[10px] shadow-[0_6px_18px_rgba(0,0,0,0.06)] dark:shadow-none dark:border dark:border-[#343536]",children:[(0,n.jsx)("h1",{className:"mb-2 text-xl font-bold text-[#1C1C1C] dark:text-[#D7DADC]",children:"Unsubscribe from Job Digests"}),"loading"===r&&(0,n.jsx)("p",{className:"text-[#7C7C7C] dark:text-[#818384]",children:"Processing your request..."}),"success"===r&&(0,n.jsx)("p",{className:"text-green-600 dark:text-green-400",children:a}),"notfound"===r&&(0,n.jsx)("p",{className:"text-orange-500 dark:text-orange-400",children:a}),"error"===r&&(0,n.jsx)("p",{className:"text-red-600 dark:text-red-400",children:a}),(0,n.jsxs)("p",{className:"mt-3 text-[#7C7C7C] dark:text-[#818384]",children:["If you didn't mean to unsubscribe, you can re-enable email digests from your ",(0,n.jsx)(i(),{href:"/settings/notifications",className:"text-[#0079D3] hover:underline",children:"email preferences"})," after signing in."]})]})})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=66266)}),_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.