import{__decorate}from"tslib";import{MapProvider}from"./MapProvider.js";import{activate}from"../../Hooks.js";import{inline}from"./tools.js";let GetViewpoint=class{execute(t,e,i){const o=i.create();return inline(o.load(),function(){return{viewpoint:o.getViewpoint()}})}};GetViewpoint.action="gcx:wf:arcgis::GetViewpoint",GetViewpoint.suite="gcx:wf:builtin",GetViewpoint=__decorate([activate(MapProvider)],GetViewpoint);export{GetViewpoint};