1import{j as r}from"./vendor-motion-hRg_q8lq.js";import{e as p,r as t}from"./vendor-react-E98sgxjj.js";import{b as u,ah as g,ai as n,H as l}from"./index-BKzE8EQ8.js";import{u as m}from"./useLocaleNavigate-BNriJdRU.js";import{u as f}from"./vendor-query-bOUN_gKe.js";import{U as d}from"./index-i1nPji9k.js";import"./vendor-fa-Bn2dnpnC.js";import"./paywall-CG7xVZtx.js";import"./plans-CbMJY2XS.js";import"./pricingExperiments-zMZby8z7.js";import"./organization-BuGhuc22.js";function N(){const s=p(),a=m(),{user:e}=u(),{data:i}=f(g(e?.pricing_region));t.useEffect(()=>{n({user:e,sourcePage:"upgrade"})},[]),t.useEffect(()=>{i&&n({user:e,sourcePage:"upgrade",currency:i.pricing_currency,pricingRegion:i.pricing_region})},[i,e]);const o=(e?.subscription_tier??"free")!=="free"?"topup":"plans",c=t.useCallback(()=>{window.history.length>1?s(-1):a("/settings/billing")},[s,a]);return r.jsxs(r.Fragment,{children:[r.jsx(l,{children:r.jsx("title",{children:"Plans & credits â Tesana"})}),r.jsx(d,{isOpen:!0,onClose:c,context:"general",initialTab:o})]})}export{N 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.