1import{u as d}from"./B0kMgEDL.js";import{B as S}from"./BxawZQSS.js";import{S as s}from"./CFxGRstO.js";import{a as f}from"./Bnx8nLGV.js";function p(e){return e===s.REWASDBASIC?"/api/basic/download":"/api/download"}function w(e){return e===s.REWASDBASIC?"reWASD Basic":"reWASD"}async function m(e,t,a){return a||(t?(await $fetch(`/api/releases/show?id=${t}`)).version:(await $fetch("/api/releases/latest",{query:{software:e}})).version)}function W({endpoint:e,id:t,platform:a=S.WIN,softwareAbbr:o=s.REWASD,version:n}={}){const i=f();async function u(c){let r="";try{r=await m(o,t,n)}catch{r=n||""}const l={buildVersion:r,endpoint:c.endpoint,platform:a,productName:w(o),releaseId:t,software:o};await i.handleDownloadStarted(l)}return d({endpoint:e||p(o),id:t,onSuccess:u,platform:a,startInBackground:!0})}export{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.