1import{n as e,r as t}from"./http_core-BEw5TMBt.js";var n=e=>{if(e?.status===void 0)return{error_code:e?.code??t.NetworkError,error_message:e?.message??`Network Error`,metadata:e?.metadata??{}};let{error_description:n,error_message:r,metadata:i}=e.data??{};return{error_code:e.status,error_message:r||n||e.statusText||e.message,metadata:i??{}}},r=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),i=(t,n)=>{if(t instanceof e){let e=t.data;return e?.error_description&&r(e.error_description)||t.message||n}return t instanceof Error&&t.message||n};function a(e){return!!e?.error_code}export{n,a as r,i as t};
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.