1import{r as N,j as e,e as y,p as u,ac as k,ad as A,g as m,N as C,L as n,f as p,i as T,k as x,A as H,D as I}from"./index-Cj8KNrGW.js";import{u as $}from"./useSEO-B4H6T4OF.js";import B from"./NotFound-BEgLUPdu.js";import{L,T as P}from"./tag-C98YtWY_.js";import"./card-8e9_CsA9.js";import"./circle-alert-CpaWIUHJ.js";import"./house-UPvkMp41.js";function S({className:r}){return e.jsx("svg",{className:r,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.737-8.835L1.254 2.25H8.08l4.253 5.622 5.911-5.622Zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}function U({className:r}){return e.jsx("svg",{className:r,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}function z({className:r}){return e.jsx("svg",{className:r,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})}function g({url:r,title:t,description:i,className:h=""}){const[o,l]=N.useState(!1),a=encodeURIComponent(r),s=encodeURIComponent(t),c=encodeURIComponent(i??t),b=[{label:"Share on X",href:`https://x.com/intent/tweet?url=${a}&text=${s}`,icon:S,hoverColor:"hover:bg-black hover:text-white hover:border-black"},{label:"Share on LinkedIn",href:`https://www.linkedin.com/shareArticle?mini=true&url=${a}&title=${s}&summary=${c}`,icon:U,hoverColor:"hover:bg-[#0077b5] hover:text-white hover:border-[#0077b5]"},{label:"Share on Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${a}`,icon:z,hoverColor:"hover:bg-[#1877f2] hover:text-white hover:border-[#1877f2]"}];async function f(){try{await navigator.clipboard.writeText(r),l(!0),u.success("Link copied to clipboard!"),setTimeout(()=>l(!1),2500)}catch{u.error("Could not copy link. Please copy manually.")}}return e.jsxs("div",{className:`flex items-center gap-2 flex-wrap ${h}`,children:[e.jsx("span",{className:"tech-label text-muted-foreground/60 text-[0.65rem] mr-1",children:"Share:"}),b.map(({label:d,href:v,icon:j,hoverColor:w})=>e.jsxs("a",{href:v,target:"_blank",rel:"noopener noreferrer","aria-label":d,title:d,className:`inline-flex items-center gap-1.5 px-3 py-1.5 rounded border border-border/50 bg-background tech-label text-[0.65rem] text-muted-foreground transition-all duration-150 active:scale-95 ${w}`,children:[e.jsx(j,{className:"w-3 h-3 shrink-0"}),e.jsx("span",{className:"hidden sm:inline",children:d.replace("Share on ","")})]},d)),e.jsx("button",{onClick:f,"aria-label":"Copy link",title:"Copy link",className:`inline-flex items-center gap-1.5 px-3 py-1.5 rounded border border-border/50 bg-background tech-label text-[0.65rem] transition-all duration-150 active:scale-95 ${o?"border-green-500 text-green-600 bg-green-50":"text-muted-foreground hover:bg-foreground hover:text-background hover:border-foreground"}`,children:o?e.jsxs(e.Fragment,{children:[e.jsx(y,{className:"w-3 h-3 shrink-0"}),e.jsx("span",{className:"hidden sm:inline",children:"Copied!"})]}):e.jsxs(e.Fragment,{children:[e.jsx(L,{className:"w-3 h-3 shrink-0"}),e.jsx("span",{className:"hidden sm:inline",children:"Copy link"})]})})]})}function _(){const r=k(),t=A(r.slug??""),i=t?Array.from(t.content.matchAll(/<h3>([^<]+)<\/h3>\s*<p>([^<]+(?:<[^>]+>[^<]*<\/[^>]+>[^<]*)*)<\/p>/g)).map(c=>({question:c[1].trim(),answer:c[2].replace(/<[^>]+>/g,"").trim()})):[],h=t?{"@context":"https://schema.org","@graph":[{"@type":"Article",headline:t.title,de
1scription:t.excerpt,datePublished:t.date,author:{"@type":"Organization",name:"ToolHub AI Editorial Team",url:"https://www.aitooleffect.com/editorial-standards"},publisher:{"@type":"Organization",name:"ToolHub AI",url:"https://www.aitooleffect.com"},url:`https://www.aitooleffect.com/blog/${t.slug}`},...i.length>0?[{"@type":"FAQPage",mainEntity:i.map(s=>({"@type":"Question",name:s.question,acceptedAnswer:{"@type":"Answer",text:s.answer}}))}]:[]]}:void 0;if($(t?{title:`${t.title} | ToolHub AI Blog`,description:t.excerpt,keywords:t.keywords.join(", "),canonical:`https://www.aitooleffect.com/blog/${t.slug}`,ogUrl:`https://www.aitooleffect.com/blog/${t.slug}`,structuredData:h,breadcrumbs:[{name:"Blog",url:"/blog"},{name:t.title,url:`/blog/${t.slug}`}]}:{title:"Post Not Found | ToolHub AI Blog",description:"The requested blog post could not be found.",keywords:"ToolHub AI blog",canonical:`https://www.aitooleffect.com/blog/${r.slug??""}`}),!t)return e.jsx(B,{});const o=m.findIndex(s=>s.slug===t.slug),l=o>0?m[o-1]:null,a=o<m.length-1?m[o+1]:null;return e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(C,{}),e.jsxs("section",{className:"border-b border-border relative overflow-hidden bg-white/40",children:[e.jsx("div",{className:"absolute top-4 right-8 w-20 h-20 wireframe-circle pointer-events-none opacity-20"}),e.jsxs("div",{className:"container py-10 md:py-14 max-w-4xl",children:[e.jsxs(n,{href:"/blog",className:"inline-flex items-center gap-1.5 tech-label text-muted-foreground hover:text-foreground transition-colors mb-6 text-xs",children:[e.jsx(p,{className:"w-3.5 h-3.5"}),"All Articles"]}),e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsxs("span",{className:"tech-label px-2 py-0.5 rounded text-[0.6rem] bg-[var(--color-cyan-light)] text-[var(--color-cyan)] border border-[var(--color-cyan)]/30 flex items-center gap-1",children:[e.jsx(P,{className:"w-2.5 h-2.5"}),t.category]}),e.jsxs("span",{className:"tech-label text-muted-foreground/60 text-[0.6rem] flex items-center gap-1",children:[e.jsx(T,{className:"w-3 h-3"}),t.readingTime]}),e.jsx("span",{className:"tech-label text-muted-foreground/50 text-[0.6rem]",children:t.date})]}),e.jsx("h1",{className:"font-headline text-4xl md:text-5xl leading-[1.08] mb-5 max-w-3xl",children:t.title}),e.jsx("p",{className:"font-sans text-base md:text-lg leading-7 text-muted-foreground max-w-2xl",children:t.excerpt}),e.jsxs("div",{className:"flex items-center gap-3 mt-7 p-3.5 rounded-lg border border-border/70 bg-white/70 max-w-2xl",children:[e.jsx("div",{className:"w-9 h-9 rounded-full bg-[var(--color-cyan-light)] border border-[var(--color-cyan)]/40 flex items-center justify-center shrink-0",children:e.jsx("span",{className:"font-headline text-xs text-[var(--color-cyan)] font-bold",children:"TH"})}),e.jsxs("div",{children:[e.jsx("a",{href:"/editorial-standards",className:"font-sans text-sm font-semibold text-foreground hover:text-[var(--color-cyan)] transition-colors",children:"ToolHub AI Editorial Team"}),e.jsxs("p",{className:"font-sans text-xs text-muted-foreground mt-0.5",children:["Product documentation & practical guides · Published ",t.date,t.lastUpdated&&t.lastUpdated!==t.date?` · Updated ${t.lastUpdated}`:""]})]})]}),e.jsx("div",{className:"mt-6",children:e.jsx(g,{url:`https://www.aitooleffect.com/blog/${t.slug}`,title:t.title,description:t.excerpt})})]})]}),e.jsxs("main",{className:"container py-9 md:py-12 flex gap-10 max-w-6xl",children:[e.jsxs("article",{className:"flex-1 min-w-0 max-w-3xl",children:[e.jsx(x,{id:"blog-post-top-ad",className:"w-full h-20 rounded-lg mb-8",label:"Advertisement â 970Ã90 Billboard"}),e.jsx("div",{className:"article-reading-surface",children:e.jsx("div",{className:"blog-article-content",dangerouslySetInnerHTML:{__html:t.content}})}),e.jsx("div",{className:"my-10",children:e.jsx(x,{id:"blog-post-mid-ad",className:"w-full h-20 rounded",label:"Advertisement â 970Ã90 Billboard"})}),e.jsxs("div",{className:"my-10 p-5 blueprint-card rounded-lg flex flex-col sm:flex-row sm:items-center gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"font-headline text-sm mb-0.5",children:"Found this helpful?"}),e.jsx("p",{className:"font-sans text-sm text-muted-foreground",children:"Share it with someone who could use it."})]}),e.jsx(g,{url:`https://www.aitooleffect.com/blog/${t.slug}
1`,title:t.title,description:t.excerpt})]}),e.jsxs("nav",{className:"flex items-center justify-between gap-4 pt-8 border-t border-border",children:[l?e.jsx(n,{href:`/blog/${l.slug}`,className:"flex-1 group",children:e.jsxs("div",{className:"blueprint-card rounded p-4 hover:shadow-sm transition-all duration-150 cursor-pointer",children:[e.jsxs("div",{className:"tech-label text-muted-foreground/60 text-[0.6rem] mb-1 flex items-center gap-1",children:[e.jsx(p,{className:"w-3 h-3"})," Previous"]}),e.jsx("div",{className:"font-headline text-sm leading-snug group-hover:text-[var(--color-cyan)] transition-colors line-clamp-2",children:l.title})]})}):e.jsx("div",{className:"flex-1"}),a?e.jsx(n,{href:`/blog/${a.slug}`,className:"flex-1 group",children:e.jsxs("div",{className:"blueprint-card rounded p-4 hover:shadow-sm transition-all duration-150 cursor-pointer text-right",children:[e.jsxs("div",{className:"tech-label text-muted-foreground/60 text-[0.6rem] mb-1 flex items-center gap-1 justify-end",children:["Next ",e.jsx(H,{className:"w-3 h-3"})]}),e.jsx("div",{className:"font-headline text-sm leading-snug group-hover:text-[var(--color-cyan)] transition-colors line-clamp-2",children:a.title})]})}):e.jsx("div",{className:"flex-1"})]}),e.jsxs("div",{className:"mt-8 p-6 border border-[var(--color-cyan)]/30 rounded-xl bg-[var(--color-cyan-light)]",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(I,{className:"w-4 h-4 text-[var(--color-cyan)]"}),e.jsx("span",{className:"font-headline text-sm",children:"Try the tools mentioned in this article"})]}),e.jsx("p",{className:"font-sans text-sm leading-6 text-muted-foreground mb-3",children:"All tools are free to use â no signup required. 3 uses per day on the free plan."}),e.jsx(n,{href:"/",children:e.jsx("span",{className:"tech-label text-[var(--color-cyan)] hover:underline text-xs cursor-pointer",children:"Browse all 19 tools â"})})]})]}),e.jsx("aside",{className:"hidden xl:flex flex-col gap-6 w-[220px] shrink-0",children:e.jsx(x,{id:"blog-post-sidebar-ad",className:"w-full h-[600px] rounded sticky top-[88px]",label:"Advertisement â 160Ã600 Wide Skyscraper"})})]}),e.jsx("footer",{className:"border-t border-border/20 bg-foreground
1/95 mt-auto",children:e.jsxs("div",{className:"container py-6 flex flex-col sm:flex-row items-center justify-between gap-3",children:[e.jsx(n,{href:"/",className:"tech-label text-background/40 hover:text-background/70 transition-colors",children:"â Back to ToolHub AI"}),e.jsx("span",{className:"tech-label text-background/30",children:"© 2026 ToolHub AI"})]})})]})}export{_ 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.