text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See https://js.arcgis.com/4.11/esri/copyright.txt for details.
  //>>built
  define("require exports ../../core/tsSupport/declareExtendsHelper ../../core/tsSupport/decorateHelper ../../core/tsSupport/generatorHelper ../../core/tsSupport/awaiterHelper ../../core/JSONSupport ../../core/kebabDictionary ../../core/accessorSupport/decorators ../../layers/support/fieldUtils ./unitConversionUtils".split(" "),function(t,u,g,c,n,p,h,k,b,q,r){var f=k.strict()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),
  l=new k.KebabDictionary({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"}),m=function(d){function a(){return null!==d&&d.apply(this,arguments)||this}g(a,d);e=a;a.prototype.collectRequiredFields=function(a,b){return p(this,void 0,void 0,function(){return n(this,function(c){return[2,q.collectArcadeFieldNames(a,b,this.expression)]})})};a.prototype.clone=function(){return new e({expression:this.expression,title:this.title})};var e;c([b.property({type:String,
  json:{write:!0}})],a.prototype,"expression",void 0);c([b.property({type:String,json:{write:!0}})],a.prototype,"title",void 0);return a=e=c([b.subclass("esri.layers.support.FeatureExpressionInfo")],a)}(b.declared(h));return function(d){function a(){return null!==d&&d.apply(this,arguments)||this}g(a,d);e=a;a.prototype.readFeatureExpressionInfo=function(a,b){if(null!=a)return a;if(b.featureExpression&&0===b.featureExpression.value)return{expression:"0"}};a.prototype.writeFeatureExpressionInfo=function(a,
  b,c,d){b[c]=a.write(null,d);"0"===a.expression&&(b.featureExpression={value:0})};Object.defineProperty(a.prototype,"mode",{get:function(){return this._isOverridden("mode")?this._get("mode"):null!=this.offset||this.featureExpressionInfo?"relative-to-ground":"on-the-ground"},set:function(a){this._override("mode",a)},enumerable:!0,configurable:!0});Object.defineProperty(a.prototype,"unit",{set:function(a){this._set("unit",a)},enumerable:!0,configurable:!0});a.prototype.write=function(a,b){return this.offset||
  this.mode||this.featureExpressionInfo||this.unit?this.inherited(arguments):null};a.prototype.clone=function(){return new e({mode:this.mode,offset:this.offset,featureExpressionInfo:this.featureExpressionInfo?this.featureExpressionInfo.clone():void 0,unit:this.unit})};var e;c([b.property({type:m,json:{write:!0}})],a.prototype,"featureExpressionInfo",void 0);c([b.reader("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],a.prototype,"readFeatureExpressionInfo",null);c([b.writer("featureExpressionInfo",
  {featureExpressionInfo:{type:m},"featureExpression.value":{type:[0]}})],a.prototype,"writeFeatureExpressionInfo",null);c([b.property({type:f.apiValues,dependsOn:["offset","featureExpressionInfo"],nonNullable:!0,json:{type:f.jsonValues,read:f.read,write:{writer:f.write,isRequired:!0}}})],a.prototype,"mode",null);c([b.property({type:Number,json:{write:!0}})],a.prototype,"offset",void 0);c([b.property({type:r.supportedUnits,json:{type:String,read:l.read,write:l.write}})],a.prototype,"unit",null);return a=
  e=c([b.subclass("esri.layers.support.ElevationInfo")],a)}(b.declared(h))});