import{__decorate}from"tslib";import{validation}from"../../Validation.js";import{inline,featuresToArray}from"./tools.js";import{MapProvider}from"./MapProvider.js";import{activate}from"../../Hooks.js";let ShowFeaturePopup=class{execute(o,e,r){const t=featuresToArray(validation.exists("features",o.features)),a=r.create();return inline(a.load(),()=>(a.showPopup(t),{}))}};ShowFeaturePopup.action="gcx:wf:arcgis::ShowFeaturePopup",ShowFeaturePopup.suite="gcx:wf:builtin",ShowFeaturePopup=__decorate([activate(MapProvider)],ShowFeaturePopup);export{ShowFeaturePopup};