PageSourceSearch

https://www.aodocs.com/_next/static/chunks/app/blog/page-af29e72b7…?dpl=dpl_HvgqCaKwLXtjJP7PeCP7cwNBmXZa

js aodocs.com collected 2026-10-01 14:38:43 UTC 4,444 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[831],{2259:(e,l,a)=>{Promise.resolve().then(a.bind(a,4040))},2416:(e,l,a)=>{"use strict";a.d(l,{default:()=>t});var o=a(5155),r=a(2115);function t(e){let{post:l}=e,[a,t]=(0,r.useState)(!1),s=!l.hasBody&&!!l.externalUrl,n=l.hasBody?"/blog/".concat(l.slug):l.externalUrl;return n?(0,o.jsxs)("a",{href:n,target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0,className:"flex flex-col rounded-[16px] overflow-hidden no-underline h-full",style:{backgroundColor:"#FFFFFF",boxShadow:a?"0 18px 40px rgba(0,3,37,0.16)":"0 12px 32px rgba(0,3,37,0.10)",transform:a?"translateY(-4px)":"translateY(0)",transition:"box-shadow 0.25s ease, transform 0.25s ease"},onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),children:[(0,o.jsx)("div",{className:"w-full overflow-hidden",style:{aspectRatio:"16/9",backgroundColor:"#ECF1F9"},children:l.imageUrl&&(0,o.jsx)("img",{src:l.imageUrl,alt:"","aria-hidden":!0,className:"w-full h-full object-cover block"})}),(0,o.jsxs)("div",{className:"flex flex-col flex-1 p-7",children:[(l.category||l.dateLabel)&&(0,o.jsxs)("p",{className:"m-0 mb-3 font-bold uppercase",style:{fontFamily:"Roboto, sans-serif",fontSize:"0.72rem",letterSpacing:"0.08em",color:"#8294AD"},children:[l.category,l.category&&l.dateLabel&&" \xb7 ",l.dateLabel]}),(0,o.jsx)("h3",{className:"m-0 mb-3 font-bold leading-snug",style:{fontFamily:"Ubuntu, sans-serif",fontSize:"1.15rem",color:a?"#006CB2":"#000325",transition:"color 0.25s ease"},children:l.title}),l.excerpt&&(0,o.jsx)("p",{className:"m-0 leading-normal",style:{fontSize:"0.95rem",color:"#3F4D62"},children:l.excerpt}),(0,o.jsxs)("p",{className:"m-0 mt-auto pt-6 font-medium",style:{fontSize:"0.95rem",color:"#006CB2"},children:["Read the article",s&&(0,o.jsx)("span",{"aria-label":" (opens on aodocs.com)",style:{marginLeft:6},children:"↗"})]})]})]}):null}},4040:(e,l,a)=>{"use strict";a.d(l,{default:()=>s});var o=a(5155),r=a(2115),t=a(2416);function s(e){let{posts:l=[]}=e,[a,s]=(0,r.useState)(""),[c,i]=(0,r.useState)(1),d=(0,r.useRef)(null),u=(0,r.useMemo)(()=>{let e=a.trim().toLowerCase();return e?l.filter(l=>{var a,o;return(null==(a=l.title)?void 0:a.toLowerCase().includes(e))||(null==(o=l.excerpt)?void 0:o.toLowerCase().includes(e))}):l},[l,a]),m=Math.max(1,Math.ceil(u.length/12)),x=Math.min(c,m),h=u.slice((x-1)*12,12*x),f=e=>{var l;i(e),null==(l=d.current)||l.scrollIntoView({behavior:"smooth",block:"start"})};return(0,o.jsx)("section",{className:"py-16",style:{backgroundColor:"#ECF1F9"},children:(0,o.jsxs)("div",{className:"max-w-6xl mx-auto px-6",ref:d,children:[(0,o.jsxs)("div",{className:"max-w-xl mx-auto mb-12",children:[(0,o.jsx)("label",{htmlFor:"blog-search",className:"block mb-2 font-medium",style:{fontSize:"0.95rem",color:"#3F4D62"},children:"Search the blog"}),(0,o.jsx)("input",{id:"blog-search",type:"search",value:a,onChange:e=>{s(e.target.value),i(1)},placeholder:"Try “document control” or “AI agents”",className:"w-full rounded-full px-6 py-3 border-0",style:{fontSize:"1rem",color:"#000325",backgroundColor:"#FFFFFF",boxShadow:"0 4px 14px rgba(0,3,37,0.08)"}}),(0,o.jsx)("p",{"aria-live":"polite",className:"m-0 mt-3 text-center",style:{fontSize:"0.9rem",color:"#8294AD"},children:0===u.length?"No article matches that search.":"".concat(u.length," article").concat(u.length>1?"s":"")})]}),h.length>0&&(0,o.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:h.map(e=>(0,o.jsx)(t.default,{post:e},e._id))}),m>1&&(0,o.jsxs)("nav",{"aria-label":"Blog pages",className:"flex flex-wrap items-center justify-center gap-2 mt-14",children:[(0,o.jsx)(n,{label:"Previous",disabled:1===x,onClick:()=>f(x-1)}),Array.from({length:m},(e,l)=>l+1).map(e=>(0,o.jsx)(n,{label:String(e),active:e===x,onClick:()=>f(e)},e)),(0,o.jsx)(n,{label:"Next",disabled:x===m,onClick:()=>f(x+1)})]})]})})}function n(e){let{label:l,active:a,disabled:t,onClick:s}=e,[n,c]=(0,r.useState)(!1);return(0,o.jsx)("button",{type:"button",onClick:s,disabled:t,"aria-current":a?"page":void 0,className:"rounded-full px-4 py-2 font-medium border-0",style:{backgroundColor:a?"#006CB2":n&&!t?"#FFFFFF":"transparent",color:a?"#FFFFFF":t?"#8294AD":"#000325",cursor:t?"default":"pointer",opacity:t?.5:1,fontSize:"0.95rem",transition:"background-color 0.2s ease, color 0.2s ease"},onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:l})}}},e=>{e.O(0,[441,255,120],()=>e(e.s=2259)),_N_E=e.O()}]);

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.