1const a="https://arweave.net/{fileId}";function l(e){if(e.uri.startsWith("ar://")){const r=e.uri.replace("ar://","");if(e.gatewayUrl){const t=e.gatewayUrl.endsWith("/")?"":"/";return`${e.gatewayUrl}${t}${r}`}return a.replace("{fileId}",r)}if(e.uri.startsWith("http"))return e.uri;throw new Error('Invalid URI scheme, expected "ar://" or "http(s)://"')}export{l as resolveArweaveScheme};
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.