var $AdfDhtmlInputColorPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlInputBasePeer$$, "AdfDhtmlInputColorPeer");
$goog$exportSymbol$$("AdfDhtmlInputColorPeer", $AdfDhtmlInputColorPeer$$);
$AdfDhtmlInputColorPeer$$.$__LAST_USED_COLOR$ = "lastUsedColor";
$AdfDhtmlInputColorPeer$$.$InitSubclass$ = function $$AdfDhtmlInputColorPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfUIValue);
  $AdfObject$$.$ensureClassInitialization$(AdfRichChooseColor);
  $AdfObject$$.$ensureClassInitialization$(AdfRichInputColor);
  $AdfObject$$.$ensureClassInitialization$($AdfDhtmlChooseColorBasePeer$$);
  $AdfObject$$.$ensureClassInitialization$($AdfDhtmlChooseColorPeer$$);
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfRichInputColor.COLOR_DATA, AdfRichInputColor.CUSTOM_COLOR_DATA, AdfRichInputColor.DEFAULT_COLOR, AdfRichInputColor.WIDTH, AdfRichInputColor.LABEL);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_PRESS_EVENT_TYPE$, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichInputColor.LABEL, AdfRichInputColor.DISABLED, AdfRichInputColor.CUSTOM_COLOR_DATA);
  $AdfRichUIPeer$$.$addSuppressedPPRAttributes$(this, $AdfDhtmlInputColorPeer$$.$__LAST_USED_COLOR$, AdfRichInputColor.CUSTOM_COLOR_DATA);
  this.$_GLYPH_ID$ = "glyph";
  this.$_SWATCH_ID$ = "swatch";
  this.$_POPUP_WRAPPER_ID$ = "icPopWrap";
  this.$_POPUP_CHOOSECOLOR_ID$ = "icPop";
  this.$_POPUP_WRAPPER_CHOOSECOLOR_ID$ = $AdfRichUIPeer$$.$CreateSubId$(this.$_POPUP_WRAPPER_ID$, this.$_POPUP_CHOOSECOLOR_ID$);
  this.$_colorFormat$ = new TrColorConverter(["#RRGGBB"], !0);
};
$goog$exportSymbol$$("AdfDhtmlInputColorPeer.InitSubclass", $AdfDhtmlInputColorPeer$$.$InitSubclass$);
$AdfDhtmlInputColorPeer$$.$_convertToColorString$ = function $$AdfDhtmlInputColorPeer$$$$_convertToColorString$$($colorObj$$1$$) {
  return null == $colorObj$$1$$ ? null : this.$_colorFormat$.getAsString($colorObj$$1$$);
};
$AdfDhtmlInputColorPeer$$.prototype.$handleUpdateFromChooseComponent$ = function $$AdfDhtmlInputColorPeer$$$$$handleUpdateFromChooseComponent$$($inputColorComponent$$, $propertyName$$42$$, $newValue$$71$$) {
  null != $inputColorComponent$$.getChooseId() && $propertyName$$42$$ != AdfUIValue.VALUE || $inputColorComponent$$.setProperty($propertyName$$42$$, $newValue$$71$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.handleUpdateFromChooseComponent", {$handleUpdateFromChooseComponent$:$AdfDhtmlInputColorPeer$$.prototype.$handleUpdateFromChooseComponent$});
$AdfDhtmlInputColorPeer$$.prototype.$handleReturnFromChooseComponent$ = function $$AdfDhtmlInputColorPeer$$$$$handleReturnFromChooseComponent$$($inputColorComponent$$1$$) {
  this.$_hidePopup$($inputColorComponent$$1$$);
  this.$returnFocus$($inputColorComponent$$1$$);
  this.$Validate$($inputColorComponent$$1$$);
  this.$_returnedFromChooseComponent$ = 1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.handleReturnFromChooseComponent", {$handleReturnFromChooseComponent$:$AdfDhtmlInputColorPeer$$.prototype.$handleReturnFromChooseComponent$});
$AdfDhtmlInputColorPeer$$.prototype.$returnFocus$ = function $$AdfDhtmlInputColorPeer$$$$$returnFocus$$($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$) {
  $arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$.getReadOnly() || $arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$.getDisabled() || (this.$_isCompact$($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$) ? ($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$ = $arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$.$getClientId$(), subid = $AdfRichUIPeer$$.$CreateSubId$($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$, $AdfDhtmlInputColorPeer$$.$_GLYPH_ID$), 
  $arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$ = $AdfAgent$$.$AGENT$.getElementById(subid), $AdfFocusUtils$$.$focusElement$($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$)) : ($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$), "INPUT" == $AdfAgent$$.$AGENT$.$getNodeName$($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$) && ($AdfFocusUtils$$.$focusElement$($arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$), 
  $arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$.value = $arrowDom_clientId$$209_inputColorComponent$$2_inputDom$$.value)));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.returnFocus", {$returnFocus$:$AdfDhtmlInputColorPeer$$.prototype.$returnFocus$});
$AdfDhtmlInputColorPeer$$.prototype.$initChooseComponentValue$ = function $$AdfDhtmlInputColorPeer$$$$$initChooseComponentValue$$($inputComponent$$2$$) {
  var $chooseColorId$$ = $AdfDhtmlInputChooseBindingUtils$$.getChooseId($inputComponent$$2$$, AdfRichInputColor.CHOOSE_ID);
  null != $chooseColorId$$ && $AdfDhtmlInputChooseBindingUtils$$.$updateChooseComponentProperty$($inputComponent$$2$$, $chooseColorId$$, AdfUIValue.VALUE, $AdfDhtmlChooseColorBasePeer$$.$__COLOR_VALUE$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.initChooseComponentValue", {$initChooseComponentValue$:$AdfDhtmlInputColorPeer$$.prototype.$initChooseComponentValue$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentCustomColorData$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentCustomColorData$$($component$$1188$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1188$$, AdfRichChooseColor.CUSTOM_COLOR_DATA);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentCustomColorData", {$GetComponentCustomColorData$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentCustomColorData$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentColorData$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentColorData$$($component$$1189$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1189$$, AdfRichChooseColor.COLOR_DATA);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentColorData", {$GetComponentColorData$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentColorData$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentDefaultColor$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentDefaultColor$$($component$$1190$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1190$$, AdfRichChooseColor.DEFAULT_COLOR);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentDefaultColor", {$GetComponentDefaultColor$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentDefaultColor$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentWidth$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentWidth$$($component$$1191$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1191$$, AdfRichChooseColor.WIDTH);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentWidth", {$GetComponentWidth$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentWidth$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentLastUsedColor$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentLastUsedColor$$($component$$1192$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1192$$, $AdfDhtmlChooseColorBasePeer$$.$__LAST_USED_COLOR$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentLastUsedColor", {$GetComponentLastUsedColor$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentLastUsedColor$});
$AdfDhtmlInputColorPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputColorPeer$$$$$InitDomElement$$($component$$1193$$, $domElement$$238$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1193$$, $domElement$$238$$);
  return $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_hookUpChooseColor$, $component$$1193$$.$getClientId$(), 0);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputColorPeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputColorPeer$$.prototype.$LazyInitialize$ = function $$AdfDhtmlInputColorPeer$$$$$LazyInitialize$$($component$$1194$$, $domElement$$239$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$LazyInitialize$.call(this, $component$$1194$$, $domElement$$239$$);
  if (!$component$$1194$$.getConverter()) {
    var $converter$$inline_1992$$ = new TrColorConverter(["RRGGBB", "#RRGGBB", "r,g,b"], !0, "RRGGBB #RRGGBB r,g,b", {});
    $component$$1194$$.setProperty("converter", $converter$$inline_1992$$, !1, $AdfUIComponent$$.$PROPAGATE_NEVER$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.LazyInitialize", {$LazyInitialize$:$AdfDhtmlInputColorPeer$$.prototype.$LazyInitialize$});
$AdfDhtmlInputColorPeer$$.prototype.$VetoShowNoteWindow$ = function $$AdfDhtmlInputColorPeer$$$$$VetoShowNoteWindow$$($component$$1195_contentNode$$45$$) {
  return this.$_isPopupVisible$($component$$1195_contentNode$$45$$) || $AdfPage$$.$PAGE$.$_accessibilityMode$ != $AdfDhtmlPage$$.$SCREEN_READER_ACCESSIBILITY_MODE$ && ($component$$1195_contentNode$$45$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1195_contentNode$$45$$), $AdfPage$$.$PAGE$.$_activeDomNode$ != $component$$1195_contentNode$$45$$) ? !0 : $AdfDhtmlInputColorPeer$$.$superclass$.$VetoShowNoteWindow$.call(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.VetoShowNoteWindow", {$VetoShowNoteWindow$:$AdfDhtmlInputColorPeer$$.prototype.$VetoShowNoteWindow$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentClick$$($componentEvent$$221$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$221$$);
  var $component$$1196$$ = $componentEvent$$221$$.$getCurrentTarget$(), $sourceComponent$$14$$ = $componentEvent$$221$$.getSource();
  $component$$1196$$ == $sourceComponent$$14$$ && ($component$$1196$$.getDisabled() || $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$1196$$, $componentEvent$$221$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentFocus$$($component$$1197_componentEvent$$222$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$HandleComponentFocus$.call(this, $component$$1197_componentEvent$$222$$);
  $component$$1197_componentEvent$$222$$ = this.$getComponent$();
  var $chooseId$$2$$ = $AdfDhtmlInputChooseBindingUtils$$.getChooseId($component$$1197_componentEvent$$222$$);
  null != $chooseId$$2$$ && $AdfDhtmlInputChooseBindingUtils$$.$registerBinding$(!0, $chooseId$$2$$, $component$$1197_componentEvent$$222$$.$getClientId$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentFocus$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentKeyDown$$($componentEvent$$223$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$223$$);
  var $component$$1198$$ = $componentEvent$$223$$.$getCurrentTarget$(), $agent$$302_keyCode$$60$$ = $AdfAgent$$.$AGENT$, $evt$$99$$ = $componentEvent$$223$$.$getNativeEvent$(), $agent$$302_keyCode$$60$$ = $agent$$302_keyCode$$60$$.$getKeyCode$($evt$$99$$);
  if (!$evt$$99$$.ctrlKey) {
    switch($agent$$302_keyCode$$60$$) {
      case $AdfKeyStroke$$.$ENTER_KEY$:
        this.$RunValidation$($component$$1198$$, $componentEvent$$223$$.$getNativeEventTarget$());
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
        $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$1198$$, $componentEvent$$223$$);
        break;
      case $AdfKeyStroke$$.$ESC_KEY$:
        $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$1198$$, $componentEvent$$223$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentKeyPress$$($componentEvent$$224$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$224$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyPress$});
$AdfDhtmlInputColorPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlInputColorPeer$$$$$GetInlineEditor$$() {
  return $AdfDhtmlSimpleLabelEditor$$.$getInlineEditor$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlInputColorPeer$$.prototype.$GetInlineEditor$});
$AdfDhtmlInputColorPeer$$.prototype.$ComponentDisabledChanged$ = function $$AdfDhtmlInputColorPeer$$$$$ComponentDisabledChanged$$($component$$1199_domNode$$32$$, $domElement$$240$$, $newValue$$72$$) {
  var $arrowDom$$1_clientId$$210_subid$$5$$ = $component$$1199_domNode$$32$$.$getClientId$(), $arrowDom$$1_clientId$$210_subid$$5$$ = $AdfRichUIPeer$$.$CreateSubId$($arrowDom$$1_clientId$$210_subid$$5$$, $AdfDhtmlInputColorPeer$$.$_GLYPH_ID$), $arrowDom$$1_clientId$$210_subid$$5$$ = $AdfAgent$$.$AGENT$.getElementById($arrowDom$$1_clientId$$210_subid$$5$$);
  $component$$1199_domNode$$32$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1199_domNode$$32$$, $domElement$$240$$);
  1 == $newValue$$72$$ ? ($AdfDomUtils$$.$addCSSClassName$($domElement$$240$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $arrowDom$$1_clientId$$210_subid$$5$$.style.display = "none", $component$$1199_domNode$$32$$.setAttribute("disabled", "true")) : ($AdfDomUtils$$.$removeCSSClassName$($domElement$$240$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $arrowDom$$1_clientId$$210_subid$$5$$.style.display = "block", $component$$1199_domNode$$32$$.removeAttribute("disabled"));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ComponentDisabledChanged", {$ComponentDisabledChanged$:$AdfDhtmlInputColorPeer$$.prototype.$ComponentDisabledChanged$});
$AdfDhtmlInputColorPeer$$.prototype.$ComponentCustomColorDataChanged$ = function $$AdfDhtmlInputColorPeer$$$$$ComponentCustomColorDataChanged$$($component$$1200$$, $chooseColorId$$1_domElement$$241$$, $newValue$$73$$, $oldValue$$52$$) {
  $oldValue$$52$$ != $newValue$$73$$ && ($chooseColorId$$1_domElement$$241$$ = $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($component$$1200$$), $AdfDhtmlInputChooseBindingUtils$$.$updateChooseComponentProperty$($component$$1200$$, $chooseColorId$$1_domElement$$241$$, AdfRichInputColor.CUSTOM_COLOR_DATA, AdfRichChooseColor.CUSTOM_COLOR_DATA));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ComponentCustomColorDataChanged", {$ComponentCustomColorDataChanged$:$AdfDhtmlInputColorPeer$$.prototype.$ComponentCustomColorDataChanged$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlInputColorPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_getPopupId$ = function $$JSCompiler_prototypeAlias$$$$_getPopupId$$($component$$1201$$) {
  return $AdfRichUIPeer$$.$CreateSubId$($component$$1201$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_ID$);
};
$JSCompiler_prototypeAlias$$.$_getPopup$ = function $$JSCompiler_prototypeAlias$$$$_getPopup$$($component$$1202_popupId$$42$$) {
  $component$$1202_popupId$$42$$ = this.$_getPopupId$($component$$1202_popupId$$42$$);
  return $AdfPage$$.$PAGE$.$findComponent$($component$$1202_popupId$$42$$);
};
$JSCompiler_prototypeAlias$$.$_isPopupVisible$ = function $$JSCompiler_prototypeAlias$$$$_isPopupVisible$$($component$$1203_popup$$18$$) {
  $component$$1203_popup$$18$$ = this.$_getPopup$($component$$1203_popup$$18$$);
  return null != $component$$1203_popup$$18$$ && $component$$1203_popup$$18$$.$isPopupVisible$();
};
$JSCompiler_prototypeAlias$$.$_hidePopup$ = function $$JSCompiler_prototypeAlias$$$$_hidePopup$$($inputComponent$$3_popup$$19$$) {
  $inputComponent$$3_popup$$19$$ = this.$_getPopup$($inputComponent$$3_popup$$19$$);
  null != $inputComponent$$3_popup$$19$$ && $inputComponent$$3_popup$$19$$.$isPopupVisible$() && $inputComponent$$3_popup$$19$$.$hide$();
};
function $JSCompiler_StaticMethods__handleColorPopup$$($JSCompiler_StaticMethods__handleColorPopup$self$$, $component$$1204_popup$$20$$, $componentEvent$$225$$) {
  var $eventTarget$$56$$ = $componentEvent$$225$$.$getNativeEventTarget$(), $glyphId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1204_popup$$20$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_GLYPH_ID$);
  $JSCompiler_StaticMethods__handleColorPopup$self$$.$_isGlyphElement$($eventTarget$$56$$, $glyphId$$) && ($component$$1204_popup$$20$$ = $JSCompiler_StaticMethods__handleColorPopup$self$$.$_getPopup$($component$$1204_popup$$20$$), null != $component$$1204_popup$$20$$ && ($component$$1204_popup$$20$$.$isPopupVisible$() ? $component$$1204_popup$$20$$.$hide$() : ($JSCompiler_StaticMethods__handleColorPopup$self$$.$HideNoteWindow$(), $component$$1204_popup$$20$$.show({align:AdfRichPopup.$ALIGN_AFTER_START$, 
  alignId:$glyphId$$, focus:!0}))), $componentEvent$$225$$.cancel());
}
$JSCompiler_prototypeAlias$$.$ComponentValueChanged$ = function $$JSCompiler_prototypeAlias$$$$ComponentValueChanged$$($component$$1205$$, $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$, $chooseColorId$$2_newValue$$74$$, $newColorString$$inline_1998_oldValue$$53$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$ComponentValueChanged$.call(this, $component$$1205$$, $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$, $chooseColorId$$2_newValue$$74$$, $newColorString$$inline_1998_oldValue$$53$$);
  $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1205$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_SWATCH_ID$);
  $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$ = $AdfAgent$$.$AGENT$.getElementById($domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$);
  $newColorString$$inline_1998_oldValue$$53$$ = $AdfDhtmlInputColorPeer$$.$_convertToColorString$($chooseColorId$$2_newValue$$74$$);
  null == $newColorString$$inline_1998_oldValue$$53$$ ? ($domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$.alt = $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$.title = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_chooseColor.TIP_NO_COLOR"), $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$.style.backgroundColor = "Transparent") : (null != $chooseColorId$$2_newValue$$74$$ && 0 == $chooseColorId$$2_newValue$$74$$.alpha ? ($newColorString$$inline_1998_oldValue$$53$$ = 
  "Transparent", $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$.alt = $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$.title = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_chooseColor.TIP_TRAN_NO_COLOR")) : $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$.alt = $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$.title = $newColorString$$inline_1998_oldValue$$53$$.substring(1), $domElement$$242_swatch$$inline_1997_swatchId$$inline_1996$$.style.backgroundColor = 
  $newColorString$$inline_1998_oldValue$$53$$);
  $chooseColorId$$2_newValue$$74$$ = $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($component$$1205$$);
  $AdfDhtmlInputChooseBindingUtils$$.$updateChooseComponentProperty$($component$$1205$$, $chooseColorId$$2_newValue$$74$$, AdfUIValue.VALUE, $AdfDhtmlChooseColorBasePeer$$.$__COLOR_VALUE$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ComponentValueChanged", {$ComponentValueChanged$:$AdfDhtmlInputColorPeer$$.prototype.$ComponentValueChanged$});
$AdfDhtmlInputColorPeer$$.prototype.$PopupClosed$ = function $$AdfDhtmlInputColorPeer$$$$$PopupClosed$$($clientId$$211_component$$1206_parentDom$$1_popupWrapperId$$, $contentDom$$11$$, $popupId$$43$$) {
  $popupId$$43$$ == $AdfDhtmlInputColorPeer$$.$_POPUP_CHOOSECOLOR_ID$ && ($clientId$$211_component$$1206_parentDom$$1_popupWrapperId$$ = $clientId$$211_component$$1206_parentDom$$1_popupWrapperId$$.$getClientId$(), $clientId$$211_component$$1206_parentDom$$1_popupWrapperId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$211_component$$1206_parentDom$$1_popupWrapperId$$, $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_ID$), ($clientId$$211_component$$1206_parentDom$$1_popupWrapperId$$ = $AdfAgent$$.$AGENT$.getElementById($clientId$$211_component$$1206_parentDom$$1_popupWrapperId$$)) && 
  $clientId$$211_component$$1206_parentDom$$1_popupWrapperId$$.appendChild($contentDom$$11$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlInputColorPeer$$.prototype.$PopupClosed$});
$AdfDhtmlInputColorPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlInputColorPeer$$$$$SetDisplayValue$$($component$$1207$$, $domElement$$243_domNode$$33$$, $newValue$$75$$) {
  $AdfAssert$$.$assertString$($newValue$$75$$);
  $domElement$$243_domNode$$33$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1207$$, $domElement$$243_domNode$$33$$);
  var $isInput$$ = "INPUT" == $AdfAgent$$.$AGENT$.$getNodeName$($domElement$$243_domNode$$33$$);
  $component$$1207$$.getReadOnly() ? $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$243_domNode$$33$$, $newValue$$75$$) : ($domElement$$243_domNode$$33$$.title = $newValue$$75$$, $isInput$$ ? $domElement$$243_domNode$$33$$.value = $newValue$$75$$ : $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$243_domNode$$33$$, $newValue$$75$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlInputColorPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlInputColorPeer$$.prototype.$GetNoteWindowAlignmentNode$ = function $$AdfDhtmlInputColorPeer$$$$$GetNoteWindowAlignmentNode$$($component$$1208$$, $rootNode$$10$$) {
  if (this.$_isCompact$($component$$1208$$)) {
    var $clientId$$212$$ = $component$$1208$$.$getClientId$();
    return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$212$$, $AdfDhtmlInputColorPeer$$.$_SWATCH_ID$));
  }
  return $AdfDhtmlInputColorPeer$$.$superclass$.$GetNoteWindowAlignmentNode$.call(this, $component$$1208$$, $rootNode$$10$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetNoteWindowAlignmentNode", {$GetNoteWindowAlignmentNode$:$AdfDhtmlInputColorPeer$$.prototype.$GetNoteWindowAlignmentNode$});
$AdfDhtmlInputColorPeer$$.prototype.$ShouldShowHint$ = function $$AdfDhtmlInputColorPeer$$$$$ShouldShowHint$$($component$$1209$$) {
  return 1 == $component$$1209$$.getCompact() ? !1 : !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ShouldShowHint", {$ShouldShowHint$:$AdfDhtmlInputColorPeer$$.prototype.$ShouldShowHint$});
function $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($inputColor$$1$$, $propertyName$$43$$) {
  var $popupChooseColor_popupChooseColorId$$inline_2001$$;
  $popupChooseColor_popupChooseColorId$$inline_2001$$ = $AdfRichUIPeer$$.$CreateSubId$($inputColor$$1$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_CHOOSECOLOR_ID$);
  $popupChooseColor_popupChooseColorId$$inline_2001$$ = $AdfPage$$.$PAGE$.$findComponent$($popupChooseColor_popupChooseColorId$$inline_2001$$);
  return null != $popupChooseColor_popupChooseColorId$$inline_2001$$ ? $popupChooseColor_popupChooseColorId$$inline_2001$$.$getProperty$($propertyName$$43$$) : null;
}
$AdfDhtmlInputColorPeer$$.prototype.$_isCompact$ = function $$AdfDhtmlInputColorPeer$$$$$_isCompact$$($component$$1210$$) {
  return $component$$1210$$.$getProperty$(AdfRichInputColor.COMPACT);
};
$AdfDhtmlInputColorPeer$$.prototype.$_hookUpChooseColor$ = function $$AdfDhtmlInputColorPeer$$$$$_hookUpChooseColor$$($clientId$$213_thisComponent$$) {
  $clientId$$213_thisComponent$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$213_thisComponent$$);
  var $chooseColorId$$3$$ = $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($clientId$$213_thisComponent$$);
  null != $chooseColorId$$3$$ && $AdfPage$$.$PAGE$.$_accessibilityMode$ != $AdfDhtmlPage$$.$SCREEN_READER_ACCESSIBILITY_MODE$ && ($AdfDhtmlInputChooseBindingUtils$$.$registerBinding$(!0, $chooseColorId$$3$$, $clientId$$213_thisComponent$$.$getClientId$()), this.$initChooseComponentValue$($clientId$$213_thisComponent$$));
};
function $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($thisComponent$$1$$) {
  var $chooseColorId$$4$$ = $AdfDhtmlInputChooseBindingUtils$$.getChooseId($thisComponent$$1$$, AdfRichInputColor.CHOOSE_ID);
  null != $chooseColorId$$4$$ || $thisComponent$$1$$.getReadOnly() || ($chooseColorId$$4$$ = $AdfRichUIPeer$$.$CreateSubId$($thisComponent$$1$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_CHOOSECOLOR_ID$));
  return $chooseColorId$$4$$;
}
$AdfDhtmlInputColorPeer$$.prototype.$_isGlyphElement$ = function $$AdfDhtmlInputColorPeer$$$$$_isGlyphElement$$($eventTarget$$57$$, $glyphId$$1$$) {
  var $container$$20$$ = $AdfAgent$$.$AGENT$.getElementById($glyphId$$1$$);
  return null == $container$$20$$ ? !1 : $eventTarget$$57$$ == $container$$20$$ || $eventTarget$$57$$ == $container$$20$$.getElementsByTagName("img")[0] ? !0 : !1;
};
