1import{j as e}from"./ui-vendor-DL-FZ-Xt.js";import{h as M,r as a,L as l}from"./react-vendor-CkpWlKXn.js";import{an as z,ao as F,g as x,H as N,B as v,F as w,S as P,X as q,ak as k,D as H}from"./index-Cfzq52IP.js";import{R as O}from"./RelatedContent-DEtgpxYs.js";import{b as U,B as D}from"./BlogImagePlaceholder-DVElBArj.js";import{A as J,a as Z,b as Q,c as K}from"./accordion-BuWKlrGB.js";import{L as V,T as W,F as X,ay as Y,a7 as G}from"./icons-vendor-BXpMsAr5.js";const o="https://zistos.com";function ee(n){let t=n.replace(/^### (.+)$/gm,'<h3 class="text-lg font-bold text-foreground mt-8 mb-3">$1</h3>').replace(/^## (.+)$/gm,'<h2 class="text-xl font-bold text-foreground mt-10 mb-4">$1</h2>').replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>").replace(/^- (.+)$/gm,'<li class="ml-4 mb-1">$1</li>').replace(/\n\n/g,'</p><p class="mb-4 text-[hsl(var(--light-grey))] leading-[1.75]">').replace(/\|(.+)\|/g,c=>c);return t=t.replace(/((?:<li[^>]*>.*?<\/li>\s*)+)/g,'<ul class="list-disc mb-6 space-y-1">$1</ul>'),`<p class="mb-4 text-[hsl(var(--light-grey))] leading-[1.75]">${t}</p>`}const te={"Vincent Banks":{role:"Senior Applications Engineer",bio:"With 15+ years in industrial safety systems, Vincent leads technical content development at Zistos Corporation."},"Elena Rodriguez":{role:"Tactical Systems Specialist",bio:"Elena brings extensive field experience in law enforcement and military visual inspection technologies."},"Marcus Chen":{role:"Product Engineering Lead",bio:"Marcus oversees the engineering behind Zistos' modular camera systems and has authored multiple inspection technology patents."},"James Mitchell":{role:"Defense & Security Analyst",bio:"James specializes in military-grade inspection solutions and has consulted for defense agencies worldwide."},"Sarah Kim":{role:"Industrial Safety Consultant",bio:"Sarah's expertise in OSHA safety standards and industrial inspection drives practical, safety-focused content."},"Ryan Torres":{role:"Search & Rescue Technology Lead",bio:"Ryan's background in USAR-certified rescue operations informs his deep knowledge of rescue technology."}};function se(n){return te[n]||{role:"Industry Expert",bio:`${n} is a subject matter expert at Zistos Corporation specializing in visual inspection technologies.`}}function de(){const{slug:n}=M(),t=z(n||""),c=t?U[t.slug]:void 0,[$,C]=a.useState(!1),[S,f]=a.useState(!1),p=a.useRef(null),y=a.useRef(!1),h=a.useMemo(()=>t?F(t):[],[t]),d=a.useMemo(()=>{if(!t)return[];const s=t.content.matchAll(/^## (.+)$/gm);return Array.from(s).map(r=>({text:r[1],id:r[1].toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}))},[t]),_=a.useMemo(()=>{if(!t)return"";let s=ee(t.content);return d.forEach(r=>{s=s.replace(new RegExp(`(<h2[^>]*>)(${r.text.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})(</h2>)`),`$1<span id="${r.id}">$2</span>$3`)}),s},[t,d]),g=a.useMemo(()=>t?t.content.split(/\s+/).length:0,[t]);a.useEffect(()=>{if(!t||!p.current)return;const s=new IntersectionObserver(([B])=>{B.isIntersecting&&!y.current&&(y.current=!0,x("blog_read_complete",{blog_title:t.title,blog_category:t.category,blog_author:t.author,word_count:g}))},{threshold:.1}),r=p.current,i=document.createElement("div");return i.style.position="absolute",i.style.top="75%",i.style.height="1px",
1i.style.width="1px",r.style.position="relative",r.appendChild(i),s.observe(i),()=>{s.disconnect(),i.remove()}},[t,g]);const m=t?`${o}/blog/${t.slug}`:"",A=t?t.title:"",u=s=>{x("blog_share",{platform:s,blog_title:t==null?void 0:t.title});const r={linkedin:`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(m)}`,twitter:`https://twitter.com/intent/tweet?url=${encodeURIComponent(m)}&text=${encodeURIComponent(A)}`,facebook:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(m)}`};r[s]&&window.open(r[s],"_blank","noopener,noreferrer,width=600,height=400")},L=()=>{navigator.clipboard.writeText(m),f(!0),setTimeout(()=>f(!1),2e3)},j=(s,r)=>{x("blog_cta_click",{cta_text:s,cta_destination:r,blog_title:t==null?void 0:t.title,blog_category:t==null?void 0:t.category})},R=(s,r)=>{x("related_post_click",{source_title:t==null?void 0:t.title,related_title:s,related_slug:r})};if(!t)return e.jsxs(e.Fragment,{children:[e.jsx(N,{}),e.jsxs("div",{className:"container mx-auto px-4 py-24 text-center",children:[e.jsx("h1",{children:"Article Not Found"}),e.jsx(v,{asChild:!0,className:"mt-6",children:e.jsx(l,{to:"/blog",children:"Back to Blog"})})]}),e.jsx(w,{})]});const b=se(t.author),I={"@context":"https://schema.org","@type":"Article",headline:t.title,description:t.seoMeta.description,image:`${o}/og-image.jpg`,author:{"@type":"Person",name:t.author,jobTitle:b.role},publisher:{"@type":"Organization",name:"Zistos Corporation",url:o,logo:{"@type":"ImageObject",url:`${o}/images/zistos-logo.webp`}},datePublished:t.date,dateModified:t.date,mainEntityOfPage:{"@type":"WebPage","@id":`${o}/blog/${t.slug}`},keywords:t.seoMeta.keywords.join(", "),articleSection:t.category,wordCount:g},T={"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.faqs.map(s=>({"@type":"Question",name:s.question,acceptedAnswer:{"@type":"Answer",text:s.answer}}))},E={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:o},{"@type":"ListItem",position:2,name:"Blog",item:`${o}/blog`},{"@type":"ListItem",position:3,name:t.category,item:`${o}/blog?category=${encodeURIComponent(t.category)}`},{"@type":"ListItem",position:4,name:t.title,item:`${o}/blog/${t.slug}`}]};return e.jsxs(e.Fragment,{children:[e.jsx(P,{title:t.seoMeta.title,description:t.seoMeta.description,canonical:`/blog/${t.slug}`,type:"article",noindex:t.editorialStatus==="rewrite",keywords:t.seoMeta.keywords}),e.jsxs(q,{children:[e.jsx("script",{type:"application/ld+json",children:JSON.stringify(I)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(T)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(E)})]}),e.jsx(N,{}),e.jsx("article",{className:"py-8 md:py-12",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("nav",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-6 flex-wrap",children:[e.jsx(l,{to:"/",className:"hover:text-primary transition-colors",children:"Home"}),e.jsx("span",{children:"/"}),e.jsx(l,{to:"/blog",className:"hover:text-primary transition-colors",children:"Blog"}),e.jsx("span",{children:"/"}),e.jsx("span",{className:"text-foreground",children:t.title.length>40?t.title.slice(0,40)+"â¦":t.title})]}),e.jsxs("div",{className:"mb-8",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-4",children:[e.jsx("span",{className:`px-2.5 py-1 text-[0.65rem] font-bold tracking-[0.08em] uppercase ${k[t.category]}`,children:t.category}),e.jsx("span",{className:"text-sm text-muted-foreground",children:t.dateDisplay}),e.jsx("span",{className:"text-sm text-muted-foreground",children:"·"}),e.jsx("span",{className:"text-sm text-muted-foreground",children:t.readTime}),e.jsx("span",{className:"text-sm text-muted-foreground",children:"·"}),e.jsx("span",{className:"text-sm text-muted-foreground",children:t.author})]}),e.jsx("h1",{className:"h-display !text-[clamp(1.6rem,4vw,3rem)]",children:t.title})]}),e.jsxs("div",{className:"mb-8",children:[!c||$?e.jsx(D,{category:t.category,title:t.title}):e.jsx("img",{src:c,alt:t.imageAlt,width:1200,height:600,className:"w-full object-cover",style:{maxHeight:"600px"},fetchPriority:"high",onError:()=>C(!0)}),t.imageCaption&&e.jsx("p",{className:"text-sm text-muted-foreground italic mt-2",children:t.imageCaption})]}),t.editorialStatus==="rewrite"&&e.jsxs("div",{className:"mb-8 border-l-[3px] border-[hsl(var(--accent))] bg-[hsl(var(--accent))]/10 px-5 py-4",children:[e.jsx("p",{className:"text-xs font-bold uppercase tracking-[0.14em] text-[hsl(var(--accent))] mb-1",children:"Editorial Notice"}),e.jsx("p",{className:"text-sm text-foreground",children:"This article is being updated. Last reviewed: April 21, 2026."})]}),e.jsxs("div",{className:"flex flex-col lg:flex-row gap-10",children:[e.jsxs("div",{className:"lg:w-[65%]",ref:p,children:[e.jsxs("div",{className:"border-l-[3px] border-primary pl-5 mb-10 bg-secondary/30 py-4 pr-4",children:[e.jsx("p",{className:"text-xs font-bold uppercase tracking-[0.14em] text-primary mb-2",children:"The Core Answer"}),e.jsx("p",{className:"text-foreground leading-relaxed",children:t.directAnswer})]}),e.jsx("div",{className:"prose-custom",dangerouslySetInnerHTML:{__html:_}}),t.faqs.length>0&&e.jsxs("div",{className:"mt-12 border-t border-border pt-8",children:[e.jsx("h2",{className:"h-section font-bold text-foreground mb-6",children:"Frequently Asked Questions"}),e.jsx(J,{type:"multiple",className:"space-y-2",children:t.faqs.map((s,r)=>e.jsxs(Z,{value:`faq-${r}`,className:"border border-border bg-card px-4",children:[e.jsx(Q,{className:"text-left text-foreground font-semibold text-sm",children:s.question}),e.jsx(K,{className:"text-muted-foreground leading-relaxed",children:s.answer})]},r))})]}),e.jsxs("div",{className:"mt-12 bg-secondary border border-border p-8 flex flex-col sm:flex-row items-center justify-center gap-4",children:[e.jsxs("div",{className:"text-center sm:text-left flex-1",children:[e.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:"See It in Action"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Request a demo or talk to a Zistos specialist about your inspection requirements."})]}),e.jsx("div",{className:"flex gap-3",children:e.jsx(v,{asChild:!0,onClick:()=>j("Schedule a Demo","/contact"),children:e.jsx(H,{children:"Schedule a Demo"})})})]})]}),e.jsx("aside",{className:"lg:w-[35%]",children:e.jsxs("div",{className:"lg:sticky lg:top-[120px] space-y-8",children:[e.jsxs("div",{className:"bg-card border border-border p-5",children:[e.jsx("h4",{className:"text-xs font-bold uppercase tracking-[0.14em] text-primary mb-4",children:"About the Author"}),e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsx("div",{className:"w-10 h-10 bg-primary/20 text-primary font-bold flex items-center justify-center text-sm",children:t.author.split(" ").map(s=>s[0]).join("")}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-foreground",children:t.author}),e.jsx("p",{className:"text-xs text-muted-foreground",children:b.role})]})]}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:b.bio})]}),d.length>0&&e.jsxs("div",{className:"bg-card border border-border p-5",children:[e.jsx("h4",{className:"text-xs font-bold uppercase tracking-[0.14em] text-primary mb-4",children:"In This Article"}),e.jsx("nav",{className:"space-y-2",children:d.map(s=>e.jsx("a",{href:`#${s.id}`,className:"block text-sm text-muted-foreground hover:text-primary transition-colors leading-snug",children:s.text},s.id))})]}),e.jsxs("div",{className:"bg-card border border-border p-5",children:[e.jsx("h4",{className:"text-xs font-bold uppercase tracking-[0.14em] text-primary mb-4",children:"Share This Article"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("button",{onClick:()=>u("linkedin"),className:"flex items-center justify-center w-10 h-10 border border-border hover:border-primary hover:text-primary transition-colors","aria-label":"Share on LinkedIn",children:e.jsx(V,{className:"h-4 w-4"})}),e.jsx("button",{onClick:()=>u("twitter"),className:"flex items-center justify-center w-10 h-10 border border-border hover:border-primary hover:text-primary transition-colors","aria-label":"Share on Twitter",children:e.jsx(W,{className:"h-4 w-4"})}),e.jsx("button",{onClick:()=>u("facebook"),className:"flex items-center justify-center w-10 h-10 border border-border hover:border-primary hover:text-primary transition-colors","aria-label":"Share on Facebook",children:e.jsx(X,{className:"h-4 w-4"})}),e.jsx("button",{onClick:L,className:"flex items-center justify-center w-10 h-10 border border-border hover:border-primary hover:text-primary transition-colors","aria-label":"Copy link",children:e.jsx(Y,{className:"h-4 w-4"})})]}),S&&e.jsx("p",{className:"text-xs text-primary mt-2",children:"Link copied!"})]}),h.length>0&&e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold uppercase tracking-[0.14em] text-primary mb-4",children:"Related Articles"}),e.jsx("div",{className:"space-y-4",children:h.map(s=>e.jsxs(l,{to:`/blog/${s.slug}`,onClick:()=>R(s.title,s.slug),className:"block bg-card border border-border p-4 hover:border-primary/30 transition-colors",children:[e.jsx("span",{className:`inline-block px-2 py-0.5 text-[0.6rem] font-bold tracking-wider up
1percase mb-2 ${k[s.category]}`,children:s.category}),e.jsx("h5",{className:"text-sm font-semibold text-foreground leading-snug line-clamp-2",children:s.title}),e.jsx("span",{className:"text-xs text-muted-foreground mt-1 block",children:s.readTime})]},s.slug))})]}),e.jsxs("div",{className:"bg-secondary border border-border p-5",children:[e.jsx("h4",{className:"text-xs font-bold uppercase tracking-[0.14em] text-primary mb-3",children:"Find Your Ideal Kit"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Not sure which system fits your needs? Take our quick quiz."}),e.jsx("a",{href:"https://quiz.zistos.video/?utm_source=zistos.com&utm_medium=cta&utm_campaign=system_finder",target:"_blank",rel:"noopener noreferrer",onClick:()=>j("Find the Right System","https://quiz.zistos.video/?utm_source=zistos.com&utm_medium=cta&utm_campaign=system_finder"),className:"inline-flex w-full items-center justify-center h-10 px-4 bg-primary text-primary-foreground font-bold uppercase tracking-widest text-xs hover:brightness-110 transition-all",children:"Find the Right System â"})]})]})})]}),e.jsx("div",{className:"mt-12",children:e.jsxs(l,{to:"/blog",className:"inline-flex items-center gap-2 text-sm text-primary hover:underline",children:[e.jsx(G,{className:"h-4 w-4"})," Back to all articles"]})})]})}),e.jsx(O,{heading:"Continue Reading",items:h.slice(0,3).map(s=>({title:s.title,description:s.excerpt,href:`/blog/${s.slug}`}))}),e.jsx(w,{})]})}export{de 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.