export const GRAPHICS_LAYER_ID="graphicsLayer-";export function _isGraphicsLayerJson(e){return e.id?.startsWith("graphicsLayer-")||e.$ref&&"graphics-layer"===e.$ref.subtype||"ArcGISFeatureLayer"===e.layerType&&(e.featureCollection?.layers?.length??0)>1}export function _isMapNotesLayerJson(e){return"notes"===e.featureCollectionType||e.$ref&&"map-notes-layer"===e.$ref.subtype}export function _isRouteLayerJson(e){return"route"===e.featureCollectionType||e.$ref&&"route-layer"===e.$ref.subtype}export function _isFeatureCollection(e){return!e.id?.startsWith("graphicsLayer-")&&e.$ref&&"feature-collection-layer"===e.$ref.subtype||1===e.featureCollection?.layers?.length}