import{validation}from"../../Validation.js";import{inline}from"./tools.js";import{cut}from"@arcgis/core/geometry/geometryEngineAsync";class CutEngineTask{execute(t){var e=validation.exists("geometry",t.geometry),t=validation.exists("cutter",t.cutter),t=cut(e,t);return inline(t,function(t){return{geometry:t}})}}CutEngineTask.action="gcx:wf:arcgis::CutEngineTask",CutEngineTask.suite="gcx:wf:builtin";export{CutEngineTask};