/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{isSome as e}from"../core/arrayUtils.js";import{supportsCurves as r,accelerateGeometry as t,execute as o,executeMany as s}from"../geometry/operators/gx/operatorIntersection.js";import{getSpatialReference as a,fromSpatialReference as n,fromGeometry as c,toGeometry as p}from"../geometry/operators/support/apiConverter.js";function u(e){const r=a(e);return t(c(e),n(r))}function i(e,r){const t=a(e);return p(o(c(e),c(r),n(t)),t)}function m(r,t){const o=r.map(c),u=a(r);return s(o,c(t),n(u),7).map(e=>p(e,u)).filter(e)}const f=r(),l=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:u,execute:i,executeMany:m,supportsCurves:f},Symbol.toStringTag,{value:"Module"}));export{u as a,m as b,i as e,l as i,f as s};
