1import{F as l,C as d,j as s,a1 as h,L as p,R as m,B as j,N as u,O as x}from"./index-eb9fe256.js";import{c as e}from"./Link.module-7888ae17.js";const y="_wrap_6y3jz_1",_="_panel_6y3jz_8",g="_icon_6y3jz_15",N="_heading_6y3jz_36",k="_description_6y3jz_44",w="_cta_6y3jz_52",a={wrap:y,panel:_,icon:g,heading:N,description:k,cta:w};function P(){const{isDark:r}=l(),t=r?u:x,[i]=d(),o=i.get("status"),c=localStorage.getItem("paymentId"),n=o==="cancel";return s.jsx("div",{className:e.checkoutContainer,children:s.jsxs("main",{className:e.page,children:[s.jsxs("header",{className:e.topbar,children:[s.jsx("img",{src:t,alt:"Fintava"}),s.jsx("div",{className:e.topbarActions,children:s.jsx("span",{children:"Checkout"})})]}),s.jsxs("div",{className:a.wrap,children:[s.jsxs("section",{className:h(e.paymentPanel,a.panel),children:[s.jsx("span",{className:a.icon,"data-status":n?"failed":"success","aria-hidden":"true",children:n?s.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:s.jsx("path",{d:"M6 6l12 12M18 6 6 18",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round"})}):s.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:s.jsx("path",{d:"m5 13 4 4L19 7",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",strokeLinejoin:"round"})})}),s.jsx("h1",{className:a.heading,children:n?"Payment Failed":"Payment Successful"}),s.jsx("p",{className:a.description,children:n?"There was an issue with processing your payment.":"Your payment was processed successfully."}),c&&s.jsx(p,{to:`${m.PAYMENT}/${c}`,className:a.cta,children:s.jsx(j,{className:e.continueButton,children:s.jsx("span",{children:n?"Try again":"Make another payment"})})})]}),s.jsxs("div",{className:e.powered,children:[s.jsx("span",{children:"Powered by"}),s.jsx("img",{src:t,alt:"Fintava"})]})]})]})})}export{P 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.