1import{u as l,j as e}from"./index-DknunFSe.js";import{u as o,f as n,r as i}from"./vendor-react-CNpY0XEk.js";import"./vendor-google-CFE1saLJ.js";const b=()=>{const s=o(),[r]=n(),{resumeSessionValidation:t}=l(),a=r.get("orderId");return i.useEffect(()=>{sessionStorage.removeItem("pendingOrgPackageId"),sessionStorage.removeItem("pendingOrgData"),sessionStorage.removeItem("pendingPaymentMethod"),t();const m=setTimeout(()=>{s("/dashboard")},4e3);return()=>clearTimeout(m)},[s,t]),e.jsx("div",{className:"min-h-screen flex items-center justify-center p-3 sm:p-4 pt-24 sm:pt-28",style:{background:"linear-gradient(to bottom right, #000000, #000000)"},children:e.jsx("div",{className:"max-w-md w-full",children:e.jsxs("div",{className:"bg-gradient-to-br from-yellow-900/40 to-yellow-900/10 border border-yellow-700/50 rounded-xl sm:rounded-2xl p-5 sm:p-8 text-center",children:[e.jsx("div",{className:"mb-4 sm:mb-6 flex justify-center",children:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 bg-yellow-500/20 rounded-full flex items-center justify-center",children:e.jsx("div",{className:"animate-spin",children:e.jsx("svg",{className:"w-10 h-10 sm:w-12 sm:h-12 text-yellow-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})})})})}),e.jsx("h1",{className:"text-2xl sm:text-3xl font-bold text-yellow-400 mb-2 sm:mb-3",children:"Payment Pending"}),e.jsx("p",{className:"text-gray-300 text-sm sm:text-base mb-2",children:"Your payment is being processed."}),a&&e.jsxs("p",{className:"text-gray-400 text-xs sm:text-sm mb-4 sm:mb-6",children:["Order: ",e.jsx("span",{className:"font-mono text-yellow-400 break-all",children:a})]}),e.jsxs("div",{className:"bg-black/30 rounded-lg p-3 sm:p-4 mb-4 sm:mb-6 text-left",children:[e.jsx("p",{className:"text-gray-300 font-semibold text-xs sm:text-sm mb-2 sm:mb-3",children:"Status:"}),e.jsx("p",{className:"text-gray-400 text-xs sm:text-sm mb-1.5 sm:mb-2",children:"â³ Payment is being verified"}),e.jsx("p",{className:"text-gray-400 text-xs sm:text-sm mb-1.5 sm:mb-2",children:"â³ Credits will be added shortly"}),e.jsx("p",{className:"text-gray-400 text-xs sm:text-sm",children:"â³ You'll receive a confirmation"})]}),e.jsxs("div",{className:"bg-blue-900/20 border border-blue-700/30 rounded-lg p-3 sm:p-4 mb-4 sm:mb-6 text-left",children:[e.jsx("p",{className:"text-blue-300 text-xs sm:text-sm mb-1 sm:mb-2",children:"â¹ï¸ Please note:"}),e.jsx("p",{className:"text-blue-200 text-[10px] sm:text-xs",children:"Your payment may take a few minutes to confirm. Do not make another payment. You can safely return to your dashboard."})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[e.jsx("button",{onClick:()=>s("/dashboard"),className:"w-full bg-gradient-to-r from-yellow-600 to-yellow-500 hover:from-yellow-700 hover:to-yellow-600 text-white text-sm sm:text-base font-bold py-2.5 sm:py-3 rounded-lg transition-all transform hover:scale-105 active:scale-95",children:"Go to Dashboard"}),e.jsx("button",{onClick:()=>s("/"),className:"w-full bg-gray-700 hover:bg-gray-600 text-white text-sm sm:text-base font-bold py-2.5 sm:py-3 rounded-lg transition-all",children:"Back to Home"})]}),e.jsx("p",{className:"text-gray-500 text-[10px] sm:text-xs mt-3 sm:mt-4",children:"Redirecting automatically in 4 seconds..."})]})})})};export{b 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.