/*
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 r}from"../../core/arrayUtils.js";import{supportsCurves as o,executeMany as t}from"./gx/operatorMultiPartToSinglePart.js";import{fromGeometry as s,getSpatialReference as p,fromSpatialReference as e,toGeometry as a}from"./support/apiConverter.js";function i(o,i={}){const{simplifyPolygons:m=!0}=i,n=m?1:2,u=o.map(s),f=p(o);return t(u,e(f),n).map(r=>a(r,f)).filter(r)}const m=o();export{i as executeMany,m as supportsCurves};
