const t={VERY_CLOSE:500,CLOSE:2e3,MEDIUM:5e3,FAR:1e4,VERY_FAR:2e4};function a(t,a,M,h){const n=(M-t)*Math.PI/180,s=(h-a)*Math.PI/180,o=Math.sin(n/2)*Math.sin(n/2)+Math.cos(t*Math.PI/180)*Math.cos(M*Math.PI/180)*Math.sin(s/2)*Math.sin(s/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371e3}function M(t,a){return void 0!==t&&void 0!==a&&(0!==t||0!==a)}export{t as P,a as c,M as h};
