PageSourceSearch

https://myka.ng/assets/GadgetPaymentFailedPage-sNvSGrPo.js

js myka.ng collected 2026-10-09 22:42:33 UTC 1,908 bytes, 1 lines download raw bytes

1import{p as u,r as c,j as e}from"./vendor-react-DfYGAhtm.js";import{f as g}from"./failed-Dd90HJgP.js";import{x,B as f,m as t,y as h,g as l}from"./index-DsBgCU7r.js";import{G as y}from"./gadgetPostPaymentFlowConfig-ChCU4qBA.js";import{G as A}from"./routes-CNOe4p0Z.js";import{u as b}from"./useAnalytics-HP01GbIH.js";import{S as j}from"./StepPageLayout-DdZUweau.js";import{V as r,a as T,i as E,T as k}from"./vendor-ui-DA_r9yXk.js";import"./vendor-icons-1odZwi-b.js";import"./vendor-state-BsBVN-fX.js";import"./vendor-forms-BP-7CbAP.js";const v=()=>{const{navigate:a}=x(),[d]=u(),o=d.get("policyId")??void 0,p=y.routes,{track:s}=b(),i=c.useRef(!1);c.useEffect(()=>{i.current||(i.current=!0,s(f.SCREEN_PAYMENT_FAILED,{product_type:"screen",failure_reason:"declined"}))},[s]);const m=()=>{if(o){a(`/${A.SelectPlan}/${o}`);return}a(`/${p.reviewQuote}`)},n=()=>{a("/home",{replace:!0})};return e.jsx(j,{items:[],hideGoBack:!0,onGoBack:n,contentMaxW:"600px",children:e.jsxs(r,{bg:"white",borderRadius:"2xl",background:`linear-gradient(145deg, white 55%, ${t.orange[50]} 100%)`,border:"1px solid",borderColor:t.border.secondary,p:{base:6,md:10},align:"stretch",gap:6,children:[e.jsxs(r,{gap:4,align:"center",pt:4,children:[e.jsx(T,{display:"flex",justifyContent:"center",width:"100%",children:e.jsx(h,{data:g,autoplay:!0,loop:!1,style:{width:120,height:120}})}),e.jsx(E,{fontSize:{base:"xl",md:"2xl"},fontWeight:"bold",color:t.error[700],textAlign:"center",children:"Payment Failed"}),e.jsx(k,{fontSize:{base:"sm",md:"md"},color:t.text.gray,textAlign:"center",maxW:"360px",lineHeight:"tall",children:"Your payment was not completed. Please try again or contact support if the issue persists."})]}),e.jsxs(r,{gap:3,align:"stretch",children:[e.jsx(l,{buttonType:"primary",text:"Try Again",size:"lg",onClick:m}),e.jsx(l,{buttonType:"outline",text:"Back to Dashboard",size:"lg",onClick:n})]})]})})};export{v 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.