// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.7/esri/copyright.txt for details. //>>built define("require exports ../core/tsSupport/generatorHelper ../core/tsSupport/awaiterHelper ../Basemap ../Ground ../WebScene ../core/JSONSupport ../core/MultiOriginJSONSupport ../core/accessorSupport/ensureType ../core/accessorSupport/extensions/serializableProperty/type ../layers/GroupLayer ../layers/mixins/OperationalLayer".split(" "),function(X,v,f,e,J,K,L,M,N,D,O,E,F){function q(b,a){return e(this,void 0,void 0,function(){var d;return f(this,function(c){switch(c.label){case 0:d=b.typeName;switch(d){case "array":return[3, 1];case "union":return[3,3];case "json":return[3,5];case "native":return[3,7]}return[3,9];case 1:return[4,P(b,a)];case 2:return c.sent(),[3,9];case 3:return[4,Q(b,a)];case 4:return c.sent(),[3,9];case 5:return[4,r(b,a)];case 6:return c.sent(),[3,9];case 7:return[4,R(b,a)];case 8:return c.sent(),[3,9];case 9:return[2]}})})}function R(b,a){return e(this,void 0,void 0,function(){return f(this,function(d){a.addProperty({path:a.pathString,type:t(b)});return[2]})})}function P(b,a){return e(this,void 0, void 0,function(){return f(this,function(d){switch(d.label){case 0:return a.pushPath(a.popPath()+"[]"),[4,q(b.elementType,a)];case 1:return d.sent(),[2]}})})}function S(b){return T[b]||b}function Q(b,a){return e(this,void 0,void 0,function(){var d,c,g,u,k,l;return f(this,function(m){switch(m.label){case 0:d=a.pathString,c=a.popPath(),g=[],u=0,k=b.types,m.label=1;case 1:if(!(u