1import{c as p}from"./BGvucm8c.js";import{N as l}from"./1DlcqkoJ.js";const h=p("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);function w(){const{$api:c}=l();function s(o,a){return`/api/download?${new URLSearchParams({path:o,fileName:a}).toString()}`}async function r(o,a,n){const t=await c(o,{method:"GET",responseType:"blob"}),d=n||t.type||"application/octet-stream",i=new Blob([t],{type:d}),e=document.createElement("a");e.href=window.URL.createObjectURL(i),e.download=a,document.body.appendChild(e),e.click(),document.body.removeChild(e)}return{mediaDownloadUrl:s,downloadFile:r}}export{h as D,w as u};
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.