/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import r from"../SimpleFillSymbol.js";import o from"../SimpleLineSymbol.js";import m from"../SimpleMarkerSymbol.js";import e from"../TextSymbol.js";import{defaultPointSymbolJSON as t,defaultPolylineSymbolJSON as l,defaultPolygonSymbolJSON as n,defaultTextSymbolJSON as i,errorPointSymbolJSON as s,errorPolylineSymbolJSON as f,errorPolygonSymbolJSON as S}from"./defaultsJSON.js";const p=m.fromJSON(t),u=o.fromJSON(l),c=r.fromJSON(n),a=e.fromJSON(i);function J(r){if(null==r)return null;switch(r.type){case"mesh":return null;case"point":case"multipoint":return p;case"polyline":return u;case"polygon":case"extent":return c}return null}const N=m.fromJSON(s),O=o.fromJSON(f),y=r.fromJSON(S);export{p as defaultPointSymbol2D,c as defaultPolygonSymbol2D,u as defaultPolylineSymbol2D,a as defaultTextSymbol2D,N as errorPointSymbol2D,y as errorPolygonSymbol2D,O as errorPolylineSymbol2D,J as getDefaultSymbol2D};
