/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{makeFeatureFromGroupPart as t}from"./support/builderUtils.js";import{isPolygon as e}from"../support/executorUtils.js";import o from"../../../../geometry/Point.js";import{polygonCentroidPoint as r}from"../../../../geometry/support/centroid.js";function s({templatePart:s,shape:i,edits:p,relationships:m,mode:a,associationFeaturesByTemplate:n}){if(!e(i))return;const l=r(i);l&&t({templatePart:s,shape:o.fromJSON(l),edits:p,relationships:m,mode:a,associationFeaturesByTemplate:n})}const i=!1;export{s as execute,i as isAsync};
