text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See https://js.arcgis.com/4.8/esri/copyright.txt for details.
  //>>built
  define("require exports ../core/tsSupport/declareExtendsHelper ../core/tsSupport/decorateHelper ../core/JSONSupport ../core/Warning ../core/accessorSupport/decorators".split(" "),function(g,e,k,f,h,m,d){Object.defineProperty(e,"__esModule",{value:!0});g=function(b){function a(){return null!==b&&b.apply(this,arguments)||this}k(a,b);f([d.property()],a.prototype,"type",void 0);return a=f([d.subclass("esri.ground.NavigationConstraint")],a)}(d.declared(h));e.NavigationConstraint=g;h=function(b){function a(){var a=
  null!==b&&b.apply(this,arguments)||this;a.type="none";return a}k(a,b);c=a;a.prototype.clone=function(){return new c};var c;f([d.property({readOnly:!0,json:{read:!1,write:!0}})],a.prototype,"type",void 0);return a=c=f([d.subclass("esri.ground.NoneNavigationConstraint")],a)}(d.declared(g));e.NoneNavigationConstraint=h;var l=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.type="stay-above";return a}k(a,b);c=a;a.prototype.clone=function(){return new c};var c;f([d.property({readOnly:!0,
  json:{read:!1,write:function(a,b){b.type="stayAbove"}}})],a.prototype,"type",void 0);return a=c=f([d.subclass("esri.ground.StayAboveNavigationConstraint")],a)}(d.declared(g));e.StayAboveNavigationConstraint=l;e.readNavigationConstraint=function(b,a,c){if(a=b&&n[b.type])return a=new a,a.read(b,c),a;c&&c.messages&&b&&c.messages.push(new m("navigationconstraint:unsupported","Navigation constraint of type '"+(b.type||"unknown")+"' is not supported",{definition:b,context:c}))};var n={none:h,stayAbove:l};
  e.navigationConstraintTypes={key:"type",base:g,typeMap:{none:h,"stay-above":l}}});