1import{_ as c}from"./SiteFooter.vue_vue_type_script_setup_true_lang-C4BuQzAj.js";import{_ as g}from"./SiteHeader.vue_vue_type_script_setup_true_lang-DeQnSVDe.js";import{p as x}from"./conversionTracking-3YzUHqND.js";import{defineComponent as h,onMounted as v,createElementBlock as n,openBlock as r,createVNode as a,createElementVNode as e,createCommentVNode as i,createTextVNode as l,toDisplayString as d}from"./vue-vendor-Dr0siaL3.js";import"./useAppearance-C4QKplwY.js";import"./index.esm-C90O2v1V.js";/* empty css */import"./AppLink.vue_vue_type_script_setup_true_lang-Z6bUMym0.js";import"./AsgButton.vue_vue_type_script_setup_true_lang-BAXB_VNA.js";import"./bundle-mjs-BJeS7sC5.js";/* empty css */import"./useSharedData-mOZ4Msmu.js";import"./MegaMenuCarousel.vue_vue_type_style_index_0_scoped_aeba0bb8_lang-B0dQdPH8.js";import"./useAuthModal-B_Fd9jtS.js";import"./createLucideIcon-mDMhvRr8.js";import"./layout-dashboard-XPj3Mw68.js";import"./fingerprintInterceptor-BqKHgKKR.js";import"./utils-Cex1bChS.js";const y={class:"min-h-screen bg-background"},b={class:"py-16 lg:py-24"},w={class:"mx-auto w-full max-w-[640px] px-8 lg:px-10"},_={class:"mt-8 text-center"},k={class:"mt-4 text-lg text-muted-foreground"},j={class:"text-foreground"},C={key:0,class:"block mt-2 text-base"},U={key:0,class:"mt-8 rounded-2xl bg-muted p-6"},H={class:"mt-4 space-y-3"},D={key:0,class:"flex justify-between"},L={class:"font-medium text-foreground"},V={key:1,class:"flex justify-between"},B={class:"font-medium text-foreground"},N={class:"flex justify-between"},S={class:"font-medium text-foreground"},T={key:1,class:"mt-4 text-center"},A=["href"],M={key:2,class:"mt-4 text-center"},$=["href"],E="I just donated to The Advocates for Self-Government to help promote self-governance. Join me in supporting this important cause!",m="https://www.theadvocates.org/donate/",ne=h({__name:"DonateAllSuccess",props:{portalLoginUrl:{},donation:{},conversion:{}},setup(u){const s=u;v(()=>{s.conversion&&x("donation_completed",{donation_id:s.conversion.donation_id,transaction_id:s.conversion.transaction_id,value:s.conversion.value,currency:s.conversion.currency.toUpperCase()},s.conversion.transaction_id)});const p=`https://twitter.com/intent/tweet?text=${encodeURIComponent(E)}&url=${encodeURIComponent(m)}`,f=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(m)}`;return(o,t)=>(r(),n("div",y,[a(g),e("main",b,[e("div",w,[t[11]||(t[11]=e("div",{class:"flex justify-center"},[e("div",{class:"flex h-20 w-20 items-center justify-center rounded-full bg-green-100"},[e("svg",{class:"h-10 w-10 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"})])])],-1)),e("div",_,[t[2]||(t[2]=e("h1",{class:"font-graphik text-3xl font-extrabold text-foreground md:text-4xl"}," Thank You for Your Donation! ",-1)),e("p",k,[t[0]||(t[0]=l(" Your generous contribution of ",-1)),e("strong",j,d(o.donation?.amount),1),t[1]||(t[1]=l(" helps us continue our mission to promote self-governance. ",-1)),o.donation?.is_recurring?(r(),n("span",C," Thank you for supporting us with a monthly gift. ")):i("",!0)])]),o.donation?.donor_name||o.donation?.donor_email?(r(),n("div",U,[t[6]||(t[6]=e("h2",{class:"text-lg font-semibold text-foreground"},"Donation Details",-1)),e("dl",H,[o.donation?.donor_name?(r(),n("div",D,[t[3]||(t[3]=e("dt",{class:"text-muted-foreground"},"Name",-1)),e("dd",L,d(o.donation.donor_name),1)])):i("",!0),o.donation?.donor_email?(r(),n("div",V,[t[4]||(t[4]=e("dt",{class:"text-muted-foreground"},"Email",-1)),e("dd",B,d(o.donation.donor_email),1)])):i("",!0),e("div",N,[t[5]||(t[5]=e("dt",{class:"text-muted-foreground"},"Amount",-1)),e("dd",S,d(o.donation?.amount),1)])])])):i("",!0),t[12]||(t[12]=e("div",{class:"mt-8 rounded-2xl border border-brand-primary/20 bg-brand-primary/5 p-6"},[e("p",{class:"text-center text-sm text-foreground"}
1," Thank you for your tax-deductible donation. Please keep your payment receipt for your records. ")],-1)),o.donation?.receipt_url?(r(),n("p",T,[e("a",{href:o.donation.receipt_url,target:"_blank",rel:"noopener noreferrer",class:"underline"},"View payment receipt",8,A)])):i("",!0),o.donation?.is_recurring&&o.portalLoginUrl?(r(),n("p",M,[e("a",{href:o.portalLoginUrl,class:"underline"},"Manage your recurring gift",8,$)])):i("",!0),e("div",{class:"mt-8 text-center"},[t[9]||(t[9]=e("h3",{class:"text-lg font-semibold text-foreground"},"Spread the Word",-1)),t[10]||(t[10]=e("p",{class:"mt-2 text-muted-foreground"}," Help us grow by sharing with friends and family. ",-1)),e("div",{class:"mt-4 flex justify-center gap-4"},[e("a",{href:p,target:"_blank",rel:"noopener noreferrer",class:"inline-flex h-10 w-10 items-center justify-center rounded-full bg-[#1DA1F2] text-white transition-opacity hover:opacity-90"},t[7]||(t[7]=[e("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24"},[e("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})],-1)])),e("a",{href:f,target:"_blank",rel:"noopener noreferrer",class:"inline-flex h-10 w-10 items-center justify-center rounded-full bg-[#1877F2] text-white transition-opacity hover:opacity-90"},t[8]||(t[8]=[e("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24"},[e("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})],-1)]))])]),t[13]||(t[13]=e("div",{class:"mt-12 flex flex-col gap-4 sm:flex-row sm:justify-center"},[e("a",{href:"/donate/",class:"inline-flex h-[52px] items-center justify-center rounded-full bg-brand-primary px-8 text-base font-semibold text-white transition-colors hover:bg-brand-primary/90"}," Donate Again "),e("a",{href:"/",class:"inline-flex h-[52px] items-center justify-center rounded-full border border-gray-300 px-8 text-base font-medium text-foreground transition-colors hover:bg-muted"}," Return to Home ")],-1))])]),a(c)]))}});export{ne 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.