1import{a as i}from"./chunk-YNKQPWSP.js";import{a as n,b as s}from"./chunk-DIH54OSL.js";var t="errorCode",c=(e,o)=>{let r=e.parseUrl(o);for(let a of Object.keys(r.root.children))a!==i&&delete r.root.children[a];return r.queryParams=s(n({},r.queryParams),{[t]:404}),r},p=(e,o)=>{if(e.parseUrl(o).queryParamMap.has(t)){let r=o.split("?")[0];return console.error(`Not navigating to the error page from ${r}: the URL already carries ${t}`),Promise.resolve(!1)}return e.navigateByUrl(c(e,o),{skipLocationChange:!0})};export{p as a}; 2//# sourceMappingURL=chunk-RHUJMWSY.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.