/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../../../core/has","../../../../../core/maybe","../../../../../support/elevationInfoUtils","../isSupportedGraphicUtils"],(function(e,t,r,o,p){"use strict";function i(e){var t;if("graphics"!==(null==(t=e.layer)?void 0:t.type))return p.SupportedGraphicResult.GRAPHICS_LAYER_MISSING;if(r.isNone(e.geometry))return p.SupportedGraphicResult.GEOMETRY_MISSING;switch(e.geometry.type){case"point":break;case"polygon":case"polyline":case"multipoint":case"extent":case"mesh":return p.SupportedGraphicResult.SUPPORTED;default:return p.SupportedGraphicResult.GEOMETRY_TYPE_UNSUPPORTED}const i=r.isSome(e.symbol)&&"point-3d"===e.symbol.type&&e.symbol.symbolLayers;if(!(i&&i.length>0&&i.some((e=>"object"===e.type))))return p.SupportedGraphicResult.SYMBOL_TYPE_UNSUPPORTED;return"on-the-ground"!==o.getGraphicEffectiveElevationMode(e)&&o.hasGraphicFeatureExpressionInfo(e)?p.SupportedGraphicResult.ELEVATION_MODE_UNSUPPORTED:p.SupportedGraphicResult.SUPPORTED}e.isSupportedGraphic=i,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
