PageSourceSearch

https://elastio.com/_next/static/chunks/1130-77a97c1cee63a5f8.js?dpl=dpl_EQZmS79vkjtHNbxFUwxb5KjxQQuq

js elastio.com collected 2026-10-03 20:18:22 UTC 56,264 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1130],{2384:(e,t,r)=>{"use strict";r.d(t,{A:()=>T});var a=r(12526);r(99486);var s=r(83790),l=r(14385);let n=e=>{let t,{captionClassName:r,className:n,enableGutter:i=!0,imgClassName:o,media:c,staticImage:d,disableInnerContainer:m}=e;return c&&"object"==typeof c&&(t=c.caption),(0,a.jsxs)("div",{className:(0,s.cn)("",{container:i},n),children:[(c||d)&&(0,a.jsx)(l.$,{imgClassName:(0,s.cn)("border border-border rounded-lg",o),resource:c,src:d}),t&&(0,a.jsx)("div",{className:(0,s.cn)("mt-6",{container:!m},r),children:(0,a.jsx)(T,{data:t,enableGutter:!1})})]})};var i=r(8230),o=r(31067),c=r(33745);let d=e=>{let{className:t,code:r,language:s}=e;return(0,a.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,a.jsx)(c.Code,{code:r,language:s})})},m=e=>{let{className:t,author:r}=e;if(!r||"number"==typeof r)return null;let{name:n,nickname:i,bio:o,avatar:c}=r,d=i||n,m=c&&"number"!=typeof c;return(0,a.jsxs)("div",{className:(0,s.cn)("not-prose sm:flex sm:items-start border border-border rounded-lg p-5",t),children:[(0,a.jsx)("div",{className:"mb-4 shrink-0 self-start sm:mr-4 sm:mb-0",children:m?(0,a.jsx)(l.$,{resource:c,pictureClassName:"block",imgClassName:"size-24 object-cover border border-border"}):(0,a.jsx)("svg",{viewBox:"0 0 200 200",fill:"none",stroke:"currentColor",preserveAspectRatio:"none","aria-hidden":"true",className:"size-24 border border-border bg-card text-muted-foreground",children:(0,a.jsx)("path",{d:"M0 0l200 200M0 200L200 0",strokeWidth:"1",vectorEffect:"non-scaling-stroke"})})}),(0,a.jsxs)("div",{children:[d&&(0,a.jsx)("h4",{className:"text-lg font-bold mb-1 -mt-1",children:d}),o&&(0,a.jsx)("p",{className:"mt-1 text-muted-foreground mb-0",children:o})]})]})},u=e=>{let{className:t,content:r,style:l}=e;return(0,a.jsx)("div",{className:(0,s.cn)("mx-auto my-8 w-full",t),children:(0,a.jsx)("div",{className:(0,s.cn)("border py-3 px-6 flex items-center rounded",{"border-border bg-card":"info"===l,"border-error bg-error/30":"error"===l,"border-success bg-success/30":"success"===l,"border-warning bg-warning/30":"warning"===l}),children:(0,a.jsx)(T,{data:r,enableGutter:!1,enableProse:!1})})})};var x=r(48239),h=r.n(x),b=r(11099),g=r.n(b);let f=e=>{let{title:t,image:r,linkType:s,internalLink:n,externalLink:i,mediaLink:o,openInNewTab:c}=e,d=(()=>{if("external"===s)return i||"#";if("media"===s&&o){if("object"==typeof o&&"url"in o&&o.url)return o.url;if("string"==typeof o)return o}if("internal"===s&&n){if("object"==typeof n&&"value"in n&&"object"==typeof n.value&&n.value&&"slug"in n.value)return"/".concat(n.value.slug);if("object"==typeof n&&"slug"in n&&n.slug)return"/".concat(n.slug)}return"#"})(),m=("external"===s||"media"===s)&&c,u=()=>(0,a.jsx)("div",{className:"book-component group cursor-pointer w-[196px] h-[262px] flex-shrink-0",children:(0,a.jsxs)("div",{className:"".concat(g()["book-container"]," relative w-full h-full"),children:[(0,a.jsx)("div",{className:"".concat(g()["book-spine"]," absolute left-0 top-px bottom-px w-1 bg-gradient-to-b from-gray-400 to-gray-600 rounded-l-sm z-10")}),(0,a.jsxs)("div",{className:"".concat(g()["book-cover"]," relative bg-white border border-gray-300 rounded-sm shadow-lg ml-1 w-[188px] h-full"),children:[(0,a.jsxs)("div",{className:"".concat(g()["book-front"]," relative overflow-hidden rounded-sm w-full h-full"),children:[r&&(0,a.jsx)("div",{className:"book-image-section h-1/2 w-full overflow-hidden rounded-t-sm relative",children:(0,a.jsx)(l.$,{resource:r,fill:!0,imgClassName:"object-cover rounded-t-sm",className:"absolute inset-0"})}),(0,a.jsx)("div",{className:"book-title-section bg-white h-1/2 p-2 pt-3 flex items-start",children:t&&(0,a.jsx)("h3",{className:"font-medium text-gray-900 leading-tight line-clamp-4 text-left text-base",style:{margin:0},children:t})})]}),(0,a.jsx)("div",{className:"".concat(g()["book-shadow"]," absolute inset-0 bg-gradient-to-r from-black/20 via-transparent to-transparent opacity-0 transition-opacity duration-300 group-hover:opacity-100 rounded-sm")})]})]})});return"#"===d?(0,a.jsx)(u,{}):"external"===s||"media"===s?(0,a.jsx)("a",{href:d,target:m?"_blank":"_self",rel:m?"noopener noreferrer":void 0,className:"block no-underline",download:"media"===s||void 0,children:(0,a.jsx)(u,{})}):(0,a.jsx)(h(),{href:d,className:"block no-underline",children:(0,a.jsx)(u,{})})};var p=r(82598);let v=e=>{let{eyebrow:t,title:r,icon:s,layout:n="default",links:i,richText:o}=e,c=(e,t)=>{let r=e.match(/Don't let (.+?) ransomware take over your data/);if(r){let e=r[1];return(0,a.jsxs)("h2",{className:t,children:["Don't let"," ",(0,a.jsx)("span",{className:"bg-gradient-to-r from-red-400 to-red-600 bg-clip-text text-transparent font-extrabold",children:e})," ","ransomware take over your data"]})}return(0,a.jsx)("h2",{className:t,children:e})};return"centered"===n?(0,a.jsx)("div",{className:"bg-gray-900/50 backdrop-blur-sm rounded-lg p-6 sm:p-8 border border-gray-800",children:(0,a.jsxs)("div",{className:"flex flex-col items-center text-center",children:[s&&(0,a.jsx)("div",{className:"mb-4",children:(0,a.jsx)(l.$,{resource:s,className:"w-20 h-20 object-contain"})}),t&&(0,a.jsx)("p",{className:"text-sm font-semibold uppercase tracking-wider mb-3 bg-gradient-to-r from-[#376cfb] via-[#8b5cf6] to-[#ed2557] inline-block text-transparent bg-clip-text",children:t}),r&&c(r,"text-3xl sm:text-4xl lg:text-5xl font-bold mb-4 text-white"),o&&(0,a.jsx)("div",{className:"mb-6 max-w-2xl",children:(0,a.jsx)(T,{className:"mb-0",data:o,enableGutter:!1})}),i&&i.length>0&&(0,a.jsx)("div",{className:"flex flex-col sm:flex-row gap-4 items-center",children:i.map((e,t)=>{let{link:r}=e;return(0,a.jsx)(p.CMSLink,{size:"lg",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg transition-colors font-medium text-sm",...r},t)})})]})}):(0,a.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,a.jsx)("div",{className:"max-w-3xl flex items-center",children:(0,a.jsxs)("div",{className:"flex flex-col",children:[s&&(0,a.jsx)("div",{className:"mb-4",children:(0,a.jsx)(l.$,{resource:s,className:"w-16 h-16 object-contain"})}),t&&(0,a.jsx)("p",{className:"text-sm font-semibold uppercase tracking-wider mb-3 bg-gradient-to-r from-[#376cfb] via-[#8b5cf6] to-[#ed2557] inline-block text-transparent bg-clip-text",children:t}),r&&c(r,"text-2xl sm:text-3xl lg:text-4xl font-bold mb-3 text-white"),o&&(0,a.jsx)(T,{className:"mb-0",data:o,enableGutter:!1})]})}),(0,a.jsx)("div",{className:"flex flex-col gap-8",children:(i||[]).map((e,t)=>{let{link:r}=e;return(0,a.jsx)(p.CMSLink,{size:"lg",...r},t)})})]})};var j=r(70691);let y=e=>{let{contacts:t,layout:r="grid"}=e;if(!t||0===t.length){let{photo:t,name:r,title:s,socialLinks:l,bio:n,buttonText:i}=e;return t||r||s?(0,a.jsx)(j.Contact,{photo:t,name:r,title:s,socialLinks:(null==l?void 0:l.map(e=>({platform:e.platform,url:e.url,id:e.id||void 0})))||[],bio:n||void 0,buttonText:i||void 0}):null}return(0,a.jsx)("div",{className:"py-8 sm:py-16",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,a.jsx)("div",{className:(0,s.cn)((()=>{switch(r){case"2-cols":return"grid grid-cols-1 md:grid-cols-2 gap-6";case"3-cols":return"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6";default:return"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6"}})()),children:t.map((e,t)=>{var r;return(0,a.jsx)(j.Contact,{photo:e.photo,name:e.name,title:e.title,socialLinks:(null==(r=e.socialLinks)?void 0:r.map(e=>({platform:e.platform,url:e.url,id:e.id||void 0})))||[],bio:e.bio||void 0,buttonText:e.buttonText||void 0},e.id||t)})})})})},N=e=>{let{title:t,asset:r,buttonText:s="Download",buttonAppearance:l="default",description:n}=e;return t&&r?(0,a.jsxs)("div",{className:"not-prose bg-card rounded border-border border p-4 flex flex-col md:flex-row md:justify-between md:items-center gap-4",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h3",{className:"text-base font-semibold text-white",children:t}),n&&(0,a.jsx)("p",{className:"text-gray-400 text-sm mt-1",children:n})]}),(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)(p.CMSLink,{type:"custom",url:"object"==typeof r&&(null==r?void 0:r.url)?r.url:"",newTab:!0,size:"default",appearance:l,label:s,icon:"download",iconPosition:"before"})})]}):null};var w=r(29917),k=r(66446);let C=e=>{let{videoId:t,aspectRatio:r="16:9",autoplay:s=!1,showControls:l=!0,className:n=""}=e,i=(e=>{if(11===e.length&&!e.includes("/"))return e;for(let t of[/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\n?#]+)/,/youtube\.com\/v\/([^&\n?#]+)/]){let r=e.match(t);if(r&&r[1])return r[1]}return e})(t),o=new URL("https://www.youtube.com/embed/".concat(i));return s&&o.searchParams.set("autoplay","1"),!1===l&&o.searchParams.set("controls","0"),(0,a.jsx)("div",{className:"w-full ".concat(n),children:(0,a.jsx)("div",{className:"relative ".concat("4:3"===r?"aspect-[4/3]":"aspect-video"," overflow-hidden rounded-lg"),children:(0,a.jsx)("iframe",{src:o.toString(),title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"})})})},S=e=>{let{videoId:t,aspectRatio:r="16:9",autoplay:s=!1,showTitle:l=!0,showByline:n=!0,className:i=""}=e,o=(e=>
1{if(/^\d+$/.test(e))return e;for(let t of[/vimeo\.com\/(\d+)/,/vimeo\.com\/video\/(\d+)/,/player\.vimeo\.com\/video\/(\d+)/]){let r=e.match(t);if(r&&r[1])return r[1]}return e})(t),c=new URL("https://player.vimeo.com/video/".concat(o));return s&&c.searchParams.set("autoplay","1"),!1===l&&c.searchParams.set("title","0"),!1===n&&c.searchParams.set("byline","0"),(0,a.jsx)("div",{className:"w-full ".concat(i),children:(0,a.jsx)("div",{className:"relative ".concat("4:3"===r?"aspect-[4/3]":"aspect-video"," overflow-hidden rounded-lg"),children:(0,a.jsx)("iframe",{src:c.toString(),title:"Vimeo video player",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"})})})},_=e=>{let{linkNode:t}=e,r=t.fields.doc;if(!r)return"#";let{value:a,relationTo:s}=r;if(!a||"object"!=typeof a)return"#";if("pages"===s&&"breadcrumbs"in a){let e=a.breadcrumbs;if(e&&e.length>0){let t=e[e.length-1];if(null==t?void 0:t.url)return t.url}}let l="slug"in a?a.slug:null;return"string"==typeof l&&l?"posts"===s?"/blog/".concat(l):"/".concat(l):"#"},z=e=>e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""),L=e=>e.children&&Array.isArray(e.children)?e.children.map(e=>("text"===e.type||"linebreak"===e.type)&&e.text||"").join(""):"",A=e=>{let{defaultConverters:t}=e;return{...t,...(0,i.A)({internalDocToHref:_}),heading:e=>{let{node:t,nodesToJSX:r}=e,s=z(L(t)),l=t.tag;return(0,a.jsx)(l,{id:s,className:"scroll-mt-24",children:r({nodes:t.children})})},upload:e=>{let{node:t}=e,{value:r,fields:s}=t,n=null==s?void 0:s.caption;return(0,a.jsxs)("figure",{className:"my-8",children:[(0,a.jsx)(l.$,{resource:r,imgClassName:"rounded-lg border border-border"}),n&&(0,a.jsx)("figcaption",{className:"-mt-2 text-sm text-center text-muted-foreground",children:n})]})},blocks:{authorBio:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"col-start-2 my-8",children:(0,a.jsx)(m,{...t.fields})})},banner:e=>{let{node:t}=e;return(0,a.jsx)(u,{className:"col-start-2 mb-4",...t.fields})},book:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"col-start-2 flex justify-center my-8",children:(0,a.jsx)(f,{...t.fields})})},downloadAsset:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"col-start-2 my-8",children:(0,a.jsx)(N,{...t.fields})})},hubspotForm:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"col-start-2 my-8",children:(0,a.jsx)(w.HubSpotFormBlock,{...t.fields,disableInnerContainer:!1})})},mediaBlock:e=>{let{node:t}=e;return(0,a.jsx)(n,{className:"col-start-1 col-span-3",imgClassName:"m-0",...t.fields,captionClassName:"mx-auto max-w-3xl",enableGutter:!1,disableInnerContainer:!0})},code:e=>{let{node:t}=e;return(0,a.jsx)(d,{className:"col-start-2",...t.fields})},contact:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"col-start-2 my-8",children:(0,a.jsx)(y,{...t.fields})})},cta:e=>{let{node:t}=e;return(0,a.jsx)(v,{...t.fields})},ransomwareTable:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"col-start-1 col-span-3 my-8",children:(0,a.jsx)(k.RansomwareTableClientBlock,{...t.fields})})},youtubeEmbed:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"col-start-2 my-8",children:(0,a.jsx)(C,{...t.fields})})},vimeoEmbed:e=>{let{node:t}=e;return(0,a.jsx)("div",{className:"col-start-2 my-8",children:(0,a.jsx)(S,{...t.fields})})}}}};function T(e){let{className:t,enableProse:r=!0,enableGutter:l=!0,...n}=e;return(0,a.jsx)(o.s,{converters:A,className:(0,s.cn)("payload-richtext",{container:l,"max-w-none":!l,"mx-auto prose md:prose-md dark:prose-invert":r},t),...n})}},11099:e=>{e.exports={"book-container":"Component_book-container__b7GYW","book-cover":"Component_book-cover__46UEy","book-spine":"Component_book-spine__lQOig","book-front":"Component_book-front__nPK9c","book-shadow":"Component_book-shadow__tnzqC"}},11560:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CarouselBlock:()=>c});var a=r(12526),s=r(83790),l=r(99486),n=r(2384),i=r(14385),o=r(65794);let c=e=>{let{className:t,preContent:r,items:c=[],autoplay:d=!1,autoplayInterval:m=5,eyebrow:u}=e,[x,h]=(0,l.useState)(0),[b,g]=(0,l.useState)(!1),[f,p]=(0,l.useState)(0),v=c&&Array.isArray(c)&&c.length>0,j=v&&1===c.length,y=(0,l.useCallback)(e=>{h(e),d&&m&&p(m)},[d,m]),N=(0,l.useCallback)(e=>{v&&!j&&c&&("ArrowLeft"===e.key?y(x>0?x-1:c.length-1):"ArrowRight"===e.key&&y(x<c.length-1?x+1:0))},[v,j,c,x,y]);if((0,l.useEffect)(()=>(window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)),[N]),(0,l.useEffect)(()=>
1{if(!d||!v||j||!c||!m)return void p(0);p(m)},[d,m,v,j,c,x]),(0,l.useEffect)(()=>{if(!d||!v||j||b||!c||!m||f<=0)return;let e=setInterval(()=>{p(e=>e-1)},1e3);return()=>clearInterval(e)},[d,v,j,b,c,m,f]),(0,l.useEffect)(()=>{d&&!j&&!b&&0===f&&c&&c.length>0&&h((x+1)%c.length)},[f,d,j,b,x,c]),!v)return null;let w=c[x];return(0,a.jsx)("div",{className:(0,s.cn)("py-8 sm:py-16",t),children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:[(u||r&&!(0,o.N)(r))&&(0,a.jsxs)("div",{className:"mb-12 text-center",children:[u&&(0,a.jsx)("p",{className:"text-sm font-semibold uppercase tracking-wider mb-3 bg-gradient-to-r from-[#376cfb] via-[#8b5cf6] to-[#ed2557] inline-block text-transparent bg-clip-text",children:u}),r&&!(0,o.N)(r)&&(0,a.jsx)(n.A,{data:r,enableGutter:!1})]}),!j&&(0,a.jsx)("div",{className:"flex justify-center mb-8",children:(0,a.jsx)("div",{className:"inline-flex gap-1",role:"tablist","aria-label":"Carousel navigation",children:c.map((e,t)=>(0,a.jsx)("button",{onClick:()=>y(t),className:(0,s.cn)("px-2 py-1 sm:px-3 sm:py-2 text-xs sm:text-sm font-normal rounded-4xl transition-colors cursor-pointer outline-none border-0",x===t?"bg-gradient-to-br from-[#ed2557] from-20% via-[#8b5cf6] via-70% to-[#376cfb] to-100% text-white":"text-primary/80 hover:bg-gray-100 dark:hover:bg-gray-900 hover:text-primary/80"),role:"tab","aria-selected":x===t,"aria-controls":"carousel-panel-".concat(t),"aria-label":"View ".concat(e.title),id:"carousel-tab-".concat(t),children:e.title},t))})}),(0,a.jsxs)("div",{className:"relative",role:"tabpanel",id:"carousel-panel-".concat(x),"aria-labelledby":"carousel-tab-".concat(x),children:[(0,a.jsxs)("div",{className:"relative",onMouseEnter:()=>d&&g(!0),onMouseLeave:()=>d&&g(!1),children:[(0,a.jsx)("div",{className:"relative w-full aspect-video bg-gray-100 dark:bg-gray-800 rounded-xl overflow-hidden",children:c.map((e,t)=>(0,a.jsx)("div",{className:(0,s.cn)("absolute inset-0 transition-opacity duration-500 ease-in-out",t===x?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none"),"aria-hidden":t!==x,children:e.media&&(0,a.jsx)(i.$,{resource:e.media,imgClassName:"w-full h-full object-cover",priority:0===t,loading:0===t?"eager":"lazy"})},t))}),(null==w?void 0:w.content)&&(0,a.jsx)("div",{className:"absolute bottom-4 left-4 right-4 hidden sm:block",children:(0,a.jsx)("div",{className:"bg-white/80 dark:bg-black/80 backdrop-blur-sm rounded-xl p-6 animate-fade-in border border-gray-200 dark:border-white/10",children:(0,a.jsx)(n.A,{data:w.content,enableGutter:!1,className:"text-gray-400 dark:text-gray-400 [&_strong]:text-white [&_b]:text-white"})})},"content-".concat(x))]}),(0,a.jsx)("div",{className:"flex justify-center mt-6 gap-2",children:c.map((e,t)=>{let r=t===x,l=r&&d&&!b&&f>0,n=l&&m?(m-f)/m*100:0;return(0,a.jsx)("button",{onClick:()=>y(t),className:(0,s.cn)("relative overflow-hidden transition-all duration-300 cursor-pointer",l?"w-8 h-2 rounded-full bg-white/30 scale-110":r?"w-2 h-2 rounded-full bg-white scale-125":"w-2 h-2 rounded-full bg-white/50 hover:bg-white/75"),"aria-label":"Go to slide ".concat(t+1),children:l&&(0,a.jsx)("div",{className:"absolute top-0 left-0 h-full bg-white rounded-full transition-all duration-1000 ease-linear",style:{width:"".concat(n,"%")}})},t)})})]}),(0,a.jsxs)("div",{className:"sr-only","aria-live":"polite","aria-atomic":"true",children:["Showing slide: ",null==w?void 0:w.title]})]})})}},15072:()=>{},16665:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var a=r(12526),s=r(83790),l=r(52352),n=r(40248),i=r(99486);let o=(0,n.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-[0.9rem] font-semibold ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-7 py-2",icon:"h-10 w-10",lg:"h-11 rounded-md px-8",sm:"h-9 rounded-md px-3"},variant:{default:"bg-brand-teal text-primary-foreground hover:bg-brand-teal/85",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",elastioRed:"bg-elastio-red text-white hover:bg-elastio-red/90",elastioBlue:"bg-elastio-blue text-white hover:bg-elastio-blue/90",ghost:"hover:bg-white/[0.07] hover:text-foreground",link:"text-primary items-start justify-start",outline:"border border-white/20 bg-transparent text-muted-foreground hover:text-foreground hover:border-white/40 hover:bg-white/[0.05]",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),c=e=>{let{asChild:t=!1,className:r,size:n,variant:c,ref:d,icon:m,iconPosition:u="after",children:x,...h}=e,b=t?l.DX:"button";return t?(0,a.jsx)(b,{className:(0,s.cn)(o({className:r,size:n,variant:c})),ref:d,...h,children:i.cloneElement(x,{},["before"===u&&m&&(0,a.jsx)("span",{className:"mr-2 flex items-center",children:m},"icon-before"),x.props.children,"after"===u&&m&&(0,a.jsx)("span",{className:"ml-2 flex items-center",children:m}
1,"icon-after")].filter(Boolean))}):(0,a.jsxs)(b,{className:(0,s.cn)(o({className:r,size:n,variant:c})),ref:d,...h,children:["before"===u&&m&&(0,a.jsx)("span",{className:"mr-2 flex items-center",children:m}),x,"after"===u&&m&&(0,a.jsx)("span",{className:"ml-2 flex items-center",children:m})]})}},29802:(e,t,r)=>{"use strict";r.d(t,{I:()=>a.Icon});var a=r(64621)},29917:(e,t,r)=>{"use strict";r.r(t),r.d(t,{HubSpotFormBlock:()=>i});var a=r(12526),s=r(99486);r(74333);let l=()=>(0,a.jsx)("svg",{className:"w-12 h-12 text-green-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),n="hubspot-form-section isolate px-8 py-8 bg-gray-900 rounded-lg border border-solid border-gray-800",i=e=>{let{formId:t,portalId:r,redirectUrl:i,loading:o=!0,disableInnerContainer:c=!1,sectionClassName:d}=e,m=(0,s.useRef)(null),[u,x]=(0,s.use
1State)(o),[h,b]=(0,s.useState)(!1),[g,f]=(0,s.useState)(null),[p,v]=(0,s.useState)(!1),[j,y]=(0,s.useState)(null),N=(null!=r?r:"").trim(),[w,k]=(0,s.useState)(N),[C,S]=(0,s.useState)("na1"),[_,z]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{let e=!1;return N&&k(N),(async()=>{try{let t=await fetch("/api/globals/hubspot-settings");if(!t.ok||e)return;let r=await t.json();if(e)return;r.region&&S(r.region),!N&&r.portalId&&k(String(r.portalId).trim())}catch(e){console.error("Failed to fetch HubSpot settings:",e)}finally{e||z(!0)}})(),()=>{e=!0}},[r,N]),(0,s.useEffect)(()=>{if(window.hbspt&&window.hbspt.forms)return void b(!0);let e=document.createElement("script");return e.src="//js.hsforms.net/forms/v2.js",e.async=!0,e.onload=()=>{b(!0)},e.onerror=()=>{f("Failed to load HubSpot form script"),x(!1)},document.body.appendChild(e),()=>{e.parentNode&&e.parentNode.removeChild(e)}},[]),(0,s.useEffect)(()=>{if(h&&m.current&&t&&w)try{m.current.innerHTML="";let e="hubspot-form-".concat(t,"-").concat(Date.now());m.current.id=e,window.hbspt.forms.create({region:C,portalId:w,formId:t,target:"#".concat(e),onFormReady:()=>{x(!1)},onFormSubmit:()=>{console.log("HubSpot form submitted")},onFormSubmitted:e=>{if(console.log("HubSpot form submission complete",e),i){window.location.href=i;return}let t=null;e&&"object"==typeof e&&(t=("string"==typeof e.thankYouMessage?e.thankYouMessage:null)||("string"==typeof e.thankYou?e.thankYou:null)||null),y(t),v(!0)}})}catch(e){console.error("Error creating HubSpot form:",e),f("Failed to create HubSpot form"),x(!1)}},[h,t,w,C,i]),t)?_||N?w?g?(0,a.jsx)("div",{className:"hubspot-form-error bg-red-50/50 border border-red-200/50 rounded-lg p-6 text-center",children:(0,a.jsx)("p",{className:"text-red-500 font-medium",children:g})}):(0,a.jsx)("div",{className:null!=d?d:n,children:(0,a.jsxs)("div",{className:"hubspot-form-container ".concat(c?"":"mx-auto max-w-xl"),children:[u&&(0,a.jsxs)("div",{className:"hubspot-form-loading flex items-center justify-center p-8",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-indigo-600"}),(0,a.jsx)("span",{className:"ml-3 text-gray-400",children:"Loading form..."})]}),p?(0,a.jsxs)("div",{className:"hubspot-form-success flex flex-col items-center justify-center p-8 text-center min-h-[24rem]",children:[(0,a.jsx)(l,{}),j&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)("div",{className:"text-gray-300",dangerouslySetInnerHTML:{__html:j}})})]}):(0,a.jsx)("div",{ref:m,className:"hubspot-form ".concat(u?"opacity-0":"opacity-100"," transition-opacity duration-300")})]})}):(0,a.jsx)("div",{className:"hubspot-form-error bg-red-50/50 border border-red-200/50 rounded-lg p-6 text-center",children:(0,a.jsx)("p",{className:"text-red-500 font-medium",children:"HubSpot form configuration incomplete. Add a Portal ID in Settings → HubSpot, or on this block."})}):(0,a.jsx)("div",{className:null!=d?d:n,children:(0,a.jsxs)("div",{className:"hubspot-form-loading flex items-center justify-center p-8",children:[(0,a.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-b-2 border-indigo-600"}),(0,a.jsx)("span",{className:"ml-3 text-gray-400",children:"Loading form..."})]})}):(0,a.jsx)("div",{className:"hubspot-form-error bg-red-50/50 border border-red-200/50 rounded-lg p-6 text-center",children:(0,a.jsx)("p",{className:"text-red-500 font-medium",children:"HubSpot form ID is missing."})})}},31218:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FAQBlock:()=>o});var a=r(12526),s=r(99486),l=r(2384),n=r(29802),i=r(33357);let o=e=>{let{heading:t,items:r,displayStyle:o="accordion",expandFirst:c=!0}=e,[d,m]=(0,s.useState)(new Set("accordion"===o&&c?[0]:[])),u=e=>{if("accordion"!==o)return;let t=new Set(d);t.has(e)?t.delete(e):t.add(e),m(t)},x=e=>{var t;if(!(null==e||null==(t=e.root)?void 0:t.children))return"";let r=e=>e.map(e=>"text"===e.type?e.text||"":e.children?r(e.children):"").join(" ").trim();return r(e.root.children)};if(!r||0===r.length)return null;let h="accordion"===o;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{id:"faq-structured-data",type:"application/ld+json",dangerouslySetInnerHTML:{__html:(r&&0!==r.length?JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:r.map(e=>
1({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:x(e.answer)}}))}):null)||""}}),(0,a.jsxs)("div",{className:"container",children:[t&&(0,a.jsx)("div",{className:"mb-8",children:(0,a.jsx)(l.A,{data:t,enableGutter:!1})}),(0,a.jsx)("div",{className:"space-y-2 mx-auto",children:r.map((e,t)=>{let r=!h||d.has(t);return(0,a.jsxs)("div",{className:"border border-border rounded-lg overflow-hidden bg-card",children:[(0,a.jsxs)("button",{onClick:()=>u(t),className:"w-full px-6 py-4 text-left flex items-center justify-between gap-4 transition-colors ".concat(h?"hover:bg-muted/50 cursor-pointer":"cursor-default"),"aria-expanded":r,"aria-controls":"faq-answer-".concat(t),disabled:!h,children:[(0,a.jsx)("h3",{className:"text-lg font-semibold flex-1",children:e.question}),h&&(0,a.jsx)(n.I,{name:"chevron-down",size:20,className:"flex-shrink-0 transition-transform duration-200 ".concat(r?"rotate-180":"")})]}),(0,a.jsx)("div",{id:"faq-answer-".concat(t),className:"overflow-hidden transition-all duration-300 ".concat(r?"max-h-[1000px] opacity-100":"max-h-0 opacity-0"),"aria-hidden":!r,children:(0,a.jsx)("div",{className:"px-6 pb-4",children:(0,a.jsx)("div",{className:"prose prose-invert max-w-none",children:(0,a.jsx)(l.A,{data:e.answer,enableGutter:!1})})})})]},t)})})]})]})}},33745:(e,t,r)=>{"use strict";r.d(t,{Code:()=>c});var a=r(12526),s=r(21832),l=r(99486),n=r(16665),i=r(15796);function o(e){let{code:t}=e,[r,s]=(0,l.useState)("Copy");return(0,a.jsx)("div",{className:"flex justify-end align-middle",children:(0,a.jsxs)(n.$,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),"Copy"===r&&(s(()=>"Copied!"),setTimeout(()=>{s(()=>"Copy")},1e3))},children:[(0,a.jsx)("p",{children:r}),(0,a.jsx)(i.A,{})]})})}let c=e=>{let{code:t,language:r=""}=e;return t?(0,a.jsx)(s.f4,{code:t,language:r,theme:s.Zj.vsDark,children:e=>{let{getLineProps:r,getTokenProps:s,tokens:l}=e;return(0,a.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[l.map((e,t)=>(0,a.jsxs)("div",{...r({className:"table-row",line:e}),children:[(0,a.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:t+1}),(0,a.jsx)("span",{className:"table-cell pl-4",children:e.map((e,t)=>(0,a.jsx)("span",{...s({token:e})},t))})]},t)),(0,a.jsx)(o,{code:t})]})}}):null}},45897:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PricingWizardBlock:()=>l});var a=r(12526),s=r(99486);r(15072);let l=e=>{let{hubspotFormId:t,successMessage:r,redirectUrl:l,disableInnerContainer:n=!1}=e,[i,o]=(0,s.useState)(1),[c,d]=(0,s.useState)({numberOfClouds:"",email:"",firstName:"",lastName:"",jobTitle:"",company:"",country:"",phoneNumber:""}
1),[m,u]=(0,s.useState)(!1),[x,h]=(0,s.useState)(!1),[b,g]=(0,s.useState)(null),f=(e,t)=>{d(r=>({...r,[e]:t}))},p=e=>{switch(e){case 1:return""!==c.numberOfClouds;case 2:return""!==c.email&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(c.email);case 3:return""!==c.firstName&&""!==c.lastName;case 4:return""!==c.jobTitle&&""!==c.company&&""!==c.country&&""!==c.phoneNumber;default:return!1}},v=async()=>{if(!p(i))return void g("Please fill in all required fields");u(!0),g(null);try{if(!(await fetch("/api/hubspot/submit-form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formId:t,fields:{"0-2/number_of_clouds":c.numberOfClouds,email:c.email,firstname:c.firstName,lastname:c.lastName,jobtitle:c.jobTitle,company:c.company,hs_country_region_code:c.country,mobilephone:c.phoneNumber}})})).ok)throw Error("Failed to submit form");h(!0),l&&setTimeout(()=>{window.location.href=l},2e3)}catch(e){g("There was an error submitting the form. Please try again."),console.error("Form submission error:",e)}finally{u(!1)}};return x?(0,a.jsx)("div",{className:"pricing-wizard-container",children:(0,a.jsx)("div",{className:"pricing-wizard pricing-wizard--success",children:(0,a.jsxs)("div",{className:"pricing-wizard-success",children:[(0,a.jsx)("div",{className:"success-icon-circle","aria-hidden":!0,children:"✓"}),(0,a.jsx)("h2",{className:"pricing-wizard-success-title",children:"Request Received"}),(0,a.jsx)("p",{className:"pricing-wizard-success-text",children:r||"Thank you! We will be in touch soon."})]})})}):(0,a.jsx)("div",{className:"pricing-wizard-container",children:(0,a.jsxs)("div",{className:"pricing-wizard",children:[(0,a.jsxs)("div",{className:"wizard-progress-dots",role:"group","aria-label":"Form step ".concat(i," of ").concat(4),children:[Array.from({length:4},(e,t)=>{let r=t+1,s=r===i,l=r<i;return(0,a.jsxs)("div",{className:"wizard-progress-dots__segment",children:[(0,a.jsx)("div",{className:"wizard-dot ".concat(s?"wizard-dot--active":""," ").concat(l?"wizard-dot--done":"")}),r<4&&(0,a.jsx)("div",{className:"wizard-dot-connector ".concat(l?"wizard-dot-connector--done":"")})]},r)}),(0,a.jsxs)("span",{className:"wizard-step-count",children:["Step ",i," of ",4]})]}),(0,a.jsxs)("div",{className:"wizard-step-heading",children:[(0,a.jsx)("div",{className:"wizard-step-eyebrow",children:["Cloud environments","Work email","Your name","Company details"][i-1]}),(0,a.jsx)("div",{className:"wizard-step-eyebrow-line"})]}),(0,a.jsxs)("div",{className:"wizard-content",children:[1===i&&(0,a.jsxs)("div",{className:"wizard-step",children:[(0,a.jsx)("h2",{children:"How many clouds are you using?"}),(0,a.jsx)("p",{className:"step-description",children:"AWS, Azure, GCP, IBM."}),(0,a.jsx)("div",{className:"cloud-options",children:["1","2","3","4"].map(e=>(0,a.jsx)("button",{type:"button",className:"cloud-option ".concat(c.numberOfClouds===e?"selected":""),onClick:()=>f("numberOfClouds",e),children:e},e))})]}),2===i&&(0,a.jsxs)("div",{className:"wizard-step",children:[(0,a.jsx)("h2",{children:"Your details"}),(0,a.jsx)("p",{className:"step-description",children:"Please enter work email below"}),(0,a.jsx)("div",{className:"form-field",children:(0,a.jsx)("input",{type:"email",placeholder:"Work email",value:c.email,onChange:e=>f("email",e.target.value),required:!0})}),(0,a.jsx)("p",{className:"privacy-notice",children:"By continuing, I agree to Elastio processing my information as further described in Elastio's Privacy Policy."})]}),3===i&&(0,a.jsxs)("div",{className:"wizard-step",children:[(0,a.jsx)("h2",{children:"Your details"}),(0,a.jsx)("p",{className:"step-description",children:"Please enter your name"}),(0,a.jsxs)("div",{className:"form-fields-group",children:[(0,a.jsx)("div",{className:"form-field",children:(0,a.jsx)("input",{type:"text",placeholder:"First name",value:c.firstName,onChange:e=>f("firstName",e.target.value),required:!0})}),(0,a.jsx)("div",{className:"form-field",children:(0,a.jsx)("input",{type:"text",placeholder:"Last name",value:c.lastName,onChange:e=>f("lastName",e.target.value),required:!0})})]})]}),4===i&&(0,a.jsxs)("div",{className:"wizard-step",children:[(0,a.jsx)("h2",{children:"Your company details"}),(0,a.jsx)("p",{className:"step-description",children:"We look forward to preparing your custom quote"}),(0,a.jsxs)("div",{className:"form-fields-group",children:[(0,a.jsx)("div",{className:"form-field",children:(0,a.jsx)("input",{type:"text",placeholder:"Job title",value:c.jobTitle,onChange:e=>f("jobTitle",e.target.value),required:!0})}),(0,a.jsx)("div",{className:"form-field",children:(0,a.jsx)("input",{type:"text",placeholder:"Company name",value:c.company,onChange:e=>f("company",e.target.value),required:!0})}),(0,a.jsx)("div",{className:"form-field",children:(0,a.jsx)("input",{type:"text",placeholder:"Country/Region Code",value:c.country,onChange:e=>f("country",e.target.value),required:!0})}),(0,a.jsx)("div",{className:"form-field",children:(0,a.jsx)("input",{type:"tel",placeholder:"Mobile phone number",value:c.phoneNumber,onChange:e=>f("phoneNumber",e.target.value),required:!0})})]}),(0,a.jsx)("p",{className:"privacy-notice",children:"For information about how Elastio handles your personal data, please see our Privacy Policy."})]}),b&&(0,a.jsx)("div",{className:"error-message",children:b})]}),(0,a.jsxs)("div",{className:"wizard-actions",children:[i>1&&(0,a.jsx)("button",{type:"button",className:"btn-back",onClick:()=>{g(null),o(e=>Math.max(e-1,1))},disabled:m,children:"< Go Back"}),i<4?(0,a.jsx)("button",{type:"button",className:"btn-next",onClick:()=>{p(i)?(g(null),o(e=>Math.min(e+1,4))):g("Please fill in all required fields")},disabled:m,children:"Next"}):(0,a.jsx)("button",{type:"button",className:"btn-submit",onClick:v,disabled:m,children:m?"Sending...":"Send Request"})]})]})})}},55319:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LivePreviewListener:()=>i});
1var a=r(12526),s=r(5345),l=r(87355),n=r(96080);r(99486);let i=()=>{let e=(0,n.useRouter)();return(0,a.jsx)(l.p,{refresh:e.refresh,serverURL:(0,s.y)()})}},58197:(e,t,r)=>{"use strict";r.d(t,{RecentRansomware:()=>o});var a=r(12526);r(99486);var s=r(48239),l=r.n(s),n=r(83790),i=r(29802);let o=e=>{let{title:t="Recent Ransomware",subtitle:r="Latest entries in our ransomware detection database",limit:s=10,ransomwareEntries:o=[],showFirstSeen:c=!0,showDescription:d=!1,layout:m="list",className:u}=e,x=o.slice(0,s);return 0===x.length?(0,a.jsx)("div",{className:(0,n.cn)("text-gray-400",u),children:(0,a.jsx)("p",{children:"No ransomware entries available."})}):"sidebar"===m?(0,a.jsxs)("div",{className:(0,n.cn)("bg-black backdrop-blur-sm rounded-lg p-6 border border-gray-800",u),children:[(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-cyan-400",children:t}),r&&(0,a.jsx)("p",{className:"text-sm text-gray-400 mt-1",children:r})]}),(0,a.jsx)("ul",{className:"space-y-3",children:x.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/ransomware-detection/".concat(e.slug),className:"group block",children:(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)(i.I,{name:"bug",size:16,className:"text-gray-500 mt-0.5 group-hover:text-cyan-400 transition-colors flex-shrink-0"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-gray-300 group-hover:text-cyan-400 transition-colors truncate",children:e.title}),c&&e.firstSeen&&(0,a.jsxs)("p",{className:"text-xs text-gray-500 mt-1",children:["First seen: ",new Date(e.firstSeen).getFullYear()]})]})]})})},e.id))}),(0,a.jsx)("div",{className:"mt-6 pt-4 border-t border-gray-700",children:(0,a.jsxs)(l(),{href:"/ransomware-detection",className:"text-sm text-cyan-400 hover:text-cyan-300 transition-colors inline-flex items-center gap-1",children:["View all ransomware",(0,a.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})})]}):"grid"===m?(0,a.jsxs)("div",{className:(0,n.cn)("",u),children:[t&&(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("h2",{className:"text-2xl font-semibold text-cyan-400",children:t}),r&&(0,a.jsx)("p",{className:"text-gray-400 mt-2",children:r})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:x.map(e=>(0,a.jsx)(l(),{href:"/ransomware-detection/".concat(e.slug),className:"group",children:(0,a.jsxs)("div",{className:"bg-gray-900/50 backdrop-blur-sm rounded-lg p-6 border border-gray-800 hover:border-cyan-400/50 transition-all",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3 mb-3",children:[(0,a.jsx)(i.I,{name:"bug",size:24,className:"text-cyan-400 mt-0.5 flex-shrink-0"}),(0,a.jsx)("h3",{className:"text-lg font-semibold text-gray-200 group-hover:text-cyan-400 transition-colors",children:e.title})]}),d&&e.aka&&e.aka.length>0&&(0,a.jsxs)("p",{className:"text-sm text-gray-400 mb-2",children:["Also known as:"," ",e.aka.slice(0,2).map(e=>e.alias).join(", "),e.aka.length>2&&" +".concat(e.aka.length-2," more")]}),c&&e.firstSeen&&(0,a.jsxs)("p",{className:"text-xs text-gray-500",children:["First seen: ",new Date(e.firstSeen).toLocaleDateString()]})]})},e.id))}),(0,a.jsx)("div",{className:"mt-8 text-center",children:(0,a.jsxs)(l(),{href:"/ransomware-detection",className:"inline-flex items-center gap-2 px-6 py-3 bg-cyan-400/10 hover:bg-cyan-400/20 text-cyan-400 rounded-lg transition-colors",children:["View all ransomware entries",(0,a.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})})]}):(0,a.jsxs)("div",{className:(0,n.cn)("",u),children:[t&&(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("h2",{className:"text-2xl font-semibold text-cyan-400",children:t}),r&&(0,a.jsx)("p",{className:"text-gray-400 mt-2",children:r})]}),(0,a.jsx)("div",{className:"space-y-4",children:x.map(e=>(0,a.jsx)(l(),{href:"/ransomware-detection/".concat(e.slug),className:"group block",children:(0,a.jsx)("div",{className:"bg-gray-900/50 backdrop-blur-sm rounded-lg p-4 border border-gray-800 hover:border-cyan-400/50 transition-all",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(i.I,{name:"bug",size:20,className:"text-cyan-400 flex-shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-base font-medium text-gray-200 group-hover:text-cyan-400 transition-colors",children:e.title}),d&&e.aka&&e.aka.length>0&&(0,a.jsxs)("p",{className:"text-sm text-gray-400 mt-1",children:["Also known as: ",e.aka.map(e=>
1e.alias).join(", ")]})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[c&&e.firstSeen&&(0,a.jsx)("span",{className:"text-sm text-gray-500",children:new Date(e.firstSeen).getFullYear()}),(0,a.jsx)("svg",{className:"w-4 h-4 text-gray-400 group-hover:text-cyan-400 transition-colors",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})]})})},e.id))}),(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsxs)(l(),{href:"/ransomware-detection",className:"text-cyan-400 hover:text-cyan-300 transition-colors inline-flex items-center gap-1",children:["View all ransomware entries",(0,a.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})})]})}},64621:(e,t,r)=>{"use strict";r.d(t,{Icon:()=>l});var a=r(12526),s=r(99486);let l=e=>{let{name:t,className:r="",size:l=16,width:n,height:i,loading:o="lazy",priority:c="low"}=e,[d,m]=(0,s.useState)("");return((0,s.useEffect)(()=>{if(t)fetch("/icons/".concat(t,".svg"),{..."high"===c&&{priority:"high"}}).then(e=>e.text()).then(e=>{let t=new DOMParser().parseFromString(e,"image/svg+xml").querySelector("svg");t&&(void 0!==n&&void 0!==i?(t.setAttribute("width",n.toString()),t.setAttribute("height",i.toString())):(t.setAttribute("width",l.toString()),t.setAttribute("height",l.toString())),t.setAttribute("class",r),m(t.outerHTML))}).catch(e=>console.error("Failed to load SVG:",e))},[t,r,l,n,i,o,c]),d)?(0,a.jsx)("div",{className:"inline-flex items-center",dangerouslySetInnerHTML:{__html:d}}):null}},65794:(e,t,r)=>{"use strict";function a(e){if(!e||!e.root)return!0;let{root:t}=e;return!t.children||0===t.children.length||!t.children.some(e=>"paragraph"!==e.type||!!e.children&&e.children.length>0&&e.children.some(e=>"text"!==e.type||e.text&&""!==e.text.trim()))}r.d(t,{N:()=>a})},66446:(e,t,r)=>{"use strict";r.d(t,{RansomwareTableClientBlock:()=>i});var a=r(12526),s=r(99486),l=r(57461);async function n(){try{let e=await fetch("/api/ransomware?limit=20000&sort=title");if(!e.ok)throw Error("Failed to fetch ransomware entries");return(await e.json()).docs||[]}catch(e){return console.warn("Failed to fetch ransomware entries:",e),[]}}let i=e=>{let{title:t,description:r,itemsPerPage:i,enableSearch:o,enableQuickFilter:c,searchPlaceholder:d}
1=e,[m,u]=(0,s.useState)([]),[x,h]=(0,s.useState)(!0);(0,s.useEffect)(()=>{n().then(e=>{u(e),h(!1)})},[]);let b=t||"Detectable Ransomware Database",g=r||"Comprehensive database of ransomware families and their characteristics for detection and analysis.";return x?(0,a.jsx)("div",{className:"py-16",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"max-w-6xl mx-auto",children:(0,a.jsx)("div",{className:"text-center py-12",children:(0,a.jsx)("p",{className:"text-gray-500 dark:text-gray-400 text-lg",children:"Loading ransomware data..."})})})})}):(0,a.jsx)("div",{className:"py-16",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(b||g)&&(0,a.jsxs)("header",{className:"mb-8",children:[b&&(0,a.jsx)("h2",{className:"text-4xl font-bold mb-4",children:b}),g&&(0,a.jsx)("p",{className:"text-lg text-gray-600 dark:text-gray-400",children:g})]}),(0,a.jsx)(l.default,{initialEntries:m,itemsPerPage:i||50,enableSearch:!1!==o,enableQuickFilter:!1!==c,searchPlaceholder:d||"Search ransomware by name, alias, or file extension..."})]})})})}},70691:(e,t,r)=>{"use strict";r.d(t,{Contact:()=>u});var a=r(12526),s=r(99486),l=r(16665),n=r(83790);let i=e=>{let{className:t,ref:r,glass:s,...l}=e;return(0,a.jsx)("div",{className:(0,n.cn)(s?"glass-card text-card-foreground":"rounded-lg border bg-card text-card-foreground shadow-xs",t),ref:r,...l})},o=e=>{let{className:t,ref:r,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)("p-6 pt-0",t),ref:r,...s})};var c=r(29802),d=r(14385);let m=e=>{let{isOpen:t,onClose:r,name:s,bio:n}=e;return t?(0,a.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-sm",onClick:r}),(0,a.jsxs)("div",{className:"relative bg-gray-900 border border-gray-800 rounded-lg p-6 max-w-md w-full max-h-[80vh] overflow-y-auto",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-xl font-semibold text-white",children:s}),(0,a.jsx)(l.$,{variant:"ghost",size:"icon",onClick:r,className:"h-8 w-8 text-gray-400 hover:text-white",children:(0,a.jsx)(c.I,{name:"x",className:"h-4 w-4"})})]}),(0,a.jsx)("div",{className:"text-gray-300 leading-relaxed",children:n})]})]}):null},u=e=>{let{photo:t,name:r,title:u,socialLinks:x=[],bio:h,buttonText:b="Read Bio",className:g}=e,[f,p]=(0,s.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i,{className:(0,n.cn)("bg-gray-900/50 border-gray-800 overflow-hidden flex flex-col",g),children:[(0,a.jsx)("div",{className:"aspect-square w-full bg-gray-800 relative overflow-hidden",children:(0,a.jsx)(d.$,{resource:t,className:"absolute inset-0 w-full h-full object-cover [&_img]:w-full [&_img]:h-full [&_img]:object-cover [&_picture]:my-0"})}),(0,a.jsx)(o,{className:"p-6 flex flex-col not-prose",children:(0,a.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,a.jsx)("h3",{className:"text-xl font-semibold text-white !mt-0 !mb-2",children:r}),(0,a.jsx)("p",{className:"text-gray-400 text-sm !mt-0 !mb-4",children:u}),x.length>0&&(0,a.jsx)("div",{className:"flex space-x-3 !mt-0 !mb-4",children:x.map((e,t)=>(0,a.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-white transition-colors !no-underline",children:(0,a.jsx)(c.I,{name:e.platform,className:"w-5 h-5"})},e.id||t))}),h&&(0,a.jsx)(l.$,{variant:"outline",size:"sm",onClick:()=>p(!0),className:"border-gray-600 text-gray-300 hover:text-white hover:border-gray-500 hover:cursor-pointer !mt-0",children:b})]})})]}),h&&(0,a.jsx)(m,{isOpen:f,onClose:()=>p(!1),name:r,bio:h})]})}},74333:()=>{},78520:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ScrollerBlock:()=>m});var a=r(12526),s=r(83790),l=r(99486),n=r(2384),i=r(14385),o=r(56978),c=r(13987),d=r(65794);let m=e=>{let{className:t,contentBefore:r,contentAfter:m,items:u=[],visibleItems:x="4",scrollMode:h="smooth",scrollSpeed:b=20,showIndicators:g=!0,showControls:f=!0,eyebrow:p}=e,[v,j]=(0,l.useState)(0),[y,N]=(0,l.useState)(!1),[w,k]=(0,l.useState)(!1),C=(0,l.useRef)(null),S=(0,l.useRef)(null),_=u&&Array.isArray(u)&&u.length>0,z=_?u.length:0,L=parseInt(x||"4"),A=_?[...u,...u,...u]:[],T=100/L,I=(0,l.useCallback)(()=>
1{if(!C.current||w)return;let e=C.current,t=e.scrollLeft,r=e.scrollWidth/A.length,a=r*z;t>=2*a?(k(!0),e.style.scrollBehavior="auto",e.scrollLeft=t-a,setTimeout(()=>{e.style.scrollBehavior="snap"===h?"auto":"smooth",k(!1)},50)):t<a&&(k(!0),e.style.scrollBehavior="auto",e.scrollLeft=t+a,setTimeout(()=>{e.style.scrollBehavior="snap"===h?"auto":"smooth",k(!1)},50)),j(Math.round(t%a/r)%z)},[A.length,z,w,h]);(0,l.useEffect)(()=>{if(_&&!y&&C.current&&"onClick"!==h)return(()=>{if(S.current&&clearInterval(S.current),!C.current)return;let e=b||20;if("snap"===h){let t=C.current.scrollWidth/A.length;S.current=setInterval(()=>{C.current&&!y&&C.current.scrollBy({left:t,behavior:"smooth"})},1e3*e)}else{let t=.05*(C.current.scrollWidth/A.length/e);S.current=setInterval(()=>{C.current&&!y&&(C.current.scrollLeft+=t)},50)}})(),()=>{S.current&&clearInterval(S.current)}},[_,y,b,A.length,h]),(0,l.useEffect)(()=>{if(C.current&&_){let e=C.current,t=e.scrollWidth/A.length*z;e.scrollLeft=t}},[_,z,A.length]);let B=e=>{if(!C.current)return;let t=C.current,r=t.scrollWidth/A.length,a=Math.floor(t.scrollLeft/(r*z))*r*z;t.scrollTo({left:a+e*r,behavior:"smooth"})};return _?(0,a.jsx)("div",{className:(0,s.cn)("py-8 sm:py-16",t),children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:[(p||r&&!(0,d.N)(r))&&(0,a.jsxs)("div",{className:"mb-12 text-center",children:[p&&(0,a.jsx)("p",{className:"text-sm font-semibold uppercase tracking-wider mb-3 bg-gradient-to-r from-[#376cfb] via-[#8b5cf6] to-[#ed2557] inline-block text-transparent bg-clip-text",children:p}),r&&!(0,d.N)(r)&&(0,a.jsx)(n.A,{data:r,enableGutter:!1})]}),(0,a.jsxs)("div",{className:"relative overflow-hidden",children:[(0,a.jsxs)("div",{className:"relative",onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:[f&&(0,a.jsx)("button",{onClick:()=>{if(!C.current)return;let e=C.current,t=e.scrollWidth/A.length;e.scrollBy({left:-t,behavior:"smooth"})},className:"absolute left-4 top-1/2 -translate-y-1/2 z-10 bg-white/90 dark:bg-gray-800/90 rounded-full p-3 shadow-lg hover:bg-white dark:hover:bg-gray-700 transition-colors cursor-pointer","aria-label":"Previous item",children:(0,a.jsx)(o.A,{className:"h-6 w-6 text-gray-800 dark:text-white"})}),f&&(0,a.jsx)("button",{onClick:()=>{if(!C.current)return;let e=C.current,t=e.scrollWidth/A.length;e.scrollBy({left:t,behavior:"smooth"})},className:"absolute right-4 top-1/2 -translate-y-1/2 z-10 bg-white/90 dark:bg-gray-800/90 rounded-full p-3 shadow-lg hover:bg-white dark:hover:bg-gray-700 transition-colors cursor-pointer","aria-label":"Next item",children:(0,a.jsx)(c.A,{className:"h-6 w-6 text-gray-800 dark:text-white"})}),(0,a.jsx)("div",{ref:C,className:(0,s.cn)("flex overflow-x-auto scrollbar-hide","snap"===h&&"snap-x snap-mandatory"),onScroll:I,style:{scrollBehavior:"onClick"===h?"smooth":"auto"},children:A.map((e,t)=>{let r=e.layout||"mediaTop";return(0,a.jsx)("div",{className:(0,s.cn)("flex-shrink-0 px-4","snap"===h&&"snap-start"),style:{width:"".concat(T,"%")},children:(0,a.jsxs)("div",{className:"rounded-xl overflow-hidden h-full flex flex-col",children:["mediaOnly"===r&&e.media&&(0,a.jsx)("div",{className:"h-full",children:(0,a.jsx)(i.$,{resource:e.media,imgClassName:"w-full h-full object-cover",priority:t<L,loading:t<L?"eager":"lazy"})}),"contentOnly"===r&&e.content&&(0,a.jsx)("div",{className:"p-6 h-full flex items-center",children:(0,a.jsx)(n.A,{data:e.content,enableGutter:!1,className:"text-gray-700 dark:text-gray-300"})}),"mediaTop"===r&&(0,a.jsxs)(a.Fragment,{children:[e.media&&(0,a.jsx)("div",{className:"aspect-video bg-gray-100 dark:bg-gray-900",children:(0,a.jsx)(i.$,{resource:e.media,imgClassName:"w-full h-full object-cover",priority:t<L,loading:t<L?"eager":"lazy"})}),e.content&&(0,a.jsx)("div",{className:"p-6 flex-grow",children:(0,a.jsx)(n.A,{data:e.content,enableGutter:!1,className:"text-gray-700 dark:text-gray-300"})})]}),"mediaBottom"===r&&(0,a.jsxs)(a.Fragment,{children:[e.content&&(0,a.jsx)("div",{className:"p-6 flex-grow",children:(0,a.jsx)(n.A,{data:e.content,enableGutter:!1,className:"text-gray-700 dark:text-gray-300"})}),e.media&&(0,a.jsx)("div",{className:"aspect-video bg-gray-100 dark:bg-gray-900",children:(0,a.jsx)(i.$,{resource:e.media,imgClassName:"w-full h-full object-cover",priority:t<L,loading:t<L?"eager":"lazy"})})]}),"mediaLeft"===r&&(0,a.jsxs)("div",{className:"flex h-full",children:[e.media&&(0,a.jsx)("div",{className:"w-1/2 bg-gray-100 dark:bg-gray-900",children:(0,a.jsx)(i.$,{resource:e.media,imgClassName:"w-full h-full object-cover",priority:t<L,loading:t<L?"eager":"lazy"})}),e.content&&(0,a.jsx)("div",{className:"w-1/2 p-6 flex items-center",children:(0,a.jsx)(n.A,{data:e.content,enableGutter:!1,className:"text-gray-700 dark:text-gray-300"})})]}),"mediaRight"===r&&(0,a.jsxs)("div",{className:"flex h-full",children:[e.content&&(0,a.jsx)("div",{className:"w-1/2 p-6 flex items-center",children:(0,a.jsx)(n.A,{data:e.content,enableGutter:!1,className:"text-gray-700 dark:text-gray-300"})}),e.media&&(0,a.jsx)("div",{className:"w-1/2 bg-gray-100 dark:bg-gray-900",children:(0,a.jsx)(i.$,{resource:e.media,imgClassName:"w-full h-full object-cover",priority:t<L,loading:t<L?"eager":"lazy"})})]})]})},"".concat(t))})})]}),g&&z>1&&(0,a.jsx)("div",{className:"flex justify-center mt-8 gap-2",children:u.map((e,t)=>(0,a.jsx)("button",{onClick:()=>B(t),className:(0,s.cn)("w-2 h-2 rounded-full transition-all duration-300 cursor-pointer",v===t?"bg-white scale-125":"bg-white/50 hover:bg-white/75"),"aria-label":"Go to item ".concat(t+1)},t))})]}),m&&!(0,d.N)(m)&&(0,a.jsx)("div",{className:"mt-12 text-center",children:(0,a.jsx)(n.A,{data:m,enableGutter:!1})})]})}):null}},82598:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CMSLink:()=>u});
1var a=r(12526),s=r(16665),l=r(83790),n=r(48239),i=r.n(n);r(99486);var o=r(29802),c=r(13950),d=r(78587),m=r(35017);let u=e=>{let{type:t,appearance:r="inline",children:n,className:u,ctaConversionType:x,ctaLocation:h,icon:b,iconPosition:g="after",label:f,newTab:p,onClick:v,reference:j,size:y,url:N}=e,w=null;if("reference"===t&&(null==j?void 0:j.value)){if("object"==typeof j.value&&j.value.slug)if("pages"===j.relationTo){var k;let e=j.value,t=e.breadcrumbs;w=t&&t.length&&(null==(k=t[t.length-1])?void 0:k.url)||function(e){if(!e)return"/";let t=e.startsWith("/")?e.slice(1):e;return"home"===t?"/":"/".concat(t)}(e.slug)}else w="posts"===j.relationTo?(0,c.L)(j.value):"/".concat(j.relationTo,"/").concat(j.value.slug);else if("string"==typeof j.value||"number"==typeof j.value)return null}else w=N||null;if(!w)return null;let C=p?{rel:"noopener noreferrer",target:"_blank"}:{},S=e=>{if(h){let e=f||("string"==typeof n?n:void 0),t=window.location.pathname,r=x||(0,m.Kq)(w);(0,d._)("cta_click",{cta_text:e||void 0,cta_location:h,conversion_type:r,destination_path:w||void 0,source_page_path:t}),(0,m.BK)({cta_text:e||void 0,cta_location:h,conversion_type:r,source_page_path:t,destination_path:w||void 0})}null==v||v(e)};return"inline"===r?(0,a.jsxs)(i(),{className:(0,l.cn)("inline-flex items-center",u),href:w||N||"",onClick:S,"data-cta-tracked":h?"true":void 0,"data-cta-location":h||void 0,...C,children:["before"===g&&b&&(0,a.jsx)(o.I,{name:b,className:"w-4 h-4 mr-2"}),f&&f,n&&n,"after"===g&&b&&(0,a.jsx)(o.I,{name:b,className:"w-4 h-4 ml-2"})]}):(0,a.jsx)(s.$,{asChild:!0,className:u,size:"link"===r?"clear":y,variant:r,icon:b?(0,a.jsx)(o.I,{name:b,className:"w-4 h-4"}):void 0,iconPosition:g||void 0,children:(0,a.jsxs)(i(),{href:w||N||"",onClick:S,"data-cta-tracked":h?"true":void 0,"data-cta-location":h||void 0,...C,children:[f&&f,n&&n]})})}},96877:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CaseStudiesBlock:()=>u});var a=r(12526),s=r(99486),l=r(83790),n=r(14385),i=r(82598),o=r(2384),c=r(56978),d=r(13987),m=r(44553);let u=e=>{let{className:t,sectionContent:r,caseStudies:u=[],eyebrow:x,autoScroll:h=!1,autoScrollInterval:b=5}=e,[g,f]=(0,s.useState)(0),[p,v]=(0,s.useState)(!0),j=(0,s.useRef)(null),y=(0,s.useRef)(null),N=()=>{h?f(g-1):g>0&&f(g-1)},w=()=>{h?f(g+1):g<u.length-2&&f(g+1)},k=(0,s.useCallback)(()=>{h&&u.length>0&&(y.current=setInterval(()=>{f(e=>e+1)},1e3*(b||5)))},[h,u.length,b]),C=()=>{y.current&&(clearInterval(y.current),y.current=null)};(0,s.useEffect)(()=>(k(),()=>C()),[k]);let S=h&&u.length>0?[...u,...u,...u]:u;(0,s.useEffect)(()=>{if(h&&u.length>0){if(g>=u.length){let e=setTimeout(()=>{v(!1),f(0),setTimeout(()=>v(!0),50)},500);return()=>clearTimeout(e)}else if(g<0){let e=setTimeout(()=>{v(!1),f(u.length-1),setTimeout(()=>v(!0),50)},500);return()=>clearTimeout(e)}}},[g,h,u.length]);let _=!!h||g>0,z=!!h||g<u.length-2;return u&&0!==u.length?(0,a.jsxs)("div",{className:(0,l.cn)("py-8 sm:py-16",t),children:[(0,a.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"flex items-end justify-between mb-12",children:[(x||r)&&(0,a.jsxs)("div",{className:"max-w-2xl",children:[x&&(0,a.jsx)("p",{className:"text-sm font-semibold uppercase tracking-wider mb-3 bg-gradient-to-r from-[#376cfb] via-[#8b5cf6] to-[#ed2557] inline-block text-transparent bg-clip-text",children:x}),r&&(0,a.jsx)(o.A,{className:"[&_h2]:text-3xl [&_h2]:font-medium [&_p]:text-gray-600 [&_p]:dark:text-gray-400",data:r,enableGutter:!1})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>{C(),N(),h&&setTimeout(k,1e3*(b||5))},disabled:!_,className:(0,l.cn)("p-3 rounded-full border transition-all",_?"border-gray-300 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-800 text-gray-900 dark:text-white cursor-pointer":"border-gray-200 dark:border-gray-700 text-gray-300 dark:text-gray-600 cursor-not-allowed"),"aria-label":"Previous case study",children:(0,a.jsx)(c.A,{className:"h-5 w-5"})}),(0,a.jsx)("button",{onClick:()=>{C(),w(),h&&setTimeout(k,1e3*(b||5))},disabled:!z,className:(0,l.cn)("p-3 rounded-full border transition-all",z?"border-gray-300 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-800 text-gray-900 dark:text-white cursor-pointer":"border-gray-200 dark:border-gray-700 text-gray-300 dark:text-gray-600 cursor-not-allowed"),"aria-label":"Next case study",children:(0,a.jsx)(d.A,{className:"h-5 w-5"})})]})]})}),(0,a.jsx)("div",{className:"relative overflow-hidden",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8 overflow-hidden",children:(0,a.jsx)("div",{ref:j,className:"flex gap-6 ".concat(p?"transition-transform duration-500 ease-in-out":""),style:{transform:"translateX(-".concat(374*g,"px)")},children:S.map((e,t)=>(0,a.jsxs)("div",{className:"flex-none w-[350px] h-[350px] snap-start bg-white dark:bg-gray-900 rounded-lg border border-gray-200 dark:border-gray-800 p-8 hover:shadow-lg transition-shadow flex flex-col",children:[e.logo&&"object"==typeof e.logo&&(0,a.jsx)("div",{className:"mb-6 h-12",children:(0,a.jsx)(n.$,{resource:e.logo,imgClassName:"h-12 w-auto object-contain filter grayscale brightness-0 dark:brightness-100 dark:invert"})}),e.content&&(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,a.jsx)(o.A,{className:"[&_h3]:text-2xl [&_h3]:font-medium [&_h3]:text-gray-900 [&_h3]:dark:text-white [&_h3]:mb-4 [&_h4]:text-xl [&_h4]:font-medium [&_h4]:text-gray-900 [&_h4]:dark:text-white [&_h4]:mb-3 [&_p]:text-lg [&_p]:text-gray-600 [&_p]:dark:text-gray-400 [&_p]:mb-4 [&>*:last-child]:mb-0",data:e.content,enableGutter:!1})}),(0,a.jsx)("div",{className:"mt-auto",children:e.link&&e.link.label&&(0,a.jsx)(i.CMSLink,{...e.link,className:"inline-flex items-center text-blue-600 dar
1k:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 font-medium group",children:(0,a.jsx)(m.A,{className:"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1"})})})]},"case-study-".concat(t)))})})})]}):null}}}]);

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.