PageSourceSearch

https://darwagkids.com/assets/PaymentSuccess-CjsaNDxC.js

js darwagkids.com collected 2026-10-08 01:29:51 UTC 4,041 bytes, 1 lines download raw bytes

1import{ag as m,t as d,r as p,j as e,G as u,L as a}from"./index-Dvi_O8Pa.js";import{B as h}from"./book-open-qShULcMR.js";import{A as i}from"./arrow-right-DGQVO3Op.js";function j(){const[o]=m(),s=new URLSearchParams(o.split("?")[1]??""),c=s.get("session_id"),x=s.get("type"),l=s.get("workshop_title")?decodeURIComponent(s.get("workshop_title")):null,n=s.get("workshop_id"),t=x==="workshop",r=d.useUtils();return p.useEffect(()=>{r.stripe.getSubscriptionStatus.invalidate()},[r]),e.jsx("div",{"data-loc":"client/src/pages/PaymentSuccess.tsx:26",className:"min-h-screen bg-gradient-to-b from-[#0f0a1e] via-[#1a0533] to-[#0f0a1e] flex items-center justify-center px-4",dir:"rtl",children:e.jsxs("div",{"data-loc":"client/src/pages/PaymentSuccess.tsx:30",className:"max-w-md w-full text-center",children:[e.jsx("div",{"data-loc":"client/src/pages/PaymentSuccess.tsx:31",className:"w-20 h-20 rounded-full bg-emerald-900/40 border-2 border-emerald-500 flex items-center justify-center mx-auto mb-6",children:t?e.jsx(h,{"data-loc":"client/src/pages/PaymentSuccess.tsx:33",size:40,className:"text-emerald-400"}):e.jsx(u,{"data-loc":"client/src/pages/PaymentSuccess.tsx:35",size:40,className:"text-emerald-400"})}),t?e.jsxs(e.Fragment,{children:[e.jsx("h1",{"data-loc":"client/src/pages/PaymentSuccess.tsx:41",className:"text-3xl font-black text-white mb-3",children:"ثبت‌نام موفق!"}),e.jsxs("p",{"data-loc":"client/src/pages/PaymentSuccess.tsx:42",className:"text-slate-300 text-base mb-2",children:["ثبت‌نام شما در کارگاه",l?e.jsxs("span",{"data-loc":"client/src/pages/PaymentSuccess.tsx:45",className:"text-purple-300 font-bold",children:[" «",l,"» "]}):" ","با موفقیت انجام شد."]}),e.jsx("p",{"data-loc":"client/src/pages/PaymentSuccess.tsx:51",className:"text-slate-400 text-sm mb-2",children:"ایمیل تأییدیه به زودی برای شما ارسال می‌شود."}),e.jsx("p",{"data-loc":"client/src/pages/PaymentSuccess.tsx:54",className:"text-slate-400 text-sm mb-8",children:"در صورت هرگونه سوال از طریق تلگرام با ما در تماس باشید."})]}):e.jsxs(e.Fragment,{children:[e.jsx("h1",{"data-loc":"client/src/pages/PaymentSuccess.tsx:60",className:"text-3xl font-black text-white mb-3",children:"پرداخت موفق!"}),e.jsx("p",{"data-loc":"client/src/pages/PaymentSuccess.tsx:61",className:"text-slate-400 text-base mb-2",children:"از خرید شما ممنونیم. اشتراک یا محصول شما فعال شد."})]}),c&&e.jsxs("p",{"data-loc":"client/src/pages/PaymentSuccess.tsx:68",className:"text-slate-600 text-xs mb-8 font-mono",children:["شناسه تراکنش: ",c.slice(0,24),"..."]}),e.jsxs("div",{"data-loc":"client/src/pages/PaymentSuccess.tsx:73",className:"space-y-3",children:[t&&n?e.jsx(a,{"data-loc":"client/src/pages/PaymentSuccess.tsx:75",href:`/workshops/${n}`,children:e.jsxs("a",{"data-loc":"client/src/pages/PaymentSuccess.tsx:76",className:"flex items-center justify-center gap-2 w-full py-3.5 bg-purple-700 hover:bg-purple-600 text-white font-bold rounded-xl transition-all",children:[e.jsx(i,{"data-loc":"client/src/pages/PaymentSuccess.tsx:77",size:18}),"بازگشت به صفحه کارگاه"]})}):e.jsx(a,{"data-loc":"client/src/pages/PaymentSuccess.tsx:82",href:"/",children:e.jsxs("a",{"data-loc":"client/src/pages/PaymentSuccess.tsx:83",className:"flex items-center justify-center gap-2 w-full py-3.5 bg-purple-700 hover:bg-purple-600 text-white font-bold rounded-xl transition-all",children:[e.jsx(i,{"data-loc":"client/src/pages/PaymentSuccess.tsx:84",size:18}),"بازگشت به صفحه اصلی"]})}),e.jsx(a,{"data-loc":"client/src/pages/PaymentSuccess.tsx:89",href:"/workshops",children:e.jsx("a",{"data-loc":"client/src/pages/PaymentSuccess.tsx:90",className:"flex items-center justify-center gap-2 w-full py-3 border border-slate-700 text-slate-300 hover:bg-slate-800 rounded-xl text-sm transition-all",children:"مشاهده همه کارگاه‌ها"})})]})]})})}export{j 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.