/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{readOffsetDistance as e,readIsProportional as t,readVertexBeforeOffset as o,readDistance as s}from"./support/builderUtils.js";import{vertexOffsetFromStartOrEndOfLine as r}from"./support/offsetUtils.js";import{isPolyline as i}from"../support/executorUtils.js";function a({templatePart:a,shape:p,edits:n,relationships:l,mode:f,xyTolerance:m,associationFeaturesByTemplate:c}){if(!i(p))return;const u=p,{builderConfig:d}=a,x=e(d),h=t(d),y=o(d),P=s(d,h);r({templatePart:a,edits:n,relationships:l,shape:u,distance:P,isProportional:h,offsetDistance:x,vertexBeforeOffset:y,vertexPlacement:4,mode:f,xyTolerance:m,associationFeaturesByTemplate:c})}const p=!1;export{a as execute,p as isAsync};
