function AdfUIComponent(a){this.Init(a)}AdfObject.createSubclass(AdfUIComponent);AdfUIComponent._COMPONENT_FACTORY={};AdfUIComponent.USAGE_PRIVATE_CHILD=1;AdfUIComponent.STATE_LOADING=1;AdfUIComponent.STATE_COMPLETE=4;AdfUIComponent.createComponent=function(a){AdfAssert.assert(a,"component type  required when creating components");var b=AdfUIComponent._COMPONENT_FACTORY[a];if(b)return new b;AdfLogger.LOGGER.warning("No component for:",a);return null};
AdfUIComponent.registerComponent=function(a,b){AdfAssert.assert(b,"constructor required when registering components for "+a);AdfAssert.assert(a,"componentType required when registering "+b);AdfUIComponent._COMPONENT_FACTORY[a]=b};AdfUIComponent.prototype.addEventListener=function(a,b,c){a=AdfEventUtils.addEventListener(this._getClientListeners(),a,b,c);this.setProperty("clientListeners",a)};
AdfUIComponent.prototype.removeEventListener=function(a,b,c){a=AdfEventUtils.removeEventListener(this._getClientListeners(),a,b,c);this.setProperty("clientListeners",a)};
AdfUIComponent.prototype.getProperty=function(a){var b=this._props[a];if(void 0===b){var c=this._peer;null!=c&&(b=c.getComponentProperty(this,a));void 0===b&&(c=this.getPropertyKeys()[a],null!=c&&(b=c=c[AdfUIComponent.PROPERTY_KEY_DEFAULT],void 0===c&&(c=AdfUIComponent._DEFAULT_VALUE_UNDEFINED),this._props[a]=c))}else b===AdfUIComponent._DEFAULT_VALUE_UNDEFINED&&(b=void 0);return b};AdfUIComponent.prototype.getPropertyValue=function(a){return this.getProperty(a)};
AdfUIComponent.prototype.getPropertyKeys=function(){return this.constructor[AdfUIComponent._CLASS_PROPERTY_KEYS]};AdfUIComponent.prototype.getComponentType=function(){return this._componentType};AdfUIComponent.prototype.satisfiesUsage=function(a){AdfAssert.assertNumber(a);return 0!=(a&this._componentUsageFlags)};AdfUIComponent.prototype.dontPropagateDescendantMessageChanges=function(){return!1};
AdfUIComponent.prototype.initializeProperty=function(a,b){AdfAssert.DEBUG&&AdfAssert.assert(void 0===this._props[a],"Property '"+a+"' is already defined as "+this._props[a]);this._props[a]=b};
AdfUIComponent.prototype.setProperty=function(a,b,c,d){AdfAssert.assertString(a);var e=this.getProperty(a);if(AdfUIComponent.isSecureProperty(this,a))return AdfLogger.LOGGER.severe("Ignoring attempt to set secured property["+a+"] to:"+b),e;if(e===b||null!=e&&this.ComparePropertyValues(a,e,b))return e;this._props[a]=b;var f=this.getPropertyKeys()[a];if(d!=AdfUIComponent.PROPAGATE_NEVER&&d!=AdfUIComponent.PROPAGATE_LOCALLY&&(f?!f[AdfUIComponent.PROPERTY_DISCONNECTED]:d==AdfUIComponent.PROPAGATE_ALWAYS)){AdfPage.PAGE.addChangedComponent(this);
f=this._propChanges;void 0==f&&(this._propChanges=f={});var g=a+AdfUIComponent._FLAG_PERSISTENCE;c?(f[g]=!0,f[a]&&(f[a]=!1)):(f[a]=!0,f[g]&&(f[g]=!1))}this.SetPropertyImpl(a,e,b);if(d!=AdfUIComponent.PROPAGATE_NEVER){c=null!=this._peer;d=(d=this._getClientListeners())?d.propertyChange:null;if(c||d){f=new AdfPropertyChangeEvent(this,a,e,b);if(c)try{this._peer.ComponentPropertyChanged(f)}catch(h){throw AdfLogger.LOGGER.logError(h,AdfLogger.WARNING,"Error delivering property changed event:"+f),h;}d&&
this._deliverEventToListeners(f,d)}this.DeliverDerivedPropertyEvents(a,e,b)}return e};AdfUIComponent.isSecureProperty=function(a,b){var c=a.getPropertyKeys()[b],d=!1;c&&((d=!c[AdfUIComponent.PROPERTY_DISCONNECTED])&&(d=c[AdfUIComponent.PROPERTY_KEY_SECURED]),d&&(c=a.getProperty("unsecure"),d=null==c||!(b in c)));return d};AdfUIComponent.prototype.setInlineStyleProperty=function(a,b){this.getPeer().setInlineStyleProperty(this,a,b)};
AdfUIComponent.prototype.getInlineStyleProperty=function(a){return this.getPeer().getInlineStyleProperty(this,a)};AdfUIComponent.prototype.getReadyState=function(){return this.getPeer().getReadyState(this)};AdfUIComponent.prototype.getClientId=function(){return this._clientId};AdfUIComponent.prototype.getAbsoluteId=function(){var a=this._absoluteId;null==a&&(this._absoluteId=a=this._peer.getAbsoluteId(this,this._clientId));return a};AdfUIComponent.prototype.getAbsoluteLocator=function(){return AdfPage.PAGE.getAbsoluteLocator(this)};
AdfUIComponent.prototype.getAccessibleName=function(){var a=this.getPeer(),b=null;a&&(b=a.getAccessibleName(this));return b};AdfUIComponent.prototype.findComponent=function(a,b){return AdfUIComponent.__findComponent(a,this,b)};
AdfUIComponent.__findComponent=function(a,b,c){AdfAssert.assertNonEmptyString(a);var d=a.match(/^:+/);null!=d&&(d=d[0]);var e=0,f=!1,g=a;if(null!=d){g=d.length;if(a.length<=g){AdfLogger.LOGGER.severe('Error - Illegal argument - invalid expression \x3d "',a,'"; the expression must be more than just leading qualifiers.');return}1==g?g=a.substring(1):(e=g,f=!0,g=a.substring(g))}else f=!0,e=1;var h,k,l;if(f){l=AdfUIComponent.__isNamingContainer(b.constructor);if(d=AdfUIComponent._findRelativeComponent(b.getClientId(),
l,0<e?e-1:0,g,":",a,c))return d;l&&e--;k=b.getAbsoluteId();h=g;g=AdfUIComponent._trimAbsoluteScopedId(k,e);g+=h}d=AdfUIComponent._findAbsoluteComponent(g);if(!d&&f&&(c||(g=e,l?g++:g--,g=AdfUIComponent._trimAbsoluteScopedId(k,g),(d=AdfUIComponent._findAbsoluteComponent(g+h))&&AdfLogger.LOGGER.warning("Use of deprecated findComponent search string:",a," on ",b)),!d))for(a=k.split(":"),b=e,k=a.length-1;!d&&k&&b;)isNaN(a[k])||(a.splice(k,1),b--,g=AdfUIComponent._trimAbsoluteScopedId(a.join(":"),e),g+=
h,d=AdfUIComponent._findAbsoluteComponent(g)),k--;return d};
AdfUIComponent._findRelativeComponent=function(a,b,c,d,e,f,g){var h=0,k,l,m=a,n=0;k=null;var p=!1;if(!b){l=m.lastIndexOf(e);if(-1==l)return AdfPage.PAGE.findComponent(d);m=m.substring(0,l)}for(;h<=c;){if(n>=c){k=AdfPage.PAGE.findComponent(m+e+d);if(null!=k)return k;p=!0}l=m.lastIndexOf(e);if(-1==l){k=AdfPage.PAGE.findComponent(d);if(null==k){k=m;break}return k}k=AdfPage.PAGE.findComponent(m);null!=k&&AdfUIComponent.__isNamingContainer(k.constructor)&&++h;k=m;m=m.substring(0,l);++n}if(!g){if(!b&&0<
c&&null!=k&&!p&&(k=AdfPage.PAGE.findComponent(k+e+d),null!=k))return AdfLogger.LOGGER.warning("Component found using deprecated relative find of excessive number colons. Search string: "+f),k;if(0==c&&b&&(l=a.lastIndexOf(e),k=-1==l?AdfPage.PAGE.findComponent(d):AdfPage.PAGE.findComponent(a.substring(0,l)+e+d),null!=k))return AdfLogger.LOGGER.warning("Component found using deprecated relative find using the parent component. Search string: "+f),k}return null};
AdfUIComponent._trimAbsoluteScopedId=function(a,b){if(a&&!b)return a+":";for(var c=a.length;b--;)if(c=a.lastIndexOf(":",c-1),-1==c)return b&&AdfLogger.LOGGER.warning("Insufficient naming containers for expression:",a),"";return a.substring(0,c+1)};
AdfUIComponent._findAbsoluteComponent=function(a){var b=AdfPage.PAGE,c=b.findComponent(a);if(c)return c;for(var d={matchScopedId:a,matchComponent:null},c=a.lastIndexOf(":");-1!=c;){a=a.substring(0,c);if(c=b.findComponent(a))return c.visitChildren(AdfUIComponent._matchAbsoluteIdCallback,d,!1),d.matchComponent;c=a.lastIndexOf(":")}return null};AdfUIComponent.prototype.findComponentByLocator=function(a){return AdfUIComponent.__findComponentByLocator(a,this)};
AdfUIComponent.__findComponentByLocator=function(a,b){AdfAssert.assertNonEmptyString(a);return AdfPage.PAGE.findComponentByAbsoluteLocator(a)};AdfUIComponent._matchAbsoluteIdCallback=function(a){return this.matchScopedId==a.getAbsoluteId()?(this.matchComponent=a,2):0};AdfUIComponent.prototype.isShowing=function(){var a=this.getParent();return(a?a.isShowing():!0)&&this.getVisible()};AdfUIComponent.prototype.isEventRoot=function(){return!1};
AdfUIComponent.prototype.queueEvent=function(a){AdfAssert.assertPrototype(a,AdfBaseEvent);AdfPage.PAGE.queueEvent(a)};
AdfUIComponent.prototype.broadcast=function(a){AdfAssert.assertPrototype(a,AdfBaseEvent);var b=a.getSource();if(b==this){if(a.getDoesBubbles()?(a.getEventPhase()==AdfBaseEvent.CAPTURING_PHASE&&a.nextEventPhase(),a.getEventPhase()==AdfBaseEvent.AT_TARGET_PHASE&&(a.setCurrentTarget(b),this._deliverEvent(a),a.nextEventPhase()),a.getEventPhase()==AdfBaseEvent.BUBBLING_PHASE&&this._bubbleEvent(a)):this._deliverEvent(a),!a.isCanceled()){var b=this.getPeer(),c=!1;b&&(c=b.DispatchUncanceledComponentEvent(a));
c||a.isCanceled()||this.HandleEvent(a)}}else b=a.getEventPhase(),AdfAssert.assert(b==AdfBaseEvent.BUBBLING_PHASE,"invalid event phase"),b==AdfBaseEvent.BUBBLING_PHASE&&(this.HandleBubbledEvent(a),this._bubbleEvent(a))};AdfUIComponent.prototype.processPushData=function(a,b){AdfAssert.assert(void 0!==a);AdfAssert.assertNumber(b);return this.getPeer().processPushData(this,a,b)};AdfUIComponent.prototype.registerADSAccessibility=function(){this.getPeer().registerADSAccessibility(this)};
AdfUIComponent.prototype.clone=function(a){AdfAssert.assert(a&&a!==this._clientId);var b={};AdfCollections.copyInto(b,this._props);var c=this.getTypeName();return new window[c](a,b,this._componentUsageFlags)};AdfUIComponent.prototype.resizeNotify=function(a,b,c,d){var e=this.getPeer();e&&e.resizeNotify(this,a,b,c,d)};AdfUIComponent.prototype.scrollIntoView=function(a,b){var c=this.getPeer();c&&c.scrollIntoView(this,a,b)};
AdfUIComponent.prototype._deliverEvent=function(a){AdfAssert.assertPrototype(a,AdfBaseEvent);var b=this.getPeer();b&&b.DispatchComponentEvent(a);(b=this._getClientListeners())&&(b=b[a.getType()])&&this._deliverEventToListeners(a,b)};
AdfUIComponent.prototype._deliverEventToListeners=function(a,b){AdfAssert.assertPrototype(a,AdfBaseEvent);if(b)if(AdfCollections.isArray(b))for(var c=b.length,d=0;d<c;d++){var e=b[d],f;"function"!=typeof e&&(f=e,d++,e=b[d]);this._deliverEventToListener(a,f,e)}else this._deliverEventToListener(a,null,b)};
AdfUIComponent.prototype._deliverEventToListener=function(a,b,c){AdfAssert.assertPrototype(a,AdfBaseEvent);AdfAssert.assertObjectOrNull(b);AdfAssert.assertFunction(c);try{var d;d=null==b?c(a):c.call(b,a);a instanceof AdfBeforeUnloadEvent&&void 0===a.getWarningMessage()&&(void 0!==d?a.setWarningMessage(d):a.isCanceled()&&a.setWarningMessage(""))}catch(e){AdfLogger.LOGGER.logError(e,AdfLogger.WARNING,"Error delivering event:"+a+" to "+c+" on instance "+b)}};
AdfUIComponent.prototype._getClientListeners=function(){return this._props.clientListeners};AdfUIComponent.prototype.HandleEvent=function(a){AdfAssert.assert(!a.isCanceled());a.propagatesToServer()&&AdfPage.PAGE.queueEventToServer(a)};AdfUIComponent.prototype.HandleBubbledEvent=function(a){void 0===a.getRoot()&&this.isEventRoot()&&a.setRoot(this);var b=this.getPeer();b&&b.DispatchComponentEvent(a)};
AdfUIComponent._initAccessors=function(a,b,c,d,e){if(b){var f=AdfUIComponent._CONSTANT_CACHE,g=AdfUIComponent._ACCESSOR_NAME_CACHE,h=AdfUIComponent._ACCESSOR_CACHE,k=AdfUIComponent._MUTATOR_NAME_CACHE,l=AdfUIComponent._MUTATOR_CACHE,m=a.prototype,n;for(n in b){var p=c?n+c:n,q=f[p];q||(q=AdfStrings.createConstantName(p),f[p]=q);m[q]=n;a[q]=n;var r=g[p],t=function(){};r?(t=h[p],AdfAssert.assertFunction(t)):(r=AdfUIComponent._createAccessorName(n),g[p]=r,t=function(a){return function(){return this.getPropertyValue(this[a.substring(a.lastIndexOf(".")+
1,a.indexOf(")"))])}}(d+"(this."+q+");"),h[p]=AdfUIComponent.prototype.cloneFunction(t));m[r]=AdfUIComponent.prototype.cloneFunction(t);b[n][AdfUIComponent.PROPERTY_KEY_SECURED]||((r=k[p])?(q=l[p],AdfAssert.assertFunction(q)):(r=AdfUIComponent._createMutatorName(n),k[p]=r,q=function(a){return function(b){return this.setProperty(this[a.substring(a.lastIndexOf(".")+1,a.indexOf(","))],b)}}(e+"(this."+q+",v);"),l[p]=AdfUIComponent.prototype.cloneFunction(q)),m[r]=AdfUIComponent.prototype.cloneFunction(q))}}};
AdfUIComponent.prototype.cloneFunction=function(a){var b=function(){return a.apply(this,arguments)},c;for(c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};
AdfUIComponent.InitClass=function(){AdfUIComponent.PROPERTY_KEY_DEFAULT="default";AdfUIComponent.PROPERTY_KEY_SECURED="secured";AdfUIComponent.PROPERTY_DISCONNECTED="disconnected";AdfUIComponent.PROPAGATE_IF_KNOWN_PROPERTY=0;AdfUIComponent.PROPAGATE_ALWAYS=1;AdfUIComponent.PROPAGATE_NEVER=2;AdfUIComponent.PROPAGATE_LOCALLY=3;var a=this.GetSubclassPropertyKeys(),b=this.superclass.constructor[AdfUIComponent._CLASS_PROPERTY_KEYS];a&&(AdfUIComponent._initAccessors(this,a,null,"return this.getPropertyValue",
"return this.setProperty"),b=b?AdfCollections.union(b,a):a);this[AdfUIComponent._CLASS_PROPERTY_KEYS]=b;a=this.InitSubclass;null!=a&&a.call(this)};AdfUIComponent.SetDisconnectedProperty=function(a,b){AdfUIComponent._setPropertyInfo(a,b,AdfUIComponent.PROPERTY_DISCONNECTED,!0)};AdfUIComponent.SetPropertyType=function(a,b,c){AdfUIComponent._setPropertyInfo(a,b,"type",c)};
AdfUIComponent._setPropertyInfo=function(a,b,c,d){if(b){var e=a[AdfUIComponent._CLASS_PROPERTY_KEYS],f=e[b];if(f){var g=a.superclass;if(g&&e===g[AdfUIComponent._CLASS_PROPERTY_KEYS]){var g={},h;for(h in e)g[h]=e[h];e=a[AdfUIComponent._CLASS_PROPERTY_KEYS]=g}d!=f[c]&&(a=AdfCollections.copyInto({},f),a[c]=d,e[b]=a)}}};
AdfUIComponent.prototype.Init=function(a,b,c,d){AdfAssert.assertStringOrNull(a);AdfAssert.assertStringOrNull(b);AdfAssert.assertObjectOrNull(c);AdfAssert.assertNumberOrNull(d);AdfUIComponent.superclass.Init.call(this);void 0!=a&&(this._componentType=a);this._clientId=b;var e;c?e=c[AdfUIComponent._BEHAVIORS_KEY]:c={};this._props=c;e&&this._initBehaviors(e);d&&(this._componentUsageFlags=d)};AdfUIComponent.prototype.SetPropertyImpl=function(a,b,c){};
AdfUIComponent.prototype.DeliverDerivedPropertyEvents=function(a,b,c){};AdfUIComponent.GetSubclassPropertyKeys=function(){return{id:{name:"id",type:"String","default":null,secured:!0,disconnected:!0},visible:{name:"visible",type:"Boolean","default":!0},styleClass:{name:"styleClass",type:"String","default":null},inlineStyle:{name:"inlineStyle",type:"String","default":null}}};
AdfUIComponent.prototype.GetChanges=function(){var a=this._propChanges,b=this._props,c={},d=AdfUIComponent._DEFAULT_VALUE_UNDEFINED,e;for(e in a)if(a[e]){var f=AdfUIComponent._removePersistedFlag(e),f=b[f];f===d&&(f=void 0);c[e]=f}return c};AdfUIComponent.prototype.clearChanges=function(){this._propChanges=void 0};
AdfUIComponent.prototype.AddNotify=function(){if(!this._peer){var a=AdfPage.PAGE,b=a.getLookAndFeel().getPeer(this);this._peer=b;b.initialize(this);this._dropTarget&&a.getDnDContext().__addComponentTarget(this);b.needsResizeNotify(this)&&a.registerResizeNotifyComponent(this)}};
AdfUIComponent.prototype.RemoveNotify=function(){var a=AdfPage.PAGE;a.removeChangedComponent(this);var b=this.getClientId();a.clearMessages(b);var c=a.getActiveComponentId();b==c&&a._setActiveComponentId(null);if(b=this._peer)this._dropTarget&&a.getDnDContext().__removeComponentTarget(this),this._dragSource&&(a.getDnDContext().__removeDragSource(this),this._dragSource.__setComponent(null)),b.needsResizeNotify(this)&&a.unregisterResizeNotifyComponent(this),b.componentRemoved(this),this._peer=null;
(a=this.getBehaviors())&&this._destroyBehaviors(a);this._dead=!0};AdfUIComponent.prototype._bubbleEvent=function(a){if(!a.isBubblingStopped()){var b=a.getCurrentTarget().getParent();b?(a.setCurrentTarget(b),b.broadcast(a)):AdfAgent.AGENT.showTooltip(a)}};AdfUIComponent.prototype._setSource=function(a){this._source=a};AdfUIComponent.prototype.getParent=function(){var a=this._parent;if(void 0===a){var b=this._peer;null!=b&&(this._parent=a=b.getComponentParent(this))}return a};
AdfUIComponent.prototype.getDescendantComponents=function(a){return this.getPeer().getDescendantComponents(this,a)};AdfUIComponent.prototype.visitChildren=function(a,b,c){var d=this._peer;null!=d&&d.visitChildren(this,a,b,c);return 0};AdfUIComponent.prototype.__setParent=function(a){this._parent=a};AdfUIComponent.prototype.isDescendant=function(a){if(a)for(var b=this.getParent();b;){if(b==a)return!0;b=b.getParent()}return!1};AdfUIComponent.prototype.focus=function(){var a=this._peer;null!=a&&a.focus(this)};
AdfUIComponent.prototype.getDragSource=function(){return this._dragSource};AdfUIComponent.prototype.setDragSource=function(a){AdfAssert.assertPrototypeOrNull(a,AdfDragSource);var b=this._dragSource;b&&b.__setComponent(null);(this._dragSource=a)&&a.__setComponent(this)};AdfUIComponent.prototype.getDropTarget=function(){return this._dropTarget};
AdfUIComponent.prototype.setDropTarget=function(a){AdfAssert.assertPrototypeOrNull(a,AdfDropTarget);var b=this._dropTarget;if(a!=b){var c=AdfPage.PAGE.getDnDContext();b&&(b.__setComponent(null),this._peer&&c.__removeComponentTarget(this));if(this._dropTarget=a)a.__setComponent(this),this._peer&&c.__addComponentTarget(this)}};
AdfUIComponent.prototype.getBehaviors=function(a){var b=this._props?this._props[AdfUIComponent._BEHAVIORS_KEY]:null;if(b&&a){if(b instanceof a)return b;if(b instanceof Array){for(var c=[],d=0,e=b.length;d<e;d++)b[d]instanceof a&&c.push(b[d]);if(0!=c.length)return 1==c.length?c[0]:c}return null}return b};AdfUIComponent.prototype.toDebugString=function(){var a=this.getTypeName()+" ["+this.getComponentType()+"]",b=this.getClientId();b&&(a+=" id\x3d"+b);this._dead&&(a+=" , DEAD!");return a};
AdfUIComponent.prototype.isDead=function(){return this._dead};AdfUIComponent.prototype.getPeer=function(){return this._peer};AdfUIComponent.prototype.getEventRoots=function(a){return this._getEventRoots(a)};
AdfUIComponent.prototype._getEventRoots=function(a){AdfAssert.assertPrototype(a,AdfBaseEvent);var b=a.getType(),c=a.getSource(),d=[],e=this.getProperty(AdfUIComponent._TARGETS_KEY);a=this.getDefaultEventRoot(a);if(e&&0<e.length){for(var f={},g=0;g<e.length;g++){var h=e[g];if(h&&h.events)for(var k=0;k<h.events.length;k++){var l=h.events[k];if(null!=l&&l==b||l==AdfUIComponent._TARGET_KEYWORD_ALL){for(k=0;k<h.execute.length;k++){var m=h.execute[k];f[m]=m}break}}}if(f[AdfUIComponent._TARGET_KEYWORD_ALL]){if(b=
AdfPage.PAGE.getDocumentClientId())return b=this.findComponent(b),d.push(b),d;for(b=c;b;){if(b instanceof AdfRichForm)return d.push(b),d;b=b.getParent()}AdfLogger.LOGGER.warning("AdfUIComponent.getEventRoots: No form found when processing @all")}b=null;for(m in f)m==AdfUIComponent._TARGET_KEYWORD_THIS?b=this:m==AdfUIComponent._TARGET_KEYWORD_DEFAULT?b=a:m==AdfUIComponent._TARGET_KEYWORD_NONE?(f=c?c.getClientId():"null",AdfLogger.LOGGER.warning("AdfUIComponent.getEventRoots: An unsupported keyword @none was specified in the execute attribute of the target tag for the component ",
f,". Please use one of the supported keywords or refer to the documentation for details.")):(b=c.findComponent(m,!0))||AdfLogger.LOGGER.warning("AdfUIComponent.getEventRoots: Unable to retrieve component with scoped Id ",m," relative to this component"+this.getClientId()),b&&d.push(b)}else d.push(a);return d};
AdfUIComponent.prototype.getDefaultEventRoot=function(a){AdfAssert.assertPrototype(a,AdfBaseEvent);var b=null,b=a.getRoot();if(!b){for(a=a.getSource();!(a instanceof AdfRichForm||a.isEventRoot());)if(a=a.getParent(),!a)return AdfLogger.LOGGER.severe("AdfUIComponent.getDefaultEventRoot: No form found"),null;b=a}return b};
AdfUIComponent.prototype.ComparePropertyValues=function(a,b,c){var d=c===b;d||null==c||null==b||(a=this.getPropertyKeys()[a],null!=a&&(a=a.type,"Array"==a?d=AdfUIUtils.compareArrays(b,c):AdfObject.prototype.isPrototypeOf(b)&&AdfObject.prototype.isPrototypeOf(c)?d=c.equals(b):"Object"==a?Object.prototype.isPrototypeOf(b)&&Object.prototype.isPrototypeOf(c)&&(d=AdfUIUtils.compareObjects(b,c)):"Date"==a&&(d=b.getTime()==c.getTime())));return d};
AdfUIComponent.prototype._initBehaviors=function(a){AdfAssert.assert(null!=a);if(AdfCollections.isArray(a))for(var b=a.length,c=0;c<b;c++){var d=a[c];AdfAssert.assertFunction(d.initialize,"Missing client behvavior initialize()");d.initialize(this)}else AdfAssert.assertFunction(a.initialize,"Missing client behvavior initialize()"),a.initialize(this)};AdfUIComponent.prototype._destroyBehaviors=function(a){if(a instanceof AdfClientBehavior)a.destroy();else for(var b=0,c=a.length;b<c;b++)a[b].destroy()};
AdfUIComponent._createAccessorName=function(a){return"get"+AdfStrings.initUpperCase(a)};AdfUIComponent._createMutatorName=function(a,b){return"set"+AdfStrings.initUpperCase(a)};AdfUIComponent._removePersistedFlag=function(a){var b=a.length-2;return a.lastIndexOf(AdfUIComponent._FLAG_PERSISTENCE)==b?a.substr(0,b):a};AdfUIComponent.__isNamingContainer=function(a){return!0===a._namingContainer};AdfUIComponent.__setNamingContainer=function(a,b){a._namingContainer=b};
AdfUIComponent.prototype.simulateMouse=function(a,b){this.getPeer().simulateMouse(this,a,b)};AdfUIComponent._DEFAULT_VALUE_UNDEFINED={};AdfUIComponent._CLASS_PROPERTY_KEYS="_propertyKeys";AdfUIComponent._FLAG_PERSISTENCE="|p";AdfUIComponent._CONSTANT_CACHE={};AdfUIComponent._ACCESSOR_CACHE={};AdfUIComponent._MUTATOR_CACHE={};AdfUIComponent._ADD_LISTENER_CACHE={};AdfUIComponent._REMOVE_LISTENER_CACHE={};AdfUIComponent._ACCESSOR_NAME_CACHE={};AdfUIComponent._MUTATOR_NAME_CACHE={};
AdfUIComponent._ADD_LISTENER_NAME_CACHE={};AdfUIComponent._REMOVE_LISTENER_NAME_CACHE={};AdfUIComponent._BEHAVIORS_KEY="behaviors";AdfUIComponent._TARGETS_KEY="targets";AdfUIComponent._TARGET_KEYWORD_ALL="@all";AdfUIComponent._TARGET_KEYWORD_THIS="@this";AdfUIComponent._TARGET_KEYWORD_DEFAULT="@default";AdfUIComponent._TARGET_KEYWORD_NONE="@none";