PageSourceSearch

https://analyticsindiamag.com/assets/PaymentFailedBanner-CCsrPfJz.js

js analyticsindiamag.com collected 2026-09-24 08:26:20 UTC 1,228 bytes, 1 lines download raw bytes

1import{z as n,r,j as e,A as o,m as c,o as m,X as d}from"./index-KSWbwNeY.js";import{T as l}from"./triangle-alert-D2A9IHcD.js";function u(){const{status:t}=n(),[s,a]=r.useState(!1),i=(t==null?void 0:t.paymentIssue)&&!s;return e.jsx(o,{children:i&&e.jsx(c.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"bg-destructive text-destructive-foreground relative z-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-3 flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm font-medium",children:[e.jsx(l,{className:"h-4 w-4 shrink-0"}),e.jsx("span",{children:"Your recent payment failed. Update your payment method to keep your access."})]}),e.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[e.jsx(m,{to:"/account/subscription",className:"bg-background text-foreground text-xs font-semibold px-3 py-1.5 rounded-md hover:opacity-90 transition-opacity",children:"Update Payment"}),e.jsx("button",{onClick:()=>a(!0),className:"opacity-70 hover:opacity-100 transition-opacity","aria-label":"Dismiss",children:e.jsx(d,{className:"h-4 w-4"})})]})]})})})}export{u 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.