1import{h as B,r as p,u as H,j as e,L as w}from"./react-vendor-BEX6r5bf.js";import{f as Z,ah as $,k as z,L as h,C as D,o as E,B as g,ai as U,A as _}from"./index-DWuUMWk9.js";import{C as q}from"./CertificateInactiveNotice-B-rmOOY5.js";import{c as M}from"./reportAccess-DoYgvHWl.js";import{motion as r}from"./motion-vendor-CHIbHbxy.js";import{D as v,b7 as S,R as K,T as F,aP as y,ao as X,y as C,aV as J,k as Q,ab as Y,w as ee,b8 as te,x as I,ac as ie,aA as ae,Y as se,b9 as re,h as ne,z as le,S as ce,b as oe}from"./icons-vendor-B0OOdU9s.js";import"./radix-shell-DDhhKSEe.js";import"./query-vendor-BcG4_fOw.js";import"./radix-routes-DYheszBZ.js";import"./react-icons-vendor-DHFH10UT.js";const de={en:{certificateOfSecurityAudit:"Certificate of Security Audit",certificateSubtitle:"This certifies that the digital assets described herein passed AiVedha Guard's point-in-time certificate eligibility checks for public web security posture.",certifiedEntityLabel:"Certified Entity",organisationOwnerLabel:"Organisation / Owner",assetDomainLabel:"Primary Asset / Domain Audited",scoreDescription:"This score reflects the effectiveness of implemented security controls, vulnerability exposure, and remediation posture for the assessed assets at the time of audit.",assessmentWindowLabel:"Assessment Date",assessmentScopeNote:"This assessment reflects the security posture observed for the public URLs in scope at the time of testing. Subsequent changes may alter these results.",methodologyNote:"Assessment methodology references selected OWASP ASVS, OWASP Top 10, CWE/SANS Top 25, and secure configuration checks that are observable from the public asset.",verificationScan:"Scan to Verify",verificationOnline:"Verify this certificate online at",disclaimer:"This certificate represents a point-in-time assessment. It does not constitute a guarantee of continuous security and remains subject to ongoing maintenance by the certified entity.",issuerFooterLine1:"AIVEDHA INC â AiVedha Guard Security Audit Program",issuerFooterLine2:"Point-in-time security assessment provider ⢠Public certificate verification available online",certificateNotFoundTitle:"Certificate Not Found",certificateNotFoundBody:"The certificate number you entered could not be found in our certificate records.",certificateNotFoundHelp:"Please verify the certificate number and try again. Contact [email protected] for assistance.",printButton:"Print Certificate",validUntil:"Valid Until",statusLabel:"Certificate Status",statusValid:"Valid",ownerReportHint:"Certificate owner? Download the full report from your dashboard",issuedOn:"Issued On",certificateId:"Certificate ID",auditSummary:"Audit Summary",verifyAuthenticity:"Verify Authenticity"},es:{certificateOfSecurityAudit:"Certificado de AuditorÃa de Seguridad",certificateSubtitle:"Este documento certifica que los activos digitales descritos superaron, en un momento determinado, los criterios de elegibilidad de certificado de AiVedha Guard para la postura de seguridad web pública.",certifiedEntityLabel:"Entidad Certificada",organisationOwnerLabel:"Organización / Titular",assetDomainLabel:"Activo Principal / Dominio Auditado",scoreDescription:"Esta puntuación refleja la eficacia de los controles de seguridad implementados y la postura de remediación en el momento de la auditorÃa.",assessmentWindowLabel:"Fecha de Evaluación",assessmentScopeNote:"Esta evaluación refleja la postura de seguridad observada en el momento de la prueba. Cambios posteriores pueden alterar estos resultados.",methodologyNote:"La metodologÃa hace referencia a controles seleccionados de OWASP ASVS, OWASP Top 10 y CWE/SANS Top 25, y a comprobaciones de configuración segura observables desde el activo público.",verificationScan:"Escanear para Verificar",verificationOnline:"Verifique este certificado en lÃnea en",disclaimer:"Este certificado representa una evaluación puntual. No constituye garantÃa de seguridad continua.",issuerFooterLine1:"AIVEDHA INC â Programa AiVedha Guard",issuerFooterLine2:"Proveedor de evaluaciones de seguridad puntuales ⢠Verificación pública del certificado disponible en lÃnea",certificateNotFoundTitle:"Certificado No Encontrado",certificateNotFoundBody:"El número de certificado no se encontró en nuestro registro.",certificateNotFoundHelp:"Verifique el número e intente nuevamente. Contacte [email protected] para asistencia.",printButton:"Imprimir Certificado",validUntil:"Válido Hasta",statusLabel:"Estado del Certificado",statusValid:"Válido",ownerReportHint:"¿Es el titular del certificado? Descargue el informe completo desde su panel",issuedOn:"Emitido El",certificateId:"ID de Certificado",auditSummary:"Resumen de AuditorÃa",verifyAuthenticity:"Verificar Autenticidad"},fr:{certificateOfSecurityAudit:"Certificat d'Audit de Sécurité",certificateSubtitle:"Ce document certifie que les actifs numériques décrits ont satisfait, à un instant donné, aux critères d'éligibilité au certificat d'AiVedha Guard pour la posture de sécurité web publique.",certifiedEntityLabel:"Entité Certifiée",organisationOwnerLabel:"Organisation / Propriétaire",assetDomainLabel:"Actif Principal / Domaine Audité",scoreDescription:"Ce score reflète l'efficacité des contrôles de sécurité et la posture de remédiation au moment de l'audit.",assessmentWindowLabel:"Date d'Ãvaluation",assessmentScopeNote:"Cette évaluation reflète la posture de sécurité observée au moment des tests. Des modifications ultérieures peuvent altérer ces résultats.",methodologyNote:"La méthodologie se réfère à des contrôles choisis de l'OWASP ASVS, de l'OWASP Top 10 et du CWE/SANS Top 25, ainsi qu'à des vérifications de configuration observables depuis l'actif public.",verificationScan:"Scanner pour Vérifier",verificationOnline:"Vérifiez ce certificat en ligne sur",disclaimer:"Ce certificat représente une évaluation ponctuelle. Il ne constitue pas une garantie de sécurité continue.",issuerFooterLine1:"AIVEDHA INC â Programme AiVedha Guard",issuerFooterLine2:"Prestataire d'évaluations de sécurité ponctuelles ⢠Vérification publique du certificat disponible en ligne",certificateNotFoundTitle:"Certificat Introuvable",certificateNotFoundBody:"Le numéro de certificat n'a pas été trouvé dans notre registre.",certificateNotFoundHelp:"Veuillez vérifier le numéro et réessayer. Contactez [email protected] pour assistance.",printButton:"Imprimer le Certificat",validUntil:"Valide Jusqu'au",statusLabel:"Statut du Certificat",statusValid:"Valide",ownerReportHint:"Titulaire du certificat ? Téléchargez le rapport complet depuis votre tableau de bord",issuedOn:"Ãmis Le",certificateId:"ID du Certificat",auditSummary:"Résumé de l'Audit",verifyAuthenticity:"Vérifier l'Authenticité"},de:{certificateOfSecurityAudit:"Zertifikat der Sicherheitsprüfung",certificateSubtitle:"Hiermit wird bestätigt, dass die beschriebenen digitalen Assets zu einem bestimmten Zeitpunkt die Zertifikatskriterien von AiVedha Guard für die öffentliche Web-Sicherheitslage erfüllt haben.",certifiedEntityLabel:"Zertifizierte Einheit",organisationOwnerLabel:"Organisation / Eigentümer",assetDomainLabel:"Primäres Asset / Geprüfte Domain",scoreDescription:"Diese Bewertung spiegelt die Wirksamkeit der implementierten Sicherheitskontrollen zum Zeitpunkt der Prüfung wider.",assessmentWindowLabel:"Bewertungsdatum",assessmentScopeNote:"Diese Bewertung spiegelt die Sicherheitslage zum Zeitpunkt der Prüfung wider. Nachträgliche Ãnderungen können die Ergebnisse beeinflussen.",methodologyNote:"Die Methodik bezieht sich auf ausgewählte Prüfungen aus OWASP ASVS, OWASP Top 10 und CWE/SANS Top 25 sowie auf Konfigurationsprüfungen, die vom öffentlichen Asset aus beobachtbar sind.",verificationScan:"Zum Verifizieren Scannen",verificationOnline:"Verifizieren Sie dieses Zertifikat online unter",disclaimer:"Dieses Zertifikat stellt eine Momentaufnahme dar. Es stellt keine Garantie für kontinuierliche Sicherheit dar.",issuerFooterLine1:"AIVEDHA INC â AiVedha Guard Programm",issuerFooterLine2:"Anbieter punktueller Sicherheitsbewertungen ⢠Ãffentliche Online-Verifizierung des Zertifikats",certificateNotFoundTitle:"Zertifikat Nicht Gefunden",certificateNotFoundBody:"Die Zertifikatsnummer wurde in unserem Register nicht gefunden.",certificateNotFoundHelp:"Bitte überprüfen Sie die Nummer und versuchen Sie es erneut. Kontakt: [email protected]",printButton:"Zertifikat Drucken",validUntil:"Gültig Bis",statusLabel:"Zertifikatsstatus",statusValid:"Gültig",ownerReportHint:"Zertifikatsinhaber? Laden Sie den vollständigen Bericht in Ihrem Dashboard herunter",issuedOn:"Ausgestellt Am",certificateId:"Zertifikats-ID",auditSummary:"Prüfungszusammenfassung",verifyAuthenticity:"Echtheit Ãberprüfen"},hi:{certificateOfSecurityAudit:"सà¥à¤°à¤à¥à¤·à¤¾ à¤à¤¡à¤¿à¤ पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤°",certificateSubtitle:"यह पà¥à¤°à¤®à¤¾à¤£à¤¿à¤¤ à¤à¤°à¤¤à¤¾ हॠà¤à¤¿ वरà¥à¤£à¤¿à¤¤ डिà¤à¤¿à¤à¤² सà¤à¤ªà¤¤à¥à¤¤à¤¿à¤¯à¤¾à¤ à¤à¤ निशà¥à¤à¤¿à¤¤ समय पर सारà¥à¤µà¤à¤¨à¤¿à¤ वà¥à¤¬ सà¥à¤°à¤à¥à¤·à¤¾ सà¥à¤¥à¤¿à¤¤à¤¿ à¤à¥ लिठAiVedha Guard à¤à¥ पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° पातà¥à¤°à¤¤à¤¾ मानदà¤à¤¡à¥à¤ पर à¤à¤°à¥ à¤à¤¤à¤°à¥à¤à¥¤",certifiedEntityLabel:"पà¥à¤°à¤®à¤¾à¤£à¤¿à¤¤ à¤à¤à¤¾à¤",organisationOwnerLabel:"सà¤à¤à¤ न / सà¥à¤µà¤¾à¤®à¥",assetDomainLabel:"पà¥à¤°à¤¾à
1¤¥à¤®à¤¿à¤ सà¤à¤ªà¤¤à¥à¤¤à¤¿ / à¤à¤¡à¤¿à¤ à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾ डà¥à¤®à¥à¤¨",scoreDescription:"यह सà¥à¤à¥à¤° à¤à¤¡à¤¿à¤ à¤à¥ समय लाà¤à¥ सà¥à¤°à¤à¥à¤·à¤¾ नियà¤à¤¤à¥à¤°à¤£à¥à¤ à¤à¥ पà¥à¤°à¤à¤¾à¤µà¤¶à¥à¤²à¤¤à¤¾ à¤à¥ दरà¥à¤¶à¤¾à¤¤à¤¾ हà¥à¥¤",assessmentWindowLabel:"मà¥à¤²à¥à¤¯à¤¾à¤à¤à¤¨ तिथि",assessmentScopeNote:"यह मà¥à¤²à¥à¤¯à¤¾à¤à¤à¤¨ परà¥à¤à¥à¤·à¤£ à¤à¥ समय दà¥à¤à¥ à¤à¤ सà¥à¤°à¤à¥à¤·à¤¾ सà¥à¤¥à¤¿à¤¤à¤¿ à¤à¥ दरà¥à¤¶à¤¾à¤¤à¤¾ हà¥à¥¤ बाद मà¥à¤ परिवरà¥à¤¤à¤¨ परिणामà¥à¤ à¤à¥ बदल सà¤à¤¤à¥ हà¥à¤à¥¤",methodologyNote:"मà¥à¤²à¥à¤¯à¤¾à¤à¤à¤¨ पदà¥à¤§à¤¤à¤¿ OWASP ASVS, OWASP Top 10 à¤à¤° CWE/SANS Top 25 à¤à¥ à¤à¤¯à¤¨à¤¿à¤¤ à¤à¤¾à¤à¤à¥à¤ तथा सारà¥à¤µà¤à¤¨à¤¿à¤ सà¤à¤ªà¤¤à¥à¤¤à¤¿ सॠदà¥à¤à¥ à¤à¤¾ सà¤à¤¨à¥ वालॠसà¥à¤°à¤à¥à¤·à¤¿à¤¤ à¤à¥à¤¨à¥à¤«à¤¼à¤¿à¤à¤°à¥à¤¶à¤¨ à¤à¤¾à¤à¤à¥à¤ à¤à¤¾ सà¤à¤¦à¤°à¥à¤ लà¥à¤¤à¥ हà¥à¥¤",verificationScan:"सतà¥à¤¯à¤¾à¤ªà¤¿à¤¤ à¤à¤°à¤¨à¥ à¤à¥ लिठसà¥à¤à¥à¤¨ à¤à¤°à¥à¤",verificationOnline:"à¤à¤¸ पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° à¤à¥ à¤à¤¨à¤²à¤¾à¤à¤¨ सतà¥à¤¯à¤¾à¤ªà¤¿à¤¤ à¤à¤°à¥à¤",disclaimer:"यह पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° à¤à¤ समय-बिà¤à¤¦à¥ मà¥à¤²à¥à¤¯à¤¾à¤à¤à¤¨ à¤à¤¾ पà¥à¤°à¤¤à¤¿à¤¨à¤¿à¤§à¤¿à¤¤à¥à¤µ à¤à¤°à¤¤à¤¾ हà¥à¥¤ यह निरà¤à¤¤à¤° सà¥à¤°à¤à¥à¤·à¤¾ à¤à¥ à¤à¤¾à¤°à¤à¤à¥ नहà¥à¤ हà¥à¥¤",issuerFooterLine1:"AIVEDHA INC â AiVedha Guard à¤à¤¾à¤°à¥à¤¯à¤à¥à¤°à¤®",issuerFooterLine2:"समय-बिà¤à¤¦à¥ सà¥à¤°à¤à¥à¤·à¤¾ मà¥à¤²à¥à¤¯à¤¾à¤à¤à¤¨ पà¥à¤°à¤¦à¤¾à¤¤à¤¾ ⢠पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° à¤à¤¾ सारà¥à¤µà¤à¤¨à¤¿à¤ à¤à¤¨à¤²à¤¾à¤à¤¨ सतà¥à¤¯à¤¾à¤ªà¤¨ à¤à¤ªà¤²à¤¬à¥à¤§",certificateNotFoundTitle:"पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° नहà¥à¤ मिला",certificateNotFoundBody:"पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° सà¤à¤à¥à¤¯à¤¾ हमारॠरà¤à¤¿à¤¸à¥à¤à¥à¤°à¥ मà¥à¤ नहà¥à¤ मिलà¥à¥¤",certificateNotFoundHelp:"à¤à¥à¤ªà¤¯à¤¾ सà¤à¤à¥à¤¯à¤¾ सतà¥à¤¯à¤¾à¤ªà¤¿à¤¤ à¤à¤°à¥à¤ à¤à¤° पà¥à¤¨à¤ पà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤à¥¤ सहायता à¤à¥ लिठ[email protected] सॠसà¤à¤ªà¤°à¥à¤ à¤à¤°à¥à¤à¥¤",printButton:"पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° पà¥à¤°à¤¿à¤à¤ à¤à¤°à¥à¤",validUntil:"तठवà¥à¤§",statusLabel:"पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° सà¥à¤¥à¤¿à¤¤à¤¿",statusValid:"वà¥à¤§",ownerReportHint:"पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° à¤à¥ सà¥à¤µà¤¾à¤®à¥? पà¥à¤°à¥ रिपà¥à¤°à¥à¤ à¤
पनॠडà¥à¤¶à¤¬à¥à¤°à¥à¤¡ सॠडाà¤à¤¨à¤²à¥à¤¡ à¤à¤°à¥à¤",issuedOn:"à¤à¤¾à¤°à¥ à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾",certificateId:"पà¥à¤°à¤®à¤¾à¤£à¤ªà¤¤à¥à¤° à¤à¤à¤¡à¥",auditSummary:"à¤à¤¡à¤¿à¤ साराà¤à¤¶",verifyAuthenticity:"पà¥à¤°à¤¾à¤®à¤¾à¤£à¤¿à¤à¤¤à¤¾ सतà¥à¤¯à¤¾à¤ªà¤¿à¤¤ à¤à¤°à¥à¤"}},me=[{code:"en",label:"English",flag:"ð¬ð§"},{code:"es",label:"Español",flag:"ðªð¸"},{code:"fr",label:"Français",flag:"ð«ð·"},{code:"de",label:"Deutsch",flag:"ð©ðª"},{code:"hi",label:"हिà¤à¤¦à¥",flag:"ð®ð³"}],xe=t=>t>=8?"text-emerald-400":t>=6?"text-amber-400":t>=4?"text-orange-400":"text-red-400",P=t=>t>=8?"from-emerald-500 to-teal-400":t>=6?"from-amber-500 to-yellow-400":t>=4?"from-orange-500 to-amber-400":"from-red-500 to-rose-400",ue=t=>t>=8?"stroke-emerald-400":t>=6?"stroke-amber-400":t>=4?"stroke-orange-400":"stroke-red-400",pe=t=>t>=9?{status:"EXCELLENT",description:"Outstanding Security Posture",icon:ce,color:"text-emerald-400",bg:"bg-emerald-500/10",border:"border-emerald-500/30",gradient:"from-emerald-500/20 to-teal-500/20"}:t>=7?{status:"STRONG",description:"Robust Security Controls",icon:v,color:"text-sky-400",bg:"bg-sky-500/10",border:"border-sky-500/30",gradient:"from-sky-500/20 to-blue-500/20"}:t>=5?{status:"MODERATE",description:"Acceptable Risk Level",icon:oe,color:"text-amber-400",bg:"bg-amber-500/10",border:"border-amber-500/30",gradient:"from-
1amber-500/20 to-yellow-500/20"}:{status:"AT RISK",description:"Immediate Remediation Required",icon:F,color:"text-red-400",bg:"bg-red-500/10",border:"border-red-500/30",gradient:"from-red-500/20 to-rose-500/20"},k=t=>{if(!t)return"â";const i=new Date(t);return Number.isNaN(i.getTime())?"â":i.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})},fe=({score:t,grade:i,size:s=180})=>{const c=t/10*100,n=8,o=(s-n)/2,u=2*Math.PI*o,m=u-c/100*u;return e.jsxs("div",{className:"relative",style:{width:s,height:s},children:[e.jsx("div",{className:`absolute inset-0 rounded-full bg-gradient-to-r ${P(t)} opacity-20 blur-xl`}),e.jsxs("svg",{width:s,height:s,viewBox:`0 0 ${s} ${s}`,className:"transform -rotate-90",children:[e.jsx("circle",{cx:s/2,cy:s/2,r:o,fill:"none",stroke:"currentColor",strokeWidth:n,className:"text-slate-800/50"}),e.jsx(r.circle,{cx:s/2,cy:s/2,r:o,fill:"none",strokeWidth:n,strokeLinecap:"round",className:ue(t),initial:{strokeDasharray:u,strokeDashoffset:u},animate:{strokeDashoffset:m},transition:{duration:1.5,ease:"easeOut",delay:.5}})]}),e.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[e.jsx(r.span,{className:`text-5xl font-bold ${xe(t)} print:text-emerald-700`,initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},transition:{duration:.5,delay:.8},children:t.toFixed(1)}),e.jsx("span",{className:"text-xs text-slate-400 uppercase tracking-widest mt-1 print:text-slate-600",children:"out of 10"}),e.jsxs(r.div,{className:`mt-2 px-3 py-1 rounded-full bg-gradient-to-r ${P(t)} text-white text-xs font-bold`,initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:1},children:["Grade: ",i]})]})]})},he=({delay:t,duration:i,x:s,y:c,size:n})=>e.jsx(r.div,{className:"absolute rounded-full bg-gradient-to-r from-cyan-500/30 to-red-500/30",style:{left:s,top:c,width:n,height:n},animate:{y:[0,-30,0],opacity:[.3,.6,.3],scale:[1,1.2,1]},transition:{duration:i,delay:t,repeat:1/0,ease:"easeInOut"}}),be=({className:t=""})=>e.jsx("div",{className:`relative ${t}`,children:e.jsxs(r.div,{className:"w-24 h-24 md:w-28 md:h-28",initial:{rotate:0,scale:.8,opacity:0}
1,animate:{rotate:360,scale:1,opacity:1},transition:{duration:1,ease:"easeOut"},children:[e.jsx("div",{className:"absolute inset-0 rounded-full border-4 border-amber-500/40 print:border-amber-600"}),e.jsx("div",{className:"absolute inset-1 rounded-full border-2 border-amber-400/30 print:border-amber-500"}),e.jsx("div",{className:"absolute inset-2 rounded-full border border-amber-300/20 print:border-amber-400"}),e.jsx("div",{className:"absolute inset-3 rounded-full bg-gradient-to-br from-amber-500/20 via-yellow-500/10 to-amber-600/20 flex items-center justify-center print:from-amber-100 print:to-amber-200",children:e.jsxs("div",{className:"text-center",children:[e.jsx(C,{className:"w-8 h-8 text-amber-400 mx-auto print:text-amber-600"}),e.jsx("span",{className:"text-[8px] font-bold text-amber-300 uppercase tracking-wider print:text-amber-700",children:"Verified"})]})}),[...Array(12)].map((i,s)=>e.jsx("div",{className:"absolute w-0.5 h-3 bg-amber-400/30 print:bg-amber-500",style:{left:"50%",top:"-4px",transform:`translateX(-50%) rotate(${s*30}deg)`,transformOrigin:"center 58px"}},s))]})}),T={revoked:{title:"Certificate revoked",body:"This certificate has been revoked. It no longer attests to the security of this site."},expired:{title:"Certificate expired",body:"This certificate has expired. It no longer attests to the security of this site."},ineligible:{title:"Certificate not valid",body:"The audited site no longer meets the certificate criteria, so this certificate does not attest to its security."}},A=({icon:t,label:i,value:s,subtext:c,iconBg:n="bg-slate-800/80",delay:o=0})=>e.jsxs(r.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:o,duration:.4},className:"flex gap-4 items-start",children:[e.jsx("div",{className:`mt-0.5 rounded-xl ${n} p-2.5 print:bg-slate-100`,children:e.jsx(t,{className:"h-4 w-4 text-slate-300 print:text-slate-700"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.18em] text-slate-500 mb-0.5 print:text-slate-600",children:i}),e.jsx("p",{className:"text-slate-100 font-semibold text-sm break-words print:text-slate-900",children:s}),c&&e.jsx("p",{className:"text-[10px] text-slate-500 mt-1 leading-relaxed print:text-slate-600",children:c})]})]}),Le=()=>{const{certificateNumber:t}=B(),[i,s]=p.useState(null),[c,n]=p.useState(!0),[o,u]=p.useState("en"),[m,N]=p.useState(null),{isAuthenticated:R}=Z(),L=H(),a=de[o];$(t?`Security Certificate ${t}`:"Security Certificate","Point-in-time AiVedha Guard security certificate and its public verification details.");const j=p.useCallback(async l=>{n(!0),N(null);try{s(await z.getCertificate(l))}catch(d){s(null),N(M(d))}finally{n(!1)}},[]);p.useEffect(()=>{t?j(t):(N({kind:"not_found"}),n(!1))},[t,j]);const V=()=>{t&&j(t)},G=()=>{window.print()},b=_.getVerifyUrl(t??"");if(c)return e.jsx(h,{children:e.jsx("div",{className:"min-h-screen bg-slate-950 flex items-center justify-center",children:e.jsxs("div",{className:"text-center",children:[e.jsxs(r.div,{className:"relative w-20 h-20 mx-auto mb-6",animate:{rotate:360},transition:{duration:2,repeat:1/0,ease:"linear"},children:[e.jsx("div",{className:"absolute inset-0 rounded-full border-4 border-slate-800"}),e.jsx("div",{className:"absolute inset-0 rounded-full border-4 border-transparent border-t-cyan-500"}),e.jsx(v,{className:"absolute inset-0 m-auto h-8 w-8 text-cyan-400"})]}),e.jsx("p",{className:"text-slate-400 text-sm",children:"Verifying certificate..."})]})})});if(!i&&(m?.kind==="locked"||m?.kind==="unavailable"))return e.jsx(h,{children:e.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center p-4",children:e.jsx(q,{certificateNumber:t,state:m.kind,isSignedIn:R,onRetry:V})})});if(!i&&m?.kind==="failed")return e.jsx(h,{children:e.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center p-4",children:e.jsx(D,{className:"w-full max-w-lg rounded-3xl border-amber-500/40 bg-card",children:e.jsxs(E,{className:"space-y-5 p-8 text-center",children:[e.jsx("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full border border-amber-500/40 bg-amber-500/10",children:e.jsx(S,{className:"h-8 w-8 text-amber-600","aria-hidden":"true"})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h1",{className:"text-2xl font-bold text-foreground",children:"This certificate could not be verified"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:m.message}),t&&e.jsxs("p",{className:"text-xs text-muted-foreground",children:["Certificate: ",e.jsx("code",{className:"rounded bg-muted px-2 py-0.5 break-all",children:t})]})]}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-2",children:[e.jsxs(g,{variant:"invertOutline",size:"compact",type:"button",onClick:V,children:[e.jsx(K,{className:"mr-1.5 h-3.5 w-3.5","aria-hidden":"true"}),"Try again"]}),e.jsx(g,{variant:"invertOutline",size:"compact",asChild:!0,children:e.jsx(w,{to:"/",children:"Return to Home"})})]})]})})})});if(!i)return e.jsx(h,{children:e.jsx("div",{className:"min-h-screen bg-slate-950 flex items-center justify-center p-4",children:e.jsx(r.div,{initial:{opacity:0,scale:.9}
1,animate:{opacity:1,scale:1},className:"max-w-lg w-full",children:e.jsxs(D,{className:"border-red-500/30 bg-slate-900/80 backdrop-blur-xl rounded-3xl overflow-hidden",children:[e.jsx("div",{className:"h-1 w-full bg-gradient-to-r from-red-500 to-rose-500"}),e.jsxs(E,{className:"p-10 text-center space-y-6",children:[e.jsx(r.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},className:"w-20 h-20 rounded-full bg-red-500/10 border border-red-500/30 flex items-center justify-center mx-auto",children:e.jsx(F,{className:"h-10 w-10 text-red-400","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-bold text-white mb-2",children:a.certificateNotFoundTitle}),e.jsx("p",{className:"text-slate-400",children:a.certificateNotFoundBody})]}),e.jsx("div",{className:"p-4 rounded-xl bg-slate-800/50 border border-slate-700/50",children:e.jsx("p",{className:"text-xs text-slate-500",children:a.certificateNotFoundHelp})}),e.jsx(g,{variant:"invertPrimary",size:"compact",onClick:()=>window.history.length>1?L(-1):L("/"),children:"Go Back"})]})]})})})});const O=i.security_score,x=pe(O),W=x.icon,f=i.valid?null:T[i.status]??T.ineligible;return e.jsx(h,{children:e.jsxs("div",{className:"min-h-screen bg-slate-950 relative overflow-hidden print:bg-white print:overflow-visible",children:[e.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none print:hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-slate-950 via-slate-900 to-slate-950"}),e.jsx("div",{className:"absolute inset-0 opacity-40",style:{backgroundImage:` 2 radial-gradient(at 20% 20%, rgba(6, 182, 212, 0.15) 0px, transparent 50%), 3 radial-gradient(at 80% 30%, rgba(220, 38, 38, 0.15) 0px, transparent 50%), 4 radial-gradient(at 40% 80%, rgba(16, 185, 129, 0.1) 0px, transparent 50%) 5 `}}),[...Array(10)].map((l,d)=>e.jsx(he,{delay:d*.3,duration:6+d%3*2,x:`${10+d*8}%`,y:`${15+d%4*20}%`,size:4+d%3*2},d)),e.jsx("div",{className:"absolute inset-0 opacity-[0.02]",style:{backgroundImage:"linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px)",backgroundSize:"50px 50px"}})]}),e.jsx("div",{className:"relative z-10 container mx-auto px-4 py-8 md:py-12 print:px-0 print:py-0",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsxs(r.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6},className:"relative",children:[e.jsx("div",{className:"absolute -inset-1 rounded-[36px] bg-gradient-to-r from-cyan-500/20 via-red-500/20 to-emerald-500/20 blur-2xl print:hidden"}),e.jsx("div",{className:"relative rounded-[32px] bg-gradient-to-b from-slate-800/50 to-slate-900/50 p-[2px] shadow-2xl print:shadow-none print:rounded-none print:bg-white print:p-0",children:e.jsxs("div",{className:"relative rounded-[30px] bg-slate-950/95 backdrop-blur-xl border border-slate-700/50 overflow-hidden print:rounded-none print:bg-white print:border-slate-300",children:[e.jsx("div",{className:"h-1.5 w-full bg-gradient-to-r from-cyan-500 via-red-500 to-emerald-500 print:from-cyan-600 print:via-red-600 print:to-emerald-600"}),f&&e.jsxs("div",{role:"status",className:"flex items-start gap-3 border-b border-red-500/40 bg-red-500/10 px-6 py-4 md:px-10 print:bg-red-50",children:[e.jsx(S,{className:"mt-0.5 h-5 w-5 flex-shrink-0 text-red-400 print:text-red-700","aria-hidden":"true"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-bold uppercase tracking-wider text-red-300 print:text-red-800",children:f.title}),e.jsx("p",{className:"text-xs text-red-200/90 print:text-red-700",children:f.body})]})]}),e.jsxs("div",{className:"p-6 md:p-10 print:p-8",children:[e.jsxs("div",{className:"relative flex flex-col md:flex-row md:items-start md:justify-between gap-6 mb-8",children:[e.jsxs(r.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.2},className:"flex items-center gap-4",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"w-14 h-14 roun
5ded-2xl bg-gradient-to-br from-cyan-500 to-red-500 p-0.5 shadow-lg shadow-cyan-500/30",children:e.jsx("div",{className:"w-full h-full rounded-2xl bg-slate-950 flex items-center justify-center print:bg-white",children:e.jsx(v,{className:"w-7 h-7 text-cyan-400 print:text-cyan-600"})})}),i.valid&&e.jsx(r.div,{className:"absolute -top-1 -right-1 w-5 h-5 rounded-full bg-emerald-500 flex items-center justify-center",initial:{scale:0},animate:{scale:1},transition:{delay:.5,type:"spring"},children:e.jsx(y,{className:"w-3 h-3 text-white"})})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[11px] uppercase tracking-[0.2em] text-cyan-400/80 font-semibold print:text-cyan-700",children:"AiVedha Guard"}),e.jsx("p",{className:"text-[10px] text-slate-500 mt-0.5 print:text-slate-600",children:"Security Audit Program"})]})]}),e.jsxs(r.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:.3},className:"flex flex-col items-end gap-3",children:[e.jsx("div",{className:"text-right",children:e.jsxs("p",{className:"text-[10px] text-slate-500 print:text-slate-600",children:[e.jsxs("span",{className:"uppercase tracking-[0.15em]",children:[a.certificateId,":"]})," ",e.jsx("span",{className:"font-mono break-all text-slate-300 print:text-slate-800",children:t})]})}),e.jsxs("div",{className:"flex items-center gap-2 print:hidden",children:[e.jsx(X,{className:"w-3.5 h-3.5 text-slate-500","aria-hidden":"true"}),e.jsx("select",{"aria-label":"Certificate language",value:o,onChange:l=>u(l.target.value),className:"bg-slate-800/80 border border-slate-700 rounded-lg px-3 py-1.5 text-[11px] text-slate-200 focus:outline-none focus:ring-2 focus:ring-cyan-500/50 cursor-pointer",children:me.map(l=>e.jsxs("option",{value:l.code,children:[l.flag," ",l.label]},l.code))})]})]})]}),e.jsxs(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"text-center mb-10 relative",children:[e.jsx("div",{className:"absolute inset-x-0 -top-4 -bottom-4 bg-gradient-to-r from-transparent via-cyan-500/5 to-transparent rounded-3xl print:hidden"}),e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"flex items-center justify-center gap-4 mb-4",children:[e.jsx(C,{className:"w-6 h-6 text-amber-400 print:text-amber-600"}),e.jsx("div",{className:"h-px w-16 bg-gradient-to-r from-transparent via-amber-400/50 to-transparent"}),e.jsx(J,{className:"w-5 h-5 text-amber-300 print:text-amber-500"}),e.jsx("div",{className:"h-px w-16 bg-gradient-to-l from-transparent via-amber-400/50 to-transparent"}),e.jsx(C,{className:"w-6 h-6 text-amber-400 print:text-amber-600"})]}),e.jsx("h1",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-white tracking-wide mb-3 print:text-slate-900",children:a.certificateOfSecurityAudit.toUpperCase()}),e.jsx("p",{className:"text-sm text-slate-400 max-w-2xl mx-auto leading-relaxed print:text-slate-700",children:a.certificateSubtitle}),e.jsxs("div",{className:"flex items-center justify-center gap-2 mt-6",children:[e.jsx("div",{className:"h-px w-24 bg-gradient-to-r from-transparent to-slate-600"}),e.jsx(Q,{className:"w-4 h-4 text-slate-600"}),e.jsx("div",{className:"h-px w-24 bg-gradient-to-l from-transparent to-slate-600"})]})]})]}),e.jsxs(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},className:"relative mb-10",children:[e.jsx("div",{className:"absolute inset-0 rounded-3xl bg-gradient-to-r from-slate-800/30 via-slate-800/50 to-slate-800/30 print:from-slate-100 print:via-slate-50 print:to-slate-100"}),e.jsxs("div",{className:"relative rounded-3xl border border-slate-700/50 p-6 md:p-8 print:border-slate-300",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(y,{className:"w-5 h-5 text-emerald-400 print:text-emerald-600"}),e.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-slate-400 font-semibold print:text-slate-600",children:a.certifiedEntityLabel})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] text-slate-500 mb-1 print:text-slate-600",children:a.organisationOwnerLabel}),e.jsx("p",{className:"text-xl md:text-2xl font-bold text-white print:text-slate-900",children:i.organization_name||"â"})]}),e.jsxs("div",{className:"md:text-right",children:[e.jsx("p",{className:"text-[10px] text-slate-500 mb-1 print:text-slate-600",children:a.assetDomainLabel}),e.jsx("p",{className:"font-mono text-base text-cyan-400 break-all print:text-cyan-700",children:i.url||"â"})]})]}),i.valid&&e.jsx("div",{className:"hidden md:block absolute -top-8 -right-4 print:right-0 print:top-0",children:e.jsx(be,{})})]})]}),e.jsxs("div",{className:"grid lg:grid-cols-[1fr_1.2fr] gap-8 mb-10",children:[e.jsxs(r.div,{initial:{opacity:0,x:-30}
5,animate:{opacity:1,x:0},transition:{delay:.6},className:"flex flex-col items-center",children:[e.jsx(fe,{score:O,grade:i.grade}),e.jsxs(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:1.2},className:`mt-6 inline-flex items-center gap-2 px-5 py-2.5 rounded-full ${x.bg} border ${x.border}`,children:[e.jsx(W,{className:`w-5 h-5 ${x.color}`}),e.jsxs("div",{className:"text-left",children:[e.jsx("p",{className:`text-sm font-bold ${x.color} uppercase tracking-wider`,children:x.status}),e.jsx("p",{className:"text-[10px] text-slate-400",children:x.description})]})]}),e.jsx("p",{className:"mt-4 text-xs text-slate-500 text-center max-w-xs leading-relaxed print:text-slate-600",children:a.scoreDescription})]}),e.jsxs(r.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:.7},children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(Y,{className:"w-4 h-4 text-slate-400"}),e.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-slate-400 font-semibold",children:a.auditSummary})]}),e.jsxs("div",{className:"p-5 rounded-2xl bg-slate-800/40 border border-slate-700/50 space-y-4 print:bg-slate-50 print:border-slate-300",children:[e.jsx(A,{icon:i.valid?y:S,label:a.statusLabel,value:f?f.title:a.statusValid,iconBg:i.valid?"bg-emerald-900/40":"bg-red-900/40",delay:.8}),e.jsx(A,{icon:ee,label:a.assessmentWindowLabel,value:k(i.issued_at),subtext:a.assessmentScopeNote,delay:.9}),e.jsx(A,{icon:te,label:a.validUntil,value:k(i.valid_until),delay:1})]})]})]}),e.jsxs(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.5},className:"flex flex-col md:flex-row items-center justify-between gap-8 py-8 border-t border-b border-slate-800/50 print:border-slate-300",children:[e.jsx("div",{className:"flex flex-col items-center",children:e.jsxs("a",{href:b,target:"_blank",rel:"noopener noreferrer",className:"group","aria-label":`Verify certificate ${t} online`,children:[e.jsxs("div",{className:"relative w-32 h-32 rounded-2xl border-2 border-slate-700 bg-white p-3 group-hover:border-cyan-500/50 transition-all print:bg-white print:border-slate-400",children:[e.jsx(U,{value:b,size:104,level:"H",includeMargin:!1,className:"w-full h-full"}),e.jsx("div",{className:"absolute inset-0 rounded-2xl bg-cyan-500/0 group-hover:bg-cyan-500/10 transition-colors flex items-center justify-center print:hidden",children:e.jsx(I,{className:"w-6 h-6 text-cyan-400 opacity-0 group-hover:opacity-100 transition-opacity"})})]}),e.jsx("p",{className:"mt-2 text-[10px] uppercase tracking-[0.2em] text-slate-500 text-center print:text-slate-600",children:a.verificationScan})]})}),e.jsxs("div",{className:"flex-1 text-center md:text-left",children:[e.jsxs("div",{className:"flex items-center justify-center md:justify-start gap-2 mb-2",children:[e.jsx(ie,{className:"w-5 h-5 text-cyan-400 print:text-cyan-600"}),e.jsx("p",{className:"text-sm font-semibold text-white print:text-slate-900",children:a.verifyAuthenticity})]}),e.jsx("p",{className:"text-xs text-slate-400 mb-2 print:text-slate-600",children:a.verificationOnline}),e.jsxs("a",{href:b,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 font-mono text-sm text-cyan-400 hover:text-cyan-300 transition-colors break-all print:text-cyan-700",children:[b.replace(/^https?:\/\//,""),e.jsx(I,{className:"w-3.5 h-3.5 print:hidden"})]}),e.jsx("div",{className:"mt-2 print:hidden",children:e.jsxs(w,{to:"/how-it-works",className:"inline-flex items-center gap-1 text-[11px] text-slate-400 hover:text-cyan-300 transition-colors",children:[e.jsx(ae,{className:"w-3 h-3"}),"How this assessment works"]})})]}),e.jsxs("div",{className:"text-center md:text-right",children:[e.jsx("p",{className:"text-[10px] text-slate-500 uppercase tracking-wider print:text-slate-600",children:a.issuedOn}),e.jsx("p",{className:"text-sm font-semibold text-white print:text-slate-900",children:k(i.issued_at)})]})]}),e.jsx(r.div,{initial:{opacity:0}
5,animate:{opacity:1},transition:{delay:1.6},className:"mt-8 p-4 rounded-xl bg-slate-800/30 border border-slate-700/30 print:bg-slate-50 print:border-slate-300",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(se,{className:"w-5 h-5 text-slate-500 mt-0.5 flex-shrink-0 print:text-slate-600"}),e.jsx("p",{className:"text-[11px] text-slate-500 leading-relaxed print:text-slate-600",children:a.methodologyNote})]})}),e.jsxs(r.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1.7},className:"mt-8 flex flex-col md:flex-row md:items-end md:justify-between gap-6",children:[e.jsx("div",{className:"flex-1",children:e.jsxs("p",{className:"text-[10px] text-slate-500 leading-relaxed max-w-xl print:text-slate-600",children:[e.jsx("span",{className:"font-semibold text-slate-400 print:text-slate-700",children:"Disclaimer:"})," ",a.disclaimer]})}),e.jsxs("div",{className:"flex flex-col items-end gap-3 print:hidden",children:[e.jsxs(g,{variant:"invertOutline",size:"compact",onClick:G,className:"group",children:[e.jsx(re,{className:"w-4 h-4 mr-2"}),a.printButton]}),e.jsxs(w,{to:"/dashboard",className:"inline-flex items-center gap-1.5 text-[11px] text-slate-400 hover:text-cyan-300 transition-colors",children:[e.jsx(ne,{className:"w-3.5 h-3.5","aria-hidden":"true"}),a.ownerReportHint]})]})]})]}),e.jsx("div",{className:"px-6 md:px-10 py-6 bg-slate-900/50 border-t border-slate-800/50 print:bg-slate-50 print:border-slate-300",children:e.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4 text-center md:text-left",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-slate-300 print:text-slate-800",children:a.issuerFooterLine1}),e.jsx("p",{className:"text-[10px] text-slate-500 mt-1 print:text-slate-600",children:a.issuerFooterLine2})]}),e.jsxs("div",{className:"flex items-center gap-4 opacity-60",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-[10px] text-slate-500",children:[e.jsx(le,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:"Point-in-time"})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-[10px] text-slate-500",children:[e.jsx(v,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:"OWASP-mapped"})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-[10px] text-slate-500",children:[e.jsx(y,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:"Verified online"})]})]})]})})]})})]}),e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center opacity-[0.015] print:opacity-5 overflow-hidden",children:e.jsx("span",{className:"text-6xl md:text-8xl font-black tracking-[0.4em] text-white whitespace-nowrap transform -rotate-12",children:"AIVEDHA GUARD"})})]})}),e.jsx("style",{children:` 6 @media print { 7 @page { 8 size: A4; 9 margin: 0.5in; 10 } 11 body { 12 -webkit-print-color-adjust: exact !important; 13 print-color-adjust: exact !important; 14 } 15 .print\\:hidden { 16 display: none !important; 17 } 18 } 19 `})]})})};export{Le 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.