/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{l as e,p as t,i as r}from"../../../chunks/pe.js";let n;function i(){return!!n&&r()}async function o(){if(!i()){const[r,i]=await Promise.all([import("../../../chunks/OperatorProximityGeodesic.js"),import("../../../chunks/SpatialReference.js").then(e=>e.aP).then(({injectPe:e})=>e),e()]);n=new r.OperatorProximityGeodesic,i(t)}}function s(e,t,r,i,o,s){return n.getNearestCoordinate(e,t,r,i,o,s)}function a(e,t,r){return n.getNearestVertex(e,t,r)}function c(e,t,r,i,o){return n.getNearestVertices(e,t,r,i,o)}function u(){return n.supportsCurves()}export{s as getNearestCoordinate,a as getNearestVertex,c as getNearestVertices,i as isLoaded,o as load,u as supportsCurves};
