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$$1187$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1187$$, AdfRichChooseColor.CUSTOM_COLOR_DATA);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentCustomColorData", {$GetComponentCustomColorData$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentCustomColorData$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentColorData$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentColorData$$($component$$1188$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1188$$, AdfRichChooseColor.COLOR_DATA);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentColorData", {$GetComponentColorData$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentColorData$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentDefaultColor$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentDefaultColor$$($component$$1189$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1189$$, AdfRichChooseColor.DEFAULT_COLOR);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentDefaultColor", {$GetComponentDefaultColor$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentDefaultColor$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentWidth$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentWidth$$($component$$1190$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1190$$, AdfRichChooseColor.WIDTH);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentWidth", {$GetComponentWidth$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentWidth$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentLastUsedColor$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentLastUsedColor$$($component$$1191$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$1191$$, $AdfDhtmlChooseColorBasePeer$$.$__LAST_USED_COLOR$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentLastUsedColor", {$GetComponentLastUsedColor$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentLastUsedColor$});
$AdfDhtmlInputColorPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputColorPeer$$$$$InitDomElement$$($component$$1192$$, $domElement$$238$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1192$$, $domElement$$238$$);
  return $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_hookUpChooseColor$, $component$$1192$$.$getClientId$(), 0);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputColorPeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputColorPeer$$.prototype.$LazyInitialize$ = function $$AdfDhtmlInputColorPeer$$$$$LazyInitialize$$($component$$1193$$, $domElement$$239$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$LazyInitialize$.call(this, $component$$1193$$, $domElement$$239$$);
  if (!$component$$1193$$.getConverter()) {
    var $converter$$inline_1987$$ = new TrColorConverter(["RRGGBB", "#RRGGBB", "r,g,b"], !0, "RRGGBB #RRGGBB r,g,b", {});
    $component$$1193$$.setProperty("converter", $converter$$inline_1987$$, !1, $AdfUIComponent$$.$PROPAGATE_NEVER$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.LazyInitialize", {$LazyInitialize$:$AdfDhtmlInputColorPeer$$.prototype.$LazyInitialize$});
$AdfDhtmlInputColorPeer$$.prototype.$VetoShowNoteWindow$ = function $$AdfDhtmlInputColorPeer$$$$$VetoShowNoteWindow$$($component$$1194_contentNode$$45$$) {
  return this.$_isPopupVisible$($component$$1194_contentNode$$45$$) || $AdfPage$$.$PAGE$.$_accessibilityMode$ != $AdfDhtmlPage$$.$SCREEN_READER_ACCESSIBILITY_MODE$ && ($component$$1194_contentNode$$45$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1194_contentNode$$45$$), $AdfPage$$.$PAGE$.$_activeDomNode$ != $component$$1194_contentNode$$45$$) ? !0 : $AdfDhtmlInputColorPeer$$.$superclass$.$VetoShowNoteWindow$.call(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.VetoShowNoteWindow", {$VetoShowNoteWindow$:$AdfDhtmlInputColorPeer$$.prototype.$VetoShowNoteWindow$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentClick$$($componentEvent$$219$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$219$$);
  var $component$$1195$$ = $componentEvent$$219$$.$getCurrentTarget$(), $sourceComponent$$14$$ = $componentEvent$$219$$.getSource();
  $component$$1195$$ == $sourceComponent$$14$$ && ($component$$1195$$.getDisabled() || $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$1195$$, $componentEvent$$219$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentFocus$$($component$$1196_componentEvent$$220$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$HandleComponentFocus$.call(this, $component$$1196_componentEvent$$220$$);
  $component$$1196_componentEvent$$220$$ = this.$getComponent$();
  var $chooseId$$2$$ = $AdfDhtmlInputChooseBindingUtils$$.getChooseId($component$$1196_componentEvent$$220$$);
  null != $chooseId$$2$$ && $AdfDhtmlInputChooseBindingUtils$$.$registerBinding$(!0, $chooseId$$2$$, $component$$1196_componentEvent$$220$$.$getClientId$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentFocus$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentKeyDown$$($componentEvent$$221$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$221$$);
  var $component$$1197$$ = $componentEvent$$221$$.$getCurrentTarget$(), $agent$$302_keyCode$$60$$ = $AdfAgent$$.$AGENT$, $evt$$99$$ = $componentEvent$$221$$.$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$$1197$$, $componentEvent$$221$$.$getNativeEventTarget$());
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
        $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$1197$$, $componentEvent$$221$$);
        break;
      case $AdfKeyStroke$$.$ESC_KEY$:
        $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$1197$$, $componentEvent$$221$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentKeyPress$$($componentEvent$$222$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$222$$);
};
$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$$1198_domNode$$30$$, $domElement$$240$$, $newValue$$72$$) {
  var $arrowDom$$1_clientId$$210_subid$$5$$ = $component$$1198_domNode$$30$$.$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$$1198_domNode$$30$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1198_domNode$$30$$, $domElement$$240$$);
  1 == $newValue$$72$$ ? ($AdfDomUtils$$.$addCSSClassName$($domElement$$240$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $arrowDom$$1_clientId$$210_subid$$5$$.style.display = "none", $component$$1198_domNode$$30$$.setAttribute("disabled", "true")) : ($AdfDomUtils$$.$removeCSSClassName$($domElement$$240$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $arrowDom$$1_clientId$$210_subid$$5$$.style.display = "block", $component$$1198_domNode$$30$$.removeAttribute("disabled"));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ComponentDisabledChanged", {$ComponentDisabledChanged$:$AdfDhtmlInputColorPeer$$.prototype.$ComponentDisabledChanged$});
$AdfDhtmlInputColorPeer$$.prototype.$ComponentCustomColorDataChanged$ = function $$AdfDhtmlInputColorPeer$$$$$ComponentCustomColorDataChanged$$($component$$1199$$, $chooseColorId$$1_domElement$$241$$, $newValue$$73$$, $oldValue$$52$$) {
  $oldValue$$52$$ != $newValue$$73$$ && ($chooseColorId$$1_domElement$$241$$ = $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($component$$1199$$), $AdfDhtmlInputChooseBindingUtils$$.$updateChooseComponentProperty$($component$$1199$$, $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$$1200$$) {
  return $AdfRichUIPeer$$.$CreateSubId$($component$$1200$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_ID$);
};
$JSCompiler_prototypeAlias$$.$_getPopup$ = function $$JSCompiler_prototypeAlias$$$$_getPopup$$($component$$1201_popupId$$42$$) {
  $component$$1201_popupId$$42$$ = this.$_getPopupId$($component$$1201_popupId$$42$$);
  return $AdfPage$$.$PAGE$.$findComponent$($component$$1201_popupId$$42$$);
};
$JSCompiler_prototypeAlias$$.$_isPopupVisible$ = function $$JSCompiler_prototypeAlias$$$$_isPopupVisible$$($component$$1202_popup$$18$$) {
  $component$$1202_popup$$18$$ = this.$_getPopup$($component$$1202_popup$$18$$);
  return null != $component$$1202_popup$$18$$ && $component$$1202_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$$1203_popup$$20$$, $componentEvent$$223$$) {
  var $eventTarget$$56$$ = $componentEvent$$223$$.$getNativeEventTarget$(), $glyphId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1203_popup$$20$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_GLYPH_ID$);
  $JSCompiler_StaticMethods__handleColorPopup$self$$.$_isGlyphElement$($eventTarget$$56$$, $glyphId$$) && ($component$$1203_popup$$20$$ = $JSCompiler_StaticMethods__handleColorPopup$self$$.$_getPopup$($component$$1203_popup$$20$$), null != $component$$1203_popup$$20$$ && ($component$$1203_popup$$20$$.$isPopupVisible$() ? $component$$1203_popup$$20$$.$hide$() : ($JSCompiler_StaticMethods__handleColorPopup$self$$.$HideNoteWindow$(), $component$$1203_popup$$20$$.show({align:AdfRichPopup.$ALIGN_AFTER_START$, 
  alignId:$glyphId$$, focus:!0}))), $componentEvent$$223$$.cancel());
}
$JSCompiler_prototypeAlias$$.$ComponentValueChanged$ = function $$JSCompiler_prototypeAlias$$$$ComponentValueChanged$$($component$$1204$$, $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$, $chooseColorId$$2_newValue$$74$$, $newColorString$$inline_1993_oldValue$$53$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$ComponentValueChanged$.call(this, $component$$1204$$, $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$, $chooseColorId$$2_newValue$$74$$, $newColorString$$inline_1993_oldValue$$53$$);
  $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1204$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_SWATCH_ID$);
  $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$ = $AdfAgent$$.$AGENT$.getElementById($domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$);
  $newColorString$$inline_1993_oldValue$$53$$ = $AdfDhtmlInputColorPeer$$.$_convertToColorString$($chooseColorId$$2_newValue$$74$$);
  null == $newColorString$$inline_1993_oldValue$$53$$ ? ($domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$.alt = $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$.title = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_chooseColor.TIP_NO_COLOR"), $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$.style.backgroundColor = "Transparent") : (null != $chooseColorId$$2_newValue$$74$$ && 0 == $chooseColorId$$2_newValue$$74$$.alpha ? ($newColorString$$inline_1993_oldValue$$53$$ = 
  "Transparent", $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$.alt = $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$.title = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_chooseColor.TIP_TRAN_NO_COLOR")) : $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$.alt = $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$.title = $newColorString$$inline_1993_oldValue$$53$$.substring(1), $domElement$$242_swatch$$inline_1992_swatchId$$inline_1991$$.style.backgroundColor = 
  $newColorString$$inline_1993_oldValue$$53$$);
  $chooseColorId$$2_newValue$$74$$ = $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($component$$1204$$);
  $AdfDhtmlInputChooseBindingUtils$$.$updateChooseComponentProperty$($component$$1204$$, $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$$1205_parentDom$$1_popupWrapperId$$, $contentDom$$11$$, $popupId$$43$$) {
  $popupId$$43$$ == $AdfDhtmlInputColorPeer$$.$_POPUP_CHOOSECOLOR_ID$ && ($clientId$$211_component$$1205_parentDom$$1_popupWrapperId$$ = $clientId$$211_component$$1205_parentDom$$1_popupWrapperId$$.$getClientId$(), $clientId$$211_component$$1205_parentDom$$1_popupWrapperId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$211_component$$1205_parentDom$$1_popupWrapperId$$, $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_ID$), ($clientId$$211_component$$1205_parentDom$$1_popupWrapperId$$ = $AdfAgent$$.$AGENT$.getElementById($clientId$$211_component$$1205_parentDom$$1_popupWrapperId$$)) && 
  $clientId$$211_component$$1205_parentDom$$1_popupWrapperId$$.appendChild($contentDom$$11$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlInputColorPeer$$.prototype.$PopupClosed$});
$AdfDhtmlInputColorPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlInputColorPeer$$$$$SetDisplayValue$$($component$$1206$$, $domElement$$243_domNode$$31$$, $newValue$$75$$) {
  $AdfAssert$$.$assertString$($newValue$$75$$);
  $domElement$$243_domNode$$31$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1206$$, $domElement$$243_domNode$$31$$);
  var $isInput$$ = "INPUT" == $AdfAgent$$.$AGENT$.$getNodeName$($domElement$$243_domNode$$31$$);
  $component$$1206$$.getReadOnly() ? $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$243_domNode$$31$$, $newValue$$75$$) : ($domElement$$243_domNode$$31$$.title = $newValue$$75$$, $isInput$$ ? $domElement$$243_domNode$$31$$.value = $newValue$$75$$ : $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$243_domNode$$31$$, $newValue$$75$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlInputColorPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlInputColorPeer$$.prototype.$GetNoteWindowAlignmentNode$ = function $$AdfDhtmlInputColorPeer$$$$$GetNoteWindowAlignmentNode$$($component$$1207$$, $rootNode$$10$$) {
  if (this.$_isCompact$($component$$1207$$)) {
    var $clientId$$212$$ = $component$$1207$$.$getClientId$();
    return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$212$$, $AdfDhtmlInputColorPeer$$.$_SWATCH_ID$));
  }
  return $AdfDhtmlInputColorPeer$$.$superclass$.$GetNoteWindowAlignmentNode$.call(this, $component$$1207$$, $rootNode$$10$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetNoteWindowAlignmentNode", {$GetNoteWindowAlignmentNode$:$AdfDhtmlInputColorPeer$$.prototype.$GetNoteWindowAlignmentNode$});
$AdfDhtmlInputColorPeer$$.prototype.$ShouldShowHint$ = function $$AdfDhtmlInputColorPeer$$$$$ShouldShowHint$$($component$$1208$$) {
  return 1 == $component$$1208$$.getCompact() ? !1 : !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ShouldShowHint", {$ShouldShowHint$:$AdfDhtmlInputColorPeer$$.prototype.$ShouldShowHint$});
function $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($inputColor$$1$$, $propertyName$$43$$) {
  var $popupChooseColor_popupChooseColorId$$inline_1996$$;
  $popupChooseColor_popupChooseColorId$$inline_1996$$ = $AdfRichUIPeer$$.$CreateSubId$($inputColor$$1$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_CHOOSECOLOR_ID$);
  $popupChooseColor_popupChooseColorId$$inline_1996$$ = $AdfPage$$.$PAGE$.$findComponent$($popupChooseColor_popupChooseColorId$$inline_1996$$);
  return null != $popupChooseColor_popupChooseColorId$$inline_1996$$ ? $popupChooseColor_popupChooseColorId$$inline_1996$$.$getProperty$($propertyName$$43$$) : null;
}
$AdfDhtmlInputColorPeer$$.prototype.$_isCompact$ = function $$AdfDhtmlInputColorPeer$$$$$_isCompact$$($component$$1209$$) {
  return $component$$1209$$.$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;
};
