1"use strict";(self.webpackChunkdocs_website=self.webpackChunkdocs_website||[]).push([[873],{92905:function(e,t,s){s.r(t);var a=s(96540),l=s(57078),n=s(28007),r=s(80145),i=s(88099),o=s(96805),c=s(24439),m=s(94759),u=s(55632),g=s(2643),h=s(86340),p=s.n(h),d=s(93448),f=s(17586),y=s(16245),b=s(54171),Y=s(67355),A=s(19909),v=s(17437);var w={name:"1hlg2ox",styles:"grid-area:footer;align-self:end"},k={name:"1mwkkc",styles:"margin-left:1em"},x={name:"tc3gib",styles:">*{margin:3em 0;}"},L={name:"5o8daa",styles:"min-width:200px;max-width:2000px;margin-top:0.5rem;margin-bottom:0.5rem"},E={name:"1gqp175",styles:"margin-top:2rem;margin-bottom:2rem"},S={name:"z6g9lw",styles:"font-weight:normal;line-height:1"},T={name:"t6hlg1",styles:"font-size:0.85rem;padding:8rem 0"},C={name:"1oj9843",styles:"display:flex;grid-area:content;justify-self:start"},I={name:"2tekfn",styles:"display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:auto;grid-template-areas:'. . . .' '. content content .' 'footer footer footer footer';min-height:calc(100vh - var(--global-header-height));max-height:calc(100vh - var(--global-header-height))"},z={name:"6333um",styles:"font-size:0.625rem;margin-right:0.5em"},M={name:"g65o95",styles:"text-decoration:none"},R={name:"1yz0esn",styles:"list-style-type:none;padding:0;line-height:1.75rem;margin:1rem 0 0"};t.default=e=>{let{location:t,pageContext:{themeOptions:s}}=e;const{site:{siteMetadata:{siteUrl:h}}}=(0,n.useStaticQuery)("1271460761"),{t:j}=(0,f.A)(),N=(0,d.A)(),{0:U,1:q}=(0,a.useState)(null),{0:F,1:O}=(0,a.useState)(null),P=p()({location:t},s),Z=new URL(h).hostname,$=/.*\.newrelic\.com/.test(Z)?Z.split(".")[0]:null,_=(0,a.useCallback)((e=>e&&!["docs",P].includes(e)),[P]),D=(0,a.useCallback)((async()=>{if(null!==U)try{const{results:e}=await(0,A.ZA)({searchTerm:U,limit:5,language:(0,A.yW)(P)}),t=e.map((e=>({url:e.url,title:e.title,sourceLabel:e.sourceLabel})));O(t)}catch{O([])}}),[U,P]);return(0,a.useEffect)((()=>{q(t.pathname.split("/").filter(_).join(" "))}),[_,t.pathname]),(0,a.useEffect)((()=>{D()}),[D,U]),(0,a.useEffect)((()=>{F&&(0,b.b)({eventName:"error404",category:"ErrorPage",path:t.pathname,resultCount:F.length,searchTerm:U})}),[t.pathname,F,U]),(0,v.Y)(a.Fragment,null,(0,v.Y)(r.A,null),(0,v.Y)("div",{css:I},(0,v.Y)("div",{css:C},(0,v.Y)("div",{css:T},(0,v.Y)("h1",{css:S},j("404.headingText")),(0,v.Y)("div",{id:"search-section",css:E}
1,j("404.searchInputLabel"),(0,v.Y)(c.A,{placeholder:U,onFocus:()=>(0,l.oo)((0,Y.d)({path:`/search-results/?query=${U.replaceAll(" ","+")}&page=1`,locale:N})),css:L})),F&&0!==F.length?(0,v.Y)("div",{id:"search-results"},j("404.searchResultMessage"),(0,v.Y)("ul",{css:R},F.map(((e,t)=>(0,v.Y)("li",{key:`result-${t}`},(0,v.Y)("div",null,(0,v.Y)(o.A,{to:e.url,css:M,instrumentation:{position:t,component:"404SuggestedLink",href:e.url,searchTerm:U,searchResult:!0},displayExternalIcon:!0},e.title)),(0,v.Y)(m.A,{css:z,uppercase:!0},e.sourceLabel)))))):null,(0,v.Y)("div",{css:x},(0,v.Y)(y.A,{i18nKey:"404.docsHomeMessage",parent:"p"},"Go back to ",(0,v.Y)(o.A,{to:"/"},{nrSubDomain:$}," home"),"."),(0,v.Y)("p",null,j("404.fileIssueMessage")," ",(0,v.Y)(u.A,{pageTitle:"404",variant:g.A.VARIANT.OUTLINE,size:g.A.SIZE.SMALL,labels:["bug","404"],instrumentation:{component:"404Page"},css:k}))))),(0,v.Y)(i.A,{css:w})))}}}]); 2//# sourceMappingURL=component---node-modules-newrelic-gatsby-theme-newrelic-src-pages-404-js-8491461e78f12077e9c4.js.map
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.