1import{v as e,r,p as a,w as t}from"./i18nInstance-DyCHz49K.js";import{m as i,j as s,k as n,l as c,P as l,f as o,a as p,H as d,g as m}from"./LazyFooter-BrNVrdDB.js";import"./CallToAction-BCMrnLBO.js";import{X as u,J as g}from"./index-DNKrHZiJ.js";import{u as f}from"./useAnalytics-DCmLhV9d.js";import{u as x}from"./LanguageLink-C7QC8wP4.js";import"./NewsletterSubscriptionForm-6wbUbvq1.js";import"./ContentHub-DJtsGSkm.js";import"./FAQSection-FtDc6E8b.js";import{p as h,a as y}from"./pricingTiers-DBBH5LgJ.js";import{i as j}from"./i18n-BIakZdA_.js";import{P as b}from"./PageSEO-Ck7UZwcs.js";import"./index-D0ZXOnUw.js";import"./preload-helper-BhLMWRjL.js";import"./mail-Dx92w2jX.js";import"./index.esm-C9MY2QKY.js";const v=({tiers:t,className:d="",annualDiscount:m})=>{const{t:h}=x(),{trackPricingPlan:y,trackConversion:j}=f(),b=e(),v=e=>{const r=e.toLowerCase();return{starter:"starter",professional:"professional",enterprise:"enterprise",iniciador:"starter",principiante:"starter",profesional:"professional",empresa:"enterprise",empresarial:"enterprise","zaÄáteÄnÃk":"starter","profesionálnÃ":"professional","podnikový":"enterprise",einsteiger:"starter","anfänger":"starter",professionell:"professional",unternehmen:"enterprise","baÅlangıç":"starter",profesyonel:"professional",kurumsal:"enterprise","poczÄ
tkowy":"starter",profesjonalny:"professional",korporacyjny:"enterprise","débutant":"starter",professionnel:"professional",entreprise:"enterprise","poÄetnik":"starter",profesionalac:"professional","preduzeÄe":"enterprise","поÑаÑковий":"starter","пÑоÑеÑÑйний":"professional","коÑпоÑаÑивний":"enterprise"}[r]||r};r.useEffect(()=>{t.forEach((e,r)=>{const a=v(e.name);y(a,"view_item",{item_category:"pricing_plan",item_list_name:"pricing_page",index:r,price:e.price,popular:e.popular,features_count:e.features.length})})},[t,y]);const _=e=>{const r=v(e.name);y(r,"select_item",{item_category:"pricing_plan",item_name:e.name,price:e.price,popular:e.popular,cta_text:e.ctaText});const a=e.ctaText.toLowerCase().includes("contact")||e.ctaText.toLowerCase().includes("sales");j(a?"contact_sales":"begin_checkout",{event_category:"Pricing",event_label:e.name,value:N(e.name),custom_parameters:{plan_type:r,is_popular:e.popular,action_type:a?"contact_sales":"get_started"}}),g("pricing_cta_click",{tier:e.name,popular:!!e.popular,cta:e.ctaText}),b(a?"/contact":`/pricing/register?plan=${r}`)};return a.jsxs("div",{className:`w-full ${d}`,children:[m&&a.jsx(i.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-8",children:a.jsx(Badge,{variant:"success",size:"lg",children:m})}),a.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:t.map((e,r)=>a.jsxs(i.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{delay:.1*r},className:`\n relative rounded-lg border bg-card text-card-foreground shadow-sm h-full p-6\n ${e.popular?"border-primary/50 shadow-glow scale-105":""}\n `,children:[e.popular&&a.jsx("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2",children:a.jsxs("div",{className:"bg-gradient-primary text-primary-foreground px-4 py-2 rounded-full text-sm font-medium flex items-center gap-1",children:[a.jsx(s,{className:"h-4 w-4"}),h("pricing.mostPopular",{defaultValue:"Most Popular"})]})}),a.jsxs("div",{className:"text-center mb-8",children:[a.jsx(n,{level:"h3",align:"center",className:"mb-2",children:e.name}),a.jsxs("div",{className:"mb-4",children:[a.jsx("span",{className:"text-4xl font-bold",children:e.price}),a.jsx(c,{as:"span",color:"muted",className:"ml-2",children:e.period})]}),a.jsx(c,{color:"muted",align:"center",children:e.description})]}),a.jsx("div",{className:"mb-8",children:e.popular&&"secondary"!==e.ctaVariant?a.jsx(l,{className:"w-full bg-gradient-primary hover:bg-gradient-primary/80 text-primary-foreground shadow-glow",onClick:()=>_(e),children:e.ctaText}):a.jsx(o,{className:"w-full",onClick:()=>_(e),children:e.ctaText})}),a.jsx("ul",{className:"space-y-3 mb-8",children:e.features.map((e,r)=>a.jsxs("li",{className:"flex items-start gap-3",children:[e.included?a.jsx(p,{className:"h-5 w-5 text-primary mt-0.5 flex-shrink-0"}):a.jsx(u,{className:"h-5 w-5 text-muted-foreground mt-0.5 flex-shrink-0"}),a.jsx(c,{as:"span",size:"sm",className:""+(e.included?"":"text-muted-foreground"),children:e.name})]},r))})]},e.name))})]})};function N(e){const r=e.toLowerCase();return r.includes("enterprise")?5e3:r.includes("professional")||r.includes("pro")?2e3:r.includes("starter")||r.includes("basic")?600:500}function _(e,r,a={}){const t=r;return new Intl.NumberFormat(j.language||"en",{style:"currency",currency:t,maximumFractionDigits:0,...a}).format(e)}const k=t(()=>{const{t:e}=x(),{trackEvent:t}=f(),s={"@context":"https://schema.org","@type":"Product",name:"BenchBot",description:e("hero.subtitle",{defaultValue:"EU platform for testing and red-teaming conversational AI: prompt injection, jailbreak, PII and GDPR (Art. 15-20) checks across 60+ connectors."}).replace(/<[^>]*>/g,""),brand:{"@type":"Brand",name:"BenchBot"},offers:{"@type":"AggregateOffer",priceCurrency:"USD",availability:"https://schema.org/InStock",url:"https://benchbot.ai/pricing"}},[l,j]=r.useState("monthly"),[N,k]=r.useState(!1),w=e("pricing.tiers",{returnObjects:!0}),S=e("pricing",{returnObjects:!0}),C=S?.currency||"USD",V=Number(S?.rateFromUSD??1)||1,A=(Array.isArray(w)&&w.length>0?w:h).map(r=>({name:r.name,price:r.price,period:r.period,description:r.description,popular:!!r.popular,features:(Array.isArray(r.features)?r.features:[]).map(e=>({name:"string"==typeof e?e:e?.name,included:!0})),ctaText:r.ctaText||("Enterprise"===r.name?e("pricing.contact"):e("pricing.getStarted")),ctaVariant:r.ctaVariant})),P=r=>
1{const a={"Up to 1,000 test conversations/month":"pricing.features.conversations1000","Basic security testing":"pricing.features.basicSecurity","Email support":"pricing.features.emailSupport","Standard integrations":"pricing.features.standardIntegrations","Basic reporting":"pricing.features.basicReporting","Up to 10,000 test conversations/month":"pricing.features.conversations10000","Advanced security & bias testing":"pricing.features.advancedSecurity","Fact-checking capabilities":"pricing.features.factChecking","GDPR compliance testing":"pricing.features.gdprCompliance","Priority support":"pricing.features.prioritySupport","Advanced integrations":"pricing.features.advancedIntegrations","Custom policies":"pricing.features.customPolicies","Detailed analytics":"pricing.features.detailedAnalytics","Unlimited test conversations":"pricing.features.unlimitedConversations","Full security & compliance suite":"pricing.features.fullSecurity","On-premise deployment":"pricing.features.onPremiseDeployment","Dedicated success manager":"pricing.features.dedicatedManager","Custom integrations":"pricing.features.customIntegrations","Advanced audit trails":"pricing.features.auditTrails","SLA guarantees":"pricing.features.slaGuarantees","24/7 phone support":"pricing.features.phoneSupport"}[r];return a?e(a,{defaultValue:r}):r},T=r.useMemo(()=>{const r={monthly:{months:1,discount:0,periodKey:"perMonth"},quarterly:{months:3,discount:.05,periodKey:"perQuarter"},half_yearly:{months:6,discount:.1,periodKey:"perHalfYear"},annual:{months:12,discount:.2,periodKey:"perYear"}},a=r[l]||r.monthly;return A.map(r=>{const t=String(r.price||"").replace(/[^0-9.]/g,"");if(!t)return{...r,price:e("pricing.custom",{defaultValue:"Custom"}),period:""};const i=Number(t),s=Math.round(i*a.months*(1-a.discount)),n=Math.round(s*V),c=e(`pricing.${a.periodKey}`,{defaultValue:`/${l}`});return{...r,price:_(n,C),period:c}})},[A,l,C,V,e]);return a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx(b,{page:"pricing",jsonLd:s}),a.jsx(d,{}),a.jsxs("main",{className:"pt-24",children:[a.jsx("section",{className:"py-20 px-4",children:a.jsxs("div",{className:"container mx-auto text-center",children:[a.jsx(i.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-5xl font-bold mb-6 bg-gradient-hero bg-clip-text text-transparent",children:e("pricing.title")}),a.jsx(i.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"text-xl text-muted-foreground max-w-2xl mx-auto mb-12",children:e("pricing.subtitle")})]})}),a.jsx("section",{className:"py-20 px-4",children:a.jsxs("div",{className:"container mx-auto max-w-6xl",children:[a.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2 mb-12",children:[{key:"monthly",label:e("pricing.monthly",{defaultValue:"Monthly"}),badge:null},{key:"quarterly",label:e("pricing.quarterly",{defaultValue:"Quarterly"}),badge:e("pricing.discountQuarterly",{defaultValue:"Save 5%"})},{key:"half_yearly",label:e("pricing.halfYearly",{defaultValue:"Half-yearly"}),badge:e("pricing.discountHalfYearly",{defaultValue:"Save 10%"})},{key:"annual",label:e("pricing.annual",{defaultValue:"Annual"}),badge:e("pricing.discountAnnual",{defaultValue:"Save 20%"})}].map(({key:e,label:r,badge:i})=>a.jsxs("button",{type:"button",className:"relative px-4 py-2 rounded-md text-sm font-medium border transition-colors "+(l===e?"bg-primary text-primary-foreground border-primary":"border-primary/30 hover:bg-primary/5"),"aria-pressed":l===e,onClick:()=>{j(e),g("pricing_billing_toggle",{to:e}),t("pricing_cycle_change",{event_category:"Pricing",event_label:e,billing_cycle:e})},children:[r,i&&a.jsx("span",{className:"absolute -top-2.5 -right-2 px-1.5 py-0.5 rounded-full text-[0.6rem] font-bold bg-emerald-500 text-white leading-none",children:i})]},e))}),a.jsx(v,{tiers:T}),a.jsx("div",{className:"mt-16 text-center",children:a.jsx(o,{"aria-expanded":N,"aria-controls":"pricing-compare",onClick:()=>{k(e=>{const r=!e;return g("pricing_compare_toggle",{shown:r}),t("pricing_feature_comparison",{event_category:"Pricing",event_label:r?"show":"hide",comparison_visible:r}),r})},children:N?e("pricing.hideComparison",{defaultValue:"Hide comparison"}):e("pricing.compareAllFeatures",{defaultValue:"Compare all features"})})}),N&&a.jsxs("div",{id:"pricing-compare",className:"mt-10",children:[a.jsxs("div",{className:"text-center mb-6",children:[a.jsx(n,{level:"h3",align:"center",className:"mb-2",children:e("pricing.compareTitle",{defaultValue:"Compare all features"})}),a.jsx(c,{align:"center",color:"muted",children:e("pricing.compareSubtitle",{defaultValue:"See whatâs included in each plan."})})]}),a.jsx("div",{className:"overflow-x-auto rounded-lg border",children:a.jsxs("table",{className:"w-full border-collapse",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"bg-muted/30",children:[a.jsx("th",{className:"text-left p-4 text-sm font-medium text-muted-foreground",children:e("pricing.feature",{defaultValue:"Feature"})}),T.map(e=>a.jsxs("th",{className:"p-4 text-center",children:[a.jsx("div",{className:"text-sm font-semibold",children:e.name}),a.jsxs("div",{className:"text-xs text-muted-foreground",children:[e.price,e.period&&a.jsx("span",{className:"ml-1",children:e.period})]})]},e.name))]})}),a.jsx("tbody",{children:y.map(e=>a.jsxs("tr",{className:"border-t",children:[a.jsx("td",{className:"p-4 align-top",children:a.jsx(c,{as:"span",size:"sm",children:P(e)}
1)}),T.map(r=>{const t=r.features.some(r=>r.name===e&&r.included);return a.jsx("td",{className:"p-4 text-center",children:t?a.jsx(p,{className:"h-5 w-5 text-primary inline-block"}):a.jsx(u,{className:"h-5 w-5 text-muted-foreground inline-block"})},r.name+e)})]},e))})]})})]})]})})]}),a.jsx(m,{})]})});export{k 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.