1import{r as o,j as e,H as S,L as p}from"./react-vendor-DopNtYkS.js";import{c as x,u as I,H as A,F as R,J as w}from"./index-Cym1ZK7U.js";import{R as P}from"./ResourceHero-lSv4-H7E.js";import{I as _}from"./InArticleCTA-n8d4e0Tj.js";import{I as z}from"./input-C3yJ99mS.js";import{g as N,b as B}from"./resources-B8RHGYvy.js";import{S as k}from"./search-DOGVU6sG.js";import{D as H}from"./download-Bzop8z6X.js";import{L as C}from"./list-checks-DZrLAbMF.js";import{F as E}from"./file-text-DCIecrwp.js";import"./tanstack-DAvA-Djb.js";import"./motion-BEau8QNT.js";import"./sparkles-R4o-AVBP.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const U=x("FileSpreadsheet",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const $=x("FileType",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const F=x("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),l="__all__",O=5,V=10,G=t=>{const a=t.toLowerCase();return a.includes("excel")||a.includes("xls")?U:a.includes("word")||a.includes("doc")?E:$},Q=(t,a)=>{const r=t.toLowerCase();return r.includes("whitepaper")?a?"Descargar el whitepaper":"Download the whitepaper":r.includes("gu")?a?"Descargar la guÃa":"Download the guide":r.includes("plantilla")||r.includes("template")?a?"Descargar la plantilla":"Download the template":r.includes("checklist")||r.includes("lista")?a?"Descargar el checklist":"Download the checklist":a?"Descargar el recurso":"Download the resource"},Z=({resource:t})=>{const a=G(t.fileType);return e.jsx("div",{className:"relative aspect-[1200/630] overflow-hidden border-b border-border bg-[#0a0e1a]",children:t.ogImageUrl?e.jsx("img",{src:t.ogImageUrl,alt:t.title,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-[#f5f7fb]",children:e.jsx("div",{className:"flex h-20 w-20 items-center justify-center rounded-2xl bg-[#131a41] text-[#00ccff]",children:e.jsx(a,{className:"h-9 w-9"})})})})},J=({resource:t,es:a})=>e.jsxs("article",{className:"group flex flex-col overflow-hidden rounded-2xl border border-border bg-card transition-all duration-200 hover:-translate-y-0.5 hover:border-primary/40 hover:shadow-[0_8px_30px_rgba(19,26,65,0.08)]",children:[e.jsx(p,{to:`/recursos/${t.slug}`,className:"block","aria-label":t.title,children:e.jsx(Z,{resource:t})}),e.jsxs("div",{className:"flex flex-1 flex-col p-5 md:p-6",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-xs font-medium text-muted-foreground",children:[e.jsx("span",{className:"inline-flex items-center rounded-full bg-primary/10 px-2.5 py-1 text-[11px] font-semibold uppercase tracking-wide text-primary",children:t.category}),e.jsx("span",{children:t.fileType})]}),e.jsx("h3",{className:"mt-3 text-lg font-bold leading-snug text-[#131a41]",children:e.jsx(p,{to:`/recursos/${t.slug}`,className:"transition-colors hover:text-primary",children:t.title})}),e.jsx("p",{className:"mt-2 line-clamp-2 text-sm leading-relaxed text-muted-foreground",children:t.excerpt}),e.jsx("div",{className:"mt-auto pt-5",children:e.jsxs(p,{to:`/recursos/${t.slug}`,className:"inline-flex items-center gap-2 rounded-full bg-[#131a41] px-4 py-2.5 text-sm font-semibold text-white transition-colors hover:bg-[#1c2559]",children:[e.jsx(H,{className:"h-4 w-4"}),Q(t.category,a)]})})]})]}),ce=()=>{const{language:t}=I(),a=t==="es",r=o.useMemo(()=>N(a?"es":"en"),[a]),n=!a&&r.length===0,c=o.useMemo(()=>n?N("es"):r,[n,r]),D=o.useMemo(()=>B(n||a?"es":"en"),[n,a]),[u,g]=o.useState(""),[i,m]=o.useState(l),f=c.length>=O,y=c.length>=V,h=o.useMemo(()=>{const s=u.trim().toLowerCase();return c.filter(d=>{const q=i===l||d.category===i,T=s===""||(d.title+" "+d.excerpt+" "+d.tags.join(" ")).toLowerCase().includes(s);return q&&T})},[c,u,i]),L=h.length>=3?"lg:grid-cols-3":"lg:grid-cols-2",j=s=>`rounded-full px-4 py-1.5 text-sm font-medium transition-colors cursor-pointer border ${s?"bg-primary text-primary-foreground border-primary":"bg-card text-muted-foreground border-border hover:border-primary/40 hover:text-foreground"}`,b=a?"Plantillas y guÃas de ciberseguridad para reducir el riesgo humano | Fensivo":"Cybersecurity templates and guides to reduce human risk | Fensivo",v=a?"Plantillas y guÃas gratuitas para gestionar el riesgo humano en ciberseguridad: whitepaper para CISOs y guÃa de defensa contra phishing para equipos de TI.":"Free templates and guides to manage human risk in cybersecurity: a CISO whitepaper and a phishing defense guide for IT and security team
16s.",M=a?[{icon:F,titulo:"Descarga y comparte",texto:"Verificas tu email con un código, descargas el PDF al instante y lo circulas tal cual en tu equipo."},{icon:C,titulo:"Aplica el checklist",texto:"Señales, reflejos y listas de verificación listas para ejecutar esta semana."},{icon:w,titulo:"Mide el comportamiento",texto:"Prueba con una simulación, capacita sobre lo que falló y vuelve a probar."}]:[{icon:F,titulo:"Download and share",texto:"Verify your email with a code, download the PDF right away and share it as is with your team."},{icon:C,titulo:"Apply the checklist",texto:"Warning signs, reflexes and checklists ready to run this week."},{icon:w,titulo:"Measure behavior",texto:"Test with a simulation, train on what failed and test again."}];return e.jsxs(e.Fragment,{children:[e.jsxs(S,{children:[e.jsx("html",{lang:t}),e.jsx("title",{children:b}),e.jsx("meta",{name:"description",content:v}),e.jsx("meta",{property:"og:title",content:b}),e.jsx("meta",{property:"og:description",content:v}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:a?"https://fensivo.co/recursos":"https://fensivo.co/en/recursos"}),e.jsx("meta",{property:"og:image",content:"https://fensivo.co/og-image.png"}),e.jsx("link",{rel:"canonical",href:a?"https://fensivo.co/recursos":"https://fensivo.co/en/recursos"}),e.jsx("link",{rel:"alternate",hrefLang:"es",href:"https://fensivo.co/recursos"}),e.jsx("link",{rel:"alternate",hrefLang:"en",href:"https://fensivo.co/en/recursos"}),e.jsx("link",{rel:"alternate",hrefLang:"x-default",href:"https://fensivo.co/recursos"})]}),e.jsx(A,{}),e.jsxs("main",{className:"min-h-screen bg-background",children:[e.jsx(P,{badge:a?"Biblioteca gratuita · Fensivo":"Free library · Fensivo",title:a?"GuÃas y whitepapers para":"Guides and whitepapers to",highlight:a?"reducir el riesgo humano":"reduce human risk",titleAfter:"",hideActions:!0}),e.jsx("section",{className:"content-container pb-14 md:pb-20",children:e.jsxs("div",{className:"mx-auto max-w-[1200px]",children:[n&&e.jsx("p",{className:"mb-6 rounded-xl border border-primary/30 bg-primary/5 px-4 py-3 text-sm text-[#131a41]",children:"These resources are currently available in Spanish only. English versions are on the way."}),(f||y)&&e.jsxs("div",{className:"mb-8 flex flex-col items-center gap-4",children:[y&&e.jsxs("div",{className:"relative w-full max-w-md",children:[e.jsx(k,{className:"pointer-events-none absolute left-4 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),e.jsx(z,{value:u,onChange:s=>g(s.target.value),placeholder:a?"Buscar (ej: Credenciales, Phishing, PolÃticaâ¦)":"Search (e.g. Credentials, Phishing, Policyâ¦)",className:"h-11 rounded-full pl-11 pr-4","aria-label":a?"Buscar recursos":"Search resources"})]}),f&&e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[e.jsx("button",{className:j(i===l),onClick:()=>m(l),children:a?"Todos":"All"}),D.map(s=>e.jsx("button",{className:j(i===s),onClick:()=>m(s),children:s},s))]})]}),h.length===0?e.jsxs("div",{className:"flex flex-col items-center gap-3 py-20 text-muted-foreground",children:[e.jsx(k,{className:"h-8 w-8 opacity-25"}),e.jsx("p",{className:"text-sm",children:a?"No encontramos recursos para tu búsqueda.":"No resources found for your search."}),e.jsx("button",{className:"text-sm text-primary underline underline-offset-2",onClick:()=>{g(""),m(l)},children:a?"Limpiar filtros":"Clear filters"})]}):e.jsx("div",{className:`grid gap-6 md:grid-cols-2 ${L}`,children:h.map(s=>e.jsx(J,{resource:s,es:a},s.slug))})]})}),e.jsx("section",{className:"bg-[#f5f7fb] py-12 md:py-16",children:e.jsx("div",{className:"content-container",children:e.jsx("div",{className:"mx-auto grid max-w-[1200px] gap-5 md:grid-cols-3",children:M.map(s=>
16e.jsxs("div",{className:"flex items-start gap-4 rounded-2xl border border-border bg-card p-5",children:[e.jsx("div",{className:"flex h-10 w-10 flex-none items-center justify-center rounded-xl bg-[#131a41] text-[#00ccff]",children:e.jsx(s.icon,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-base font-bold text-[#131a41]",children:s.titulo}),e.jsx("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground",children:s.texto})]})]},s.titulo))})})}),e.jsx("section",{className:"content-container py-14 md:py-20",children:e.jsxs("div",{className:"mx-auto max-w-3xl space-y-4 text-base leading-relaxed text-muted-foreground",children:[e.jsx("h2",{className:"text-2xl font-bold text-[#131a41] md:text-3xl",children:a?"Plantillas y guÃas de ciberseguridad para el riesgo humano":"Cybersecurity templates and guides for human risk"}),a?e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"Cada recurso de esta biblioteca es un documento de trabajo, no teorÃa: listas de verificación, señales de alerta y protocolos con la fuente citada en cada dato, escritos para que un equipo de TI o de seguridad los aplique la misma semana en que los descarga. Cubren una etapa concreta del ciclo de gestión del riesgo humano (detectar, probar, capacitar, validar) y se pueden circular tal cual dentro de la organización."}),e.jsx("p",{children:"Son la parte manual del programa; cuando quieras que la simulación, la capacitación y el retest corran solos, Fensivo la automatiza."})]}):e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"Every resource in this library is a working document, not theory: checklists, warning signs and protocols with the source cited for every figure, written so an IT or security team can apply them the same week they download them. Each one covers a specific stage of the human risk management cycle (detect, test, train, validate) and can be shared as is across the organization."}),e.jsx("p",{children:"They are the manual part of the program; when you want simulation, training and retesting to run on their own, Fensivo automates them."})]})]})}),e.jsx("section",{className:"pb-12 md:pb-16",children:e.jsx("div",{className:"content-container",children:e.jsx(_,{lang:a?"es":"en",horizontal:!0})})})]}),e.jsx(R,{})]})};export{ce 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.