1import{t as e}from"./jsx-runtime-CZcjcDnw.js";import{t}from"./link-BrkTp0eM.js";import{$ as n,B as r,Q as i,U as a,V as o,Z as s,n as c,t as l,tt as u}from"./Layout-Ul9Ity_-.js";import{t as d}from"./check-Bcek_H4t.js";import{t as f}from"./shield-B5SIj9JL.js";import{t as p}from"./SectionHead-DlQUrjTs.js";import{n as m,t as h}from"./use-currency-BQZSYK9e.js";var g=e(),_=r,v=o;function y(){let e=m(),o=s(),u={href:o?c.firefox:c.chrome,label:o?`Add to Firefox`:`Add to Chrome`,external:!0};return(0,g.jsxs)(l,{children:[(0,g.jsxs)(`section`,{className:`mx-auto max-w-7xl px-4 md:px-6 pt-16 pb-6 text-center`,children:[(0,g.jsx)(p,{as:`h1`,eyebrow:`Pricing`,title:`Simple, honest pricing.`,sub:`Premium never gates your protection â it adds Web Cleaner, Floating Video Cleaner, short-form video hiding, fewer nags and Family Protection. All 10 core protections stay free, forever.`}),(0,g.jsx)(`div`,{className:`mt-6 inline-flex items-center gap-1 rounded-full border border-border bg-card p-1`,children:h.map(t=>(0,g.jsx)(`button`,{type:`button`,onClick:()=>e.setCurrency(t),className:`px-3 py-1.5 text-xs font-semibold rounded-full transition ${e.code===t?`bg-primary text-primary-foreground`:`text-muted-foreground hover:text-foreground`}`,"aria-pressed":e.code===t,children:t},t))})]}),(0,g.jsxs)(`section`,{className:`mx-auto max-w-5xl px-4 md:px-6 grid gap-6 md:grid-cols-2`,children:[(0,g.jsx)(x,{name:`Free`,price:`${e.symbol}0`,period:`forever`,desc:`Full core protection: ads, trackers, banners, fingerprinting and anti-adblock. No account, no catch.`,cta:u,features:_,icon:o?(0,g.jsx)(i,{className:`size-5`}):(0,g.jsx)(n,{className:`size-5`})}),(0,g.jsx)(x,{highlighted:!0,name:`Premium`,price:e.monthly,period:`/ month`,subPrice:`or ${e.yearly} / year, save ${e.savePct}`,desc:`A calmer, faster web. 7 days free. Cancel anytime, no charge during the trial.`,cta:{href:c.monthly,label:`Start 7-day trial, ${e.monthly}/mo`},secondaryCta:{href:c.yearly,label:`Yearly, ${e.yearly}`},features:v})]}),(0,g.jsxs)(`p`,{className:`text-xs text-muted-foreground text-center mt-6 px-4`,children:[`Prices shown in `,e.code,`. Final amount in your local currency is confirmed at checkout.`]}),(0,g.jsxs)(`section`,{className:`mx-auto max-w-5xl px-4 md:px-6 py-20`,children:[(0,g.jsx)(`h2`,{className:`text-2xl font-bold text-center`,children:`Free vs Premium`}),(0,g.jsx)(`div`,{className:`mt-8 overflow-hidden rounded-2xl border border-border bg-card shadow-card`,children:(0,g.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,g.jsx)(`thead`,{className:`bg-muted`,children:(0,g.jsxs)(`tr`,{children:[(0,g.jsx)(`th`,{className:`text-left p-4 font-semibold`,children:`Feature`}),(0,g.jsx)(`th`,{className:`p-4 font-semibold`,children:`Free`}),(0,g.jsx)(`th`,{className:`p-4 font-semibold`,children:`Premium`})]})}),(0,g.jsx)(`tbody`,{children:[...r.map(e=>[e,!0,!0]),...a.map(e=>[e,!1,!0])].map(([e,t,n])=>(0,g.jsxs)(`tr`,{className:`border-t border-border`,children:[(0,g.jsx)(`td`,{className:`p-4`,children:e}),(0,g.jsx)(`td`,{className:`p-4 text-center`,children:(0,g.jsx)(b,{on:t})}),(0,g.jsx)(`td`,{className:`p-4 text-center`,children:(0,g.jsx)(b,{on:n})})]},e))})]})}),(0,g.jsxs)(`p`,{className:`text-xs text-muted-foreground text-center mt-4`,children:[`All Premium plans include a 7-day free trial. Cancel anytime from the customer portal. Manage your subscription on the `,(0,g.jsx)(t,{to:`/account`,className:`underline`,children:`Account`}),` page.`]})]})]})}function b({on:e}){return e?(0,g.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,g.jsx)(d,{className:`size-4 text-success`,"aria-hidden":`true`,focusable:`false`}),` Included`]}):(0,g.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 text-muted-foreground`,children:[(0,g.jsx)(u,{className:`size-4`,"aria-hidden":`true`,focusable:`false`}),` Not included`]})}function x({name:e,price:t,period:n,subPrice:r,desc:i,cta:a,secondaryCta:o,features:s,highlighted:c,icon:l}){return(0,g.jsxs)(`div`,{className:`rounded-3xl p-8 border ${c?`border-primary bg-card shadow-elevated`:`border-border bg-card shadow-card`}`,children:[c&&(0,g.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded-full bg-brand-gradient text-white px-3 py-1 text-xs font-semibold`,children:[(0,g.jsx)(f,{className:`size-3`}),` Recommended`]}),(0,g.jsx)(`h3`,{className:`mt-3 text-xl font-bold`,children:e}),(0,g.jsxs)(`div`,{className:`mt-2`,children:[(0,g.jsx)(`span`,{className:`text-4xl font-bold`,children:t}),(0,g.jsx)(`span`,{className:`text-muted-foreground ml-1`,children:n})]}),r&&(0,g.jsx)(`div`,{className:`text-xs text-muted-foreground mt-1`,children:r}),(0,g.jsx)(`p`,{className:`mt-3 text-sm text-muted-foreground`,children:i}),(0,g.jsxs)(`div`,{className:`mt-6 space-y-2`,children:[(0,g.jsxs)(`a`,{href:a.href,target:a.external?`_blank`:void 0,rel:`noreferrer`,className:`flex items-center justify-center gap-2 rounded-full px-5 py-2.5 text-sm font-semibold ${c?`bg-brand-gradient text-white`:`border border-border hover:bg-muted`}`,children:[l&&(0,g.jsx)(`span`,{className:`shrink-0`,children:l}),` `,a.label]}),o&&(0,g.jsx)(`a`,{href:o.href,className:`block text-center rounded-full border border-border px-5 py-2.5 text-sm font-semibold hover:bg-muted`,children:o.label})]}),(0,g.jsx)(`ul`,{className:`mt-6 space-y-2`,children:s.map(e=>(0,g.jsxs)(`li`,{className:`flex items-start gap-2 text-sm`,children:[(0,g.jsx)(d,{className:`size-4 text-success shrink-0 mt-0.5`,"aria-hidden":`true`,focusable:`false`}),(0,g.jsx)(`span`,{className:`sr-only`,children:`Included:`}),` `,e]},e))})]})}export{y as component};
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.