1import{k as m,r as s,j as e}from"./react-vendor-CAvUCgBg.js";import"./index-BPRCZW2l.js";import{f as x,c as u,g as d,B as o}from"./index-BD5OT4An.js";import{ag as a,S as h}from"./icons-B1xxNXCI.js";import"./index-CS5oWzk7.js";import"./query-C7ekqVw8.js";import"./class-utils-B2rm_Apj.js";import"./supabase-L6Z3U_Fd.js";import"./radix-5feLYWdW.js";const E=()=>{const{items:n,subtotalUsd:f,clear:p}=x();u();const r=m(),l=d();s.useState(null);const[j,i]=s.useState("US");return s.useEffect(()=>{document.title="Checkout | Post Adz",fetch("https://www.cloudflare.com/cdn-cgi/trace").then(t=>t.text()).then(t=>{const c=t.match(/loc=([A-Z]{2})/);c&&i(c[1])}).catch(()=>{})},[]),l?n.length===0?e.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center p-6 text-center",children:[e.jsx(h,{className:"w-12 h-12 text-muted-foreground/30 mb-3"}),e.jsx("h1",{className:"text-2xl font-extrabold mb-2",children:"Your cart is empty"}),e.jsx(o,{onClick:()=>r("/store"),children:"Browse store"})]}):e.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center p-6 text-center",children:[e.jsx(a,{className:"w-12 h-12 text-destructive mb-3"}),e.jsx("h1",{className:"text-2xl font-extrabold mb-2",children:"Checkout not configured"}),e.jsx("p",{className:"text-muted-foreground",children:"Payments are not set up yet."})]}):e.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center p-6 text-center",children:[e.jsx(a,{className:"w-12 h-12 text-[hsl(var(--brand-yellow))] mb-3"}),e.jsx("h1",{className:"text-2xl font-extrabold mb-2",children:"Checkout is currently disabled"}),e.jsx("p",{className:"text-muted-foreground max-w-md",children:"The store is in preview mode. Checkout will be enabled once we go live."}),e.jsx(o,{className:"mt-4",onClick:()=>r("/store"),children:"Back to store"})]})};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.