1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9118],{45591:function(e,t,r){var a=r(57437);r(2265);var l=r(27648);t.default=e=>{let{items:t}=e;return 0===t.length?null:(0,a.jsx)("nav",{"aria-label":"Breadcrumb",className:"mb-4",children:(0,a.jsx)("ol",{className:"flex flex-wrap items-center gap-1 text-sm text-gray-500",children:t.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-center gap-1",children:[t>0&&(0,a.jsx)("span",{"aria-hidden":"true",className:"text-gray-400",children:"/"}),e.href?(0,a.jsx)(l.default,{href:e.href,className:"hover:text-gray-700 hover:underline transition-colors",children:e.label}):(0,a.jsx)("span",{"aria-current":"page",className:"text-gray-700 font-medium truncate max-w-[36rem]",children:e.label})]},t))})})}},79851:function(e,t,r){r.d(t,{$h:function(){return d},uU:function(){return $},vx:function(){return P},jf:function(){return H},wg:function(){return u},Md:function(){return G},se:function(){return x},k1:function(){return O},mU:function(){return M},HU:function(){return j},R_:function(){return D},ix:function(){return B}});var a=r(57437),l=r(2265),s=r(37996),n=r(27648),i=r(42586),o=e=>{var t,r;let{author:l,isVisible:n,position:i,authorDescription:o,onMouseEnter:c,onMouseLeave:d,locale:m}=e;return n&&(0!==i.x||0!==i.y)?(0,a.jsxs)("div",{className:"fixed z-50 bg-white border border-gray-200 rounded-lg shadow-lg pointer-events-auto transition-all duration-300 ease-in-out transform ".concat(n?"opacity-100 scale-100 translate-y-2":"opacity-0 scale-95 translate-y-0"),style:{left:i.x,top:i.y,maxWidth:"280px",width:"280px"},onMouseEnter:c,onMouseLeave:d,children:[(0,a.jsx)("div",{className:"p-3",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,a.jsx)("div",{className:"flex-shrink-0",children:l.authorImage?(0,a.jsx)("img",{src:(null===(r=l.authorImage.formats)||void 0===r?void 0:null===(t=r.thumbnail)||void 0===t?void 0:t.url)||l.authorImage.url,alt:l.authorImage.alternativeText||l.authorName||l.name,className:"w-8 h-8 rounded-full object-cover"}):(0,a.jsx)("div",{className:"w-8 h-8 bg-gray-300 rounded-full flex items-center justify-center",children:(0,a.jsx)(s.fzv,{className:"w-4 h-4 text-gray-600"})})}),(0,a.jsx)("h4",{className:"font-semibold font-zen-bold text-gray-900 flex-1",children:l.authorName||l.name})]})}),(0,a.jsx)("div",{className:"overflow-hidden transition-all duration-300 ease-in-out ".concat(n?"max-h-32 opacity-100":"max-h-0 opacity-0"),children:o&&(0,a.jsx)("div",{className:"px-3 pb-3",children:(0,a.jsx)("div",{children:(0,a.jsx)("p",{className:"text-sm text-gray-700 leading-relaxed line-clamp-4 font-zen-medium",children:o})})})})]}):null},c=r(5649),d=e=>{var t,r;let d,m;let{post:u,onClick:x,locale:h}=e,g=(0,i.useTranslations)(),[p,f]=(0,l.useState)(!1),[b,y]=(0,l.useState)({x:0,y:0}),v=(0,l.useRef)(null),j=(0,l.useRef)(null);return(0,l.useEffect)(()=>()=>{j.current&&clearTimeout(j.current)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{author:u.author,isVisible:p,position:b,authorDescription:u.author.bio,onMouseEnter:()=>{j.current&&(clearTimeout(j.current),j.current=null)},onMouseLeave:()=>{f(!1)},locale:h}),(0,a.jsx)(n.default,{href:"/".concat(h,"/blog/").concat(u.slug),children:(0,a.jsx)("article",{className:"bg-white rounded-2xl shadow-sm hover:shadow-lg transition-all duration-300 overflow-hidden cursor-pointer border border-gray-100",onClick:x,children:(0,a.jsxs)("div",{className:"flex h-full min-h-[200px]",children:[(0,a.jsx)("div",{className:"flex-1 min-w-0 p-4",children:(0,a.jsxs)("div",{className:"flex flex-col h-full",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,a.jsx)("span",{className:(0,c.C)(u.category.name).className,style:(0,c.C)(u.category.name).style,children:u.category.name}),(0,a.jsxs)("span",{className:"text-xs text-gray-500",children:[(d=u.publishedAt,new Intl.DateTimeFormat("en-US",{day:"numeric",month:"short",year:"numeric"}).format(new Date(d)))," ",(m=u.publishedAt,new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}).format(new Date(m)))]})]}),(0,a.jsx)("h2",{className:"text-base font-semibold text-gray-900 mb-2 line-clamp-2 leading-snug",children:u.title}),(0,a.jsx)("p",{className:"text-gray-600 text-sm mb-3 line-clamp-2 flex-1 leading-relaxed",children:u.excerpt}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("div",{ref:v,className:"flex items-center cursor-pointer",onMouseEnter:()=>{if(j.current&&(clearTimeout(j.current),j.current=null),v.current){let e=v.current.getBoundingClientRect();y({x:e.left,y:e.bottom+8}),requestAnimationFrame(()=>{f(!0)})}},onMouseLeave:()=>{j.current=setTimeout(()=>{f(!1)},100)},onClick:e=>e.preventDefault(),children:[u.author.authorImage?(0,a.jsx)("img",{src:(null===(r=u.author.authorImage.formats)||void 0===r?void 0:null===(t=r.thumbnail)||void 0===t?void 0:t.url)||u.author.authorImage.url,alt:u.author.authorImage.alternativeText||u.author.authorName,className:"h-6 w-6 rounded-full object-cover mr-2"}):(0,a.jsx)("div",{className:"h-6 w-6 bg-gray-300 rounded-full flex items-center justify-center mr-2",children:(0,a.jsx)(s.fzv,{className:"h-3 w-3 text-grey-600"})}),(0,a.jsx)("span",{className:"text-sm text-grey-600 font-medium font-zen-medium mr-2 hover:text-gray-800 transition-colors",children:u.author.authorName||u.author.name})]}),(0,a.jsx)("div",{className:"flex-1"}),(0,a.jsxs)("span",{className:"text-sm text-grey-600 font-medium font-zen-medium",children:[u.readingTime," ",g("blog_min_read")]})]})]})}),(0,a.jsx)("div",{className:"w-48 flex-shrink-0 bg-gray-300 relative overflow-hidden",children:u.featuredImage?(0,a.jsx)("img",{src:u.featuredImage,alt:u.title,className:"w-full h-full object-cover"}):(0,a.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-gray-500 text-xs",children:"No Image"})})})]})})})]})},m=r(11140),u=e=>
1{let{allCount:t,categories:r,activeTab:l="all",viewMode:s="grid",sortBy:n="newest",searchQuery:o="",onTabChange:d,onSearchChange:u,onSortChange:x}=e,h=(0,i.useTranslations)(),g=e=>{null==d||d(e)},p=r.filter(e=>e.postCount>0);return(0,a.jsxs)("div",{className:"mb-6 flex w-full min-w-0 flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center justify-between gap-x-6 gap-y-3",children:[(0,a.jsxs)("h1",{className:"shrink-0 text-2xl font-zen-bold text-gray-900 sm:text-3xl lg:text-4xl",children:["Blog","folder"===s&&(0,a.jsx)("button",{className:"ml-2 inline-flex text-gray-600 transition-colors hover:text-gray-900 sm:ml-3",title:"Create new folder",children:(0,a.jsx)(m.pfx,{className:"mt-1 h-6 w-6 sm:mt-2 sm:h-7 sm:w-7 lg:h-8 lg:w-8"})})]}),(0,a.jsxs)("div",{className:"flex min-w-0 shrink-0 flex-wrap items-center gap-3 sm:gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1 sm:gap-2",children:[(0,a.jsx)("span",{className:"whitespace-nowrap text-sm text-gray-600",children:h("sort_by")}),(0,a.jsxs)("select",{value:n,onChange:e=>{null==x||x(e.target.value)},className:"cursor-pointer border-none bg-transparent text-sm font-medium text-gray-900 focus:ring-0",children:[(0,a.jsx)("option",{value:"newest",children:h("newest")}),(0,a.jsx)("option",{value:"oldest",children:h("oldest")}),(0,a.jsx)("option",{value:"name",children:h("name")})]})]}),(0,a.jsxs)("div",{className:"relative w-full max-w-[16rem] sm:w-56 lg:w-64",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,a.jsx)(m.dVI,{className:"h-4 w-4 text-gray-400 sm:h-5 sm:w-5"})}),(0,a.jsx)("input",{type:"text",value:o,onChange:e=>{null==u||u(e.target.value)},placeholder:"Search...",className:"block w-full rounded-md border border-gray-300 bg-white py-2 pl-8 pr-8 text-sm leading-5 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-1 focus:ring-blue-500 sm:pl-10 sm:pr-10"}),o&&(0,a.jsx)("div",{className:"absolute right-2 top-1/2 -translate-y-1/2",children:(0,a.jsx)("button",{type:"button",className:"text-sm text-gray-400 transition-colors hover:text-gray-600",title:"Clear search",onClick:()=>{null==u||u("")},children:"â"})})]})]})]}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-x-1 gap-y-1 pt-1",children:[(0,a.jsxs)("button",{type:"button",className:"relative whitespace-nowrap border-b-2 px-2 py-2 text-sm font-medium transition-colors sm:px-3 ".concat("all"===l?"border-gray-900 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700"),onClick:()=>g("all"),children:["All",(0,a.jsx)("span",{className:"ml-1 rounded-md px-1.5 py-0.5 text-xs sm:ml-2 sm:px-2 ".concat("all"===l?"bg-gray-900 text-white":"bg-gray-100 text-gray-600"),children:t})]}),p.map(e=>{let t=l===e.slug,r=(0,c.C)(e.name);return(0,a.jsxs)("button",{type:"button",className:"relative whitespace-nowrap border-b-2 px-2 py-2 text-sm font-medium transition-colors sm:px-3 ".concat(t?"border-current":"border-transparent text-gray-500 hover:text-gray-700"),style:t?{color:r.textColor}:void 0,onClick:()=>g(e.slug),children:[e.name,(0,a.jsx)("span",{className:"ml-1 rounded-md px-1.5 py-0.5 text-xs sm:ml-2 sm:px-2 ".concat(t?"text-white":"bg-gray-100 text-gray-600"),style:t?{backgroundColor:r.backgroundColor}:void 0,children:e.postCount})]},e.slug)})]})]})},x=e=>{var t,r;let{post:d,onShare:m,locale:u}=e,x=(0,i.useTranslations)(),[h,g]=(0,l.useState)(!1),[p,f]=(0,l.useState)({x:0,y:0}),b=(0,l.useRef)(null),y=(0,l.useRef)(null),v=e=>new Intl.DateTimeFormat("en-GB",{day:"2-digit",month:"short",year:"numeric"}).format(new Date(e)),j=e=>new Date(e).toISOString(),N=new Date(d.updatedAt).getTime()-new Date(d.publishedAt).getTime()>864e5;return(0,l.useEffect)(()=>()=>{y.current&&clearTimeout(y.current)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{author:d.author,isVisible:h,position:p,authorDescription:d.author.bio,onMouseEnter:()=>{y.current&&(clearTimeout(y.current),y.current=null)},onMouseLeave:()=>{g(!1)},locale:u}),(0,a.jsxs)("div",{className:"mb-8",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-8",children:[(0,a.jsxs)(n.default,{href:"/".concat(u,"/blog"),className:"flex items-center text-gray-600 hover:text-gray-800 transition-colors font-zen-regular",children:[(0,a.jsx)(s.Ao2,{className:"mr-2"}),x("blog_all_articles")]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("span",{className:"text-gray-600 text-sm",children:[(0,a.jsx)("time",{dateTime:j(d.publishedAt),children:v(d.publishedAt)}),N&&(0,a.jsxs)(a.Fragment,{children:[" \xb7 Updated ",(0,a.jsx)("time",{dateTime:j(d.updatedAt),children:v(d.updatedAt)})]})]}),(0,a.jsx)("button",{onClick:()=>{m?m():navigator.share?navigator.share({title:d.title,text:d.excerpt,url:window.location.href}):navigator.clipboard.writeText(window.location.href)},className:"p-2 hover:bg-gray-100 rounded-lg transition-colors",title:"Share article",children:(0,a.jsx)(s.PMT,{className:"w-4 h-4 text-gray-600"})})]})]}),(0,a.jsx)("h1",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-8 leading-tight font-secondary",children:d.title}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-8",children:[(0,a.jsxs)("div",{ref:b,className:"flex items-center gap-4 cursor-pointer",onMouseEnter:()=>{if(y.current&&(clearTimeout(y.current),y.current=null),b.current){let e=b.current.getBoundingClientRect();f({x:e.left,y:e.bottom+8}),requestAnimationFrame(()=>{g(!0)})}},onMouseLeave:()=>{y.current=setTimeout(()=>{g(!1)},100)},children:[d.author.authorImage?(0,a.jsx)("img",{src:(null===(r=d.author.authorImage.formats)||void 0===r?void 0:null===(t=r.small)||void 0===t?void 0:t.url)||d.author.authorImage.url,alt:d.author.authorImage.alternativeText||d.author.authorName,className:"w-12 h-12 rounded-full object-cover aspect-square"}):(0,a.jsx)("div",{className:"w-12 h-12 bg-gray-300 rounded-full flex items-center justify-center",children:(0,a.jsx)(s.fzv,{className:"w-6 h-6 text-gray-600"})}),(0,a.jsx)("span",{className:"font-medium text-gray-900 hover:text-gray-700 transition-colors whitespace-nowrap",children:d.author.authorName||d.author.name})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4 justify-between w-full",children:[(0,a.jsx)("div",{className:"flex items-center gap-4",children:(0,a.jsx)("span",{className:"px-3 py-1 rounded-md text-sm font-medium ".concat((0,c.C)(d.category.name).className),style:(0,c.C)(d.category.name).style,children:d.category.name})}),(0,a.jsxs)("span",{className:"text-gray-600 text-sm",children:[d.readingTime," ",x("blog_min_read")]})]})]}),d.featuredImage&&(0,a.jsx)("img",{src:d.featuredImage,alt:d.title,className:"w-full aspect-video object-cover rounded-lg",fetchpriority:"high"})]})]})};let h="ai|com|io|org|net|co|eu|dev|app|so|me|fr|de|ee|uk|us|info|tech|cloud",g=RegExp(["https?://[^\\s<>()\\[\\]\"']+","[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(?:\\.[A-Za-z0-9-]+)*\\.(?:"+h+")","(?:www\\.)?[A-Za-z0-9-]+(?:\\.[A-Za-z0-9-]+)*\\.(?:"+h+")/[^\\s<>()\\[\\]\"']*"].join("|"),"gi"),p=/[.,;:!?)]+$/,f=["digiotouch.ai","www.digiotouch.ai"],b="text-blue-600 hover:text-blue-800 underline transition-colors duration-200",y=e=>{let t;if(e.includes("@")&&!e.includes("/"))return{href:"mailto:".concat(e),external:!1};let r=/^https?:\/\//i.test(e)?e:"https://".concat(e);try{t=new URL(r)}catch(e){return null}if(f.includes(t.hostname.toLowerCase())){let e="".concat(t.pathname).concat(t.search).concat(t.hash)||"/";return{href:e,internalPath:e,external:!1}}return{href:r,external:!0}},v=e=>{let t;if(!e||!/[./@]/.test(e))return e;let r=[],l=0;for(g.lastIndex=0;null!==(t=g.exec(e));){var s,i;let o=t[0],c=null!==(i=null===(s=o.match(p))||void 0===s?void 0:s[0])&&void 0!==i?i:"",d=c?o.slice(0,o.length-c.length):o,m=d?y(d):null;m&&(t.index>l&&r.push(e.slice(l,t.index)),m.internalPath?r.push((0,a.jsx)(n.default,{href:m.href,className:b,children:d},"".concat(t.index,"-l"))):r.push((0,a.jsx)("a",{href:m.href,className:b,...m.external?{target:"_blank",rel:"noopener noreferrer"}:{},children:d},"".concat(t.index,"-a"))),c&&r.push(c),l=t.index+o.length)}return r.length?(l<e.length&&r.push(e.slice(l)),r):e};var j=e=>{let{summary:t,className:r=""}=e,l=(0,i.useTranslations)(),s=[t.first,t.second,t.third,t.fourth].filter(e=>e&&""!==e.trim());return 0===s.length?null:(0,a.jsxs)("div",{"data-speakable":"summary",className:"bg-[#47E2BE]/10 border border-[#47E2BE] border-1 rounded-2xl p-6 mb-8 ".concat(r),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-4 justify-center",children:[(0,a.jsx)(m.fC0,{className:"w-6 h-6 text-green-600"}),(0,a.jsx)("h2",{className:"text-lg font-semibold text-primary-500 font-zen-bold",children:l("blog_summary_snippet")})]}),(0,a.jsx)("ul",{className:"space-y-3",children:s.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-start gap-2 font-zen-regular",children:[(0,a.jsx)("span",{className:"w-1 h-1 bg-black rounded-full mt-2.5 flex-shrink-0"}),(0,a.jsx)("span",{className:"text-black",children:v(e)})]},t))})]})};let N="relative inline-flex items-center justify-center rounded-lg transition-colors bg-primary-300 hover:bg-primary-400 text-black focus:ring-primary-300 tracking-tight no-underline",w="".concat(N," px-4 py-2 text-sm font-medium"),k="".concat(N," px-8 py-3 text-base font-medium"),C=e=>{var t;return void 0!==e.text?e.text:(null!==(t=e.children)&&void 0!==t?t:[]).map(C).join("")},T=e=>{var t,r;let a=(null!==(t=e.children)&&void 0!==t?t:[]).filter(e=>!(void 0!==e.text&&""===e.text.trim()));if(1!==a.length)return null;let l=a[0];if("link"!==l.type||!l.url)return null;let s=(null!==(r=l.children)&&void 0!==r?r:[]).filter(e=>void 0!==e.text&&""!==e.text.trim());if(!s.length||!s.every(e=>e.bold))return null;let n=C(l).trim();return n?{url:l.url,label:n}:null},z=e=>e.toLowerCase().replace(/[^a-z0-9]+/g,"-"),I=e=>{let{cards:t}=e;return(0,a.jsx)("div",{className:"my-8 grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:t.map((e,t)=>(0,a.jsxs)("div",{className:"flex flex-col overflow-hidden rounded-2xl border ".concat(e.highlight?"border-primary-300 shadow-sm":"border-grey-300"),children:[(0,a.jsxs)("div",{className:"flex-1 p-6 ".concat(e.highlight?"bg-primary-300/10":"bg-white"),children:[e.eyebrow&&(0,a.jsx)("p",{className:"mb-4 text-xs font-zen-bold uppercase tracking-[0.14em] text-grey-600",children:e.eyebrow}),(0,a.jsx)("ul",{className:"space-y-3",children:e.items.map((t,r)=>(0,a.jsxs)("li",{className:"flex gap-3 font-zen-regular text-grey-800",children:[(0,a.jsx)("span",{"aria-hidden":"true",className:"mt-2 h-1.5 w-1.5 shrink-0 rounded-full ".concat(e.highlight?"bg-primary-400":"bg-grey-400")}),(0,a.jsx)("span",{children:t})]},r))})]}),(0,a.jsxs)("div",{className:"px-6 py-4 ".concat(e.highlight?"bg-primary-300 text-black":"border-t border-grey-300 bg-grey-100"),children:[e.label&&(0,a.jsx)("p",{className:"text-xs font-zen-bold uppercase tracking-[0.14em] ".concat(e.highlight?"text-black/70":"text-grey-600"),children:e.label}),(0,a.jsx)("h3",{id:z(e.label?"".concat(e.label,". ").concat(e.title):e.title),className:"mt-1 text-lg font-zen-bold ".concat(e.highlight?"text-black":"text-grey-900"),children:e.title})]})]},t))})},_={warning:"border border-l-4 border-grey-300 border-l-warning-400 bg-grey-100 [&>h3]:text-warning-500",note:"border border-grey-300 bg-grey-100",highlight:"border border-l-4 border-grey-300 border-l-primary-300 bg-primary-300/10",quote:"border border-l-4 border-grey-300 border-l-primary-300 bg-grey-100"},E=e=>{var t;let{variant:r,children:l,footnote:s}=e,n=null!==(t=_[null!=r?r:"note"])&&void 0!==t?t:_.note;return(0,a.jsxs)("quote"===r?"blockquote":"div",{className:"my-8 rounded-2xl px-6 py-6 sm:px-7 [&>h3]:mt-0 [&>*:last-child]:mb-0 ".concat(n),children:[l,s&&(0,a.jsx)("p",{className:"mt-5 text-sm font-zen-regular text-grey-600",children:s})]})},S=e=>{let{href:t,className:r,children:l}=e;return t.startsWith("/")?(0,a.jsx)(n.default,{href:t,className:r,children:l}):(0,a.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:r,children:l})},A=e=>{let{segments:t,className:r,linkClassName:l}=e;return(0,a.jsx)("p",{className:r,children:t.map((e,t)=>e.url?(0,a.jsx)(S,{href:e.url,className:l,children:e.text},t):(0,a.jsx)("span",{children:e.text},t))})},F=e=>{var t,r,l,s;let{cta:n}=e;return"card"===n.variant?(0,a.jsxs)("div",{className:"my-8 rounded-2xl border border-primary-300 bg-primary-300/10 p-6 sm:p-8",children:[(0,a.jsx)("p",{className:"text-xl font-zen-bold text-grey-900",children:n.title}),n.subtitle&&(0,a.jsx)("p",{className:"mt-2 font-zen-regular text-grey-700",children:n.subtitle}),(0,a.jsxs)("div",{className:"mt-6 flex flex-wrap items-center gap-x-5 gap-y-3",children:[(0,a.jsx)(S,{href:n.button.url,className:k,children:n.button.label}),n.note&&(0,a.jsx)("span",{className:"text-sm text-grey-600",children:n.note})]}),!!(null===(l=n.chips)||void 0===l?void 0:l.length)&&(0,a.jsx)("div",{className:"mt-5 flex flex-wrap gap-3",children:n.chips.map((e,t)=>(0,a.jsx)(S,{href:e.url,className:"inline-flex items-center rounded-lg border border-grey-300 bg-white px-5 py-2 text-sm font-medium text-grey-800 no-underline transition-colors hover:border-primary-300 hover:text-grey-900",children:e.label},t))}),!!(null===(s=n.footer)||void 0===s?void 0:s.length)&&(0,a.jsx)(A,{segments:n.footer,className:"mt-5 text-sm text-grey-600",linkClassName:"text-primary-500 underline underline-offset-2 hover:text-grey-900"})]}):(0,a.jsxs)("div",{className:"bg-gradient-custom my-10 rounded-2xl px-6 py-12 text-center shadow-xl sm:px-10",children:[(0,a.jsx)("p",{className:"text-2xl font-zen-bold tracking-tight text-white sm:text-3xl",children:n.title}),n.subtitle&&(0,a.jsx)("p",{className:"mx-auto mt-3 max-w-2xl font-zen-regular text-white/80",children:n.subtitle}),(0,a.jsx)("div",{className:"mt-7",children:(0,a.jsx)(S,{href:n.button.url,className:k,children:n.button.label})}),n.note&&(0,a.jsx)("p",{className:"mt-4 text-sm text-white/70",children:n.note}),!!(null===(t=n.chips)||void 0===t?void 0:t.length)&&(0,a.jsx)("div",{className:"mt-7 flex flex-wrap justify-center gap-3",children:n.chips.map((e,t)=>(0,a.jsx)(S,{href:e.url,className:"inline-flex items-center rounded-lg border border-white/30 px-5 py-2 text-sm text-white no-underline transition-colors hover:border-primary-300 hover:bg-white/10",children:e.label},t))}),!!(null===(r=n.footer)||void 0===r?void 0:r.length)&&(0,a.jsx)(A,{segments:n.footer,className:"mt-7 text-sm text-white/70",linkClassName:"text-primary-200 underline underline-offset-2 hover:text-primary-100"})]})};var B=e=>{let{content:t}=e,r=function(e,t){var s,i,o,c,d,m,u,x,h,g,p,f,b,y,j,N;let k=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0!==e.text){let r=k?e.text:v(e.text),l=(0,a.jsx)("span",{children:r},t);return e.bold&&(l=(0,a.jsx)("strong",{children:r},t)),e.italic&&(l=(0,a.jsx)("em",{children:l},t)),e.underline&&(l=(0,a.jsx)("u",{children:l},t)),l}if("link"===e.type&&e.url)return(0,a.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 underline transition-colors duration-200",children:null===(s=e.children)||void 0===s?void 0:s.map((e,t)=>r(e,t,!0))},t);switch(e.type){case"paragraph":{let l=T(e);if(l)return(0,a.jsx)("div",{className:"my-8 flex justify-center",children:l.url.startsWith("/")?(0,a.jsx)(n.default,{href:l.url,className:w,children:l.label}):(0,a.jsx)("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",className:w,children:l.label})},t);return(0,a.jsx)("p",{className:"mb-4 text-gray-700 leading-relaxed",children:null===(i=e.children)||void 0===i?void 0:i.map((e,t)=>r(e,t))},t)}case"heading":let C="h".concat(e.level||2),z={1:"text-3xl font-bold mb-6 mt-8 text-gray-900",2:"text-2xl font-semibold mb-4 mt-6 text-gray-900",3:"text-xl font-semibold mb-3 mt-5 text-gray-900",4:"text-lg font-semibold mb-2 mt-4 text-gray-900",5:"text-base font-semibold mb-2 mt-3 text-gray-900",6:"text-sm font-semibold mb-2 mt-2 text-gray-900"};return l.createElement(C,{key:t,className:z[e.level]||z[2],id:null===(o=e.children)||void 0===o?void 0:o.map(e=>e.text).join("").toLowerCase().replace(/[^a-z0-9]+/g,"-")},null===(c=e.children)||void 0===c?void 0:c.map((e,t)=>r(e,t)));case"list":let _="ordered"===e.format?"ol":"ul",S=e.indentLevel||0,A="ordered"===e.format?"list-decimal list-inside mb-4 space-y-2 "
1.concat(S>0?"ml-6":""):"list-disc list-inside mb-4 space-y-2 ".concat(S>0?"ml-6":"");return l.createElement(_,{key:t,className:A,style:S>0?{listStyleType:"lower-alpha"}:void 0},null===(d=e.children)||void 0===d?void 0:d.map((e,t)=>r(e,t)));case"list-item":return(0,a.jsx)("li",{className:"text-gray-700",children:null===(m=e.children)||void 0===m?void 0:m.map((e,t)=>r(e,t))},t);case"cards":return(null===(u=e.cards)||void 0===u?void 0:u.length)?(0,a.jsx)(I,{cards:e.cards},t):null;case"cta":return e.cta?(0,a.jsx)(F,{cta:e.cta},t):null;case"callout":return(0,a.jsx)(E,{variant:e.variant,footnote:null===(x=e.footnote)||void 0===x?void 0:x.map((e,t)=>r(e,t)),children:null===(h=e.children)||void 0===h?void 0:h.map((e,t)=>r(e,t))},t);case"quote":return(0,a.jsx)("blockquote",{className:"border-l-4 border-blue-500 pl-4 my-6 italic text-gray-600",children:null===(g=e.children)||void 0===g?void 0:g.map((e,t)=>r(e,t))},t);case"code":return(0,a.jsx)("code",{className:"bg-gray-100 px-2 py-1 rounded text-sm font-mono",children:null===(p=e.children)||void 0===p?void 0:p.map((e,t)=>r(e,t))},t);case"table":{let[l,...s]=e.children||[];if("comparison"===e.variant){let n=(null!==(j=null==l?void 0:null===(b=l.children)||void 0===b?void 0:b.length)&&void 0!==j?j:1)-1;return(0,a.jsxs)("figure",{className:"my-8 overflow-hidden rounded-2xl border border-grey-300",children:[e.caption&&(0,a.jsx)("figcaption",{className:"border-b border-grey-300 px-5 py-4 text-left text-sm font-zen-regular text-grey-600",children:e.caption}),(0,a.jsx)("div",{className:"overflow-x-auto",children:(0,a.jsxs)("table",{className:"w-full min-w-[720px] border-collapse text-sm",children:[l&&(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:null===(y=l.children)||void 0===y?void 0:y.map((e,t)=>{var l;return(0,a.jsx)("th",{scope:"col",className:"border-b border-grey-300 bg-grey-100 px-5 py-3 text-left text-xs font-zen-bold uppercase tracking-[0.08em] ".concat(t===n?"text-primary-500":"text-grey-600"),children:null===(l=e.children)||void 0===l?void 0:l.map((e,t)=>r(e,t))},t)})})}),(0,a.jsx)("tbody",{children:s.map((e,t)=>{var l;return(0,a.jsx)("tr",{className:"border-b border-grey-300 last:border-b-0",children:null===(l=e.children)||void 0===l?void 0:l.map((e,t)=>{var l,s;return 0===t?(0,a.jsx)("th",{scope:"row",className:"px-5 py-4 text-left align-top font-zen-medium text-primary-500",children:null===(l=e.children)||void 0===l?void 0:l.map((e,t)=>r(e,t))},t):(0,a.jsx)("td",{className:"px-5 py-4 align-top ".concat(t===n?"font-zen-bold text-grey-900":"text-grey-700"),children:null===(s=e.children)||void 0===s?void 0:s.map((e,t)=>r(e,t))},t)})},t)})})]})})]},t)}return(0,a.jsx)("div",{className:"my-6 overflow-x-auto",children:(0,a.jsxs)("table",{className:"min-w-full border border-gray-200 text-sm",children:[l&&(0,a.jsx)("thead",{className:"bg-gray-50",children:(0,a.jsx)("tr",{children:null===(f=l.children)||void 0===f?void 0:f.map((e,t)=>{var l;return(0,a.jsx)("th",{className:"border border-gray-200 px-4 py-2 text-left font-semibold text-gray-900",children:null===(l=e.children)||void 0===l?void 0:l.map((e,t)=>r(e,t))},t)})})}),(0,a.jsx)("tbody",{children:s.map((e,t)=>{var l;return(0,a.jsx)("tr",{children:null===(l=e.children)||void 0===l?void 0:l.map((e,t)=>{var l;return(0,a.jsx)("td",{className:"border border-gray-200 px-4 py-2 align-top text-gray-700",children:null===(l=e.children)||void 0===l?void 0:l.map((e,t)=>r(e,t))},t)})},t)})})]})},t)}case"image":if(!e.image)return null;return(0,a.jsxs)("figure",{className:"my-6",children:[(0,a.jsx)("img",{src:e.image.url,alt:e.image.alternativeText||e.image.name||"",className:"w-full max-w-full h-auto rounded-lg shadow-md",loading:"lazy"}),e.image.caption&&(0,a.jsx)("figcaption",{className:"text-sm text-gray-600 text-center mt-2 italic",children:e.image.caption})]},t);default:return(0,a.jsx)("div",{className:"mb-4",children:null===(N=e.children)||void 0===N?void 0:N.map((e,t)=>r(e,t))},t)}};return(0,a.jsx)("div",{className:"prose prose-lg max-w-none",children:t.map((e,t)=>r(e,t))})},D=e=>{let{content:t}=e,r=(0,i.useTranslations)(),l=(e=>{let t=[],r=e=>{if("heading"===e.type&&e.children){let r=e.children.map(e=>e.text||"").join("");if(r.trim()){let a=r.toLowerCase().replace(/[^a-z0-9]+/g,"-");t.push({text:r.trim(),level:e.level||2,id:a})}}
1"list"===e.type&&e.children&&e.children.forEach(e=>{if("list-item"===e.type&&e.children){let r=e.children.map(e=>e.text||"").join("");if(r.trim()){let e=r.toLowerCase().replace(/[^a-z0-9]+/g,"-");t.push({text:r.trim(),level:3,id:e})}}}),e.children&&e.children.forEach(r)};return e.forEach(r),t})(t);if(0===l.length)return null;let s=e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})};return(0,a.jsxs)("div",{className:"bg-gray-50 p-6 rounded-lg",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-4 hidden md:block",children:r("blog_table_of_contents")}),(0,a.jsx)("nav",{children:(0,a.jsx)("ul",{className:"space-y-2",children:l.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)("button",{onClick:()=>s(e.id),className:"text-left hover:text-blue-600 transition-colors block w-full ".concat(1===e.level?"font-semibold text-gray-900":2===e.level?"font-medium text-gray-800":"text-gray-700"),style:{paddingLeft:"".concat((e.level-1)*.5,"rem")},children:e.text})},t))})})]})},M=e=>{let{onSearch:t,placeholder:r="Search...",className:n=""}=e,[i,o]=(0,l.useState)("");return(0,a.jsx)("div",{className:"rounded-lgp-4 mb-6 ".concat(n),children:(0,a.jsx)("form",{onSubmit:e=>{e.preventDefault(),t&&t(i)},children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(s.jRj,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"}),(0,a.jsx)("input",{type:"text",value:i,onChange:e=>{o(e.target.value)},placeholder:r,className:"w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"})]})})})},L=r(38543),R=r(33812),q=r(21127),Z=r(76673),U=r(52205),V=r(22744),W=r(56334),H=e=>{let{faqs:t,showMoreQuestionsSection:r=!0,onFAQPageClick:l}=e,s=(0,i.useTranslations)();return(0,a.jsxs)(L.Z,{className:"w-full mx-auto",children:[(0,a.jsx)(L.Z,{children:t.map(e=>(0,a.jsxs)(R.Z,{sx:{backgroundColor:"#f9fafb",border:"1px solid #e5e7eb",borderRadius:"8px",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",marginBottom:"8px","&:before":{display:"none"},"&.Mui-expanded":{margin:"0 0 8px 0",backgroundColor:"#ffffff",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",border:"1px solid #d1d5db"}},children:[(0,a.jsx)(q.Z,{expandIcon:(0,a.jsx)(V.Yc6,{}),"aria-controls":"faq-".concat(e.id,"-content"),id:"faq-".concat(e.id,"-header"),sx:{padding:"20px 24px",minHeight:"64px","&:hover":{backgroundColor:"#f3f4f6"},"& .MuiAccordionSummary-content":{margin:"0"},"&.Mui-expanded":{minHeight:"64px"}},children:(0,a.jsx)(Z.Z,{variant:"h6",sx:{fontSize:"18px",fontWeight:500,color:"#111827",paddingRight:"16px"},children:e.question})}),(0,a.jsx)(U.Z,{sx:{padding:"0 24px 24px 24px",borderTop:"1px solid #e5e7eb",paddingTop:"16px"},children:(0,a.jsx)(Z.Z,{sx:{color:"#374151",lineHeight:1.7,fontSize:"16px"},children:v(e.answer)})})]},e.id))}),r&&(0,a.jsxs)(L.Z,{className:"mt-6 text-center",children:[(0,a.jsx)(Z.Z,{variant:"h5",sx:{fontSize:"20px",fontWeight:500,color:"#111827",marginBottom:"24px"},children:s("blog_faq_more_questions")}),(0,a.jsx)(W.Z,{onClick:l,variant:"primary",children:s("blog_faq_page_button")})]})]})},P=()=>(0,a.jsx)("article",{className:"bg-white rounded-2xl shadow-sm border border-gray-100 overflow-hidden",children:(0,a.jsxs)("div",{className:"flex h-full min-h-[200px]",children:[(0,a.jsx)("div",{className:"flex-1 min-w-0 p-4",children:(0,a.jsxs)("div",{className:"flex flex-col h-full",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,a.jsx)("div",{className:"h-6 w-16 bg-gray-200 rounded-md animate-pulse"}),(0,a.jsx)("div",{className:"h-4 w-24 bg-gray-200 rounded animate-pulse"})]}),(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsx)("div",{className:"h-5 w-full bg-gray-200 rounded animate-pulse mb-2"}),(0,a.jsx)("div",{className:"h-5 w-3/4 bg-gray-200 rounded animate-pulse"})]}),(0,a.jsxs)("div",{className:"mb-3 flex-1",children:[(0,a.jsx)("div",{className:"h-4 w-full bg-gray-200 rounded animate-pulse mb-2"}),(0,a.jsx)("div",{className:"h-4 w-5/6 bg-gray-200 rounded animate-pulse"})]}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"h-6 w-6 bg-gray-200 rounded-full mr-2 animate-pulse"}),(0,a.jsx)("div",{className:"h-4 w-20 bg-gray-200 rounded animate-pulse mr-2"})]}),(0,a.jsx)("div",{className:"flex-1"}),(0,a.jsx)("div",{className:"h-4 w-16 bg-gray-200 rounded animate-pulse"})]})]})}),(0,a.jsx)("div",{className:"w-48 flex-shrink-0 bg-gray-200 animate-pulse"})]})}),$=e=>{var t,r;let d,m;let{post:u,onClick:x,locale:h}=e,g=(0,i.useTranslations)(),[p,f]=(0,l.useState)(!1),[b,y]=(0,l.useState)({x:0,y:0}),v=(0,l.useRef)(null),j=(0,l.useRef)(null);return(0,l.useEffect)(()=>()=>{j.current&&clearTimeout(j.current)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{author:u.author,isVisible:p,position:b,authorDescription:u.author.bio,onMouseEnter:()=>{j.current&&(clearTimeout(j.current),j.current=null)},onMouseLeave:()=>{f(!1)},locale:h}),(0,a.jsx)(n.default,{href:"/".concat(h,"/blog/").concat(u.slug),children:(0,a.jsxs)("article",{className:"bg-white rounded-xl shadow-sm hover:shadow-md transition-all duration-300 overflow-hidden cursor-pointer border border-gray-100",onClick:x,children:[(0,a.jsx)("div",{className:"w-full h-48 bg-gray-300 relative overflow-hidden",children:u.featuredImage?(0,a.jsx)("img",{src:u.featuredImage,alt:u.title,className:"w-full h-full object-cover"}):(0,a.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-gray-500 text-sm",children:"No Image"})})}),(0,a.jsx)("div",{className:"p-4",children:(0,a.jsxs)("div",{className:"flex flex-col h-full",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsx)("span",{className:"px-2 py-1 text-xs font-medium rounded-full ".concat((0,c.C)(u.category.name).className),style:(0,c.C)(u.category.name).style,children:u.category.name}),(0,a.jsxs)("span",{className:"text-xs text-gray-500",children:[(d=u.publishedAt,new Intl.DateTimeFormat("en-US",{day:"numeric",month:"short",year:"numeric"}).format(new Date(d)))," ",(m=u.publishedAt,new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}).format(new Date(m)))]})]}),(0,a.jsx)("h2",{className:"text-lg font-semibold text-gray-900 mb-3 line-clamp-2 leading-tight",children:u.title}),(0,a.jsx)("p",{className:"text-gray-600 text-sm mb-4 line-clamp-3 flex-1 leading-relaxed",children:u.excerpt}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{ref:v,className:"flex items-center cursor-pointer",onMouseEnter:()=>{if(j.current&&(clearTimeout(j.current),j.current=null),v.current){let e=v.current.getBoundingClientRect();y({x:e.left,y:e.bottom+8}),requestAnimationFrame(()=>{f(!0)})}},onMouseLeave:()=>{j.current=setTimeout(()=>{f(!1)},100)},onClick:e=>e.preventDefault(),children:[u.author.authorImage?(0,a.jsx)("img",{src:(null===(r=u.author.authorImage.formats)||void 0===r?void 0:null===(t=r.thumbnail)||void 0===t?void 0:t.url)||u.author.authorImage.url,alt:u.author.authorImage.alternativeText||u.author.authorName,className:"h-7 w-7 rounded-full object-cover mr-2"}):(0,a.jsx)("div",{className:"h-7 w-7 bg-gray-300 rounded-full flex items-center justify-center mr-2",children:(0,a.jsx)(s.fzv,{className:"h-4 w-4 text-grey-600"})}),(0,a.jsx)("span",{className:"text-sm text-grey-600 font-medium font-zen-medium hover:text-gray-800 transition-colors",children:u.author.authorName||u.author.name})]}),(0,a.jsxs)("span",{className:"text-sm text-grey-600 font-medium font-zen-medium",children:[u.readingTime," ",g("blog_min_read")]})]})]})})]})})]})},G=e=>
1{let{allCount:t,categories:r,activeTab:l="all",viewMode:s="grid",sortBy:n="newest",searchQuery:o="",onTabChange:d,onSearchChange:u,onSortChange:x}=e,h=(0,i.useTranslations)(),g=e=>{null==d||d(e)},p=r.filter(e=>e.postCount>0);return(0,a.jsxs)("div",{className:"mb-6 flex w-full min-w-0 flex-col gap-4",children:[(0,a.jsx)("div",{className:"flex items-center justify-between",children:(0,a.jsxs)("h1",{className:"flex items-center gap-2 text-2xl font-zen-bold text-gray-900",children:["Blog","folder"===s&&(0,a.jsx)("button",{className:"text-gray-600 transition-colors hover:text-gray-900",title:"Create new folder",children:(0,a.jsx)(m.pfx,{className:"mt-1 h-6 w-6"})})]})}),(0,a.jsxs)("div",{className:"relative w-full min-w-0",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,a.jsx)(m.dVI,{className:"h-4 w-4 text-gray-400"})}),(0,a.jsx)("input",{type:"text",value:o,onChange:e=>{null==u||u(e.target.value)},placeholder:"Search...",className:"block w-full rounded-lg border border-gray-300 bg-white py-3 pl-10 pr-10 text-sm leading-5 placeholder-gray-500 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500"}),o&&(0,a.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,a.jsx)("button",{type:"button",className:"text-sm text-gray-400 transition-colors hover:text-gray-600",title:"Clear search",onClick:()=>{null==u||u("")},children:"â"})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"whitespace-nowrap text-sm text-gray-600",children:h("sort_by")}),(0,a.jsxs)("select",{value:n,onChange:e=>{null==x||x(e.target.value)},className:"cursor-pointer rounded-md border border-gray-300 bg-transparent px-3 py-2 text-sm font-medium text-gray-900 focus:border-blue-500 focus:ring-2 focus:ring-blue-500",children:[(0,a.jsx)("option",{value:"newest",children:h("newest")}),(0,a.jsx)("option",{value:"oldest",children:h("oldest")}),(0,a.jsx)("option",{value:"name",children:h("name")})]})]}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-x-1 gap-y-1",children:[(0,a.jsxs)("button",{type:"button",className:"relative whitespace-nowrap border-b-2 px-3 py-2 text-sm font-medium transition-colors ".concat("all"===l?"border-gray-900 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700"),onClick:()=>g("all"),children:["All",(0,a.jsx)("span",{className:"ml-2 rounded-md px-2 py-0.5 text-xs ".concat("all"===l?"bg-gray-900 text-white":"bg-gray-100 text-gray-600"),children:t})]}),p.map(e=>{let t=l===e.slug,r=(0,c.C)(e.name);return(0,a.jsxs)("button",{type:"button",className:"relative whitespace-nowrap border-b-2 px-3 py-2 text-sm font-medium transition-colors ".concat(t?"border-current":"border-transparent text-gray-500 hover:text-gray-700"),style:t?{color:r.textColor}:void 0,onClick:()=>g(e.slug),children:[e.name,(0,a.jsx)("span",{className:"ml-2 rounded-md px-2 py-0.5 text-xs ".concat(t?"text-white":"bg-gray-100 text-gray-600"),style:t?{backgroundColor:r.backgroundColor}:void 0,children:e.postCount})]},e.slug)})]})]})},O=e=>{var t,r;let d;let{post:m,onShare:u,locale:x}=e,h=(0,i.useTranslations)(),[g,p]=(0,l.useState)(!1),[f,b]=(0,l.useState)({x:0,y:0}),y=(0,l.useRef)(null),v=(0,l.useRef)(null);return(0,l.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{author:m.author,isVisible:g,position:f,authorDescription:m.author.bio,onMouseEnter:()=>{v.current&&(clearTimeout(v.current),v.current=null)},onMouseLeave:()=>{p(!1)},locale:x}),(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,a.jsxs)(n.default,{href:"/".concat(x,"/blog"),className:"flex items-center text-gray-600 hover:text-gray-800 transition-colors font-zen-regular",children:[(0,a.jsx)(s.Ao2,{className:"mr-2"}),h("blog_all_articles")]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("span",{className:"text-gray-600 text-sm",children:(d=m.publishedAt,new Intl.DateTimeFormat("en-US",{day:"numeric",month:"short",year:"numeric"}).format(new Date(d)))}),(0,a.jsx)("button",{onClick:()=>{navigator.share?navigator.share({title:m.title,text:m.excerpt,url:window.location.href}):navigator.clipboard.writeText(window.location.href),u&&u()},className:"p-2 hover:bg-gray-100 rounded-lg transition-colors",title:"Share article",children:(0,a.jsx)(s.PMT,{className:"w-4 h-4 text-gray-600"})})]})]}),(0,a.jsx)("h1",{className:"text-2xl font-bold text-gray-900 mb-6 leading-tight font-secondary",children:m.title}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 mb-6",children:[(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)("span",{className:"px-3 py-1 text-sm font-medium rounded-full ".concat((0,c.C)(m.category.name).className),style:(0,c.C)(m.category.name).style,children:m.category.name})}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsxs)("div",{ref:y,className:"flex items-center cursor-pointer",onMouseEnter:()=>{if(v.current&&(clearTimeout(v.current),v.current=null),y.current){let e=y.current.getBoundingClientRect();b({x:e.left,y:e.bottom+8}),requestAnimationFrame(()=>{p(!0)})}},onMouseLeave:()=>{v.current=setTimeout(()=>{p(!1)},100)},children:[m.author.authorImage?(0,a.jsx)("img",{src:(null===(r=m.author.authorImage.formats)||void 0===r?void 0:null===(t=r.thumbnail)||void 0===t?void 0:t.url)||m.author.authorImage.url,alt:m.author.authorImage.alternativeText||m.author.authorName,className:"h-8 w-8 rounded-full object-cover mr-3"}):(0,a.jsx)("div",{className:"h-8 w-8 bg-gray-300 rounded-full flex items-center justify-center mr-3",children:(0,a.jsx)(s.fzv,{className:"h-4 w-4 text-grey-600"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-sm text-grey-600 font-medium font-zen-medium hover:text-gray-800 transition-colors",children:m.author.authorName||m.author.name}),(0,a.jsxs)("span",{className:"text-xs text-gray-500",children:[m.readingTime," ",h("blog_min_read")]})]})]})})]})]})]})}},5649:function(e,t,r){r.d(t,{C:function(){return u}});let a="inline-flex items-center px-2 py-1 rounded-md text-xs font-medium uppercase tracking-wide font-zen-bold",l={main:"#47E2BE",dark:"#30BD9C"},s={main:"#8E33FF",dark:"#5119B7"},n={main:"#47B8E2",dark:"#1E8BB3"},i={main:"#96B838",dark:"#75902A"},o={main:"#FFAB00",dark:"#B76E00"}
1,c={main:"#E2476B",dark:"#A6324D"},d={"meeting productivity":l,"meeting-productivity":l,"how-to guides":n,"how-to-guides":n,"integrations & workflows":s,"integrations-workflows":s,"product updates":o,"product update":o,"product-update":o,"security & compliance":i,security:i,"customer stories":c,"customer-stories":c,sales:n,marketing:c,"business development":o,"business-development":o,"software development":s,"software-development":s,finance:i,operations:l},m=(e,t)=>{let r=parseInt(e.slice(1),16);return"rgba(".concat(r>>16&255,", ").concat(r>>8&255,", ").concat(255&r,", ").concat(t,")")},u=e=>{let t=d[e.toLowerCase().trim()];return t?{backgroundColor:t.main,textColor:t.dark,className:a,style:{backgroundColor:m(t.main,.16),color:t.dark}}:{backgroundColor:"#6B7280",textColor:"#FFFFFF",className:"".concat(a," bg-gray-500 text-white")}}}}]);
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.