1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,997625,e=>{"use strict";let l=(0,e.i(475254).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,l],997625)},419617,e=>{"use strict";var l=e.i(843476),n=e.i(271645),t=e.i(111110);let i={en:{title:"Questions",items:[{q:"What is a credit?",a:"1 credit = 1 analysis. Whether you fact-check a text claim, analyze a URL, or detect an AI-generated image, each analysis costs 1 credit."},{q:"Can I change plans at any time?",a:"Yes. You can upgrade, downgrade, or cancel your plan at any time. Changes take effect at the start of the next billing cycle."},{q:"What happens when I run out of credits?",a:"You will be notified when approaching your limit. Premium and Independents plans can purchase extra credit packs. You can also upgrade your plan or wait for the next billing cycle."},{q:"Is there a commitment period?",a:"No. Monthly plans include a 15-day free trial and can be cancelled anytime. Annual plans include 1 month free (billed for 11 months) and a 20% discount."},{q:"How does the student discount work?",a:"Students get 50% off the Premium plan. Contact us with a valid student ID to activate the discount."},{q:"How does the browser extension work?",a:"The Chrome & Firefox extension lets you fact-check any web page in real time. Each analysis uses 1 credit from your quota."},{q:"How do Developer API packs work?",a:"Developer packs are one-time purchases of API call credits. They never expire and can be used at your own pace. Perfect for integrating Checkwise into your app or CMS."},{q:"How does Business pricing work?",a:"Business plans are tailored to your team size and needs. Contact us and we will put together a proposal within 48 hours."}]},fr:{title:"Questions",items:[{q:"Quâest-ce quâun créditâ¯?",a:"1 crédit = 1 analyse. Que vous vérifiez un texte, analysiez une URL ou détectiez une image générée par IA, chaque analyse consomme 1 crédit."},{q:"Puis-je changer de plan à tout momentâ¯?",a:"Oui. Vous pouvez upgrader, rétrograder ou annuler votre plan à tout moment. Les changements prennent effet au début du prochain cycle de facturation."},{q:"Que se passe-t-il quand je nâai plus de créditsâ¯?",a:"Vous serez notifié à lâapproche de votre limite. Les plans Premium et Indépendants permettent dâacheter des packs de crédits supplémentaires. Vous pouvez aussi passer au plan supérieur ou attendre le prochain cycle."},{q:"Y a-t-il une période dâengagementâ¯?",a:"Non. Les plans mensuels incluent 15 jours dâessai gratuit et peuvent être annulés à tout moment. Les plans annuels incluent 1 mois offert (facturés sur 11 mois) et une réduction de 20%."},{q:"Comment fonctionne la réduction étudianteâ¯?",a:"Les étudiants bénéficient de -50% sur le plan Premium. Contactez-nous avec un justificatif étudiant valide pour activer la réduction."},{q:"Comment fonctionne lâextension navigateurâ¯?",a:"Lâextension Chrome & Firefox permet de vérifier nâimporte quelle page web en temps réel. Chaque analyse consomme 1 crédit de votre quota."},{q:"Comment fonctionnent les packs Développeurâ¯?",a:"Les packs Développeur sont des achats uniques de crédits dâappels API. Ils nâexpirent jamais et peuvent être utilisés à votre rythme. Idéal pour intégrer Checkwise dans votre app ou CMS."},{q:"Comment fonctionne la tarification Businessâ¯?",a:"Les plans Business sont adaptés à la taille de votre équipe et à vos besoins. Contactez-nous et nous vous ferons une proposition sous 48 heures."}]},de:{title:"Fragen",items:[{q:"Was ist ein Credit?",a:"1 Credit = 1 Analyse. Ob Sie eine Textaussage prüfen, eine URL analysieren oder ein KI-generiertes Bild erkennen lassen: Jede Analyse kostet 1 Credit."},{q:"Kann ich meinen Plan jederzeit wechseln?",a:"Ja. Sie können Ihren Plan jederzeit upgraden, herunterstufen oder kündigen. Ãnderungen werden zu Beginn des nächsten Abrechnungszyklus wirksam."},{q:"Was passiert, wenn meine Credits aufgebraucht sind?",a:"Sie werden benachrichtigt, wenn Sie sich Ihrem Limit nähern. Mit den Plänen Premium und Unabhängige können Sie zusätzliche Credit-Pakete kaufen. Sie können auch auf einen höheren Plan wechseln oder auf den nächsten Abrechnungszyklus warten."},{q:"Gibt es eine Mindestlaufzeit?",a:"Nein. Monatliche Pläne beinhalten 15 Tage kostenloses Testen und sind jederzeit kündbar. Jahrespläne beinhalten 1 Monat geschenkt (verrechnet werden 11 Monate) und 20% Rabatt."},{q:"Wie funktioniert der Studierendenrabatt?",a:"Studierende erhalten 50% Rabatt auf den Premium-Plan. Kontaktieren Sie uns mit einem gültigen Studierendenausweis, um den Rabatt zu aktivieren."},{q:"Wie funktioniert die Browser-Erweiterung?",a:"Mit der Erweiterung für Chrome & Firefox prüfen Sie jede Webseite in Echtzeit. Jede Analyse verbraucht 1 Credit Ihres Kontingents."},{q:"Wie funktionieren die Developer-API-Pakete?",a:"Developer-Pakete sind Einmalkäufe von API-Aufruf-Credits. Sie verfallen nie und können in Ihrem eigenen Tempo genutzt werden. Ideal, um Checkwise in Ihre App oder Ihr CMS zu integrieren."},{q:"Wie funktioniert die Business-Preisgestaltung?",a:"Business-Pläne werden auf die Grösse und die Bedürfnisse Ihres Teams zugeschnitten. Kontaktieren Sie uns; wir erstellen Ihnen innerhalb von 48 Stunden ein Angebot."}]}};var a=e.i(519455),r=e.i(487486),s=e.i(515288),d=e.i(643531),u=e.i(37727),o=e.i(972520),c=e.i(997625),m=e.i(531278),p=e.i(522016),h=e.i(884637);let g={free:0,premium:1,independant:2,business:3},f={eur:[12,24],chf:[12,24],usd:[15,29]},x={eur:["5â¯â¬","5â¯â¬"],chf:["CHFâ¯5","CHFâ¯5"],usd:["$6","$6"]}
1,b={eur:[9,45,80],chf:[9,45,80],usd:[10,50,90]},y={eur:"â¬",chf:"CHFâ¯",usd:"$"},v={eur:!0,chf:!1,usd:!1};function k(e,l,n){let t=e%1==0?e.toString():e.toFixed(2),i="fr"===l||"de"===l?t.replace(".",","):t;return v[n]?`${i}\u202F${y[n]}`:`${y[n]}${i}`}let S={en:[{name:"Starter",slug:"starter",calls:50,priceIdx:0,features:["50 API calls",{heading:"Endpoints included",items:["Fact-check (text, URL & image)","AI image detection","Site rating"]},"API key & documentation","Email support"],highlighted:!1},{name:"Growth",slug:"growth",calls:500,priceIdx:1,features:["500 API calls",{heading:"Endpoints included",items:["Fact-check (text, URL & image)","AI image detection","Site rating"]},"API key & documentation","Email support"],highlighted:!0},{name:"Scale",slug:"scale",calls:1e3,priceIdx:2,features:["1,000 API calls",{heading:"Endpoints included",items:["Fact-check (text, URL & image)","AI image detection","Site rating"]},"API key & documentation","Email support"],highlighted:!1}],fr:[{name:"Starter",slug:"starter",calls:50,priceIdx:0,features:["50 appels API",{heading:"Endpoints inclus",items:["Fact-check (texte, URL & image)","Détection dâimages IA","Notation de site"]},"Clé API & documentation","Support par email"],highlighted:!1},{name:"Growth",slug:"growth",calls:500,priceIdx:1,features:["500 appels API",{heading:"Endpoints inclus",items:["Fact-check (texte, URL & image)","Détection dâimages IA","Notation de site"]},"Clé API & documentation","Support par email"],highlighted:!0},{name:"Scale",slug:"scale",calls:1e3,priceIdx:2,features:["1â¯000 appels API",{heading:"Endpoints inclus",items:["Fact-check (texte, URL & image)","Détection dâimages IA","Notation de site"]},"Clé API & documentation","Support par email"],highlighted:!1}],de:[{name:"Starter",slug:"starter",calls:50,priceIdx:0,features:["50 API-Aufrufe",{heading:"Enthaltene Endpoints",items:["Faktencheck (Text, URL & Bild)","KI-Bilderkennung","Website-Bewertung"]},"API-Schlüssel & Dokumentation","Support per E-Mail"],highlighted:!1},{name:"Growth",slug:"growth",calls:500,priceIdx:1,features:["500 API-Aufrufe",{heading:"Enthaltene Endpoints",items:["Faktencheck (Text, URL & Bild)","KI-Bilderkennung","Website-Bewertung"]},"API-Schlüssel & Dokumentation","Support per E-Mail"],highlighted:!0},{name:"Scale",slug:"scale",calls:1e3,priceIdx:2,features:["1'000 API-Aufrufe",{heading:"Enthaltene Endpoints",items:["Faktencheck (Text, URL & Bild)","KI-Bilderkennung","Website-Bewertung"]},"API-Schlüssel & Dokumentation","Support per E-Mail"],highlighted:!1}]},I={en:{title:"Pricing",subtitle:"Simple, transparent plans. Start for free, upgrade when you need more."},fr:{title:"Tarifs",subtitle:"Des plans simples et transparents. Commencez gratuitement, évoluez selon vos besoins."},de:{title:"Preise",subtitle:"Einfache, transparente Pläne. Starten Sie kostenlos und wechseln Sie, wenn Sie mehr brauchen."}},C={en:{monthly:"Monthly",yearly:"Yearly",save:"-20%",free:"1 month free",developer:"Developer"},fr:{monthly:"Mensuel",yearly:"Annuel",save:"-20%",free:"1 mois offert",developer:"Développeur"},de:{monthly:"Monatlich",yearly:"Jährlich",save:"-20%",free:"1 Monat geschenkt",developer:"Developer"}};e.s(["default",0,function(){let e,y,{language:v}=(0,t.useLanguage)(),[w,j]=(0,n.useState)("yearly"),[A,P]=(0,n.useState)("eur"),[N,L]=(0,n.useState)(null),[B,E]=(0,n.useState)(null),[z,M]=(0,n.useState)(null);function R(e){if(!B||"canceled"===B.status)return"subscribe";if(B.plan===e)return"current";let l=g[B.plan]||0;return(g[e]||0)>l?"upgrade":"downgrade"}async function U(e){L(`api_${e.slug}`);try{let l=z;if(!l){let e=await fetch("/api/client-auth"),n=e.ok?await e.json():null;if(!n?.user){alert("fr"===v?"Veuillez vous connecter avant dâacheter un pack API. Utilisez le bouton en haut à droite.":"de"===v?"Bitte melden Sie sich an, bevor Sie ein API-Paket kaufen. Nutzen Sie die Schaltfläche oben rechts.":"Please sign in before purchasing an API pack. Use the button in the top right corner."),L(null);return}l={id:n.user.id,email:n.user.email}}await (0,h.checkoutApiPack)({apiPack:e.slug,userId:l.id,email:l.email,currency:A})}catch(e){console.error("API pack checkout error:",e),alert("fr"===v?"Erreur lors du paiement. Veuillez réessayer.":"de"===v?"Fehler bei der Zahlung. Bitte versuchen Sie es erneut.":"Checkout error. Please try again.")}finally{L(null)}}async function D(e){if("free"!==e.slug&&"business"!==e.slug&&"developer"!==w){L(e.slug);try{let l=z;if(!l){let e=await fetch("/api/client-auth"),n=e.ok?await e.json():null;if(!n?.user){alert("fr"===v?"Veuillez vous connecter avant de souscrire. Utilisez le bouton en haut à droite.":"de"===v?"Bitte melden Sie sich an, bevor Sie ein Abo abschliessen. Nutzen Sie die Schaltfläche oben rechts.":"Please sign in before subscribing. Use the button in the top right corner."),L(null);return}l={id:n.user.id,email:n.user.email}}let n=R(e.slug);
1if("upgrade"===n||"downgrade"===n)return void await (0,h.openCustomerPortal)(l.id);await (0,h.checkoutSubscription)({plan:e.slug,interval:w,userId:l.id,email:l.email,currency:A})}catch(e){console.error("Checkout error:",e),alert("fr"===v?"Erreur lors du paiement. Veuillez réessayer.":"de"===v?"Fehler bei der Zahlung. Bitte versuchen Sie es erneut.":"Checkout error. Please try again.")}finally{L(null)}}}(0,n.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/user/profile");if(!e.ok)return;let l=await e.json();l.user&&M({id:l.user.id,email:l.user.email}),l.subscription&&"canceled"!==l.subscription.status&&E({plan:l.subscription.plan,interval:l.subscription.interval,status:l.subscription.status,userId:l.user.id})}catch{}})()},[]);let T=I[v],F=C[v],q=(e=x[A][0],y=x[A][1],"en"===v?[{name:"Free",audience:"Discovery",planIdx:null,slug:"free",isFree:!0,features:[{label:"10 credits / month",included:!0,info:"1 credit = 1 fact-check: a text, a URL, an image, or a claim verified live in a video."},{label:"Text, URL & image analysis",included:!0},{label:"Live video fact-check",included:!0},{label:"AI image detection",included:!0},{label:"Browser extension",included:!0},{label:"Telegram bot",included:!0},{label:"Email support",included:!0},{label:"Extra credits",included:!1},{label:"Social media exports",included:!1},{label:"Priority support",included:!1},{label:"CMS plugin",included:!1},{label:"Custom dashboard & analytics",included:!1},{label:"Dedicated support & SLA",included:!1},{label:"Custom configuration",included:!1}],cta:"Get started",href:"/contact",highlighted:!1},{name:"Premium",audience:"Regular users & students",planIdx:0,slug:"premium",note:"-50% for students",features:[{label:"100 credits / month",included:!0,info:"1 credit = 1 fact-check: a text, a URL, an image, or a claim verified live in a video."},{label:"Text, URL & image analysis",included:!0},{label:"Live video fact-check",included:!0},{label:"AI image detection",included:!0},{label:"Browser extension",included:!0},{label:`Extra credits: ${e} / 50 credits`,included:!0},{label:"Social media exports",included:!0,soon:!0},{label:"Telegram bot",included:!0},{label:"Email support",included:!0},{label:"Priority support",included:!1},{label:"CMS plugin",included:!1},{label:"Custom dashboard & analytics",included:!1},{label:"Dedicated support & SLA",included:!1},{label:"Custom configuration",included:!1}],cta:"Get started",href:"/contact",highlighted:!0},{name:"Independents",audience:"Journalists, creators & professionals",planIdx:1,slug:"independant",features:[{label:"300 credits / month + 100 bonus",included:!0,info:"1 credit = 1 fact-check: a text, a URL, an image, or a claim verified live in a video."},{label:"Text, URL & image analysis",included:!0},{label:"Live video fact-check",included:!0},{label:"AI image detection",included:!0},{label:"Browser extension",included:!0},{label:`Extra credits: ${y} / 100 credits`,included:!0},{label:"Social media exports",included:!0,soon:!0},{label:"Telegram bot",included:!0},{label:"Priority support",included:!0},{label:"CMS plugin",included:!1},{label:"Custom dashboard & analytics",included:!1},{label:"Dedicated support & SLA",included:!1},{label:"Custom configuration",included:!1}],cta:"Get started",href:"/contact",highlighted:!1},{name:"Business",audience:"Teams, newsrooms & organizations",planIdx:null,slug:"business",features:[{label:"Custom credit volume",included:!0},{label:"Text, URL & image analysis",included:!0},{label:"Live video fact-check",included:!0},{label:"AI image detection",included:!0},{label:"Browser extension",included:!0},{label:"Social media exports",included:!0,soon:!0},{label:"Telegram bot",included:!0},{label:"Priority support",included:!0},{label:"CMS plugin",included:!0},{label:"Custom dashboard & analytics",included:!0},{label:"Dedicated support & SLA",included:!0},{label:"Custom configuration",included:!0}],cta:"Contact us",href:"/contact",highlighted:!1}]:"de"===v?[{name:"Kostenlos",audience:"Zum Kennenlernen",planIdx:null,slug:"free",isFree:!0,features:[{label:"10 Credits / Monat",included:!0,info:"1 Credit = 1 Faktencheck: ein Text, eine URL, ein Bild oder eine live im Video geprüfte Aussage."},{label:"Analyse von Text, URL & Bild",included:!0},{label:"Live-Faktencheck für Videos",included:!0},{label:"KI-Bilderkennung",included:!0},{label:"Browser-Erweiterung",included:!0},{label:"Telegram-Bot",included:!0},{label:"Support per E-Mail",included:!0},{label:"Zusätzliche Credits",included:!1},{label:"Exporte für Social Media",included:!1},{label:"Prioritäts-Support",included:!1},{label:"CMS-Plugin",included:!1},{label:"Individuelles Dashboard & Analytics",included:!1},{label:"Dedizierter Support & SLA",included:!1},{label:"Individuelle Konfiguration",included:!1}],cta:"Jetzt starten",href:"/contact",highlighted:!1},{name:"Premium",audience:"Regelmässige Nutzer & Studierende",planIdx:0,slug:"premium",note:"-50% für Studierende",features:[{label:"100 Credits / Monat",included:!0,info:"1 Credit = 1 Faktencheck: ein Text, eine URL, ein Bild oder eine live im Video geprüfte Aussage."},{label:"Analyse von Text, URL & Bild",included:!0},{label:"Live-Faktencheck für Videos",included:!0},{label:"KI-Bilderkennung",included:!0},{label:"Browser-Erweiterung",included:!0},{label:`Zus\xe4tzliche Credits: ${e} / 50 Credits`,included:!0},{label:"Exporte für Social Media",included:!0,soon:!0},{label:"Telegram-Bot",included:!0},{label:"Support per E-Mail",included:!0},{label:"Prioritäts-Support",included:!1},{label:"CMS-Plugin",included:!1},{label:"Individuelles Dashboard & Analytics",included:!1},{label:"Dedizierter Support & SLA",included:!1},{label:"Individuelle Konfiguration",included:!1}],cta:"Jetzt starten",href:"/contact",highlighted:!0},{name:"Unabhängige",audience:"Journalistinnen und Journalisten, Creator & Profis",planIdx:1,slug:"independant",features:[{label:"300 Credits / Monat + 100 geschenkt",included:!0,info:"1 Credit = 1 Faktencheck: ein Text, eine URL, ein Bild oder eine live im Video geprüfte Aussage."},{label:"Analyse von Text, URL & Bild",included:!0},{label:"Live-Faktencheck für Videos",included:!0},{label:"KI-Bilderkennung",included:!0},{label:"Browser-Erweiterung",included:!0},{label:`Zus\xe4tzliche Credits: ${y} / 100 Credits`,included:!0},{label:"Exporte für Social Media",included:!0,soon:!0},{label:"Telegram-Bot",included:!0},{label:"Prioritäts-Support",included:!0},{label:"CMS-Plugin",included:!1},{label:"Individuelles Dashboard & Analytics",included:!1},{label:"Dedizierter Support & SLA",included:!1},{label:"Individuelle Konfiguration",included:!1}],cta:"Jetzt starten",href:"/contact",highlighted:!1}
1,{name:"Business",audience:"Teams, Redaktionen & Organisationen",planIdx:null,slug:"business",features:[{label:"Credit-Volumen nach Mass",included:!0},{label:"Analyse von Text, URL & Bild",included:!0},{label:"Live-Faktencheck für Videos",included:!0},{label:"KI-Bilderkennung",included:!0},{label:"Browser-Erweiterung",included:!0},{label:"Exporte für Social Media",included:!0,soon:!0},{label:"Telegram-Bot",included:!0},{label:"Prioritäts-Support",included:!0},{label:"CMS-Plugin",included:!0},{label:"Individuelles Dashboard & Analytics",included:!0},{label:"Dedizierter Support & SLA",included:!0},{label:"Individuelle Konfiguration",included:!0}],cta:"Kontaktieren Sie uns",href:"/contact",highlighted:!1}]:[{name:"Gratuit",audience:"Découverte",planIdx:null,slug:"free",isFree:!0,features:[{label:"10 crédits / mois",included:!0,info:"1 crédit = 1 fact-check : un texte, une URL, une image, ou une affirmation vérifiée en direct dans une vidéo."},{label:"Analyse texte, URL & image",included:!0},{label:"Fact-check vidéo en direct",included:!0},{label:"Détection image IA",included:!0},{label:"Extension navigateur",included:!0},{label:"Bot Telegram",included:!0},{label:"Support par email",included:!0},{label:"Crédits supplémentaires",included:!1},{label:"Exports réseaux sociaux",included:!1},{label:"Support prioritaire",included:!1},{label:"Plugin CMS",included:!1},{label:"Dashboard personnalisé & analytics",included:!1},{label:"Support dédié & SLA",included:!1},{label:"Configuration sur mesure",included:!1}],cta:"Commencer",href:"/contact",highlighted:!1},{name:"Premium",audience:"Utilisateurs réguliers & étudiants",planIdx:0,slug:"premium",note:"-50% pour les étudiants",features:[{label:"100 crédits / mois",included:!0,info:"1 crédit = 1 fact-check : un texte, une URL, une image, ou une affirmation vérifiée en direct dans une vidéo."},{label:"Analyse texte, URL & image",included:!0},{label:"Fact-check vidéo en direct",included:!0},{label:"Détection image IA",included:!0},{label:"Extension navigateur",included:!0},{label:`Cr\u00E9dits suppl\u00E9mentaires\u202F: ${e} / 50 cr\u00E9dits`,included:!0},{label:"Exports réseaux sociaux",included:!0,soon:!0},{label:"Bot Telegram",included:!0},{label:"Support par email",included:!0},{label:"Support prioritaire",included:!1},{label:"Plugin CMS",included:!1},{label:"Dashboard personnalisé & analytics",included:!1},{label:"Support dédié & SLA",included:!1},{label:"Configuration sur mesure",included:!1}],cta:"Commencer",href:"/contact",highlighted:!0},{name:"Indépendants",audience:"Journalistes, créateurs & professionnels",planIdx:1,slug:"independant",features:[{label:"300 crédits / mois + 100 offerts",included:!0,info:"1 crédit = 1 fact-check : un texte, une URL, une image, ou une affirmation vérifiée en direct dans une vidéo."},{label:"Analyse texte, URL & image",included:!0},{label:"Fact-check vidéo en direct",included:!0},{label:"Détection image IA",included:!0},{label:"Extension navigateur",included:!0},{label:`Cr\u00E9dits suppl\u00E9mentaires\u202F: ${y} / 100 cr\u00E9dits`,included:!0},{label:"Exports réseaux sociaux",included:!0,soon:!0},{label:"Bot Telegram",included:!0},{label:"Support prioritaire",included:!0},{label:"Plugin CMS",included:!1},{label:"Dashboard personnalisé & analytics",included:!1},{label:"Support dédié & SLA",included:!1},{label:"Configuration sur mesure",included:!1}],cta:"Commencer",href:"/contact",highlighted:!1},{name:"Business",audience:"Ãquipes, rédactions & organisations",planIdx:null,slug:"business",features:[{label:"Volume de crédits sur mesure",included:!0},{label:"Analyse texte, URL & image",included:!0},{label:"Fact-check vidéo en direct",included:!0},{label:"Détection image IA",included:!0},{label:"Extension navigateur",included:!0},{label:"Exports réseaux sociaux",included:!0,soon:!0},{label:"Bot Telegram",included:!0},{label:"Support prioritaire",included:!0},{label:"Plugin CMS",included:!0},{label:"Dashboard personnalisé & analytics",included:!0},{label:"Support dédié & SLA",included:!0},{label:"Configuration sur mesure",included:!0}],cta:"Nous contacter",href:"/contact",highlighted:!1}]),$=i[v],K="fr"===v?"Sur devis":"de"===v?"Auf Anfrage":"Custom",V="fr"===v?"bientôt":"de"===v?"bald":"soon",J="yearly"===w,W="developer"===w,G="fr"===v?"15 jours dâessai gratuit":"de"===v?"15 Tage kostenlos testen":"15-day free trial",H="fr"===v?"facturé":"de"===v?"verrechnet":"billed",Z="fr"===v?"/an":"de"===v?"/Jahr":"/yr",O="fr"===v?"/mois":"de"===v?"/Monat":"/mo",Y="fr"===v?"1 mois offert":"de"===v?"1 Monat geschenkt":"1 month free",Q="fr"===v?"paiement unique":"de"===v?"einmalige Zahlung":"one-time";return(0,l.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,l.jsx)("section",{children:(0,l.jsxs)("div",{className:"max-w-6xl mx-auto px-4 md:px-6 pt-20 md:pt-32 pb-8 md:pb-10 text-center",children:[(0,l.jsx)("h1",{className:"text-3xl md:text-5xl font-bold text-foreground tracking-tight",children:T.title}),(0,l.jsx)("p",{className:"mt-5 text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto leading-relaxed",children:T.subtitle})]})}),(0,l.jsx)("section",{children:(0,l.jsxs)("div",{className:"flex flex-col items-center gap-4 pb-10 md:pb-14",children:[(0,l.jsxs)("div",{className:"inline-flex items-center rounded-full border border-border/50 bg-card/60 p-1",children:[(0,l.jsx)("button",{onClick:()=>j("monthly"),className:`rounded-full px-4 py-2 text-sm font-medium transition-colors ${"monthly"===w?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:F.monthly}),(0,l.jsxs)("button",{onClick:()=>j("yearly"),className:`rounded-full px-4 py-2 text-sm font-medium transition-colors flex items-center gap-1.5 ${J?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:[F.yearly,(0,l.jsx)("span",{className:`text-[10px] font-semibold rounded-full px-1.5 py-0.5 ${J?"bg-primary-foreground
1/20 text-primary-foreground":"bg-primary/10 text-primary"}`,children:F.save}),(0,l.jsx)("span",{className:`text-[10px] font-semibold rounded-full px-1.5 py-0.5 ${J?"bg-primary-foreground/20 text-primary-foreground":"bg-primary/10 text-primary"}`,children:F.free})]}),(0,l.jsxs)("button",{onClick:()=>j("developer"),className:`rounded-full px-4 py-2 text-sm font-medium transition-colors flex items-center gap-1.5 ${W?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:[(0,l.jsx)(c.Code2,{className:"h-3.5 w-3.5"}),F.developer]})]}),(0,l.jsx)("div",{className:"inline-flex items-center rounded-full border border-border/50 bg-card/60 p-1",children:["eur","chf","usd"].map(e=>(0,l.jsx)("button",{onClick:()=>P(e),className:`rounded-full px-3.5 py-1.5 text-xs font-semibold uppercase tracking-wide transition-colors ${A===e?"bg-foreground text-background":"text-muted-foreground hover:text-foreground"}`,children:e},e))})]})}),!W&&(0,l.jsx)("section",{children:(0,l.jsx)("div",{className:"max-w-6xl mx-auto px-4 md:px-6 pb-16 md:pb-24",children:(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-
15",children:q.map((e,n)=>{let t=[...e.features.filter(e=>e.included||e.neutral),...e.features.filter(e=>!e.included&&!e.neutral)],i=null,c=null,h=null;if(e.isFree)i=k(0,v,A);else if(null!==e.planIdx){var g;let l,n,t=(g=e.planIdx,n=Math.round(Math.round(.8*(l=f[A][g])*100)/100*1100)/100,{monthly:l,yearlyDisplayed:Math.round(n/12*100)/100,yearlyTotal:n});J?(i=k(t.yearlyDisplayed,v,A),c=`${H} ${k(t.yearlyTotal,v,A)}${Z} (${Y})`):(i=k(t.monthly,v,A),h=G)}return(0,l.jsxs)(s.Card,{className:`relative flex flex-col ${e.highlighted?"border-primary shadow-lg ring-1 ring-primary/20":"border-border/50"}`,children:[B&&B.plan===e.slug&&"canceled"!==B.status?(0,l.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:(0,l.jsx)(r.Badge,{className:"bg-green-600 hover:bg-green-600 text-white text-xs font-semibold px-3 py-1 rounded-full",children:"fr"===v?"Plan actuel":"de"===v?"Aktueller Plan":"Current plan"})}):e.highlighted&&(0,l.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:(0,l.jsx)("span",{className:"bg-primary text-primary-foreground text-xs font-semibold px-3 py-1 rounded-full",children:"fr"===v?"Populaire":"de"===v?"Beliebt":"Popular"})}),(0,l.jsxs)(s.CardContent,{className:"p-6 flex flex-col h-full",children:[(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsx)("h2",{className:"font-semibold text-foreground text-lg",children:e.name}),(0,l.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:e.audience})]}),(0,l.jsx)("div",{className:"mb-6 min-h-[72px]",children:null!==i?(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,l.jsx)("span",{className:"text-4xl font-bold text-foreground",children:i}),(0,l.jsx)("span",{className:"text-muted-foreground text-sm",children:O})]}),c&&(0,l.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:c}),h&&(0,l.jsx)("p",{className:"text-xs font-medium text-primary mt-1",children:h}),e.note&&(0,l.jsx)("p",{className:"text-xs font-medium text-primary mt-1.5",children:e.note})]}):(0,l.jsx)("div",{className:"flex items-baseline",children:(0,l.jsx)("span",{className:"text-2xl font-bold text-foreground",children:K})})}),(0,l.jsx)("ul",{className:"space-y-3 mb-8 flex-1",children:t.map((e,n)=>(0,l.jsxs)("li",{className:"flex items-start gap-3",children:[e.neutral?(0,l.jsx)("span",{className:"h-4 w-4 flex items-center justify-center flex-shrink-0 mt-0.5 text-muted-foreground",children:"â"}):e.included?(0,l.jsx)(d.Check,{className:"h-4 w-4 text-primary flex-shrink-0 mt-0.5"}):(0,l.jsx)(u.X,{className:"h-4 w-4 text-muted-foreground/40 flex-shrink-0 mt-0.5"}),(0,l.jsxs)("span",{className:`text-sm leading-relaxed ${e.neutral?"text-foreground italic":e.included?"text-foreground":"text-muted-foreground/50"}`,children:[e.label,e.info&&(0,l.jsx)("span",{className:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full border border-muted-foreground/40 text-[9px] text-muted-foreground align-middle cursor-help",title:e.info,"aria-label":e.info,children:"i"}),e.soon&&(0,l.jsx)("span",{className:"ml-1.5 inline-flex items-center rounded-full bg-amber-500/10 px-1.5 py-0.5 text-[10px] font-medium text-amber-600 dark:text-amber-400 leading-none align-middle",children:V})]})]},n))}),(()=>{if("free"===e.slug||"business"===e.slug)return"free"===e.slug&&null===B&&z?(0,l.jsx)(a.Button,{variant:"outline",className:"w-full",disabled:!0,children:"fr"===v?"Plan actuel":"de"===v?"Aktueller Plan":"Current plan"}):(0,l.jsx)(a.Button,{variant:e.highlighted?"default":"outline",className:"w-full",asChild:!0,children:(0,l.jsxs)(p.default,{href:e.href,children:[e.cta,(0,l.jsx)(o.ArrowRight,{className:"ml-2 h-4 w-4"})]})});let n=R(e.slug);if("current"===n)return(0,l.jsx)(a.Button,{variant:"outline",className:"w-full",disabled:!0,children:"fr"===v?"Plan actuel":"de"===v?"Aktueller Plan":"Current plan"});let t="upgrade"===n?"fr"===v?"Passer au supérieur":"de"===v?"Upgraden":"Upgrade":"downgrade"===n?"fr"===v?"Rétrograder":"de"===v?"Herunterstufen":"Downgrade":e.cta;return(0,l.jsx)(a.Button,{variant:e.highlighted?"default":"outline",className:"w-full",onClick:()=>D(e),disabled:N===e.slug,children:N===e.slug?(0,l.jsx)(m.Loader2,{className:"h-4 w-4 animate-spin"}):(0,l.jsxs)(l.Fragment,{children:[t,(0,l.jsx)(o.ArrowRight,{className:"ml-2 h-4 w-4"})]})})})()]})]},n)})})})}),W&&(0,l.jsx)("section",{children:(0,l.jsxs)("div",{className:"max-w-4xl mx-auto px-4 md:px-6 pb-16 md:pb-24",children:[(0,l.jsx)("p",{className:"text-center text-muted-foreground mb-10",children:"fr"===v?"Packs dâappels API en achat unique. Intégrez Checkwise dans votre application ou CMS.":"de"===v?"API-Aufruf-Pakete als Einmalkauf. Integrieren Sie Checkwise in Ihre App oder Ihr CMS.":"One-time API call packs. Integrate Checkwise into your app or CMS."}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:S[v].map((e,n)=>{let t=b[A][e.priceIdx];return(0,l.jsxs)(s.Card,{className:`relative flex flex-col ${e.highlighted?"border-primary shadow-lg ring-1 ring-primary/20":"border-border/50"}`,children:[e.highlighted&&(0,l.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:(0,l.jsx)("span",{className:"bg-primary text-primary-foreground text-xs font-semibold px-3 py-1 rounded-full",children:"fr"===v?"Populaire":"de"===v?"Beliebt":"Popular"})}),(0,l.jsxs)(s.CardContent,{className:"p-6 flex flex-col h-full",children:[(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsx)("h2",{className:"font-semibold text-foreground text-lg",children:e.name}),(0,l.jsxs)("p",{className:"text-sm text-muted-foreground mt-1",children:[e.calls.toLocaleStr
1ing()," ","fr"===v?"appels API":"de"===v?"API-Aufrufe":"API calls"]})]}),(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsx)("div",{className:"flex items-baseline gap-1",children:(0,l.jsx)("span",{className:"text-4xl font-bold text-foreground",children:k(t,v,A)})}),(0,l.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:Q})]}),(0,l.jsx)("ul",{className:"space-y-3 mb-8 flex-1",children:e.features.map((e,n)=>"string"==typeof e?(0,l.jsxs)("li",{className:"flex items-start gap-3",children:[(0,l.jsx)(d.Check,{className:"h-4 w-4 text-primary flex-shrink-0 mt-0.5"}),(0,l.jsx)("span",{className:"text-sm leading-relaxed text-foreground",children:e})]},n):(0,l.jsxs)("li",{className:"flex items-start gap-3",children:[(0,l.jsx)(d.Check,{className:"h-4 w-4 text-primary flex-shrink-0 mt-0.5"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"text-sm leading-relaxed text-foreground",children:e.heading}),(0,l.jsx)("ul",{className:"mt-1.5 space-y-1 ml-1",children:e.items.map((e,n)=>(0,l.jsxs)("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,l.jsx)("span",{className:"h-1 w-1 rounded-full bg-muted-foreground/60 flex-shrink-0"}),e]},n))})]})]},n))}),(0,l.jsx)(a.Button,{variant:e.highlighted?"default":"outline",className:"w-full",onClick:()=>U(e),disabled:N===`api_${e.slug}`,children:N===`api_${e.slug}`?(0,l.jsx)(m.Loader2,{className:"h-4 w-4 animate-spin"}):(0,l.jsxs)(l.Fragment,{children:["fr"===v?"Acheter":"de"===v?"Jetzt kaufen":"Buy now",(0,l.jsx)(o.ArrowRight,{className:"ml-2 h-4 w-4"})]})})]})]},n)})})]})}),(0,l.jsx)("section",{className:"border-t border-border/40",children:(0,l.jsxs)("div",{className:"max-w-3xl mx-auto px-4 md:px-6 py-16 md:py-24",children:[(0,l.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-foreground tracking-tight text-center mb-10",children:$.title}),(0,l.jsx)("div",{className:"space-y-6",children:$.items.map((e,n)=>(0,l.jsxs)("div",{className:"border-b border-border/40 pb-6 last:border-0",children:[(0,l.jsx)("h3",{className:"font-semibold text-foreground mb-2",children:e.q}),(0,l.jsx)("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.a})]},n))})]})})]})}],419617)}]);
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.