1function u(n,o,a,h,r="km"){const M=r==="mile"?3958.8:6371,e=s(a-n),c=s(h-o),i=Math.sin(e/2)*Math.sin(e/2)+Math.cos(s(n))*Math.cos(s(a))*Math.sin(c/2)*Math.sin(c/2),d=2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i)),t=+(M*d).toFixed(5);return t<1?{distance:t,text:(t*1e3).toFixed(0)+"miles"}:{distance:t,text:t.toFixed(2)+"km"}}function s(n){return n*(Math.PI/180)}export{u as c};
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.