PageSourceSearch

https://reliabilityacademy.com/_next/static/chunks/app/(frontend)/…?dpl=dpl_9R8gPZCr8JT9JTd4ZbCxyn9wF4yv

js reliabilityacademy.com collected 2026-10-10 00:31:12 UTC 10,277 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6798],{78026:(e,t,n)=>{"use strict";n.d(t,{ArticlesIndexClient:()=>g});var a=n(61123),r=n(4867),l=n(88380),i=n(45307),o=n(31936),s=n(99190);let c=null;function u(){return c||(c=fetch("/articles/search-index.json").then(e=>{if(!e.ok)throw Error("search index responded ".concat(e.status));return e.json()}).then(e=>Object.fromEntries(e.map(e=>[e.slug,e.searchText]))).catch(e=>(console.error("[articles/search-index]",e),c=null,{}))),c}function d(e,t,n,a){let r=e.get(t);return r&&n.includes(r)?r:a}function h(e){var t;let{id:n,label:l,value:i,options:o,onChange:c,clearValue:u,clearLabel:d,inlineLabel:h=!1,className:m,buttonClassName:g}=e,[p,f]=(0,r.useState)(!1),b=(0,r.useRef)(null),x=null!=(t=o.find(e=>e.value===i))?t:o[0],v=void 0!==u&&i!==u;return(0,r.useEffect)(()=>{if(p)return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)};function e(e){var t;(null==(t=b.current)?void 0:t.contains(e.target))||f(!1)}function t(e){"Escape"===e.key&&f(!1)}},[p]),(0,a.jsxs)("div",{className:[h?"flex items-center gap-3":"",m].filter(
1Boolean).join(" "),ref:b,children:[(0,a.jsx)("label",{id:"".concat(n,"-label"),className:["font-sans text-sm font-semibold text-neutral-700",h?"shrink-0":"mb-2 block"].filter(Boolean).join(" "),children:l}),(0,a.jsxs)("div",{className:"relative min-w-0 flex-1",children:[(0,a.jsx)("button",{type:"button",className:["flex h-11 w-full items-center rounded-md border border-control bg-white px-4 py-2.5 pr-10 text-left font-sans text-base text-neutral-700 shadow-sm transition-colors hover:border-action/60 focus:outline-none focus:border-action focus:ring-2 focus:ring-action/20",g].filter(Boolean).join(" "),"aria-haspopup":"listbox","aria-expanded":p,"aria-labelledby":"".concat(n,"-label ").concat(n,"-value"),onClick:()=>f(e=>!e),onKeyDown:e=>{("ArrowDown"===e.key||"Enter"===e.key||" "===e.key)&&(e.preventDefault(),f(!0))},children:(0,a.jsx)("span",{id:"".concat(n,"-value"),className:"truncate",children:x.label})}),v?(0,a.jsx)("button",{type:"button",className:"absolute right-2 top-1/2 flex h-7 w-7 -translate-y-1/2 items-center justify-center rounded-full text-neutral-500 transition-colors hover:bg-neutral-100 hover:text-neutral-700 focus:outline-none focus:ring-2 focus:ring-action/20","aria-label":d||"Clear ".concat(l),onClick:function(){void 0!==u&&(c(u),f(!1))},children:(0,a.jsx)(s.kR,{name:"x",className:"h-4 w-4"})}):(0,a.jsx)(s.kR,{name:"chevron-down",className:["pointer-events-none absolute right-4 top-1/2 h-4 w-4 -translate-y-1/2 text-neutral-500 transition-transform",p?"rotate-180":""].filter(Boolean).join(" ")}),p&&(0,a.jsx)("div",{role:"listbox","aria-labelledby":"".concat(n,"-label"),className:"absolute left-0 right-0 top-full z-40 mt-2 overflow-hidden rounded-md border border-neutral-200 bg-white py-1 shadow-lg ring-1 ring-black/5",children:o.map(e=>{let t=e.value===i;return(0,a.jsxs)("button",{type:"button",role:"option","aria-selected":t,className:["flex w-full items-center justify-between gap-3 px-4 py-2.5 text-left font-sans text-sm leading-snug transition-colors",t?"bg-action-surface text-action":"text-neutral-700 hover:bg-neutral-100"].filter(Boolean).join(" "),onClick:()=>{c(e.value),f(!1)},children:[(0,a.jsx)("span",{children:e.label}),t&&(0,a.jsx)("span",{"aria-hidden":!0,className:"h-1.5 w-1.5 rounded-full bg-action"})]},e.value)})})]})]})}let m={"planning-scheduling":"Wrench time, backlog management, prioritisation, and implementing planning & scheduling so it sticks.","preventive-maintenance":"PM programs, condition-based and predictive maintenance, FMEA, and maintenance strategy that lasts.","defect-elimination":"Root cause analysis and defect elimination — finding, fixing, and preventing the failures that erode reliability.","leadership-culture":"The leadership habits and culture that make maintenance and reliability improvement stick.","shutdown-management":"Planning, scoping, and executing shutdowns and turnarounds without the usual overruns.",general:"Broader thinking on maintenance and reliability that cuts across disciplines.","reliability-insights":"Lessons, data, and field perspective on improving equipment reliability."};function g(e){var t;let{articles:n}=e,c=(0,l.useRouter)(),g=(0,l.usePathname)(),p=(0,l.useSearchParams)(),f=(0,r.useMemo)(()=>{let e=new Map;for(let t of n)t.categorySlug&&!e.has(t.categorySlug)&&e.set(t.categorySlug,t.categoryLabel);return Array.from(e,e=>{let[t,n]=e;return{slug:t,label:n}}).sort((e,t)=>e.label.localeCompare(t.label))},[n]),b=(0,r.useMemo)(()=>[{value:"all",label:"All topics"},...f.map(e=>({value:e.slug,label:e.label}))],[f]),x=(0,r.useMemo)(()=>f.map(e=>e.slug),[f]),v=d(p,"topic",["all",...x],"all"),w=p.get("q")||"",[y,j]=(0,r.useState)(v),[k,N]=(0,r.useState)(w),[S,E]=(0,r.useState)("1"===p.get("featured")),[C,L]=(0,r.useState)({}),T=(0,r.useRef)(new Set);(0,r.useEffect)(()=>{if(""===k.trim())return;let e=!0;return u().then(t=>{e&&L(t)}),()=>{e=!1}},[k]),(0,r.useEffect)(()=>{let e=p.toString();T.current.delete(e)||(j(d(p,"topic",["all",...x],"all")),N(p.get("q")||""),E("1"===p.get("featured")))},[p,x]),(0,r.useEffect)(()=>{let e=window.setTimeout(()=>{let e=new URLSearchParams(p.toString());e.delete("readingTime"),e.delete("sort"),"all"===y?e.delete("topic"):e.set("topic",y),""===k.trim()?e.delete("q"):e.set("q",k),S?e.set("featured","1"):e.delete("featured");let t=e.toString();t!==p.toString()&&(T.current.add(t),c.replace(t?"".concat(g,"?").concat(t):g,{scroll:!1}))},250);return()=>window.clearTimeout(e)},[g,c,p,k,y,S]);let D=(0,r.useMemo)(()=>
1{let e=k.trim().toLowerCase().split(/\s+/).filter(Boolean);return[...n.filter(t=>{let n="all"===y||t.categorySlug===y,a=[t.title,t.excerpt,C[t.slug]||"",t.categoryLabel,t.author].join(" ").toLowerCase(),r=0===e.length||e.every(e=>a.includes(e)),l=!S||t.featured;return n&&r&&l})].sort((e,t)=>new Date(t.date||0).getTime()-new Date(e.date||0).getTime())},[n,C,k,y,S]),P="all"!==y?f.find(e=>e.slug===y):void 0,R=P?"Practical writing on ".concat(P.label):"Practical writing on maintenance & reliability",_=P?null!=(t=m[P.slug])?t:"In-depth articles on ".concat(P.label," for maintenance and reliability teams."):"In-depth pieces on planning, preventive maintenance, defect elimination, and the leadership habits that make reliability stick.";return(0,a.jsxs)("main",{children:[(0,a.jsx)(i.Uy,{eyebrow:"Articles",heading:R,body:_,actions:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.$n,{href:"/newsletter",tone:"inverse",variant:"primary",className:"rounded-lg px-5 py-3.5 text-[15px]",children:"Subscribe to newsletter"}),(0,a.jsx)(s.$n,{href:"/resources/framework",tone:"inverse",variant:"secondary",className:"rounded-lg px-5 py-3.5 text-[15px]",children:"Download the framework"})]}),backgroundImage:"/articles-hero-tritone-brand.jpg",backgroundPosition:"center -300px"}),(0,a.jsx)("section",{className:"bg-white py-10 md:py-12",children:(0,a.jsxs)("div",{className:"mx-auto max-w-site px-4 xl:px-0",children:[(0,a.jsx)("div",{className:"mb-5 rounded-lg border border-neutral-200 bg-neutral-100 p-4",children:(0,a.jsxs)("div",{className:"relative z-20 flex flex-wrap items-center gap-3",children:[(0,a.jsx)(h,{id:"articles-topic-filter",label:"Topic",value:y,options:b,onChange:j,clearValue:"all",clearLabel:"Clear topic filter",inlineLabel:!0,className:"flex-none",buttonClassName:"min-w-[220px]"}),(0,a.jsxs)("button",{type:"button","aria-pressed":S,onClick:()=>E(e=>!e),className:["flex h-11 shrink-0 items-center gap-2 rounded-md border px-4 font-sans text-base shadow-sm transition-colors focus:outline-none focus:ring-2 focus:ring-action/20",S?"border-action bg-action text-white hover:bg-action/90":"border-control bg-white text-neutral-700 hover:border-action/60"].join(" "),children:[(0,a.jsx)("span",{"aria-hidden":"true",className:["h-2 w-2 rounded-full",S?"bg-white":"bg-[#FED87E]"].join(" ")}),"Featured"]}),(0,a.jsxs)("div",{className:"relative min-w-[240px] flex-[1_1_420px] md:max-w-[520px]",children:[(0,a.jsx)("label",{htmlFor:"articles-search",className:"sr-only",children:"Search articles"}),(0,a.jsx)("input",{id:"articles-search",type:"search",value:k,onChange:e=>N(e.target.value),onFocus:()=>{u().then(L)},placeholder:"Search articles",className:"h-11 w-full rounded-md border border-control bg-white px-4 py-2.5 pr-10 font-sans text-base text-neutral-700 shadow-sm transition-colors placeholder:text-neutral-500 hover:border-action/60 focus:outline-none focus:border-action focus:ring-2 focus:ring-action/20 [&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none"}),k&&(0,a.jsx)("button",{type:"button",className:"absolute right-2 top-1/2 flex h-7 w-7 -translate-y-1/2 items-center justify-center rounded-full text-neutral-500 transition-colors hover:bg-neutral-100 hover:text-neutral-700 focus:outline-none focus:ring-2 focus:ring-action/20","aria-label":"Clear article search",onClick:()=>N(""),children:(0,a.jsx)(s.kR,{name:"x",className:"h-4 w-4"})})]}),(0,a.jsxs)("p",{className:"shrink-0 font-sans text-sm italic text-neutral-500",children:[D.length," ",1===D.length?"article":"articles"," found"]})]})}),0===D.length?(0,a.jsx)("div",{className:"rounded-lg border border-dashed border-neutral-200 bg-neutral-50 p-12 text-center",children:(0,a.jsx)("p",{className:"font-sans text-neutral-500",children:"No articles match this search. Try another topic or keyword."})}):(0,a.jsx)("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:D.map(e=>(0,a.jsx)(o.Y,{headingLevel:"h2",title:e.title,href:"/articles/".concat(e.categorySlug,"/").concat(e.slug),topicLabel:e.categoryLabel,readTime:e.readTime||void 0,excerpt:e.excerpt||void 0,author:e.author,date:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"short";if(!e)return"";let n=new Date(e);return Number.isNaN(n.getTime())?"":new Intl.DateTimeFormat("en",{day:"numeric",month:t,year:"numeric"}).format(n)}(e.date),image:e.image,featured:e.featured},e.slug))})]})})]})}}
1,91088:(e,t,n)=>{Promise.resolve().then(n.bind(n,78026))}},e=>{e.O(0,[2715,4012,9190,4800,29,4578,7551,7358],()=>e(e.s=91088)),_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.