/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{readOffsetDistance as t,readIsProportional as e,readVertexBeforeOffset as o,readDistance as s,readIsUnique as r}from"./support/builderUtils.js";import{vertexOffsetFromStartOrEndOfLine as i}from"./support/offsetUtils.js";import{convertRadialToPolylines as p}from"./support/shapeUtils.js";import{isRadial as f}from"../support/executorUtils.js";function a({templatePart:a,shape:m,edits:n,relationships:l,mode:u}){if(!f(m))return;const{builderConfig:c}=a,d=t(c),h=e(c),j=o(c),x=s(c,h),P=r(c);for(const t of p(m))if(i({templatePart:a,edits:n,relationships:l,shape:t,distance:x,isProportional:h,offsetDistance:d,vertexBeforeOffset:j,vertexPlacement:4,mode:u}),P)break}const m=!1;export{a as execute,m as isAsync};
