1import{a as f,u,aW as g,n as m,r as n,j as e,B as s,H as h,ah as S,S as P,d9 as j,da as v,P as b}from"./index-0t6do4Te.js";import{a as A,S as R}from"./use-scroll-progress-C-v5o_cu.js";import{S as F,R as E}from"./SubscribePage-SkqSB1jI.js";import"./use-scroll-DRonAWLG.js";function T(){const o=A(),c={title:`Reactivate Plan Page - ${S.appName}`},a=f(),t=u(g),l=m(),[i,r]=n.useState(!0);n.useEffect(()=>{if(t){const{recommendation:x,active_subscription:d}=t;r(x==="update_payment"?d.plan:!1)}},[t]);const p=()=>{a(j()),a(v()),b.clearCache(),l("/sign-in")};return e.jsxs(s,{sx:{width:"100%",minHeight:"100vh",background:"#F8FAFC",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",padding:"40px 16px 60px"},children:[e.jsx(h,{children:e.jsx("title",{children:c.title})}),e.jsx(R,{variant:"linear",progress:o.scrollYProgress,sx:{position:"fixed"}}),i&&e.jsx(P,{}),e.jsxs(s,{sx:{textAlign:"center",width:"100%",mb:4},children:[e.jsx(s,{sx:{fontFamily:"'DM Sans',sans-serif",fontSize:"22px",fontWeight:800,color:"#0F172A",mb:.5},children:"Reactivate Your Plan"}),e.jsx(s,{sx:{fontFamily:"'DM Sans',sans-serif",fontSize:"13px",color:"#64748B"},children:"Your subscription has lapsed. Choose a plan to restore access."})]}),e.jsx(F,{planActivationPage:E,triggerPlanReactivate:i}),e.jsx(s,{sx:{mt:3,textAlign:"center",width:"100%"},children:e.jsx("button",{onClick:p,style:{fontFamily:"'DM Sans',sans-serif",fontSize:"13px",fontWeight:600,color:"#64748B",border:"1.5px solid #E2E8F0",background:"#fff",borderRadius:"8px",padding:"10px 20px",cursor:"pointer"},children:"Return to Sign In"})})]})}export{T as ReactivatePlan};
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.