PageSourceSearch

https://benchbot.ai/assets/ContentHub-DJtsGSkm.js

js benchbot.ai collected 2026-10-05 15:28:31 UTC 11,440 bytes, 1 lines download raw bytes

1import{r as e,p as t}from"./i18nInstance-DyCHz49K.js";import{J as r,K as i,m as a,l as s,k as n,A as o,S as l,W as d,X as c,T as m,c as x,Y as g,$ as p,L as b,d as h,a0 as u,a1 as f}from"./LazyFooter-BrNVrdDB.js";import{c as y}from"./index-DNKrHZiJ.js";import{A as v,a as j,b as N,c as w}from"./FAQSection-FtDc6E8b.js";import{u as k,L as I}from"./LanguageLink-C7QC8wP4.js";const H=e.forwardRef(({risks:e,solutions:n,titleLeft:o,titleRight:l,className:d},c)=>{const m={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.2}}},x={hidden:{x:-30,opacity:0},visible:{x:0,opacity:1,transition:{duration:.6}}};return t.jsx(r,{ref:c,className:y("relative",d),children:t.jsx(i,{children:t.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-start",children:[t.jsxs(a.div,{variants:m,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},children:[o&&("string"==typeof o?t.jsx("h2",{className:"text-3xl lg:text-4xl font-bold mb-8 text-foreground",children:o}):t.jsx("div",{className:"mb-8",children:o})),t.jsx("div",{className:"space-y-6",children:e.map((e,r)=>t.jsx(a.div,{variants:x,className:"group relative p-6 rounded-2xl border border-destructive/20 bg-destructive/5 hover:bg-destructive/10 transition-all duration-300",children:t.jsxs("div",{className:"flex items-start gap-4",children:[e.icon&&t.jsx("div",{className:"flex-shrink-0 p-3 bg-destructive/10 rounded-xl group-hover:bg-destructive/20 transition-colors",children:e.icon}),t.jsxs("div",{className:"flex-1",children:["string"==typeof e.title?t.jsx(s,{weight:"semibold",className:"text-lg mb-2 text-foreground",children:e.title}):e.title,"string"==typeof e.description?t.jsx("p",{className:"text-muted-foreground leading-relaxed",dangerouslySetInnerHTML:{__html:e.description}}):e.description]})]})},r))})]}),t.jsxs(a.div,{variants:m,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},children:[l&&("string"==typeof l?t.jsx("h2",{className:"text-3xl lg:text-4xl font-bold mb-8",children:t.jsx("span",{className:"hero-text",children:l})}):t.jsx("h2",{className:"text-3xl lg:text-4xl font-bold mb-8",children:l})),t.jsx("div",{className:"space-y-6",children:n.map((e,r)=>t.jsx(a.div,{variants:x,className:"group relative p-6 rounded-2xl border border-success/20 bg-success/5 hover:bg-success/10 transition-all duration-300",children:t.jsxs("div",{className:"flex items-start gap-4",children:[e.icon&&t.jsx("div",{className:"flex-shrink-0 p-3 bg-gradient-primary rounded-xl group-hover:shadow-glow transition-all duration-300",children:e.icon}),t.jsxs("div",{className:"flex-1",children:["string"==typeof e.title?t.jsx(s,{weight:"semibold",className:"text-lg mb-2 text-foreground",children:e.title}):e.title,"string"==typeof e.description?t.jsx("p",{className:"text-muted-foreground leading-relaxed",dangerouslySetInnerHTML:{__html:e.description}}):e.description]})]})},r))})]})]})})})});H.displayName="RisksSolutions";const S=e.forwardRef(({title:e,steps:s,className:n},o)=>{const l={hidden:{y:50,opacity:0},visible:{y:0,opacity:1,transition:{duration:.8}}};return t.jsx(r,{ref:o,className:n,background:"muted",container:!1,children:t.jsxs(i,{children:[e&&t.jsx(a.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:"string"==typeof e?t.jsx("h2",{className:"text-3xl lg:text-5xl font-bold mb-6",children:t.jsx("span",{className:"hero-text",children:e})}):e}),t.jsx(a.div,{variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.3}}},initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},className:"grid md:grid-cols-3 gap-8 lg:gap-12",children:s.map((e,r)=>t.jsxs(a.div,{variants:l,className:"relative group",children:[r<s.length-1&&t.jsx("div",{className:"hidden md:block absolute top-20 left-full w-full h-0.5 bg-gradient-primary/30 z-0",children:t.jsx(a.div,{className:"h-full bg-gradient-primary",initial:{width:0},whileInView:{width:"100%"},viewport:{once:!0},transition:{duration:1,delay:.5+.3*r}})}),t.jsxs("div",{className:"relative z-10 text-center p-8 rounded-2xl border border-border/50 bg-card/50 backdrop-blur-sm group-hover:border-primary/30 group-hover:bg-card/80 transition-all duration-300",children:[e.number&&t.jsx("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2",children:t.jsx("div",{className:"w-12 h-12 bg-gradient-primary rounded-full flex items-center justify-center text-primary-foreground font-bold text-lg shadow-glow",children:e.number})}),e.icon&&t.jsx(a.div,{whileHover:{scale:1.1,rotate:5},transition:{type:"spring",stiffness:300},className:"mb-6 flex justify-center pt-6",children:t.jsx("div",{className:"p-4 bg-gradient-primary/10 rounded-2xl border border-primary/20",children:e.icon})}),"string"==typeof e.title?t.jsx("h3",{className:"text-xl font-bold mb-4 text-foreground",children:e.title}):e.title,"string"==typeof e.description?t.jsx("p",{className:"text-muted-foreground text-center leading-relaxed",dangerouslySetInnerHTML:{__html:e.description}}):e.description]})]},r))})]})})});S.displayName="ProcessSteps";const V=e.forwardRef(({title:e,items:s,className:n},o)=>t.jsx(r,{ref:o,className:n+" bg-muted/20",spacing:"xl",container:!1,children:t.jsxs(i,{children:[t.jsx(a.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:e&&("string"==typeof e?t.jsx("h2",{className:"text-3xl lg:text-5xl font-bold mb-6",children:t.jsx("span",{className:"hero-text",children:e})}):e)}),t.jsx(a.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"max-w-4xl mx-auto",children:t.jsx(v,{type:"single",collapsible:!0,className:"space-y-4",children:s.map((e,r)=>t.jsxs(j,{value:`item-${r}`,className:"border border-border/50 rounded-2xl px-6 bg-card/50 backdrop-blur-sm hover:bg-card/80 transition-all duration-300",children:[t.jsx(N,{className:"text-left hover:no-underline py-6 text-lg font-semibold text-foreground",children:e.question}),t.jsx(w,{className:"pb-6 text-muted-foreground text-base leading-relaxed",children:e.answer})]},r))})})]})}));V.displayName="FAQList";const _=[{key:"aiSecurity",icon:l,href:"/landing/ai-security-platform",accent:"from-cyan-500/20 to-cyan-500/5",border:"border-l-cyan-500/60",badge:"bg-cyan-500/10 text-cyan-400"},{key:"redTeaming",icon:d,href:"/landing/ai-red-teaming",accent:"from-red-500/20 to-red-500/5",border:"border-l-red-500/60",badge:"bg-red-500/10 text-red-400"},{key:"pentesting",icon:c,href:"/landing/ai-penetration-testing",accent:"from-orange-500/20 to-orange-500/5",border:"border-l-orange-500/60",badge:"bg-orange-500/10 text-orange-400"},{key:"promptInjection",icon:m,href:"/landing/prompt-injection-detection",accent:"from-
1amber-500/20 to-amber-500/5",border:"border-l-amber-500/60",badge:"bg-amber-500/10 text-amber-400"},{key:"compliance",icon:x,href:"/landing/ai-risk-compliance",accent:"from-emerald-500/20 to-emerald-500/5",border:"border-l-emerald-500/60",badge:"bg-emerald-500/10 text-emerald-400"},{key:"chatbotTesting",icon:g,href:"/landing/chatbot-testing",accent:"from-blue-500/20 to-blue-500/5",border:"border-l-blue-500/60",badge:"bg-blue-500/10 text-blue-400"},{key:"agentSecurity",icon:p,href:"/landing/agent-security",accent:"from-violet-500/20 to-violet-500/5",border:"border-l-violet-500/60",badge:"bg-violet-500/10 text-violet-400"},{key:"cybersecurity",icon:b,href:"/landing/ai-cybersecurity",accent:"from-rose-500/20 to-rose-500/5",border:"border-l-rose-500/60",badge:"bg-rose-500/10 text-rose-400"}],L=e.forwardRef(({className:l,id:d},c)=>{const{t:m}=k(),[x,g]=e.useState(!1);return t.jsx(r,{ref:c,id:d,spacing:"xl",className:l,container:!1,children:t.jsxs(i,{children:[t.jsxs(a.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[t.jsx(n,{level:"h2",align:"center",gradient:"hero",className:"text-3xl lg:text-5xl font-bold mb-5",children:m("contentHub.title",{defaultValue:"Explore AI Security Topics"})}),t.jsx(s,{size:"lg",color:"muted",align:"center",className:"max-w-3xl mx-auto leading-relaxed lg:text-xl",children:m("contentHub.subtitle",{defaultValue:"Deep dives into every aspect of AI application security."})})]}),t.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5 max-w-5xl mx-auto",children:t.jsx(o,{initial:!1,children:_.map((e,r)=>{const i=e.icon,s=r<4||x;return t.jsx(a.div,{initial:r>=4&&{opacity:0,height:0,marginBottom:0},animate:s?{opacity:1,height:"auto",marginBottom:0}:{opacity:0,height:0,marginBottom:0,overflow:"hidden"},exit:{opacity:0,height:0},transition:{duration:.4,ease:[.25,.1,.25,1]},style:s?{}:{pointerEvents:"none",position:"absolute",left:"-9999px"},children:t.jsx(I,{to:e.href,onClick:()=>{return t=e.key,void f("content_hub_click",{custom_parameters:{topic:t}});var t},className:"group block","aria-label":m(`contentHub.cards.${e.key}.title`),children:t.jsxs("div",{className:`\n                          relative rounded-xl border border-border/50 border-l-[3px] ${e.border}\n                          bg-card/50 backdrop-blur-sm p-6 lg:p-7\n                          hover:border-border hover:bg-card/80\n                          hover:shadow-lg hover:shadow-black/5\n                          transition-all duration-300\n                        `,children:[t.jsx("div",{className:`absolute inset-0 rounded-xl bg-gradient-to-r ${e.accent} opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none`}),t.jsxs("div",{className:"relative flex gap-5",children:[t.jsx("div",{className:"flex-shrink-0 mt-0.5",children:t.jsx("div",{className:`p-2.5 rounded-lg ${e.badge}`,children:t.jsx(i,{className:"h-5 w-5"})})}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("span",{className:`inline-block px-2.5 py-0.5 rounded-full text-[0.7rem] font-semibold tracking-wide uppercase mb-2.5 ${e.badge}`,children:m(`contentHub.cards.${e.key}.badge`)}),t.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2 group-hover:text-primary transition-colors duration-200",children:m(`contentHub.cards.${e.key}.title`)}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-3",children:m(`contentHub.cards.${e.key}.description`)}),t.jsxs("span",{className:"inline-flex items-center gap-1.5 text-sm font-medium text-primary opacity-70 group-hover:opacity-100 transition-all duration-200",children:[m("contentHub.readMore",{defaultValue:"Explore Topic"}),t.jsx(h,{className:"h-3.5 w-3.5 transform group-hover:translate-x-1 transition-transform duration-200"})]})]})]})]})})},e.key)})})}),t.jsx(a.div,{initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0},className:"text-center mt-8",children:t.jsxs("button",{onClick:()=>g(!x),className:"inline-flex items-center gap-2 px-6 py-2.5 rounded-full border border-border/60 bg-card/50 text-sm font-medium text-muted-foreground hover:text-foreground hover:border-primary/30 transition-all duration-200",children:[x?m("contentHub.showLess",{defaultValue:"Show Less"}):m("contentHub.showAll",{defaultValue:"Show All Topics"}),t.jsx(u,{className:"h-4 w-4 transition-transform duration-300 "+(x?"rotate-180":"")})]})})]})})});L.displayName="ContentHub";const T=Object.freeze(Object.defineProperty({__proto__:null,ContentHub:L},Symbol.toStringTag,{value:"Module"}));export{T as C,V as F,S as P,H as R};

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.