text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See http://js.arcgis.com/3.34/esri/copyright.txt for details.
  //>>built
  define("esri/dijit/metadata/base/Conditional","dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/query dijit/registry dojo/has ../../../kernel dijit/_WidgetBase ./etc/docUtil".split(" "),function(d,c,h,e,f,g,k,l,m){d=d([l],{parentXNode:null,_isConditional:!0,postCreate:function(){this.inherited(arguments)},emitInteractionOccurred:function(a){a||(a={inputWidget:this});this.emit("interaction-occurred",a)},ensureFocus:function(){m.ensureVisibility(this.parentXNode);if(this.focusNode&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},
  findElement:function(a,b){b=b||this.getRootDomNode();return(a=e("[data-gxe-path\x3d'"+a+"']",b))&&1===a.length?f.byNode(a[0]):null},findInputValue:function(a,b){return(a=this.findInputWidget(a,b))?a.getInputValue():null},findInputWidget:function(a,b){b=b||this.getRootDomNode();return(a=e("[data-gxe-path\x3d'"+a+"']",b))&&1===a.length&&(a=f.byNode(a[0]))?a.inputWidget:null},forActiveXNodes:function(a,b,c,d){b=b||this.getRootDomNode();a=a.split(",");var g=this;c&&"function"===typeof c&&h.some(a,function(a){a=
  e("[data-gxe-path\x3d'"+a+"']",b);return h.some(a,function(a){a=f.byNode(a);if(!g.isXNodeOff(a))return d?c.call(d,a):c(a)})})},getRootDomNode:function(){return this.parentXNode.gxeDocument.rootElement.domNode},isXNodeInputEmpty:function(a){if(a&&a.inputWidget){a=a.inputWidget.getInputValue();if(null===a)return!0;if("string"===typeof a)return 0===c.trim(a).length;if(c.isArray(a))return 0===c.length}return!1},isXNodeOff:function(a){for(;a;){if(a._isOptionallyOff)return!0;a=a.getParent()}return!1},newStatus:function(a){var b=
  {isValid:!0,message:""};a&&c.mixin(b,a);return b},track:function(a,b){!a.isValid&&b&&b.handleValidationError(this.parentXNode,a.message,this)},validateConditionals:function(a){}});g("extend-esri")&&c.setObject("dijit.metadata.base.Conditional",d,k);return d});