PageSourceSearch

https://www.rewasd.com/_nuxt/CxDVc0X_.js

js rewasd.com collected 2026-10-03 21:40:13 UTC 2,082 bytes, 1 lines download raw bytes

1import{d as v,a as x,f as e,h as s,i as a,g as u,B as w,k as r,l as b,r as c,e as o,A as h}from"./CFxGRstO.js";import{_ as k}from"./6HuN2jx9.js";import{_ as B}from"./DnMM_Yjt.js";const T={class:"container !tw-px-6 tw-py-2 lg:tw-py-6"},N={class:"tw-py-6 md:tw-py-12"},P={class:"lg:tw-w-10/12 tw-mx-auto"},U={class:"tw-text-h2 !tw-font-semibold !tw-leading-normal !tw-text-yellow tw-text-center tw-mb-2"},C={key:0,class:"alert alert-success tw-text-center",role:"alert"},V={key:1,class:"alert alert-danger tw-text-center",role:"alert"},A={class:"tw-mb-4"},F={class:"tw-mb-4"},E=v({__name:"unsubscribe",setup(S){const _=x(),{hash:d}=_.query,l=c(!1),i=c(!1),m=c(!1);async function f(){if(l.value=!0,d){const n=await $fetch("/api/account/unsubscribe",{method:"POST",body:{hash:d}});i.value=n.success}else await new Promise(n=>setTimeout(n,1e3)),i.value=!0;m.value=!0,l.value=!1}return(n,t)=>{const y=h,p=k,g=B;return o(),e("div",null,[s("div",T,[s("div",N,[s("div",P,[s("h1",U,[a(y,{text:"Unsubscribe","chars-limit":2})]),s("div",null,[t[7]||(t[7]=s("p",{class:"tw-font-semibold tw-text-fs-5 tw-mb-4"}," We're sorry to see you go! ",-1)),u(m)?(o(),e(w,{key:0},[u(i)?(o(),e("div",C,[...t[0]||(t[0]=[s("b",null,"Unsubscribed",-1),s("p",{class:"tw-mb-4"}," You've unsubscribed successfully ",-1)])])):(o(),e("div",V,[t[3]||(t[3]=s("b",null,"An error occured",-1)),s("p",A,[t[2]||(t[2]=r(" Try again or ",-1)),a(p,{to:"/help"},{default:b(()=>[...t[1]||(t[1]=[r("contact support",-1)])]),_:1})])]))],64)):(o(),e(w,{key:1},[t[4]||(t[4]=s("p",{class:"tw-mb-4"}," By unsubscribing, you'll stop receiving our newsletters, promotions, and updates. You'll still receive important account-related emails, such as subscription management or actions connected with password changing. ",-1)),a(g,{class:"btn btn-primary btn-md tw-my-4 tw-mb-6",label:"Unsubscribe",loading:u(l),onClick:f},null,8,["loading"])],64)),s("p",F,[t[6]||(t[6]=r(" For more information, review our ",-1)),a(p,{to:"/privacy"},{default:b(()=>[...t[5]||(t[5]=[r("Privacy Policy",-1)])]),_:1})])])])])])])}}});export{E 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.