var $AdfDhtmlCarouselPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlCarouselPeer", !1);
$goog$exportSymbol$$("AdfDhtmlCarouselPeer", $AdfDhtmlCarouselPeer$$);
$AdfDhtmlCarouselPeer$$.$InitSubclass$ = function $$AdfDhtmlCarouselPeer$$$$InitSubclass$$() {
  var $cap$$3$$ = $AdfAgent$$.$AGENT$.$getCapabilities$()[$AdfAgent$$.$CAP_TOUCH_SCREEN$];
  $cap$$3$$ && $cap$$3$$ != $AdfAgent$$.$CAP_TOUCH_SCREEN_NONE$ || $AdfRichUIPeer$$.$addDomEventHandlers$(this, "mousemove");
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_OUT_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichCarousel.CURRENT_ITEM_KEY);
  this.$MISSING_AFTER$ = 1;
  this.$MISSING_BEFORE$ = 2;
  this.$NO_BLOCKS$ = 4;
  this.$VIEWPORT_SATISFIED$ = 0;
  this.$DW_SUB_ID$ = "dataW";
  this.$_ITEM_PADDING$ = 10;
  this.$_MAX_PLACEHOLDERS_ON_ONE_SIDE$ = 25;
  this.$_ROW_KEY$ = "_afrRK";
  this.$_FETCH_MORE_ITEM_COUNT$ = 5;
  this.$_FETCH_DELAY_TIMEOUT$ = 300;
  this.$_INPUT_REGEXP$ = /^INPUT|SELECT|OPTION|BUTTON|^A\b|TEXTAREA/;
  this.$_NEEDS_REFRESH_ATTRIBUTE$ = "_afrNdsRfr";
  this.$_UNDO_FETCH_ATTRIBUTE$ = "_afrUndFch";
};
$goog$exportSymbol$$("AdfDhtmlCarouselPeer.InitSubclass", $AdfDhtmlCarouselPeer$$.$InitSubclass$);
$AdfDhtmlCarouselPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlCarouselPeer$$$$$InitDomElement$$($component$$766$$, $domElement$$92$$) {
  $AdfDhtmlCarouselPeer$$.$superclass$.$InitDomElement$.call(this, $component$$766$$, $domElement$$92$$);
  if ("yes" == $domElement$$92$$.getAttribute("data-nojs")) {
    this.$_NO_JS$ = !0;
  } else {
    this.$_SHRINK_FACTOR$ = $component$$766$$.getAuxiliaryScale();
    this.$_SHIFT_FACTOR$ = $component$$766$$.getAuxiliaryOffset();
    this.$_POP_OUT$ = $component$$766$$.getAuxiliaryPopOut();
    this.$_fetchId$ = 0;
    this.$_unavailableRowIndex$ = -1;
    this.$_isVertical$ = "vertical" == $component$$766$$.getOrientation();
    var $lookAndFeel$$3$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
    this.$_useOpacity$ = "none" != $lookAndFeel$$3$$.$getSkinProperty$("af|carousel-tr-overlay-opacity");
    this.$_popOutDuration$ = this.$_animDuration$ = 0;
    this.$_animDuration$ = parseInt($lookAndFeel$$3$$.$getSkinProperty$("af|carousel-tr-spin-animation-duration"), 10);
    isNaN(this.$_animDuration$) && (this.$_animDuration$ = 0);
    this.$_popOutDuration$ = parseInt($lookAndFeel$$3$$.$getSkinProperty$("af|carousel-tr-pop-out-animation-duration"), 10);
    isNaN(this.$_popOutDuration$) && (this.$_animDuration$ = 0);
    $JSCompiler_StaticMethods__setupInitialPositions$$(this, $component$$766$$, $domElement$$92$$);
    $domElement$$92$$.setAttribute("role", "listbox");
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlCarouselPeer$$.prototype.$InitDomElement$});
function $JSCompiler_StaticMethods__setupInitialPositions$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$, $dataBody$$inline_1522_domElement$$93$$) {
  if (!$JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$) {
    if ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_displayItems$ = $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.getDisplayItems(), $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$ = $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.getControlArea(), "small" == $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$ || 
    "compact" == $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$) {
      var $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$ = $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.$getClientId$(), $controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$ = $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$, $agent$$inline_1509_spinNextElem$$inline_1521$$ = $AdfAgent$$.$AGENT$;
      $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$ = $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $dataBody$$inline_1522_domElement$$93$$);
      var $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ = $agent$$inline_1509_spinNextElem$$inline_1521$$.getComputedStyle($component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$), $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ = parseInt($controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$.paddingLeft, 10), 
      $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$ = parseInt($controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$.paddingRight, 10), $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$ = parseInt($controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$.paddingTop, 10), $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ = 
      parseInt($controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$.paddingBottom, 10), $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$), $itemTextComputedStyle$$inline_1517_spinPrevElem$$inline_1520$$ = $agent$$inline_1509_spinNextElem$$inline_1521$$.getComputedStyle($itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$), 
      $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ = parseInt($itemTextComputedStyle$$inline_1517_spinPrevElem$$inline_1520$$.paddingTop, 10), $itemTextPaddingBottom$$inline_1519$$ = parseInt($itemTextComputedStyle$$inline_1517_spinPrevElem$$inline_1520$$.paddingBottom, 10), $itemTextComputedStyle$$inline_1517_spinPrevElem$$inline_1520$$ = $agent$$inline_1509_spinNextElem$$inline_1521$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$, 
      "sp")), $agent$$inline_1509_spinNextElem$$inline_1521$$ = $agent$$inline_1509_spinNextElem$$inline_1521$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$, "sn"));
      $dataBody$$inline_1522_domElement$$93$$ = $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_getDataBody$($dataBody$$inline_1522_domElement$$93$$);
      var $currentInset$$inline_1523$$ = 0;
      "compact" != $controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$ && ($controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$ = $JSCompiler_StaticMethods__getSpinInfoDiv$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$), $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$ = $controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$.offsetHeight, 
      $currentInset$$inline_1523$$ += $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$, $controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$.style.bottom = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ + "px");
      $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$ = $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.offsetHeight;
      0 != $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$ && ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = !0);
      var $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$ = Math.max($itemTextComputedStyle$$inline_1517_spinPrevElem$$inline_1520$$.offsetHeight, $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$, $agent$$inline_1509_spinNextElem$$inline_1521$$.offsetHeight), $currentInset$$inline_1523$$ = $currentInset$$inline_1523$$ + $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$, $controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$ = 
      $AdfDhtmlCarouselPeer$$.$_isRTL$(), $spinNextStyle$$inline_1529_spinPrevStyle$$inline_1528$$ = $itemTextComputedStyle$$inline_1517_spinPrevElem$$inline_1520$$.style;
      $spinNextStyle$$inline_1529_spinPrevStyle$$inline_1528$$.top = $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$ + "px";
      $controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$ ? $spinNextStyle$$inline_1529_spinPrevStyle$$inline_1528$$.right = $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$ + "px" : $spinNextStyle$$inline_1529_spinPrevStyle$$inline_1528$$.left = $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ + "px";
      $spinNextStyle$$inline_1529_spinPrevStyle$$inline_1528$$ = $agent$$inline_1509_spinNextElem$$inline_1521$$.style;
      $spinNextStyle$$inline_1529_spinPrevStyle$$inline_1528$$.top = $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$ + "px";
      $controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$ ? $spinNextStyle$$inline_1529_spinPrevStyle$$inline_1528$$.left = $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ + "px" : $spinNextStyle$$inline_1529_spinPrevStyle$$inline_1528$$.right = $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$ + "px";
      $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$ = $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.style;
      $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.top = $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$ + "px";
      $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ = $id$$inline_1507_itemTextDivOffsetHeight$$inline_1526_size$$inline_1524$$ - $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ - $itemTextPaddingBottom$$inline_1519$$;
      $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.height = $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ + "px";
      $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.lineHeight = $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ + "px";
      $controlArea$$inline_1508_isRtl$$inline_1527_spinInfoDiv$$inline_1525$$ ? ($itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.right = $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$ + $itemTextComputedStyle$$inline_1517_spinPrevElem$$inline_1520$$.offsetWidth + "px", $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.left = $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ + $agent$$inline_1509_spinNextElem$$inline_1521$$.offsetWidth + 
      "px") : ($itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.left = $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ + $itemTextComputedStyle$$inline_1517_spinPrevElem$$inline_1520$$.offsetWidth + "px", $itemTextDiv$$inline_1516_itemTextStyle$$inline_1530$$.right = $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$ + $agent$$inline_1509_spinNextElem$$inline_1521$$.offsetWidth + "px");
      $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.top = "auto";
      $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.height = $currentInset$$inline_1523$$ + "px";
      $currentInset$$inline_1523$$ = $currentInset$$inline_1523$$ + $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$ + $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$;
      $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_isVertical$ ? ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = 0, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_heightOfBoxUnderCurrentItem$ = $currentInset$$inline_1523$$) : ($component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.bottom = $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$ + "px", $currentInset$$inline_1523$$ += $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$, 
      $dataBody$$inline_1522_domElement$$93$$.style.bottom = $currentInset$$inline_1523$$ + "px", $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = $currentInset$$inline_1523$$);
    } else {
      "none" == $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_controlArea$ ? ($component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$ = $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.$getClientId$(), $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$), 
      $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ = $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.offsetHeight, $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$ = $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_getDataBody$($dataBody$$inline_1522_domElement$$93$$), $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_isVertical$ ? ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = 
      !0, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = 0, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_heightOfBoxUnderCurrentItem$ = $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$) : ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = !0, $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.left = "0px", $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.right = 
      "0px", $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.bottom = "10px", $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ += 10, $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$.style.bottom = $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ + "px", $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = 
      $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$)) : ($controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$ = $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.$getClientId$(), $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$), 
      $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$ = $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_getDataBody$($dataBody$$inline_1522_domElement$$93$$), $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$ = $JSCompiler_StaticMethods__getSpinInfoDiv$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$), $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$ = 
      $JSCompiler_StaticMethods__getSpinControlDiv$$($JSCompiler_StaticMethods__setupInitialPositions$self$$, $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$), $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ = 0, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_isVertical$ ? ($controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$.style.width = "auto", $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ = 
      15 * $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$.offsetWidth, 0 != $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ && ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = !0), $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$.style.width = $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ + "px", $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ += 
      $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ + 4, $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$.style.left = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ + "px" : $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$.style.right = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ + 
      "px", $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ = $AdfDomUtils$$.$getFirstChildElement$($controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$).offsetWidth, $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$.style.width = $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ + "px", $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ += 
      $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$, $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$.style.left = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ + "px" : $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$.style.right = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ + 
      "px", $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$, $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_heightOfBoxUnderCurrentItem$ = $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.offsetHeight) : ($controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$.style.height = 
      "auto", $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ = $controlPaddingRight$$inline_1513_dataBody$$inline_1538_spinInfoDiv$$inline_1545$$.offsetHeight, 0 != $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ && ($JSCompiler_StaticMethods__setupInitialPositions$self$$.$_initiallyPositioned$ = !0), $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ += $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$, 
      $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$.style.bottom = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ + "px", $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ = $AdfDomUtils$$.$getFirstChildElement$($controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$).offsetHeight, $controlPaddingTop$$inline_1514_id$$inline_1542_spinControlDiv$$inline_1546$$.style.height = 
      $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ + "px", $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ += $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$, $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.left = "0px", $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.right = 
      "0px", $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.style.bottom = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ + "px", $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$ = $component$$767_controlAreaDiv$$inline_1510_id$$inline_1535_itemTextDiv$$inline_1536_itemTextDiv$$inline_1543$$.offsetHeight, $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ += 
      $itemTextPaddingTop$$inline_1518_size$$inline_1548_textHeight$$inline_1531$$, $controlPaddingLeft$$inline_1512_dataBody$$inline_1544_itemTextSize$$inline_1537$$.style.bottom = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$ + "px", $JSCompiler_StaticMethods__setupInitialPositions$self$$.$_nonDataBodySize$ = $controlAreaComputedStyle$$inline_1511_controlPaddingBottom$$inline_1515_currentInset$$inline_1547$$));
    }
  }
}
$AdfDhtmlCarouselPeer$$.prototype.$TruncateClientId$ = function $$AdfDhtmlCarouselPeer$$$$$TruncateClientId$$($carouselIdClientId_component$$768_iteratorIndex$$, $descendantComponent$$3_ids$$7_iteratorId$$, $childClientId$$10$$, $skipArray$$4$$) {
  $descendantComponent$$3_ids$$7_iteratorId$$ = $childClientId$$10$$.split(":");
  $carouselIdClientId_component$$768_iteratorIndex$$ = $carouselIdClientId_component$$768_iteratorIndex$$.$getClientId$();
  $carouselIdClientId_component$$768_iteratorIndex$$ = $AdfStrings$$.count($carouselIdClientId_component$$768_iteratorIndex$$, ":") + 1;
  ($descendantComponent$$3_ids$$7_iteratorId$$ = $descendantComponent$$3_ids$$7_iteratorId$$[$carouselIdClientId_component$$768_iteratorIndex$$]) && (isNaN($descendantComponent$$3_ids$$7_iteratorId$$) || $skipArray$$4$$.push($carouselIdClientId_component$$768_iteratorIndex$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.TruncateClientId", {$TruncateClientId$:$AdfDhtmlCarouselPeer$$.prototype.$TruncateClientId$});
$AdfDhtmlCarouselPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlCarouselPeer$$$$$ComponentRemoved$$($component$$769$$) {
  this.$_touchMoveManager$ && this.$_touchMoveManager$.unregister();
  this.$_stopAnimation$(!0);
  $JSCompiler_StaticMethods__removePlaceholders$$(this);
  $AdfDhtmlCarouselPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$769$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlCarouselPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlCarouselPeer$$.prototype.$needsChildVisibilityChanges$ = function $$AdfDhtmlCarouselPeer$$$$$needsChildVisibilityChanges$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.needsChildVisibilityChanges", {$needsChildVisibilityChanges$:$AdfDhtmlCarouselPeer$$.prototype.$needsChildVisibilityChanges$});
$AdfDhtmlCarouselPeer$$.prototype.$ChildVisibilityChanged$ = function $$AdfDhtmlCarouselPeer$$$$$ChildVisibilityChanged$$() {
  $AdfPage$$.$PAGE$.$addPartialTargets$(this.$getComponent$());
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ChildVisibilityChanged", {$ChildVisibilityChanged$:$AdfDhtmlCarouselPeer$$.prototype.$ChildVisibilityChanged$});
$AdfDhtmlCarouselPeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlCarouselPeer$$$$$needsResizeNotify$$() {
  return !this.$_NO_JS$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlCarouselPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlCarouselPeer$$.prototype.$_allRowsAvailableOnClient$ = function $$AdfDhtmlCarouselPeer$$$$$_allRowsAvailableOnClient$$($block$$) {
  var $blockRowCount$$ = $block$$.$startRow$ + $block$$.$numRows$, $rowCount$$1$$ = this.$_rowCount$;
  return 0 < $rowCount$$1$$ && 0 == $block$$.$startRow$ && $blockRowCount$$ == $rowCount$$1$$;
};
$AdfDhtmlCarouselPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlCarouselPeer$$$$$ResizeNotify$$($dataBody$$5_oldWidth$$6_statusText$$, $i$$253_oldHeight$$9$$, $newWidth$$11_nodes$$10$$, $block$$1_newHeight$$12$$) {
  if (this.$_virtInitialized$) {
    $dataBody$$5_oldWidth$$6_statusText$$ = this.$_getDataBody$(), $JSCompiler_StaticMethods__sizeDataBody$$(this, $dataBody$$5_oldWidth$$6_statusText$$, $newWidth$$11_nodes$$10$$, $block$$1_newHeight$$12$$), this.$_fillViewPort$($dataBody$$5_oldWidth$$6_statusText$$, !1);
  } else {
    if (this.$_isImmediateContentDelivery$(this.$getComponent$())) {
      $dataBody$$5_oldWidth$$6_statusText$$ = this.$_getDataBody$();
      this.$_unavailableRowIndex$ = this.$_getUnavailableRowIndex$($dataBody$$5_oldWidth$$6_statusText$$);
      $newWidth$$11_nodes$$10$$ = $dataBody$$5_oldWidth$$6_statusText$$.childNodes;
      $block$$1_newHeight$$12$$ = null;
      for ($i$$253_oldHeight$$9$$ = $newWidth$$11_nodes$$10$$.length - 1;0 <= $i$$253_oldHeight$$9$$;$i$$253_oldHeight$$9$$--) {
        var $node$$68$$ = $newWidth$$11_nodes$$10$$[$i$$253_oldHeight$$9$$];
        if ("DIV" == $node$$68$$.tagName && null != $node$$68$$.getAttribute("_startRow")) {
          $block$$1_newHeight$$12$$ = $newWidth$$11_nodes$$10$$[$i$$253_oldHeight$$9$$];
          break;
        }
      }
      null != $block$$1_newHeight$$12$$ && 0 < $block$$1_newHeight$$12$$.childNodes.length ? this.$_initVirtualization$($block$$1_newHeight$$12$$, !0) : ($JSCompiler_StaticMethods__addEmptyTextToDataBody$$(this, $dataBody$$5_oldWidth$$6_statusText$$, $dataBody$$5_oldWidth$$6_statusText$$), this.$_isEmpty$ = !0);
    } else {
      this.$_firstBlockRequested$ || (this.$_firstBlockRequested$ = !0, this.$_queueFetchEvent$(!0, $AdfCarouselDataFetchEvent$$.$INITIAL_SUBTYPE$, -1), $AdfDhtmlCarouselPeer$$.$_setCursor$(this.$_getDataBody$(), "wait"), $dataBody$$5_oldWidth$$6_statusText$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_carousel.LABEL_FETCHING"), this.$_displayStatus$($dataBody$$5_oldWidth$$6_statusText$$));
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlCarouselPeer$$.prototype.$ResizeNotify$});
$AdfDhtmlCarouselPeer$$.prototype.$ReplaceDomElement$ = function $$AdfDhtmlCarouselPeer$$$$$ReplaceDomElement$$($newElement$$11$$, $oldElement$$2$$) {
  var $currentItemKey$$inline_1552_id$$266$$ = $newElement$$11$$.id;
  if (0 < $currentItemKey$$inline_1552_id$$266$$.indexOf($AdfDhtmlCarouselPeer$$.$DW_SUB_ID$)) {
    var $agent$$209$$ = $AdfAgent$$.$AGENT$, $dataBody$$6$$ = this.$_getDataBody$(), $block$$2$$ = $AdfDhtmlCarouselPeer$$.$_findFirstChildByTagName$($newElement$$11$$, "DIV");
    this.$_unavailableRowIndex$ = this.$_getUnavailableRowIndex$($newElement$$11$$);
    var $empty$$1$$ = !1;
    if (this.$_virtInitialized$) {
      null == $block$$2$$ && ($empty$$1$$ = !0);
      for (var $fetchId_pendingRenderOnly$$ = $agent$$209$$.$getIntAttribute$($newElement$$11$$, "_fetchId", -1), $pendingFetch$$ = this.$_pendingFetch$, $fetchIndex_oldChild$$2$$ = $oldElement$$2$$.firstChild;$fetchIndex_oldChild$$2$$;) {
        this.$_unregisterNode$($fetchIndex_oldChild$$2$$), $oldElement$$2$$.removeChild($fetchIndex_oldChild$$2$$), $fetchIndex_oldChild$$2$$ = $oldElement$$2$$.firstChild;
      }
      if (void 0 != $pendingFetch$$ && this.$_pendingId$ == $fetchId_pendingRenderOnly$$) {
        $fetchId_pendingRenderOnly$$ = this.$_pendingRenderOnly$;
        $fetchIndex_oldChild$$2$$ = this.$_fetchIndex$;
        this.$_cancelPendingFetch$();
        if ($agent$$209$$.$getBooleanAttribute$($newElement$$11$$, $AdfDhtmlCarouselPeer$$.$_NEEDS_REFRESH_ATTRIBUTE$, !1)) {
          $AdfPage$$.$PAGE$.$addPartialTargets$(this.$getComponent$());
          return;
        }
        if ($agent$$209$$.$getBooleanAttribute$($newElement$$11$$, $AdfDhtmlCarouselPeer$$.$_UNDO_FETCH_ATTRIBUTE$, !1)) {
          if ($pendingFetch$$ == $AdfCarouselDataFetchEvent$$.$AT_INDEX_SUBTYPE$ || $pendingFetch$$ == $AdfCarouselDataFetchEvent$$.$AFTER_KEY_SUBTYPE$ || $pendingFetch$$ == $AdfCarouselDataFetchEvent$$.$BEFORE_KEY_SUBTYPE$) {
            if ($currentItemKey$$inline_1552_id$$266$$ = $newElement$$11$$.getAttribute("_currentItemKey")) {
              this.$_currentItemKey$ = $currentItemKey$$inline_1552_id$$266$$, this.$getComponent$().setCurrentItemKey($currentItemKey$$inline_1552_id$$266$$), $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this);
            }
          }
          $AdfDhtmlCarouselPeer$$.$_setCursor$($dataBody$$6$$, "");
          this.$_hideStatus$();
          return;
        }
        $newElement$$11$$.removeChild($block$$2$$);
        this.$_pruneKeyCache$ || (this.$_pruneKeyCache$ = $agent$$209$$.getAttribute($block$$2$$, "_pruneKeyCache", null));
        this.$_handleDataCallback$($block$$2$$, $pendingFetch$$, $fetchIndex_oldChild$$2$$, $fetchId_pendingRenderOnly$$);
        this.$_fillViewPort$($dataBody$$6$$, !1, !$fetchId_pendingRenderOnly$$);
      } else {
        $JSCompiler_StaticMethods__addInvalidDataBlock$$(this, $oldElement$$2$$, $block$$2$$, $dataBody$$6$$);
      }
    } else {
      this.$_cancelPendingFetch$(), $block$$2$$ && $block$$2$$.firstChild ? (this.$_initVirtualization$($block$$2$$, !1), $agent$$209$$.$elementsAdded$($block$$2$$)) : $empty$$1$$ = !0;
    }
    $empty$$1$$ && (this.$_virtInitialized$ ? $AdfLogger$$.$LOGGER$.severe("Empty data block received:" + $currentItemKey$$inline_1552_id$$266$$) : $JSCompiler_StaticMethods__addEmptyTextToDataBody$$(this, $dataBody$$6$$, $newElement$$11$$));
  } else {
    $AdfDhtmlCarouselPeer$$.$superclass$.$ReplaceDomElement$.call(this, $newElement$$11$$, $oldElement$$2$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ReplaceDomElement", {$ReplaceDomElement$:$AdfDhtmlCarouselPeer$$.prototype.$ReplaceDomElement$});
$AdfDhtmlCarouselPeer$$.prototype.$DomReplaceNotify$ = function $$AdfDhtmlCarouselPeer$$$$$DomReplaceNotify$$($domNode$$26$$) {
  return 0 < $domNode$$26$$.id.indexOf($AdfDhtmlCarouselPeer$$.$DW_SUB_ID$) ? null : $domNode$$26$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.DomReplaceNotify", {$DomReplaceNotify$:$AdfDhtmlCarouselPeer$$.prototype.$DomReplaceNotify$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_getUnavailableRowIndex$ = function $$JSCompiler_prototypeAlias$$$$_getUnavailableRowIndex$$($elem$$19$$) {
  var $rowIndex$$2$$ = -1, $agent$$210$$ = $AdfAgent$$.$AGENT$, $unavailableRowDiv$$ = $AdfDhtmlCarouselPeer$$.$_getChildBySubId$($elem$$19$$, "unAvail");
  $unavailableRowDiv$$ && ($rowIndex$$2$$ = $agent$$210$$.$getIntAttribute$($unavailableRowDiv$$, "_unavailableRowIndex", -1), $elem$$19$$.removeChild($unavailableRowDiv$$));
  return $rowIndex$$2$$;
};
function $JSCompiler_StaticMethods__addEmptyTextToDataBody$$($JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$, $dataBody$$7$$, $id$$267_newElement$$12_rootElement$$28$$) {
  if ("oneByOne" == $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_displayItems$) {
    var $dataBodyStyle_newChildCount$$ = $dataBody$$7$$.style;
    $dataBodyStyle_newChildCount$$.top = "0px";
    $dataBodyStyle_newChildCount$$.bottom = "0px";
    $dataBodyStyle_newChildCount$$.left = "0px";
    $dataBodyStyle_newChildCount$$.right = "0px";
  }
  var $dataBodyStyle_newChildCount$$ = $id$$267_newElement$$12_rootElement$$28$$.childNodes.length, $div$$5_doc$$38$$ = $dataBody$$7$$.ownerDocument, $i$$254_outerDiv$$5$$ = $div$$5_doc$$38$$.createElement("div");
  $dataBody$$7$$.appendChild($i$$254_outerDiv$$5$$);
  var $fetchedChild_style$$16$$ = $i$$254_outerDiv$$5$$.style;
  $fetchedChild_style$$16$$.position = "absolute";
  $fetchedChild_style$$16$$.verticalAlign = "middle";
  $fetchedChild_style$$16$$.textAlign = "center";
  $fetchedChild_style$$16$$.left = $fetchedChild_style$$16$$.right = "0px";
  $fetchedChild_style$$16$$.top = "50%";
  $div$$5_doc$$38$$ = $div$$5_doc$$38$$.createElement("div");
  $i$$254_outerDiv$$5$$.appendChild($div$$5_doc$$38$$);
  $fetchedChild_style$$16$$ = $div$$5_doc$$38$$.style;
  $fetchedChild_style$$16$$.position = "relative";
  $AdfAgent$$.$getAgent$().$getPlatform$() != $AdfAgent$$.$WEBKIT_PLATFORM$ && ($fetchedChild_style$$16$$.top = "-50%");
  for ($i$$254_outerDiv$$5$$ = 0;$i$$254_outerDiv$$5$$ < $dataBodyStyle_newChildCount$$;$i$$254_outerDiv$$5$$++) {
    $fetchedChild_style$$16$$ = $id$$267_newElement$$12_rootElement$$28$$.firstChild, $id$$267_newElement$$12_rootElement$$28$$.removeChild($fetchedChild_style$$16$$), 1 == $fetchedChild_style$$16$$.nodeType && null != $fetchedChild_style$$16$$.getAttribute("_startRow") || $div$$5_doc$$38$$.appendChild($fetchedChild_style$$16$$);
  }
  $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_hideStatus$();
  $id$$267_newElement$$12_rootElement$$28$$ = $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$getComponent$().$getClientId$();
  $JSCompiler_StaticMethods__getItemTextDiv$$($id$$267_newElement$$12_rootElement$$28$$).style.display = "none";
  "small" == $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_controlArea$ ? ($id$$267_newElement$$12_rootElement$$28$$ = $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$getDomElement$(), $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$, $id$$267_newElement$$12_rootElement$$28$$).style.display = "none") : "none" != $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_controlArea$ && 
  "oneByOne" == $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_displayItems$ && ($JSCompiler_StaticMethods__getSpinControlDiv$$($JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$, $id$$267_newElement$$12_rootElement$$28$$).style.display = "none");
  $JSCompiler_StaticMethods__addEmptyTextToDataBody$self$$.$_isEmpty$ = !0;
  $AdfDhtmlCarouselPeer$$.$_setCursor$($dataBody$$7$$, "");
}
function $JSCompiler_StaticMethods__addInvalidDataBlock$$($JSCompiler_StaticMethods__addInvalidDataBlock$self$$, $oldElement$$3$$, $newBlock$$, $existingDataBody_oldBlockStart$$) {
  var $agent$$212$$ = $AdfAgent$$.$AGENT$, $existingBlock_oldBlockEnd$$ = $existingDataBody_oldBlockStart$$.firstChild;
  $existingDataBody_oldBlockStart$$ = $existingBlock_oldBlockEnd$$.$startRow$;
  var $existingBlock_oldBlockEnd$$ = $existingDataBody_oldBlockStart$$ + $JSCompiler_StaticMethods__getNumberOfRows$$($existingBlock_oldBlockEnd$$), $newBlockStart$$ = $agent$$212$$.$getIntAttribute$($newBlock$$, "_startRow", 0), $newBlockEnd$$ = $newBlockStart$$ + $newBlock$$.childNodes.length, $countB_perfectMatch$$ = $existingDataBody_oldBlockStart$$ == $newBlockStart$$ && $existingBlock_oldBlockEnd$$ == $newBlockEnd$$;
  if ($countB_perfectMatch$$ || $newBlockStart$$ >= $existingDataBody_oldBlockStart$$ && $newBlockStart$$ < $existingBlock_oldBlockEnd$$) {
    for (var $countA_j$$27$$ = $existingBlock_oldBlockEnd$$ - $newBlockStart$$, $i$$255_lastChildNode$$ = 0;$i$$255_lastChildNode$$ < $countA_j$$27$$;$i$$255_lastChildNode$$++) {
      var $firstChildNode$$ = $newBlock$$.firstChild;
      $JSCompiler_StaticMethods__updateFetchIntersectionItem$$($JSCompiler_StaticMethods__addInvalidDataBlock$self$$, $firstChildNode$$, $i$$255_lastChildNode$$, $countA_j$$27$$, $existingDataBody_oldBlockStart$$, $existingBlock_oldBlockEnd$$, $newBlockStart$$, $newBlockEnd$$);
      $newBlock$$.removeChild($firstChildNode$$);
    }
    if ($countB_perfectMatch$$) {
      return;
    }
  } else {
    if ($newBlockEnd$$ >= $existingDataBody_oldBlockStart$$ && $newBlockEnd$$ < $existingBlock_oldBlockEnd$$) {
      for ($countB_perfectMatch$$ = $newBlockEnd$$ - $existingDataBody_oldBlockStart$$, $countA_j$$27$$ = 0;$countA_j$$27$$ < $countB_perfectMatch$$;$countA_j$$27$$++) {
        $i$$255_lastChildNode$$ = $newBlock$$.lastChild, $JSCompiler_StaticMethods__updateFetchIntersectionItem$$($JSCompiler_StaticMethods__addInvalidDataBlock$self$$, $i$$255_lastChildNode$$, $countA_j$$27$$, $countB_perfectMatch$$, $existingDataBody_oldBlockStart$$, $existingBlock_oldBlockEnd$$, $newBlockStart$$, $newBlockEnd$$), $newBlock$$.removeChild($i$$255_lastChildNode$$);
      }
    }
  }
  $oldElement$$3$$.appendChild($newBlock$$);
  $agent$$212$$.$elementsAdded$($newBlock$$);
}
function $JSCompiler_StaticMethods__updateFetchIntersectionItem$$($JSCompiler_StaticMethods__updateFetchIntersectionItem$self$$, $existingElement_existingPeer_itemWrapper$$, $existingComponent_iteration$$, $count$$18$$, $oldBlockStart$$1$$, $oldBlockEnd$$1$$, $newBlockStart$$1$$, $newBlockEnd$$1$$) {
  var $newCarouselItemElement$$ = $AdfDomUtils$$.$getFirstChildElement$($existingElement_existingPeer_itemWrapper$$), $carouselItemId$$ = $newCarouselItemElement$$.id, $logger$$12$$ = $AdfLogger$$.$LOGGER$;
  $logger$$12$$.$isLoggable$($AdfLogger$$.FINE) && $logger$$12$$.fine("_addInvalidDataBlock: carousel fetch intersection item (" + $existingComponent_iteration$$ + ":" + $count$$18$$ + " " + $oldBlockStart$$1$$ + "-" + $oldBlockEnd$$1$$ + " " + $newBlockStart$$1$$ + "-" + $newBlockEnd$$1$$ + "): " + $carouselItemId$$);
  $existingComponent_iteration$$ = $AdfPage$$.$PAGE$.$findComponent$($carouselItemId$$);
  $AdfAssert$$.assert(null != $existingComponent_iteration$$, "An existing intersection component could not be found to match the intersection node: " + $carouselItemId$$ + " of " + $existingElement_existingPeer_itemWrapper$$.innerHTML);
  $existingComponent_iteration$$ && ($existingElement_existingPeer_itemWrapper$$ = $existingComponent_iteration$$.$getPeer$(), $existingElement_existingPeer_itemWrapper$$.bind($existingComponent_iteration$$), $existingElement_existingPeer_itemWrapper$$ = $existingElement_existingPeer_itemWrapper$$.$getDomElement$(), $JSCompiler_StaticMethods__updateFetchIntersectionItem$self$$.$_unregisterNode$($existingElement_existingPeer_itemWrapper$$), $existingElement_existingPeer_itemWrapper$$.parentNode.replaceChild($newCarouselItemElement$$, 
  $existingElement_existingPeer_itemWrapper$$), $AdfAgent$$.$AGENT$.$elementsAdded$($newCarouselItemElement$$));
}
function $JSCompiler_StaticMethods__getFirstNonPlaceholder$$($blockOfRows_childNodes$$10$$) {
  $blockOfRows_childNodes$$10$$ = $blockOfRows_childNodes$$10$$.childNodes;
  for (var $i$$256$$ = 0;$i$$256$$ < $blockOfRows_childNodes$$10$$.length;$i$$256$$++) {
    var $child$$15$$ = $blockOfRows_childNodes$$10$$[$i$$256$$];
    if (!$AdfDhtmlCarouselPeer$$.$_isPlaceholder$($child$$15$$)) {
      return $child$$15$$;
    }
  }
  return null;
}
function $JSCompiler_StaticMethods__getLastNonPlaceholder$$($blockOfRows$$1_childNodes$$11$$) {
  $blockOfRows$$1_childNodes$$11$$ = $blockOfRows$$1_childNodes$$11$$.childNodes;
  for (var $i$$257$$ = $blockOfRows$$1_childNodes$$11$$.length - 1;0 <= $i$$257$$;$i$$257$$--) {
    var $child$$16$$ = $blockOfRows$$1_childNodes$$11$$[$i$$257$$];
    if (!$AdfDhtmlCarouselPeer$$.$_isPlaceholder$($child$$16$$)) {
      return $child$$16$$;
    }
  }
  return null;
}
function $JSCompiler_StaticMethods__getNumberOfRows$$($blockOfRows$$2_childNodes$$12$$) {
  var $numRows$$2$$ = 0;
  $blockOfRows$$2_childNodes$$12$$ = $blockOfRows$$2_childNodes$$12$$.childNodes;
  for (var $i$$258$$ = 0;$i$$258$$ < $blockOfRows$$2_childNodes$$12$$.length;$i$$258$$++) {
    $AdfDhtmlCarouselPeer$$.$_isPlaceholder$($blockOfRows$$2_childNodes$$12$$[$i$$258$$]) || ++$numRows$$2$$;
  }
  return $numRows$$2$$;
}
function $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($blockOfRows$$3_childNodes$$13$$) {
  var $numLeadingPlaceholders$$ = 0;
  $blockOfRows$$3_childNodes$$13$$ = $blockOfRows$$3_childNodes$$13$$.childNodes;
  for (var $i$$259$$ = 0;$i$$259$$ < $blockOfRows$$3_childNodes$$13$$.length && $AdfDhtmlCarouselPeer$$.$_isPlaceholder$($blockOfRows$$3_childNodes$$13$$[$i$$259$$]);$i$$259$$++) {
    ++$numLeadingPlaceholders$$;
  }
  return $numLeadingPlaceholders$$;
}
$JSCompiler_prototypeAlias$$.$_initVirtualization$ = function $$JSCompiler_prototypeAlias$$$$_initVirtualization$$($firstBlock$$, $alreadyInserted$$) {
  this.$_hideStatus$();
  this.$_virtInitialized$ = !0;
  var $agent$$213$$ = $AdfAgent$$.$AGENT$, $rootElement$$29_startRow$$ = $agent$$213$$.$getIntAttribute$($firstBlock$$, "_startRow", 0), $id$$268_numRows$$3_spinNextElem$$1$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($firstBlock$$), $cap$$4_component$$773_spinPrevElem$$1$$ = this.$getComponent$();
  $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($cap$$4_component$$773_spinPrevElem$$1$$, $rootElement$$29_startRow$$, $id$$268_numRows$$3_spinNextElem$$1$$);
  var $dataBody$$8$$ = this.$_getDataBody$(), $currentItemKey_rowCount$$2$$ = $agent$$213$$.$getIntAttribute$($firstBlock$$, "_rowCount", -1);
  0 == this.$_unavailableRowIndex$ ? $currentItemKey_rowCount$$2$$ = -1 : 0 < this.$_unavailableRowIndex$ && ($currentItemKey_rowCount$$2$$ = this.$_unavailableRowIndex$);
  this.$_rowCount$ = $currentItemKey_rowCount$$2$$;
  this.$_knownRowCount$ = -1 == $currentItemKey_rowCount$$2$$ ? $rootElement$$29_startRow$$ + $id$$268_numRows$$3_spinNextElem$$1$$ : $currentItemKey_rowCount$$2$$;
  if ($currentItemKey_rowCount$$2$$ = $firstBlock$$.getAttribute("_currentItemKey")) {
    $cap$$4_component$$773_spinPrevElem$$1$$.setProperty("currentItemKey", $currentItemKey_rowCount$$2$$, !1, $AdfUIComponent$$.$PROPAGATE_NEVER$), this.$_currentItemKey$ = $currentItemKey_rowCount$$2$$;
  }
  var $container$$18_outerHeight$$4$$ = this.$getDomElement$(), $outerWidth$$3$$ = $container$$18_outerHeight$$4$$.clientWidth, $container$$18_outerHeight$$4$$ = $container$$18_outerHeight$$4$$.clientHeight;
  if (!$alreadyInserted$$) {
    for (var $children$$17$$ = $dataBody$$8$$.childNodes, $c$$11$$ = $children$$17$$.length - 1;0 <= $c$$11$$;$c$$11$$--) {
      $dataBody$$8$$.removeChild($children$$17$$[$c$$11$$]);
    }
    $dataBody$$8$$.appendChild($firstBlock$$);
  }
  $firstBlock$$.$startRow$ = $rootElement$$29_startRow$$;
  $firstBlock$$.$numRows$ = $id$$268_numRows$$3_spinNextElem$$1$$;
  $cap$$4_component$$773_spinPrevElem$$1$$.getDisabled() || ($rootElement$$29_startRow$$ = this.$getDomElement$(), $rootElement$$29_startRow$$.onmousewheel = $AdfDhtmlCarouselPeer$$.$_handleMouseWheel$, $agent$$213$$.$getPlatform$() != $AdfAgent$$.$IE_PLATFORM$ && $rootElement$$29_startRow$$.addEventListener("DOMMouseScroll", $AdfDhtmlCarouselPeer$$.$_handleMouseWheel$, !0), "none" != this.$_controlArea$ && ($id$$268_numRows$$3_spinNextElem$$1$$ = $cap$$4_component$$773_spinPrevElem$$1$$.$getClientId$(), 
  $cap$$4_component$$773_spinPrevElem$$1$$ = $agent$$213$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$268_numRows$$3_spinNextElem$$1$$, "sp")), $id$$268_numRows$$3_spinNextElem$$1$$ = $agent$$213$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$268_numRows$$3_spinNextElem$$1$$, "sn")), $agent$$213$$.$addBubbleEventListener$($cap$$4_component$$773_spinPrevElem$$1$$, "click", $AdfDhtmlCarouselPeer$$.$_handlePreviousClick$), $agent$$213$$.$addBubbleEventListener$($id$$268_numRows$$3_spinNextElem$$1$$, 
  "click", $AdfDhtmlCarouselPeer$$.$_handleNextClick$)), ($cap$$4_component$$773_spinPrevElem$$1$$ = $agent$$213$$.$getCapabilities$()[$AdfAgent$$.$CAP_TOUCH_SCREEN$]) && $cap$$4_component$$773_spinPrevElem$$1$$ != $AdfAgent$$.$CAP_TOUCH_SCREEN_NONE$ && (this.$_touchMoveManager$ = $agent$$213$$.$createTouchMoveManager$($rootElement$$29_startRow$$, this.$createCallback$(this.$_handleTouchMovement$), 1), "hover" == this.$_POP_OUT$ && this.$_touchMoveManager$.$setLongTouchEventCallback$(this.$createCallback$(this.$_handleLongTouchEvent$))));
  $dataBody$$8$$.onselectstart = this.$createCallback$(this.$_handleDataBodySelectStart$);
  $JSCompiler_StaticMethods__sizeDataBody$$(this, $dataBody$$8$$, $outerWidth$$3$$, $container$$18_outerHeight$$4$$);
  $dataBody$$8$$.style.zIndex = 1;
  this.$_fillViewPort$($dataBody$$8$$, !1);
  $currentItemKey_rowCount$$2$$ && $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$$(this, $currentItemKey_rowCount$$2$$);
};
$JSCompiler_prototypeAlias$$.$_handleLongTouchEvent$ = function $$JSCompiler_prototypeAlias$$$$_handleLongTouchEvent$$($event$$165$$) {
  $event$$165$$ && $event$$165$$.target ? $JSCompiler_StaticMethods__updateHoverState$$(this, $event$$165$$.target) : $JSCompiler_StaticMethods__cleanUpHoverState$$(this);
};
$JSCompiler_prototypeAlias$$.$_handleTouchMovement$ = function $$JSCompiler_prototypeAlias$$$$_handleTouchMovement$$($deltaX$$9$$, $deltaY$$12$$) {
  var $scrollAmount$$ = $deltaX$$9$$;
  this.$_isVertical$ && ($scrollAmount$$ = $deltaY$$12$$);
  0 != $scrollAmount$$ && $JSCompiler_StaticMethods__scrollByAmount$$(this, -$scrollAmount$$, !0);
};
$JSCompiler_prototypeAlias$$.$HandleDomMouseMove$ = function $$JSCompiler_prototypeAlias$$$$HandleDomMouseMove$$($component$$774$$, $domEvent$$13$$) {
  if ("hover" == this.$_POP_OUT$ && "oneByOne" != this.$_displayItems$ && this.$_virtInitialized$ && !this.$_duringThumbDrag$ && !this.$_duringDataBodyDrag$) {
    var $target$$114$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($domEvent$$13$$);
    $JSCompiler_StaticMethods__updateHoverState$$(this, $target$$114$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleDomMouseMove", {$HandleDomMouseMove$:$AdfDhtmlCarouselPeer$$.prototype.$HandleDomMouseMove$});
function $JSCompiler_StaticMethods__updateHoverState$$($JSCompiler_StaticMethods__updateHoverState$self$$, $target$$115$$) {
  if ($target$$115$$ && !$JSCompiler_StaticMethods__updateHoverState$self$$.$_isEmpty$) {
    var $attrs$$2_row$$16$$ = $JSCompiler_StaticMethods__getRowKeyAndRow$$($target$$115$$, $JSCompiler_StaticMethods__updateHoverState$self$$.$getDomElement$());
    if (null != $attrs$$2_row$$16$$) {
      var $rowKey$$17$$ = $attrs$$2_row$$16$$[0], $attrs$$2_row$$16$$ = $attrs$$2_row$$16$$[1];
      if (null != $rowKey$$17$$) {
        if ($JSCompiler_StaticMethods__updateHoverState$self$$.$_currentItemKey$ != $rowKey$$17$$ && null != $rowKey$$17$$) {
          var $rowData$$ = $JSCompiler_StaticMethods__updateHoverState$self$$.$_findRowByKey$($JSCompiler_StaticMethods__updateHoverState$self$$.$_currentItemKey$, !0);
          $rowData$$ ? $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__updateHoverState$self$$, $rowData$$.$row$, null, !1, {$hoverKey$:$rowKey$$17$$, $hoverWrapper$:$attrs$$2_row$$16$$}) : $AdfLogger$$.$LOGGER$.severe('During _updateHoverState, a null rowData was found for "' + $JSCompiler_StaticMethods__updateHoverState$self$$.$_currentItemKey$ + '".');
        } else {
          $JSCompiler_StaticMethods__cleanUpHoverState$$($JSCompiler_StaticMethods__updateHoverState$self$$);
        }
      }
    }
  }
}
function $JSCompiler_StaticMethods__cleanUpHoverState$$($JSCompiler_StaticMethods__cleanUpHoverState$self$$) {
  if (null != $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_lastHoverKey$) {
    var $animateRequired_rowData$$1$$ = !0;
    $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_currentItemKey$ == $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_lastHoverKey$ && ($animateRequired_rowData$$1$$ = !1);
    $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_lastHoverKey$ = null;
    $animateRequired_rowData$$1$$ && (($animateRequired_rowData$$1$$ = $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_findRowByKey$($JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_currentItemKey$, !0)) ? $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__cleanUpHoverState$self$$, $animateRequired_rowData$$1$$.$row$, null, !1, {$hoverKey$:null, $hoverWrapper$:null}) : $AdfLogger$$.$LOGGER$.severe('During _cleanUpHoverState, a null rowData was found for "' + 
    $JSCompiler_StaticMethods__cleanUpHoverState$self$$.$_currentItemKey$ + '".'));
  }
}
$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseOut$ = function $$AdfDhtmlCarouselPeer$$$$$HandleComponentMouseOut$$($agent$$215_componentEvent$$129_spinNextElem$$2$$) {
  if (this.$_virtInitialized$ && this.$_isOwnComponentEvent$($agent$$215_componentEvent$$129_spinNextElem$$2$$)) {
    if (this.$_incrementMouseHoldMode$) {
      var $domEvent$$14_target$$116$$ = $agent$$215_componentEvent$$129_spinNextElem$$2$$.$getNativeEvent$();
      $agent$$215_componentEvent$$129_spinNextElem$$2$$ = $AdfAgent$$.$AGENT$;
      var $domEvent$$14_target$$116$$ = $agent$$215_componentEvent$$129_spinNextElem$$2$$.$getEventTarget$($domEvent$$14_target$$116$$), $id$$269$$ = this.$getComponent$().$getClientId$(), $spinPrevElem$$2$$ = $agent$$215_componentEvent$$129_spinNextElem$$2$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$269$$, "sp"));
      $agent$$215_componentEvent$$129_spinNextElem$$2$$ = $agent$$215_componentEvent$$129_spinNextElem$$2$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$269$$, "sn"));
      if ($domEvent$$14_target$$116$$.id == $spinPrevElem$$2$$.id || $domEvent$$14_target$$116$$.id == $agent$$215_componentEvent$$129_spinNextElem$$2$$.id) {
        self.clearInterval(this.$_incrementMouseHoldTimerId$), this.$_incrementMouseHoldMode$ = this.$_incrementMouseHoldTimerId$ = null;
      }
    } else {
      $JSCompiler_StaticMethods__cleanUpHoverState$$(this);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentMouseOut", {$HandleComponentMouseOut$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseOut$});
$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseUp$ = function $$AdfDhtmlCarouselPeer$$$$$HandleComponentMouseUp$$($componentEvent$$130_domEvent$$15$$) {
  if (this.$_virtInitialized$ && this.$_isOwnComponentEvent$($componentEvent$$130_domEvent$$15$$) && this.$_incrementMouseHoldMode$) {
    $componentEvent$$130_domEvent$$15$$ = $componentEvent$$130_domEvent$$15$$.$getNativeEvent$();
    var $agent$$216$$ = $AdfAgent$$.$AGENT$, $target$$117$$ = $agent$$216$$.$getEventTarget$($componentEvent$$130_domEvent$$15$$), $id$$270_spinNextElem$$3$$ = this.$getComponent$().$getClientId$(), $spinPrevElem$$3$$ = $agent$$216$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_spinNextElem$$3$$, "sp")), $id$$270_spinNextElem$$3$$ = $agent$$216$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$270_spinNextElem$$3$$, "sn"));
    if ($target$$117$$.id == $spinPrevElem$$3$$.id || $target$$117$$.id == $id$$270_spinNextElem$$3$$.id) {
      self.clearInterval(this.$_incrementMouseHoldTimerId$), this.$_incrementMouseHoldMode$ = this.$_incrementMouseHoldTimerId$ = null, $agent$$216$$.$eatEvent$($componentEvent$$130_domEvent$$15$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentMouseUp", {$HandleComponentMouseUp$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseUp$});
$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlCarouselPeer$$$$$HandleComponentMouseDown$$($componentEvent$$131_target$$118$$) {
  if (this.$_virtInitialized$ && this.$_isOwnComponentEvent$($componentEvent$$131_target$$118$$)) {
    var $domEvent$$16_holdMode$$ = $componentEvent$$131_target$$118$$.$getNativeEvent$(), $agent$$217$$ = $AdfAgent$$.$AGENT$;
    $componentEvent$$131_target$$118$$ = $agent$$217$$.$getEventTarget$($domEvent$$16_holdMode$$);
    if ($agent$$217$$.$isLeftButton$($domEvent$$16_holdMode$$)) {
      if ($componentEvent$$131_target$$118$$ && $componentEvent$$131_target$$118$$.id) {
        var $dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$ = this.$getComponent$().$getClientId$();
        if ("none" != this.$_controlArea$) {
          if ("small" != this.$_controlArea$ && "compact" != this.$_controlArea$) {
            var $spinPrevElem$$4_spinThumbElem$$ = $agent$$217$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$, "st"));
            $componentEvent$$131_target$$118$$.id == $spinPrevElem$$4_spinThumbElem$$.id && ($agent$$217$$.$eatEvent$($domEvent$$16_holdMode$$), this.$_duringThumbDrag$ = !0, $AdfPage$$.$PAGE$.$startDrag$($domEvent$$16_holdMode$$, this.$createCallback$(this.$_handleThumbDragPositioning$), this.$createCallback$(this.$_finishThumbDrag$)));
          }
          $spinPrevElem$$4_spinThumbElem$$ = $agent$$217$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$, "sp"));
          $dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$ = $agent$$217$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$, "sn"));
          if ($componentEvent$$131_target$$118$$.id == $spinPrevElem$$4_spinThumbElem$$.id || $componentEvent$$131_target$$118$$.id == $dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$.id) {
            $domEvent$$16_holdMode$$ = "prev";
            $componentEvent$$131_target$$118$$.id == $dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$.id && ($domEvent$$16_holdMode$$ = "next");
            this.$_incrementMouseHoldMode$ = $domEvent$$16_holdMode$$;
            this.$_incrementMouseHoldTimerId$ = self.setInterval(this.$createCallback$(this.$_initMouseHoldIncrementRepeat$), 1E3);
            return;
          }
        }
      }
      $dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$ = this.$_getDataBody$();
      $AdfDomUtils$$.$isAncestorOrSelf$($dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$, $componentEvent$$131_target$$118$$) && this.$_currentItemKey$ && ($dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$ = this.$_findRowByKey$(this.$_currentItemKey$, !1), null == $dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$ || $AdfDomUtils$$.$isAncestorOrSelf$($dataBody$$9_id$$271_rowData$$2_spinNextElem$$4$$.$row$, $componentEvent$$131_target$$118$$) || ($agent$$217$$.$eatEvent$($domEvent$$16_holdMode$$), 
      this.$_duringDataBodyDrag$ = !0, $AdfPage$$.$PAGE$.$startDrag$($domEvent$$16_holdMode$$, this.$createCallback$(this.$_handleDataBodyDragPositioning$), this.$createCallback$(this.$_finishDataBodyDrag$))));
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentMouseDown$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_initMouseHoldIncrementRepeat$ = function $$JSCompiler_prototypeAlias$$$$_initMouseHoldIncrementRepeat$$() {
  self.clearInterval(this.$_incrementMouseHoldTimerId$);
  this.$_incrementMouseHoldTimerId$ = self.setInterval(this.$createCallback$(this.$_incrementCarouselPosition$), 100);
};
$JSCompiler_prototypeAlias$$.$_incrementCarouselPosition$ = function $$JSCompiler_prototypeAlias$$$$_incrementCarouselPosition$$() {
  "prev" == this.$_incrementMouseHoldMode$ ? $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$(this) : "next" == this.$_incrementMouseHoldMode$ && $JSCompiler_StaticMethods__initiateSpinNextAnimation$$(this);
};
$JSCompiler_prototypeAlias$$.$_handleThumbDragPositioning$ = function $$JSCompiler_prototypeAlias$$$$_handleThumbDragPositioning$$($barOffsetHeight_domEvent$$17$$) {
  var $agent$$218_newXFactor_newYFactor$$ = $AdfAgent$$.$AGENT$, $component$$778_id$$272_spinBarElem$$ = this.$getComponent$();
  if (null != $component$$778_id$$272_spinBarElem$$) {
    var $component$$778_id$$272_spinBarElem$$ = $component$$778_id$$272_spinBarElem$$.$getClientId$(), $component$$778_id$$272_spinBarElem$$ = $agent$$218_newXFactor_newYFactor$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($component$$778_id$$272_spinBarElem$$, "sb")), $mousePosition$$2$$ = $agent$$218_newXFactor_newYFactor$$.$getMousePosition$($barOffsetHeight_domEvent$$17$$);
    this.$_isVertical$ ? ($barOffsetHeight_domEvent$$17$$ = $component$$778_id$$272_spinBarElem$$.offsetHeight, $agent$$218_newXFactor_newYFactor$$ = $agent$$218_newXFactor_newYFactor$$.$getElementTop$($component$$778_id$$272_spinBarElem$$) + $barOffsetHeight_domEvent$$17$$ - $mousePosition$$2$$.y, $agent$$218_newXFactor_newYFactor$$ = 1 - $agent$$218_newXFactor_newYFactor$$ / $barOffsetHeight_domEvent$$17$$) : ($agent$$218_newXFactor_newYFactor$$ = $mousePosition$$2$$.x - $agent$$218_newXFactor_newYFactor$$.$getElementLeft$($component$$778_id$$272_spinBarElem$$), 
    $agent$$218_newXFactor_newYFactor$$ /= $component$$778_id$$272_spinBarElem$$.offsetWidth, $AdfDhtmlCarouselPeer$$.$_isRTL$() && ($agent$$218_newXFactor_newYFactor$$ = 1 - $agent$$218_newXFactor_newYFactor$$));
    $JSCompiler_StaticMethods__updateTransientDragPosition$$(this, $agent$$218_newXFactor_newYFactor$$);
    $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, $agent$$218_newXFactor_newYFactor$$);
  }
};
$JSCompiler_prototypeAlias$$.$_finishThumbDrag$ = function $$JSCompiler_prototypeAlias$$$$_finishThumbDrag$$($domEvent$$18$$) {
  delete this.$_duringThumbDrag$;
  this.$_handleThumbDragPositioning$($domEvent$$18$$);
};
$JSCompiler_prototypeAlias$$.$_handleDataBodyDragPositioning$ = function $$JSCompiler_prototypeAlias$$$$_handleDataBodyDragPositioning$$($domEvent$$19_scrollAmount$$1$$, $deltaX$$12$$, $deltaY$$15$$) {
  $domEvent$$19_scrollAmount$$1$$ = $deltaX$$12$$;
  this.$_isVertical$ && ($domEvent$$19_scrollAmount$$1$$ = $deltaY$$15$$);
  0 != $domEvent$$19_scrollAmount$$1$$ && $JSCompiler_StaticMethods__scrollByAmount$$(this, -$domEvent$$19_scrollAmount$$1$$, !0);
};
$JSCompiler_prototypeAlias$$.$_finishDataBodyDrag$ = function $$JSCompiler_prototypeAlias$$$$_finishDataBodyDrag$$() {
  delete this.$_duringDataBodyDrag$;
  this.$_queuedScrollAmount$ = null;
};
function $JSCompiler_StaticMethods__getRowIndexFromThumbPos$$($JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$) {
  var $agent$$219_factor$$1$$ = $AdfAgent$$.$AGENT$, $id$$273_spinBarElem$$1$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$getComponent$().$getClientId$();
  if ("small" == $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_controlArea$ || "none" == $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_controlArea$) {
    $agent$$219_factor$$1$$ = $JSCompiler_StaticMethods__getCurrentPercent$$($JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$);
  } else {
    var $rowCount$$3_spinThumbElem$$1$$ = $agent$$219_factor$$1$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$273_spinBarElem$$1$$, "st")), $id$$273_spinBarElem$$1$$ = $agent$$219_factor$$1$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$273_spinBarElem$$1$$, "sb"));
    if ($JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_isVertical$) {
      var $barOffsetHeight$$1$$ = $id$$273_spinBarElem$$1$$.offsetHeight, $agent$$219_factor$$1$$ = $agent$$219_factor$$1$$.$getElementTop$($id$$273_spinBarElem$$1$$) + $barOffsetHeight$$1$$ - $agent$$219_factor$$1$$.$getElementTop$($rowCount$$3_spinThumbElem$$1$$), $agent$$219_factor$$1$$ = 1 - $agent$$219_factor$$1$$ / $barOffsetHeight$$1$$
    } else {
      $agent$$219_factor$$1$$ = $agent$$219_factor$$1$$.$getElementLeft$($rowCount$$3_spinThumbElem$$1$$) - $agent$$219_factor$$1$$.$getElementLeft$($id$$273_spinBarElem$$1$$), $agent$$219_factor$$1$$ /= $id$$273_spinBarElem$$1$$.offsetWidth, $AdfDhtmlCarouselPeer$$.$_isRTL$() && ($agent$$219_factor$$1$$ = 1 - $agent$$219_factor$$1$$);
    }
  }
  $rowCount$$3_spinThumbElem$$1$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_rowCount$;
  -1 == $rowCount$$3_spinThumbElem$$1$$ && ($rowCount$$3_spinThumbElem$$1$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$self$$.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$);
  return Math.max(0, Math.round($agent$$219_factor$$1$$ * ($rowCount$$3_spinThumbElem$$1$$ - 1)));
}
$JSCompiler_prototypeAlias$$.$HandleComponentClick$ = function $$JSCompiler_prototypeAlias$$$$HandleComponentClick$$($componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$) {
  if (this.$_isOwnComponentEvent$($componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$)) {
    var $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = $AdfAgent$$.$AGENT$, $domEvent$$21_mousePosition$$3_row$$17$$ = $componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$.$getNativeEvent$(), $barOffsetHeight$$2_target$$119$$ = $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$.$getEventTarget$($domEvent$$21_mousePosition$$3_row$$17$$);
    if ($barOffsetHeight$$2_target$$119$$ && !this.$_isEmpty$) {
      var $attrs$$3_id$$274$$ = $JSCompiler_StaticMethods__getRowKeyAndRow$$($barOffsetHeight$$2_target$$119$$, this.$getDomElement$());
      null != $attrs$$3_id$$274$$ ? ($agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = $attrs$$3_id$$274$$[0], $domEvent$$21_mousePosition$$3_row$$17$$ = $attrs$$3_id$$274$$[1], null != $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ && $componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$.$isLeftButtonPressed$() && this.$_currentItemKey$ != $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ && null != $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ && (this.$_cancelPendingFetch$(), 
      this.$_pendingTimeout$ && window.clearTimeout(this.$_pendingTimeout$), this.$getComponent$().getDisabled() || ($componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$ = this.$_currentItemKey$, $JSCompiler_StaticMethods__updateCurrentItemKey$$(this, $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$) && $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$(this, $domEvent$$21_mousePosition$$3_row$$17$$, $componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$, 
      !0)))) : "small" != this.$_controlArea$ && "compact" != this.$_controlArea$ && "none" != this.$_controlArea$ && ($attrs$$3_id$$274$$ = this.$getComponent$().$getClientId$(), $componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$ = $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($attrs$$3_id$$274$$, "sb")), $barOffsetHeight$$2_target$$119$$.id == $componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$.id && ($domEvent$$21_mousePosition$$3_row$$17$$ = 
      $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$.$getMousePosition$($domEvent$$21_mousePosition$$3_row$$17$$), $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($attrs$$3_id$$274$$, "st")).focus(), this.$_isVertical$ ? ($barOffsetHeight$$2_target$$119$$ = $componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$.offsetHeight, $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$.$getElementTop$($componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$) + 
      $barOffsetHeight$$2_target$$119$$ - $domEvent$$21_mousePosition$$3_row$$17$$.y, $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 1 - $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ / $barOffsetHeight$$2_target$$119$$, $JSCompiler_StaticMethods__getCurrentPercent$$(this))) : ($agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = $domEvent$$21_mousePosition$$3_row$$17$$.x - $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$.$getElementLeft$($componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$), 
      $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ /= $componentEvent$$132_oldCurrentItemKey$$inline_5737_spinBarElem$$2$$.offsetWidth, $AdfDhtmlCarouselPeer$$.$_isRTL$() && ($agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$ = 1 - $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$), $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, $agent$$220_newXFactor$$1_newYFactor$$1_rowKey$$18$$, $JSCompiler_StaticMethods__getCurrentPercent$$(this)))));
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentClick$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_fillViewPort$ = function $$JSCompiler_prototypeAlias$$$$_fillViewPort$$($dataBody$$10$$, $delay$$, $isScroll$$) {
  var $missing$$1$$ = $AdfDhtmlCarouselPeer$$.$VIEWPORT_SATISFIED$;
  if (0 < this.$_knownRowCount$) {
    var $missing$$1$$ = this.$_isViewportSatisfied$($dataBody$$10$$), $gapBefore$$ = 0 != ($missing$$1$$ & $AdfDhtmlCarouselPeer$$.$MISSING_BEFORE$), $gapAfter$$ = 0 != ($missing$$1$$ & $AdfDhtmlCarouselPeer$$.$MISSING_AFTER$);
    $missing$$1$$ == $AdfDhtmlCarouselPeer$$.$VIEWPORT_SATISFIED$ ? (this.$_hideStatus$(), $AdfDhtmlCarouselPeer$$.$_setCursor$($dataBody$$10$$, "")) : $gapBefore$$ ? $JSCompiler_StaticMethods__addBefore$$(this, $dataBody$$10$$, $delay$$, $isScroll$$) : $gapAfter$$ && $JSCompiler_StaticMethods__addAfter$$(this, $dataBody$$10$$, $delay$$, $isScroll$$);
  }
  return $missing$$1$$;
};
$JSCompiler_prototypeAlias$$.$_isViewportSatisfied$ = function $$JSCompiler_prototypeAlias$$$$_isViewportSatisfied$$($dataBody$$11_missing$$2$$) {
  var $block$$3_nextIndex$$4$$ = $dataBody$$11_missing$$2$$.firstChild;
  $dataBody$$11_missing$$2$$ = $AdfDhtmlCarouselPeer$$.$NO_BLOCKS$;
  if ($block$$3_nextIndex$$4$$ && ($dataBody$$11_missing$$2$$ = $AdfDhtmlCarouselPeer$$.$VIEWPORT_SATISFIED$, !this.$_allRowsAvailableOnClient$($block$$3_nextIndex$$4$$))) {
    var $vertical$$5$$ = this.$_isVertical$, $rowData$$3_selectedIndex$$ = this.$_findRowByKey$(this.$_currentItemKey$, !0);
    if (!$rowData$$3_selectedIndex$$) {
      return $AdfLogger$$.$LOGGER$.severe('When checking _isViewportSatisfied, a null rowData was found for "' + this.$_currentItemKey$ + '".'), $AdfDhtmlCarouselPeer$$.$VIEWPORT_SATISFIED$;
    }
    var $rowData$$3_selectedIndex$$ = $rowData$$3_selectedIndex$$.index, $auxData_previousIndex$$ = $block$$3_nextIndex$$4$$.$startRow$ - 1, $block$$3_nextIndex$$4$$ = $block$$3_nextIndex$$4$$.$startRow$ + $JSCompiler_StaticMethods__getNumberOfRows$$($block$$3_nextIndex$$4$$), $rowCount$$4$$ = this.$_rowCount$;
    -1 == $rowCount$$4$$ && ($rowCount$$4$$ = this.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$);
    if ("oneByOne" == this.$_displayItems$) {
      0 <= $auxData_previousIndex$$ && $auxData_previousIndex$$ == $rowData$$3_selectedIndex$$ - 1 && ($dataBody$$11_missing$$2$$ |= $AdfDhtmlCarouselPeer$$.$MISSING_BEFORE$), $block$$3_nextIndex$$4$$ < $rowCount$$4$$ && $block$$3_nextIndex$$4$$ == $rowData$$3_selectedIndex$$ + 1 && ($dataBody$$11_missing$$2$$ |= $AdfDhtmlCarouselPeer$$.$MISSING_AFTER$);
    } else {
      var $component$$780_valign$$ = this.$getComponent$(), $dataBodyWidth$$ = this.$_dataBodyWidth$, $dataBodyHeight$$ = this.$_dataBodyHeight$, $halign$$ = $component$$780_valign$$.getHalign(), $component$$780_valign$$ = $component$$780_valign$$.getValign();
      0 <= $auxData_previousIndex$$ && ($auxData_previousIndex$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$(this, $rowData$$3_selectedIndex$$ - $auxData_previousIndex$$), 5 < $auxData_previousIndex$$.$auxSize$ && ($vertical$$5$$ && 0 < $JSCompiler_StaticMethods__getValignTop$$(this, $vertical$$5$$, $component$$780_valign$$, $dataBodyHeight$$, $auxData_previousIndex$$.$auxSize$, -$auxData_previousIndex$$.$auxShift$) || !$vertical$$5$$ && 0 < $JSCompiler_StaticMethods__getHalignLeft$$(this, 
      $vertical$$5$$, $halign$$, $dataBodyWidth$$, $auxData_previousIndex$$.$auxSize$, -$auxData_previousIndex$$.$auxShift$)) && ($dataBody$$11_missing$$2$$ |= $AdfDhtmlCarouselPeer$$.$MISSING_BEFORE$));
      $block$$3_nextIndex$$4$$ < $rowCount$$4$$ && ($auxData_previousIndex$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$(this, $block$$3_nextIndex$$4$$ - $rowData$$3_selectedIndex$$), 5 < $auxData_previousIndex$$.$auxSize$ && ($vertical$$5$$ && $JSCompiler_StaticMethods__getValignTop$$(this, $vertical$$5$$, $component$$780_valign$$, $dataBodyHeight$$, $auxData_previousIndex$$.$auxSize$, $auxData_previousIndex$$.$auxShift$) < $dataBodyHeight$$ || !$vertical$$5$$ && $JSCompiler_StaticMethods__getHalignLeft$$(this, 
      $vertical$$5$$, $halign$$, $dataBodyWidth$$, $auxData_previousIndex$$.$auxSize$, $auxData_previousIndex$$.$auxShift$) < $dataBodyWidth$$) && ($dataBody$$11_missing$$2$$ |= $AdfDhtmlCarouselPeer$$.$MISSING_AFTER$));
    }
  }
  return $dataBody$$11_missing$$2$$;
};
function $JSCompiler_StaticMethods__addBefore$$($JSCompiler_StaticMethods__addBefore$self$$, $dataBody$$12_index$$127$$, $delay$$1$$, $isScroll$$1$$) {
  var $block$$4_key$$58$$ = $dataBody$$12_index$$127$$.firstChild;
  $dataBody$$12_index$$127$$ = $block$$4_key$$58$$.$startRow$;
  $block$$4_key$$58$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__getFirstNonPlaceholder$$($block$$4_key$$58$$), $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
  $JSCompiler_StaticMethods__addBefore$self$$.$_startFetch$($AdfCarouselDataFetchEvent$$.$BEFORE_KEY_SUBTYPE$, $dataBody$$12_index$$127$$, $block$$4_key$$58$$, $delay$$1$$, !$isScroll$$1$$);
}
function $JSCompiler_StaticMethods__addAfter$$($JSCompiler_StaticMethods__addAfter$self$$, $dataBody$$13_index$$128$$, $delay$$2$$, $isScroll$$2$$) {
  var $block$$5_key$$59$$ = $dataBody$$13_index$$128$$.firstChild;
  $dataBody$$13_index$$128$$ = $block$$5_key$$59$$.$startRow$ + $JSCompiler_StaticMethods__getNumberOfRows$$($block$$5_key$$59$$) - 1;
  $block$$5_key$$59$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__getLastNonPlaceholder$$($block$$5_key$$59$$), $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
  $JSCompiler_StaticMethods__addAfter$self$$.$_startFetch$($AdfCarouselDataFetchEvent$$.$AFTER_KEY_SUBTYPE$, $dataBody$$13_index$$128$$, $block$$5_key$$59$$, $delay$$2$$, !$isScroll$$2$$);
}
$JSCompiler_prototypeAlias$$.$_handleLongJump$ = function $$JSCompiler_prototypeAlias$$$$_handleLongJump$$($dataBody$$14$$, $desiredRowKey_index$$129$$, $delay$$3$$, $isScroll$$3$$) {
  var $row$$18_where$$ = null, $halfSize_start$$21$$, $end$$5$$, $addBefore_size$$22$$ = this.$getComponent$().getFetchSize(), $laf$$61$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $block$$6_rowCount$$5$$ = this.$_rowCount$;
  $halfSize_start$$21$$ = Math.ceil($addBefore_size$$22$$ / 2);
  0 <= $desiredRowKey_index$$129$$ - $halfSize_start$$21$$ ? $halfSize_start$$21$$ = $desiredRowKey_index$$129$$ - $halfSize_start$$21$$ : ($row$$18_where$$ = $laf$$61$$.$getTranslatedString$("af_carousel.LABEL_START"), $halfSize_start$$21$$ = 0);
  -1 != $block$$6_rowCount$$5$$ ? $halfSize_start$$21$$ + $addBefore_size$$22$$ < $block$$6_rowCount$$5$$ ? $end$$5$$ = $halfSize_start$$21$$ + $addBefore_size$$22$$ - 1 : ($end$$5$$ = $block$$6_rowCount$$5$$ - 1, $row$$18_where$$ = $laf$$61$$.$getTranslatedString$("af_carousel.LABEL_END")) : $end$$5$$ = $halfSize_start$$21$$ + $addBefore_size$$22$$ - 1;
  null == $row$$18_where$$ && ($row$$18_where$$ = $laf$$61$$.$getTranslatedString$("af_carousel.LABEL_ITEM", 1 + $desiredRowKey_index$$129$$));
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this, $desiredRowKey_index$$129$$);
  if ($block$$6_rowCount$$5$$ = $dataBody$$14$$.firstChild) {
    var $oldStart$$3$$ = $block$$6_rowCount$$5$$.$startRow$, $oldEnd$$3$$ = $oldStart$$3$$ + $JSCompiler_StaticMethods__getNumberOfRows$$($block$$6_rowCount$$5$$) - 1;
    if ($halfSize_start$$21$$ == $oldStart$$3$$ && $end$$5$$ == $oldEnd$$3$$) {
      return;
    }
    var $addAfter$$ = $addBefore_size$$22$$ = !1;
    $halfSize_start$$21$$ >= $oldStart$$3$$ && $desiredRowKey_index$$129$$ <= $oldEnd$$3$$ ? $addAfter$$ = !0 : $end$$5$$ >= $oldStart$$3$$ && $end$$5$$ <= $oldEnd$$3$$ && $desiredRowKey_index$$129$$ >= $oldStart$$3$$ && ($addBefore_size$$22$$ = !0);
    if ($addBefore_size$$22$$ || $addAfter$$) {
      $row$$18_where$$ = $block$$6_rowCount$$5$$.childNodes[$desiredRowKey_index$$129$$ - $oldStart$$3$$ + $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($block$$6_rowCount$$5$$)];
      $AdfAssert$$.assert(null != $row$$18_where$$, "Unexpected null row A: (" + $JSCompiler_StaticMethods__getNumberOfRows$$($block$$6_rowCount$$5$$) + ", " + $desiredRowKey_index$$129$$ + ", " + $oldStart$$3$$ + ")");
      $desiredRowKey_index$$129$$ = $AdfAgent$$.$AGENT$.getAttribute($row$$18_where$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      $JSCompiler_StaticMethods__updateCurrentItemKey$$(this, $desiredRowKey_index$$129$$);
      $addBefore_size$$22$$ ? $JSCompiler_StaticMethods__addBefore$$(this, $dataBody$$14$$, $delay$$3$$, $isScroll$$3$$) : $JSCompiler_StaticMethods__addAfter$$(this, $dataBody$$14$$, $delay$$3$$, $isScroll$$3$$);
      return;
    }
  }
  $delay$$3$$ && this.$_displayStatus$($laf$$61$$.$getTranslatedString$("af_carousel.LABEL_GOING_TO", $row$$18_where$$));
  this.$_startFetch$($AdfCarouselDataFetchEvent$$.$AT_INDEX_SUBTYPE$, $desiredRowKey_index$$129$$, null, $delay$$3$$, !$isScroll$$3$$);
};
function $JSCompiler_StaticMethods__deleteOffscreenItems$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $block$$7_dataBody$$15$$, $auxData$$1_deletePrevious$$) {
  $block$$7_dataBody$$15$$ = $block$$7_dataBody$$15$$.firstChild;
  var $i$$260_startRow$$1$$ = $block$$7_dataBody$$15$$.$startRow$, $begin$$12_numRows$$4$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$7_dataBody$$15$$), $dataBodyWidth$$1_firstRow_r$$1$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_dataBodyWidth$, $dataBodyHeight$$1_lastRow$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_dataBodyHeight$, $component$$781$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$getComponent$(), $end$$6_fetchSize$$ = $component$$781$$.getFetchSize(), 
  $halign$$1$$ = $component$$781$$.getHalign(), $valign$$1$$ = $component$$781$$.getValign(), $index$$130_rowData$$4$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_findRowByKey$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_currentItemKey$, !1), $vertical$$6$$ = $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_isVertical$;
  if ($index$$130_rowData$$4$$) {
    if ($index$$130_rowData$$4$$ = $index$$130_rowData$$4$$.index, $auxData$$1_deletePrevious$$) {
      for ($begin$$12_numRows$$4$$ = $index$$130_rowData$$4$$ - $end$$6_fetchSize$$;$begin$$12_numRows$$4$$ >= $i$$260_startRow$$1$$;) {
        $auxData$$1_deletePrevious$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $index$$130_rowData$$4$$ - $begin$$12_numRows$$4$$);
        if (5 >= $auxData$$1_deletePrevious$$.$auxSize$ || $vertical$$6$$ && 0 >= $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $vertical$$6$$, $valign$$1$$, $dataBodyHeight$$1_lastRow$$, $auxData$$1_deletePrevious$$.$auxSize$, -$auxData$$1_deletePrevious$$.$auxShift$) || !$vertical$$6$$ && 0 >= $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $vertical$$6$$, $halign$$1$$, $dataBodyWidth$$1_firstRow_r$$1$$, 
        $auxData$$1_deletePrevious$$.$auxSize$, -$auxData$$1_deletePrevious$$.$auxShift$)) {
          for (;$i$$260_startRow$$1$$ <= $begin$$12_numRows$$4$$;$i$$260_startRow$$1$$++) {
            $dataBodyWidth$$1_firstRow_r$$1$$ = $JSCompiler_StaticMethods__getFirstNonPlaceholder$$($block$$7_dataBody$$15$$), $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_unregisterNode$($dataBodyWidth$$1_firstRow_r$$1$$), $block$$7_dataBody$$15$$.removeChild($dataBodyWidth$$1_firstRow_r$$1$$);
          }
          $block$$7_dataBody$$15$$.$startRow$ = $begin$$12_numRows$$4$$ + 1;
          $block$$7_dataBody$$15$$.$numRows$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$7_dataBody$$15$$);
          $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($component$$781$$, $block$$7_dataBody$$15$$.$startRow$, $block$$7_dataBody$$15$$.$numRows$);
          break;
        }
        $begin$$12_numRows$$4$$--;
      }
    } else {
      for ($end$$6_fetchSize$$ = $index$$130_rowData$$4$$ + $end$$6_fetchSize$$;$end$$6_fetchSize$$ < $i$$260_startRow$$1$$ + $begin$$12_numRows$$4$$;) {
        $auxData$$1_deletePrevious$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $end$$6_fetchSize$$ - $index$$130_rowData$$4$$);
        if (5 >= $auxData$$1_deletePrevious$$.$auxSize$ || $vertical$$6$$ && $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $vertical$$6$$, $valign$$1$$, $dataBodyHeight$$1_lastRow$$, $auxData$$1_deletePrevious$$.$auxSize$, $auxData$$1_deletePrevious$$.$auxShift$) >= $dataBodyHeight$$1_lastRow$$ || !$vertical$$6$$ && $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__deleteOffscreenItems$self$$, $vertical$$6$$, $halign$$1$$, $dataBodyWidth$$1_firstRow_r$$1$$, 
        $auxData$$1_deletePrevious$$.$auxSize$, $auxData$$1_deletePrevious$$.$auxShift$) >= $dataBodyWidth$$1_firstRow_r$$1$$) {
          for ($dataBodyWidth$$1_firstRow_r$$1$$ = $end$$6_fetchSize$$;$dataBodyWidth$$1_firstRow_r$$1$$ < $i$$260_startRow$$1$$ + $begin$$12_numRows$$4$$;$dataBodyWidth$$1_firstRow_r$$1$$++) {
            $dataBodyHeight$$1_lastRow$$ = $JSCompiler_StaticMethods__getLastNonPlaceholder$$($block$$7_dataBody$$15$$), $JSCompiler_StaticMethods__deleteOffscreenItems$self$$.$_unregisterNode$($dataBodyHeight$$1_lastRow$$), $block$$7_dataBody$$15$$.removeChild($dataBodyHeight$$1_lastRow$$);
          }
          $block$$7_dataBody$$15$$.$numRows$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$7_dataBody$$15$$);
          $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($component$$781$$, $block$$7_dataBody$$15$$.$startRow$, $block$$7_dataBody$$15$$.$numRows$);
          break;
        }
        $end$$6_fetchSize$$++;
      }
    }
  }
}
$JSCompiler_prototypeAlias$$.$_unregisterNode$ = function $$JSCompiler_prototypeAlias$$$$_unregisterNode$$($node$$69$$) {
  $AdfPage$$.$PAGE$.$removeComponentsInSubtree$($node$$69$$);
  $AdfAgent$$.$AGENT$.$elementsRemoved$($node$$69$$);
};
$JSCompiler_prototypeAlias$$.$_queueFetchEvent$ = function $$JSCompiler_prototypeAlias$$$$_queueFetchEvent$$($renderOnly$$, $subtype$$6$$, $index$$131$$, $key$$60$$) {
  var $id$$275$$ = this.$_fetchId$++, $component$$782$$ = this.$getComponent$(), $event$$166$$ = new $AdfCarouselDataFetchEvent$$($component$$782$$, $id$$275$$, $subtype$$6$$, $index$$131$$, $key$$60$$);
  $event$$166$$.$setPartial$(!0);
  $event$$166$$.$setRenderOnly$($renderOnly$$);
  var $canceled$$ = !1;
  $renderOnly$$ ? $AdfPage$$.$PAGE$.$queueEventToServer$($event$$166$$) : ($JSCompiler_StaticMethods__setEventRootToCurrentItem$$(this, this.$_currentItemKey$, $event$$166$$), $component$$782$$.$queueEvent$($event$$166$$), $canceled$$ = $event$$166$$.$isCanceled$());
  $canceled$$ || (this.$_pendingFetch$ = $subtype$$6$$, this.$_pendingId$ = $id$$275$$, this.$_fetchIndex$ = $index$$131$$, this.$_fetchKey$ = $key$$60$$, this.$_pendingRenderOnly$ = $renderOnly$$, $event$$166$$.$setRoot$($component$$782$$));
  return $canceled$$ ? null : $event$$166$$;
};
$JSCompiler_prototypeAlias$$.$_startFetch$ = function $$JSCompiler_prototypeAlias$$$$_startFetch$$($event$$167_subtype$$7$$, $index$$132_statusText$$1$$, $key$$61$$, $delay$$4_domWindow$$95$$, $renderOnly$$1$$) {
  if ($event$$167_subtype$$7$$ != this.$_pendingFetch$ || $index$$132_statusText$$1$$ != this.$_fetchIndex$ || $key$$61$$ != this.$_fetchKey$) {
    if (this.$_pendingTimeout$ && (delete this.$_pendingTimeout$, window.clearTimeout(this.$_pendingTimeout$)), $delay$$4_domWindow$$95$$) {
      $delay$$4_domWindow$$95$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
      var $callback$$95$$ = function anonymous$$15() {
        var $event$$167_subtype$$7$$ = arguments.callee;
        $event$$167_subtype$$7$$.$_self$.$_delNav$($event$$167_subtype$$7$$.$_subtype$, $event$$167_subtype$$7$$.$_index$, $event$$167_subtype$$7$$.$_key$, $event$$167_subtype$$7$$.$_renderOnly$);
      };
      $callback$$95$$._subtype = $event$$167_subtype$$7$$;
      $callback$$95$$._index = $index$$132_statusText$$1$$;
      $callback$$95$$._key = $key$$61$$;
      $callback$$95$$._renderOnly = $renderOnly$$1$$;
      $callback$$95$$._self = this;
      this.$_pendingTimeout$ = $delay$$4_domWindow$$95$$.setTimeout($callback$$95$$, $AdfDhtmlCarouselPeer$$.$_FETCH_DELAY_TIMEOUT$);
      this.$_cancelPendingFetch$();
    } else {
      ($event$$167_subtype$$7$$ = this.$_queueFetchEvent$($renderOnly$$1$$, $event$$167_subtype$$7$$, $index$$132_statusText$$1$$, $key$$61$$)) ? ($index$$132_statusText$$1$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_carousel.LABEL_FETCHING"), this.$_displayStatus$($index$$132_statusText$$1$$), $AdfDhtmlCarouselPeer$$.$_setCursor$(this.$_getDataBody$(), "wait"), this.$_pruneKeyCache$ && ($event$$167_subtype$$7$$.$setClientTokens$(this.$_collectClientTokens$(this.$_pruneKeyCache$)), 
      this.$_pruneKeyCache$ = null)) : (this.$_hideStatus$(), $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this));
    }
  }
};
$AdfDhtmlCarouselPeer$$.prototype._delNav = function $$AdfDhtmlCarouselPeer$$$$_delNav$($subtype$$8$$, $index$$133$$, $key$$62$$, $renderOnly$$2$$) {
  this.$_startFetch$($subtype$$8$$, $index$$133$$, $key$$62$$, !1, $renderOnly$$2$$);
  delete this.$_pendingTimeout$;
};
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_cancelPendingFetch$ = function $$JSCompiler_prototypeAlias$$$$_cancelPendingFetch$$() {
  this.$_pendingRenderOnly$ = this.$_pendingId$ = this.$_fetchKey$ = this.$_fetchIndex$ = this.$_pendingFetch$ = void 0;
};
$JSCompiler_prototypeAlias$$.$_initNewBlock$ = function $$JSCompiler_prototypeAlias$$$$_initNewBlock$$($node$$70$$, $start$$22$$, $size$$23$$) {
  $node$$70$$.$startRow$ = $start$$22$$;
  $node$$70$$.$numRows$ = $size$$23$$;
};
function $JSCompiler_StaticMethods__sizeDataBody$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $dataBody$$16_rowData$$5$$, $nextHeight_outerWidth$$4$$, $halign$$2_outerHeight$$5$$) {
  var $agent$$221_spinNextElem$$5$$ = $AdfAgent$$.$AGENT$, $barLeft_component$$783_prevWidth_valign$$2$$ = $JSCompiler_StaticMethods__sizeDataBody$self$$.$getComponent$(), $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$ = $JSCompiler_StaticMethods__sizeDataBody$self$$.$getDomElement$();
  $JSCompiler_StaticMethods__setupInitialPositions$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $barLeft_component$$783_prevWidth_valign$$2$$, $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$);
  var $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = Math.max(0, $nextHeight_outerWidth$$4$$), $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ = Math.max(0, $halign$$2_outerHeight$$5$$), $vertical$$7$$ = $JSCompiler_StaticMethods__sizeDataBody$self$$.$_isVertical$;
  $vertical$$7$$ ? $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = Math.max(0, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ - $JSCompiler_StaticMethods__sizeDataBody$self$$.$_nonDataBodySize$) : $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ = Math.max(0, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ - $JSCompiler_StaticMethods__sizeDataBody$self$$.$_nonDataBodySize$);
  var $barBottom_selectedSize$$ = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$;
  $vertical$$7$$ ? ($barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ -= $JSCompiler_StaticMethods__sizeDataBody$self$$.$_heightOfBoxUnderCurrentItem$, $barBottom_selectedSize$$ = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ < $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ && ($barBottom_selectedSize$$ = Math.max(0, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ - 2 * $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$))) : 
  $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ < $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ && ($barBottom_selectedSize$$ = Math.max(0, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ - 2 * $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$));
  $barBottom_selectedSize$$ = Math.round(Math.max(30, $barBottom_selectedSize$$ - 2 * $AdfDhtmlCarouselPeer$$.$_ITEM_PADDING$));
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_dataBodyWidth$ = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$;
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_dataBodyHeight$ = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$;
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_selectedSize$ = $barBottom_selectedSize$$;
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_widthMargin$ = ($barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ - $barBottom_selectedSize$$) / 2;
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_heightMargin$ = ($barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ - $barBottom_selectedSize$$) / 2;
  var $id$$276_itemTextDivHeight$$ = $barLeft_component$$783_prevWidth_valign$$2$$.$getClientId$();
  if ("small" == $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$) {
    var $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$), $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$ = $agent$$221_spinNextElem$$5$$.getComputedStyle($controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$), 
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style;
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.width = $barBottom_selectedSize$$ - (0 + parseInt($computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.paddingLeft, 10) + parseInt($computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.paddingRight, 10)) + "px";
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.right = "auto";
    $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.left = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $vertical$$7$$, $barLeft_component$$783_prevWidth_valign$$2$$.getHalign(), $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$, 0) + "px";
    $vertical$$7$$ && ($controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.top = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $vertical$$7$$, $barLeft_component$$783_prevWidth_valign$$2$$.getValign(), $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$, $barBottom_selectedSize$$, 0) + $barBottom_selectedSize$$ + "px");
  } else {
    if ($vertical$$7$$) {
      var $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$276_itemTextDivHeight$$), $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$ = $agent$$221_spinNextElem$$5$$.getComputedStyle($controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$), $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style, 
      $boxModelCorrection$$;
      $boxModelCorrection$$ = 0 + parseInt($computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.paddingLeft, 10);
      $boxModelCorrection$$ += parseInt($computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.paddingRight, 10);
      $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.width = $barBottom_selectedSize$$ - $boxModelCorrection$$ + "px";
      $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.left = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__sizeDataBody$self$$, !0, $barLeft_component$$783_prevWidth_valign$$2$$.getHalign(), $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$, 0) + ($AdfDhtmlCarouselPeer$$.$_isRTL$() ? parseInt($dataBody$$16_rowData$$5$$.offsetLeft) : 0) + "px";
      $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.top = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__sizeDataBody$self$$, !0, $barLeft_component$$783_prevWidth_valign$$2$$.getValign(), $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$, $barBottom_selectedSize$$, 0) + $barBottom_selectedSize$$ + "px";
    }
  }
  "oneByOne" == $JSCompiler_StaticMethods__sizeDataBody$self$$.$_displayItems$ && ($computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$ = $dataBody$$16_rowData$$5$$.style, $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.width = $barBottom_selectedSize$$ + "px", $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.height = $barBottom_selectedSize$$ + "px", $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.right = 
  "auto", $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.bottom = "auto", $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.top = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $vertical$$7$$, $barLeft_component$$783_prevWidth_valign$$2$$.getValign(), $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$, $barBottom_selectedSize$$, 0) + "px", $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.left = 
  $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $vertical$$7$$, $barLeft_component$$783_prevWidth_valign$$2$$.getHalign(), $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$, 0) + ($AdfDhtmlCarouselPeer$$.$_isRTL$() ? parseInt($dataBody$$16_rowData$$5$$.offsetLeft) : 0) + "px");
  "oneByOne" == $JSCompiler_StaticMethods__sizeDataBody$self$$.$_displayItems$ && "small" != $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$ && "compact" != $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__sizeDataBody$self$$.$_controlArea$ && ($computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$ = $agent$$221_spinNextElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$276_itemTextDivHeight$$, 
  "sp")), $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$ = $agent$$221_spinNextElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$276_itemTextDivHeight$$, "sb")), $agent$$221_spinNextElem$$5$$ = $agent$$221_spinNextElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$276_itemTextDivHeight$$, "sn")), $vertical$$7$$ ? ($barLeft_component$$783_prevWidth_valign$$2$$ = $barLeft_component$$783_prevWidth_valign$$2$$.getValign(), $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = 
  $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.offsetHeight, $nextHeight_outerWidth$$4$$ = $agent$$221_spinNextElem$$5$$.offsetHeight, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__sizeDataBody$self$$, !0, $barLeft_component$$783_prevWidth_valign$$2$$, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$, $barBottom_selectedSize$$, 0), $id$$276_itemTextDivHeight$$ = 
  $JSCompiler_StaticMethods__getItemTextDiv$$($id$$276_itemTextDivHeight$$).offsetHeight, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ + $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$ = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ + $barBottom_selectedSize$$ + $id$$276_itemTextDivHeight$$ - $nextHeight_outerWidth$$4$$, $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.style.bottom = 
  $halign$$2_outerHeight$$5$$ - $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + "px", $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style.top = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + "px", $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style.bottom = $halign$$2_outerHeight$$5$$ - $barBottom_selectedSize$$ + "px", $agent$$221_spinNextElem$$5$$.style.top = $barBottom_selectedSize$$ + "px") : ($halign$$2_outerHeight$$5$$ = 
  $barLeft_component$$783_prevWidth_valign$$2$$.getHalign(), $barLeft_component$$783_prevWidth_valign$$2$$ = $computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.offsetWidth, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ = $agent$$221_spinNextElem$$5$$.offsetWidth, $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__sizeDataBody$self$$, !1, $halign$$2_outerHeight$$5$$, 
  $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$, $barBottom_selectedSize$$, 0), $barLeft_component$$783_prevWidth_valign$$2$$ = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + $barLeft_component$$783_prevWidth_valign$$2$$, $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ = $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + $barBottom_selectedSize$$ - $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$, $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style.left = 
  $barLeft_component$$783_prevWidth_valign$$2$$ + "px", $controlArea$$2_controlAreaStyle_itemTextDiv$$4_itemTextDivStyle_spinBarElem$$3$$.style.right = $nextHeight_outerWidth$$4$$ - $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ + "px", $AdfDhtmlCarouselPeer$$.$_isRTL$() ? ($computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.style.left = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ + "px", $agent$$221_spinNextElem$$5$$.style.right = 
  $nextHeight_outerWidth$$4$$ - $barLeft_component$$783_prevWidth_valign$$2$$ + "px") : ($computedStyle$$7_controlAreaComputedStyle$$1_dataBodyStyle$$1_rootElement$$30_spinPrevElem$$5$$.style.right = $nextHeight_outerWidth$$4$$ - $barLeft_component$$783_prevWidth_valign$$2$$ + "px", $agent$$221_spinNextElem$$5$$.style.left = $barRight_dataBodyHeight$$2_nextWidth_selectedItemTop$$1$$ + "px"), "start" == $halign$$2_outerHeight$$5$$ ? $JSCompiler_StaticMethods__getItemTextDiv$$($id$$276_itemTextDivHeight$$).style.right = 
  $nextHeight_outerWidth$$4$$ - 2 * $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ - $barBottom_selectedSize$$ + "px" : "end" == $halign$$2_outerHeight$$5$$ && ($JSCompiler_StaticMethods__getItemTextDiv$$($id$$276_itemTextDivHeight$$).style.left = 2 * $barTop_dataBodyWidth$$2_prevHeight_selectedItemLeft$$1$$ + $barBottom_selectedSize$$ - $nextHeight_outerWidth$$4$$ + "px")));
  $AdfAssert$$.assert(!$dataBody$$16_rowData$$5$$.firstChild || $JSCompiler_StaticMethods__sizeDataBody$self$$.$_currentItemKey$, "There is no current item in the data block");
  $JSCompiler_StaticMethods__sizeDataBody$self$$.$_currentItemKey$ && (($dataBody$$16_rowData$$5$$ = $JSCompiler_StaticMethods__sizeDataBody$self$$.$_findRowByKey$($JSCompiler_StaticMethods__sizeDataBody$self$$.$_currentItemKey$, !0)) ? ($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__sizeDataBody$self$$, $dataBody$$16_rowData$$5$$.$row$, !1), $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__sizeDataBody$self$$)) : 
  $AdfLogger$$.$LOGGER$.severe("_sizeDataBody failed due to invalid currentItemKey: " + $JSCompiler_StaticMethods__sizeDataBody$self$$.$_currentItemKey$));
}
$JSCompiler_prototypeAlias$$.$_handleDataCallback$ = function $$JSCompiler_prototypeAlias$$$$_handleDataCallback$$($node$$71_rowCount$$6$$, $extraCount_pendingFetch$$1$$, $fetchIndex$$1_indexShift$$, $pendingRenderOnly$$1$$) {
  var $agent$$222_rowCountDelta$$ = $AdfAgent$$.$AGENT$, $start$$23$$ = $agent$$222_rowCountDelta$$.$getIntAttribute$($node$$71_rowCount$$6$$, "_startRow", 0), $size$$24$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($node$$71_rowCount$$6$$), $dataBody$$17$$ = this.$_getDataBody$(), $currentBlock$$ = $dataBody$$17$$.firstChild;
  this.$_initNewBlock$($node$$71_rowCount$$6$$, $start$$23$$, $size$$24$$);
  $extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$AT_INDEX_SUBTYPE$ ? ($JSCompiler_StaticMethods__replaceWithDataBlock$$(this, $dataBody$$17$$, $node$$71_rowCount$$6$$, $fetchIndex$$1_indexShift$$), this.$_adjustRowCountFromResponse$($dataBody$$17$$, $node$$71_rowCount$$6$$)) : $extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$AFTER_KEY_SUBTYPE$ ? (0 == $size$$24$$ ? -1 == this.$_rowCount$ ? ($node$$71_rowCount$$6$$ = $agent$$222_rowCountDelta$$.$getIntAttribute$($currentBlock$$, 
  "_rowCount", -1), this.$_rowCount$ = -1 == $node$$71_rowCount$$6$$ ? this.$_knownRowCount$ : $node$$71_rowCount$$6$$) : this.$_adjustRowCountFromResponse$($dataBody$$17$$, $node$$71_rowCount$$6$$) : ($fetchIndex$$1_indexShift$$ = $start$$23$$ - $currentBlock$$.$startRow$ - $JSCompiler_StaticMethods__getNumberOfRows$$($currentBlock$$), 0 != $fetchIndex$$1_indexShift$$ ? ($fetchIndex$$1_indexShift$$ = $start$$23$$ + Math.ceil($size$$24$$ / 2), $JSCompiler_StaticMethods__replaceWithDataBlock$$(this, 
  $dataBody$$17$$, $node$$71_rowCount$$6$$, $fetchIndex$$1_indexShift$$)) : $JSCompiler_StaticMethods__addDataBlockItems$$(this, $dataBody$$17$$, $node$$71_rowCount$$6$$, !1), this.$_adjustRowCountFromResponse$($dataBody$$17$$, $node$$71_rowCount$$6$$)), $pendingRenderOnly$$1$$ || $JSCompiler_StaticMethods__deleteOffscreenItems$$(this, $dataBody$$17$$, !0)) : $extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$BEFORE_KEY_SUBTYPE$ && ($fetchIndex$$1_indexShift$$ = $start$$23$$ - $currentBlock$$.$startRow$ + 
  $size$$24$$, $agent$$222_rowCountDelta$$ = this.$_adjustRowCountFromResponse$($dataBody$$17$$, $node$$71_rowCount$$6$$), 0 != $fetchIndex$$1_indexShift$$ || 0 != $agent$$222_rowCountDelta$$ ? ($fetchIndex$$1_indexShift$$ = $start$$23$$ + Math.ceil($size$$24$$ / 2), $JSCompiler_StaticMethods__replaceWithDataBlock$$(this, $dataBody$$17$$, $node$$71_rowCount$$6$$, $fetchIndex$$1_indexShift$$)) : $JSCompiler_StaticMethods__addDataBlockItems$$(this, $dataBody$$17$$, $node$$71_rowCount$$6$$, !0), $pendingRenderOnly$$1$$ || 
  $JSCompiler_StaticMethods__deleteOffscreenItems$$(this, $dataBody$$17$$, !1));
  if ($extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$AT_INDEX_SUBTYPE$ || $extraCount_pendingFetch$$1$$ == $AdfCarouselDataFetchEvent$$.$AFTER_KEY_SUBTYPE$) {
    $extraCount_pendingFetch$$1$$ = $start$$23$$ + $size$$24$$ - this.$_knownRowCount$, 0 < $extraCount_pendingFetch$$1$$ && (this.$_knownRowCount$ += $extraCount_pendingFetch$$1$$, $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this));
  }
};
$JSCompiler_prototypeAlias$$.$_adjustRowCountFromResponse$ = function $$JSCompiler_prototypeAlias$$$$_adjustRowCountFromResponse$$($dataBody$$18$$, $node$$72$$) {
  var $rowCountDelta$$1$$ = 0, $oldCount$$ = this.$_rowCount$;
  if (-1 != $oldCount$$) {
    var $newCount$$ = $AdfAgent$$.$AGENT$.$getIntAttribute$($node$$72$$, "_rowCount", -1);
    0 == this.$_unavailableRowIndex$ ? $newCount$$ = -1 : 0 < this.$_unavailableRowIndex$ && ($newCount$$ = this.$_unavailableRowIndex$);
    -1 != $newCount$$ && ($rowCountDelta$$1$$ = $newCount$$ - $oldCount$$);
  }
  0 != $rowCountDelta$$1$$ && (this.$_rowCount$ = this.$_knownRowCount$ = $newCount$$, $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$(this));
  return $rowCountDelta$$1$$;
};
$JSCompiler_prototypeAlias$$.$_displayStatus$ = function $$JSCompiler_prototypeAlias$$$$_displayStatus$$($style$$17_text$$14$$) {
  var $halfMessageHeight_message$$59$$ = this.$_getStatusMessage$();
  if ("icon" == $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|carousel-tr-status-type")) {
    var $dataBody$$19_image$$3_vertical$$8$$ = $AdfDhtmlCarouselPeer$$.$_findFirstChildByTagName$($halfMessageHeight_message$$59$$, "IMG");
    null != $dataBody$$19_image$$3_vertical$$8$$ ? $dataBody$$19_image$$3_vertical$$8$$.title = $style$$17_text$$14$$ : $halfMessageHeight_message$$59$$.title = $style$$17_text$$14$$;
  } else {
    $halfMessageHeight_message$$59$$.innerHTML = $style$$17_text$$14$$;
  }
  $style$$17_text$$14$$ = $halfMessageHeight_message$$59$$.style;
  if ("none" == $style$$17_text$$14$$.display) {
    var $centered_selectedSize$$1$$ = !1, $dbWidth_itemLeft$$ = this.$_dataBodyWidth$, $dbHeight_vOffset$$1$$ = this.$_dataBodyHeight$;
    if (null == $dbWidth_itemLeft$$ || null == $dbHeight_vOffset$$1$$ || 0 == $dbWidth_itemLeft$$ || 0 == $dbHeight_vOffset$$1$$) {
      $centered_selectedSize$$1$$ = !0, $dataBody$$19_image$$3_vertical$$8$$ = this.$_getDataBody$(), $dbWidth_itemLeft$$ = $dataBody$$19_image$$3_vertical$$8$$.offsetWidth, $dbHeight_vOffset$$1$$ = $dataBody$$19_image$$3_vertical$$8$$.offsetHeight;
    }
    $style$$17_text$$14$$.zIndex = 1E4;
    $dataBody$$19_image$$3_vertical$$8$$ = this.$_isVertical$;
    $style$$17_text$$14$$.visibility = "hidden";
    $style$$17_text$$14$$.display = "block";
    var $hOffset$$1_halfMessageWidth$$ = $halfMessageHeight_message$$59$$.offsetWidth / 2, $halfMessageHeight_message$$59$$ = $halfMessageHeight_message$$59$$.offsetHeight / 2;
    if ($centered_selectedSize$$1$$) {
      $hOffset$$1_halfMessageWidth$$ = $dbWidth_itemLeft$$ / 2 - $hOffset$$1_halfMessageWidth$$, $dbHeight_vOffset$$1$$ = $dbHeight_vOffset$$1$$ / 2 - $halfMessageHeight_message$$59$$, $dataBody$$19_image$$3_vertical$$8$$ && null != this.$_nonDataBodySize$ && 0 != this.$_nonDataBodySize$ && ($hOffset$$1_halfMessageWidth$$ += this.$_nonDataBodySize$), $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $style$$17_text$$14$$.left = Math.floor($hOffset$$1_halfMessageWidth$$) + "px" : $style$$17_text$$14$$.right = 
      Math.floor($hOffset$$1_halfMessageWidth$$) + "px";
    } else {
      var $component$$784$$ = this.$getComponent$(), $centered_selectedSize$$1$$ = this.$_selectedSize$, $dbWidth_itemLeft$$ = $JSCompiler_StaticMethods__getHalignLeft$$(this, $dataBody$$19_image$$3_vertical$$8$$, $component$$784$$.getHalign(), $dbWidth_itemLeft$$, $centered_selectedSize$$1$$, 0), $dbHeight_vOffset$$1$$ = $JSCompiler_StaticMethods__getValignTop$$(this, $dataBody$$19_image$$3_vertical$$8$$, $component$$784$$.getValign(), $dbHeight_vOffset$$1$$, $centered_selectedSize$$1$$, 0) + $centered_selectedSize$$1$$ / 
      2 - $halfMessageHeight_message$$59$$;
      $style$$17_text$$14$$.right = "auto";
      $style$$17_text$$14$$.left = Math.floor($dbWidth_itemLeft$$ + $centered_selectedSize$$1$$ / 2 - $hOffset$$1_halfMessageWidth$$) + "px";
    }
    $style$$17_text$$14$$.top = Math.floor($dbHeight_vOffset$$1$$) + "px";
    $style$$17_text$$14$$.visibility = "visible";
  }
};
$JSCompiler_prototypeAlias$$.$_hideStatus$ = function $$JSCompiler_prototypeAlias$$$$_hideStatus$$() {
  this.$_getStatusMessage$().style.display = "none";
};
$JSCompiler_prototypeAlias$$.$_getDataBody$ = function $$JSCompiler_prototypeAlias$$$$_getDataBody$$($rootDomElement$$7$$) {
  return this.$_getElemBySubId$("db", $rootDomElement$$7$$);
};
function $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__getControlAreaDiv$self$$, $rootDomElement$$8$$) {
  $AdfAssert$$.assert("small" == $JSCompiler_StaticMethods__getControlAreaDiv$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__getControlAreaDiv$self$$.$_controlArea$, "Carousel peer should not be accessing the control area when controlArea \x3d\x3d full or none");
  return $JSCompiler_StaticMethods__getControlAreaDiv$self$$.$_getElemBySubId$("ca", $rootDomElement$$8$$);
}
function $JSCompiler_StaticMethods__getSpinControlDiv$$($JSCompiler_StaticMethods__getSpinControlDiv$self$$, $clientId$$150$$) {
  $AdfAssert$$.assert("small" != $JSCompiler_StaticMethods__getSpinControlDiv$self$$.$_controlArea$ && "compact" != $JSCompiler_StaticMethods__getSpinControlDiv$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__getSpinControlDiv$self$$.$_controlArea$, "Carousel peer should not be accessing the spin control div when controlArea !\x3d full");
  return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$150$$, "sc"));
}
function $JSCompiler_StaticMethods__getSpinInfoDiv$$($JSCompiler_StaticMethods__getSpinInfoDiv$self$$, $clientId$$151$$) {
  $AdfAssert$$.assert("compact" != $JSCompiler_StaticMethods__getSpinInfoDiv$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__getSpinInfoDiv$self$$.$_controlArea$, "Carousel peer should not be accessing the spin info div when controlArea \x3d\x3d compact or none");
  return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$151$$, "si"));
}
function $JSCompiler_StaticMethods__getItemTextDiv$$($clientId$$152$$) {
  return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$152$$, "it"));
}
$JSCompiler_prototypeAlias$$.$_getStatusMessage$ = function $$JSCompiler_prototypeAlias$$$$_getStatusMessage$$() {
  return this.$_getElemBySubId$("sm");
};
$JSCompiler_prototypeAlias$$.$_getElemBySubId$ = function $$JSCompiler_prototypeAlias$$$$_getElemBySubId$$($sub$$, $rootDomElement$$9$$) {
  var $top$$14$$ = this.$getDomElement$();
  null == $top$$14$$ && ($top$$14$$ = $rootDomElement$$9$$);
  return $AdfDhtmlCarouselPeer$$.$_getChildBySubId$($top$$14$$, $sub$$);
};
$AdfDhtmlCarouselPeer$$.$_getChildBySubId$ = function $$AdfDhtmlCarouselPeer$$$$_getChildBySubId$$($parent$$19$$, $sub$$1$$) {
  $AdfAssert$$.assert(null != $parent$$19$$, "Carousel peer cannot get a child by sub ID if the parent is null!");
  for (var $id$$277$$ = $parent$$19$$.id + "::" + $sub$$1$$, $nodes$$11$$ = $parent$$19$$.childNodes, $i$$261$$ = 0;$i$$261$$ < $nodes$$11$$.length;$i$$261$$++) {
    if ($id$$277$$ == $nodes$$11$$[$i$$261$$].id) {
      return $nodes$$11$$[$i$$261$$];
    }
  }
  return null;
};
$AdfDhtmlCarouselPeer$$.$_handlePreviousClick$ = function $$AdfDhtmlCarouselPeer$$$$_handlePreviousClick$$($clientId$$153_domEvent$$22_eventTarget$$44$$) {
  $clientId$$153_domEvent$$22_eventTarget$$44$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($clientId$$153_domEvent$$22_eventTarget$$44$$);
  var $subId$$18$$ = $clientId$$153_domEvent$$22_eventTarget$$44$$.id;
  $subId$$18$$ || ($subId$$18$$ = $clientId$$153_domEvent$$22_eventTarget$$44$$.parentNode.id);
  $clientId$$153_domEvent$$22_eventTarget$$44$$ = $subId$$18$$.substring(0, $subId$$18$$.indexOf("::"));
  $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$($AdfPage$$.$PAGE$.$findComponent$($clientId$$153_domEvent$$22_eventTarget$$44$$).$getPeer$());
};
$AdfDhtmlCarouselPeer$$.$_handleNextClick$ = function $$AdfDhtmlCarouselPeer$$$$_handleNextClick$$($clientId$$154_domEvent$$23_eventTarget$$45$$) {
  $clientId$$154_domEvent$$23_eventTarget$$45$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($clientId$$154_domEvent$$23_eventTarget$$45$$);
  var $subId$$19$$ = $clientId$$154_domEvent$$23_eventTarget$$45$$.id;
  $subId$$19$$ || ($subId$$19$$ = $clientId$$154_domEvent$$23_eventTarget$$45$$.parentNode.id);
  $clientId$$154_domEvent$$23_eventTarget$$45$$ = $subId$$19$$.substring(0, $subId$$19$$.indexOf("::"));
  $JSCompiler_StaticMethods__initiateSpinNextAnimation$$($AdfPage$$.$PAGE$.$findComponent$($clientId$$154_domEvent$$23_eventTarget$$45$$).$getPeer$());
};
$AdfDhtmlCarouselPeer$$.$_handleMouseWheel$ = function $$AdfDhtmlCarouselPeer$$$$_handleMouseWheel$$($evt$$85$$) {
  $evt$$85$$ || ($evt$$85$$ = $AdfPage$$.$PAGE$.$getDomWindow$().event);
  var $scrollAmount$$2$$ = null != $evt$$85$$.wheelDelta ? -$evt$$85$$.wheelDelta / 4 : 4 * $evt$$85$$.detail, $carousel$$2_peer$$97$$ = $AdfPage$$.$PAGE$.$findComponent$(this.id);
  null != $carousel$$2_peer$$97$$ && ($carousel$$2_peer$$97$$ = $carousel$$2_peer$$97$$.$getPeer$(), $carousel$$2_peer$$97$$.$_isVertical$ && ($scrollAmount$$2$$ *= -1), $JSCompiler_StaticMethods__scrollByAmount$$($carousel$$2_peer$$97$$, $scrollAmount$$2$$, !1));
  $AdfAgent$$.$AGENT$.$eatEvent$($evt$$85$$);
};
function $JSCompiler_StaticMethods__scrollByAmount$$($JSCompiler_StaticMethods__scrollByAmount$self$$, $scrollAmount$$3$$, $forcePercentBased$$) {
  if (null != $JSCompiler_StaticMethods__scrollByAmount$self$$.$getComponent$()) {
    if (!$forcePercentBased$$ && 30 >= Math.abs($scrollAmount$$3$$)) {
      0 < $scrollAmount$$3$$ ? $JSCompiler_StaticMethods__initiateSpinNextAnimation$$($JSCompiler_StaticMethods__scrollByAmount$self$$) : 0 != $scrollAmount$$3$$ && $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$($JSCompiler_StaticMethods__scrollByAmount$self$$);
    } else {
      var $bodySize_dataBody$$20$$ = $JSCompiler_StaticMethods__scrollByAmount$self$$.$_getDataBody$(), $bodySize_dataBody$$20$$ = $JSCompiler_StaticMethods__scrollByAmount$self$$.$_isVertical$ ? $bodySize_dataBody$$20$$.offsetHeight : $bodySize_dataBody$$20$$.offsetWidth;
      null != $JSCompiler_StaticMethods__scrollByAmount$self$$.$_queuedScrollAmount$ && ($scrollAmount$$3$$ += $JSCompiler_StaticMethods__scrollByAmount$self$$.$_queuedScrollAmount$);
      $forcePercentBased$$ && Math.abs($scrollAmount$$3$$ / $bodySize_dataBody$$20$$) < $JSCompiler_StaticMethods__scrollByAmount$self$$.$_percentSize$ ? $JSCompiler_StaticMethods__scrollByAmount$self$$.$_queuedScrollAmount$ = $scrollAmount$$3$$ : ($JSCompiler_StaticMethods__scrollByAmount$self$$.$_queuedScrollAmount$ = null, 0 < $scrollAmount$$3$$ ? $JSCompiler_StaticMethods__initiateSpinNextAnimation$$($JSCompiler_StaticMethods__scrollByAmount$self$$) : 0 != $scrollAmount$$3$$ && $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$($JSCompiler_StaticMethods__scrollByAmount$self$$));
    }
  }
}
$AdfDhtmlCarouselPeer$$.$_findFirstChildByTagName$ = function $$AdfDhtmlCarouselPeer$$$$_findFirstChildByTagName$$($parent$$20$$, $name$$93$$) {
  $AdfAssert$$.assert(null != $parent$$20$$, "Carousel peer cannot find first child by tag name if the parent is null!");
  for (var $nodes$$12$$ = $parent$$20$$.childNodes, $i$$262$$ = 0;$i$$262$$ < $nodes$$12$$.length;$i$$262$$++) {
    if ($name$$93$$ == $nodes$$12$$[$i$$262$$].tagName) {
      return $nodes$$12$$[$i$$262$$];
    }
  }
  return null;
};
function $JSCompiler_StaticMethods__getRowKeyAndRow$$($domElement$$97$$, $rootDomElement$$10$$) {
  $AdfAssert$$.$assertDomElement$($domElement$$97$$);
  var $currElement$$11$$ = $domElement$$97$$, $agent$$223$$ = $AdfAgent$$.$AGENT$;
  if (null == $currElement$$11$$ || 1 != $currElement$$11$$.nodeType) {
    return null;
  }
  for (var $rowKey$$19$$ = $agent$$223$$.getAttribute($currElement$$11$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);null == $rowKey$$19$$;) {
    if (null == $currElement$$11$$ || $currElement$$11$$ == $rootDomElement$$10$$) {
      return null;
    }
    $currElement$$11$$ = $currElement$$11$$.parentNode;
    if (null == $currElement$$11$$ || 1 != $currElement$$11$$.nodeType) {
      return null;
    }
    $rowKey$$19$$ = $agent$$223$$.getAttribute($currElement$$11$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
  }
  return [$rowKey$$19$$, $currElement$$11$$];
}
$AdfDhtmlCarouselPeer$$.prototype.$ComponentCurrentItemKeyChanged$ = function $$AdfDhtmlCarouselPeer$$$$$ComponentCurrentItemKeyChanged$$($component$$785$$, $domElement$$98_rowData$$6$$, $newValue$$40$$) {
  this.$_ignoreCurrentItemSet$ || ($domElement$$98_rowData$$6$$ = this.$_findRowByKey$($newValue$$40$$, !1), null == $domElement$$98_rowData$$6$$ ? $AdfAssert$$.assert(null != $domElement$$98_rowData$$6$$, "The carousel '" + $component$$785$$.$getClientId$() + "' does not any item in the current set of fetched items with client key: " + $newValue$$40$$) : (this.$_currentItemKey$ = $newValue$$40$$, $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$(this, $domElement$$98_rowData$$6$$.$row$, 
  !1), $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$$(this, $newValue$$40$$)));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ComponentCurrentItemKeyChanged", {$ComponentCurrentItemKeyChanged$:$AdfDhtmlCarouselPeer$$.prototype.$ComponentCurrentItemKeyChanged$});
function $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__updateCurrentItemKey$self$$, $key$$63$$, $ignoreValidation$$) {
  var $updated$$ = !1, $carousel$$3$$ = $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$getComponent$(), $oldKey$$ = $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$_currentItemKey$, $spinEvent$$ = new $AdfCarouselSpinEvent$$($carousel$$3$$, $oldKey$$, $key$$63$$);
  $ignoreValidation$$ || $JSCompiler_StaticMethods__setEventRootToCurrentItem$$($JSCompiler_StaticMethods__updateCurrentItemKey$self$$, $oldKey$$, $spinEvent$$);
  $spinEvent$$.$queue$();
  $spinEvent$$.$isCanceled$() || ($spinEvent$$.$setRoot$($carousel$$3$$), $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$_currentItemKey$ = $key$$63$$, $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$_ignoreCurrentItemSet$ = !0, $AdfLogger$$.$LOGGER$.finer("Update current item key to:", $key$$63$$), $carousel$$3$$.setCurrentItemKey($key$$63$$), $JSCompiler_StaticMethods__updateCurrentItemKey$self$$.$_ignoreCurrentItemSet$ = !1, $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$$($JSCompiler_StaticMethods__updateCurrentItemKey$self$$, 
  $key$$63$$), $updated$$ = !0);
  return $updated$$;
}
function $JSCompiler_StaticMethods__setEventRootToCurrentItem$$($JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$, $currentItem$$1_key$$64$$, $evt$$86$$) {
  $JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$ = $JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$.$_findRowByKey$($currentItem$$1_key$$64$$, !1);
  $AdfAssert$$.assert(null != $JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$, 'Unexpected null rowData for key "' + $currentItem$$1_key$$64$$ + '".');
  $JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$ && ($currentItem$$1_key$$64$$ = $AdfPage$$.$PAGE$.$findComponent$($AdfDomUtils$$.$getFirstChildElement$($JSCompiler_StaticMethods__setEventRootToCurrentItem$self_rowData$$7$$.$row$).id)) && $evt$$86$$.$setRoot$($currentItem$$1_key$$64$$);
}
function $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$$($JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$, $key$$65$$) {
  var $currentItem$$2_rowData$$8$$ = $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$.$_findRowByKey$($key$$65$$, !0);
  $AdfAssert$$.assert(null != $currentItem$$2_rowData$$8$$, 'Unexpected null rowData for key "' + $key$$65$$ + '".');
  if ($currentItem$$2_rowData$$8$$) {
    var $currentItemClientId$$1_text$$15$$ = $AdfDomUtils$$.$getFirstChildElement$($currentItem$$2_rowData$$8$$.$row$).id, $currentItem$$2_rowData$$8$$ = $AdfPage$$.$PAGE$.$findComponent$($currentItemClientId$$1_text$$15$$), $id$$278_itemTextDiv$$5$$ = $JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$.$getComponent$().$getClientId$(), $id$$278_itemTextDiv$$5$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$278_itemTextDiv$$5$$);
    null == $currentItem$$2_rowData$$8$$ ? ($JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$.$_waitingForTextClientId$ = $currentItemClientId$$1_text$$15$$, $id$$278_itemTextDiv$$5$$.title = "", $id$$278_itemTextDiv$$5$$.innerHTML = "") : ($JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$.$_waitingForTextClientId$ = null, $currentItemClientId$$1_text$$15$$ = $currentItem$$2_rowData$$8$$.getText(), $id$$278_itemTextDiv$$5$$.title = null == $currentItemClientId$$1_text$$15$$ ? 
    "" : $currentItemClientId$$1_text$$15$$, $id$$278_itemTextDiv$$5$$.innerHTML = null == $currentItemClientId$$1_text$$15$$ ? "" : $currentItemClientId$$1_text$$15$$);
    $JSCompiler_StaticMethods__updateSelectedItemClass$$($JSCompiler_StaticMethods__updateTextForNewCurrentItemKey$self$$, $currentItem$$2_rowData$$8$$);
  }
}
$AdfDhtmlCarouselPeer$$.prototype.$CarouselItemInitialized$ = function $$AdfDhtmlCarouselPeer$$$$$CarouselItemInitialized$$($clientId$$156_currentItem$$inline_1562$$) {
  if (null != this.$_waitingForTextClientId$ && this.$_waitingForTextClientId$ == $clientId$$156_currentItem$$inline_1562$$) {
    this.$_waitingForTextClientId$ = null;
    var $id$$inline_1560_itemTextDiv$$inline_1561$$ = this.$getComponent$().$getClientId$(), $id$$inline_1560_itemTextDiv$$inline_1561$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$inline_1560_itemTextDiv$$inline_1561$$);
    $clientId$$156_currentItem$$inline_1562$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$156_currentItem$$inline_1562$$);
    if (null == $clientId$$156_currentItem$$inline_1562$$) {
      $id$$inline_1560_itemTextDiv$$inline_1561$$.title = "", $id$$inline_1560_itemTextDiv$$inline_1561$$.innerHTML = "";
    } else {
      var $text$$inline_1563$$ = $clientId$$156_currentItem$$inline_1562$$.getText();
      $id$$inline_1560_itemTextDiv$$inline_1561$$.title = null == $text$$inline_1563$$ ? "" : $text$$inline_1563$$;
      $id$$inline_1560_itemTextDiv$$inline_1561$$.innerHTML = null == $text$$inline_1563$$ ? "" : $text$$inline_1563$$;
    }
    $JSCompiler_StaticMethods__updateSelectedItemClass$$(this, $clientId$$156_currentItem$$inline_1562$$);
  }
  $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.CarouselItemInitialized", {$CarouselItemInitialized$:$AdfDhtmlCarouselPeer$$.prototype.$CarouselItemInitialized$});
function $JSCompiler_StaticMethods__updateSelectedItemClass$$($JSCompiler_StaticMethods__updateSelectedItemClass$self$$, $newCurrentItemComponent$$) {
  for (var $selectedStyleClass$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass("p_AFSelected"), $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$ = $JSCompiler_StaticMethods__updateSelectedItemClass$self$$.$_getDataBody$().firstChild.childNodes, $rowCount$$7$$ = $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.length, $r$$2$$ = 0;$r$$2$$ < $rowCount$$7$$;++$r$$2$$) {
    var $row$$19$$ = $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$[$r$$2$$];
    if ($AdfDomUtils$$.$removeCSSClassName$($row$$19$$, $selectedStyleClass$$)) {
      ($currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$ = $AdfDomUtils$$.$getFirstChildElement$($row$$19$$)) && $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.removeAttribute("aria-selected");
      break;
    }
  }
  null != $newCurrentItemComponent$$ && ($currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$ = $newCurrentItemComponent$$.$getPeer$(), $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.bind($newCurrentItemComponent$$), $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$ = $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.$getDomElement$(), $AdfDomUtils$$.$addCSSClassName$($currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.parentNode, $selectedStyleClass$$), 
  $JSCompiler_StaticMethods__updateSelectedItemClass$self$$.$getDomElement$().setAttribute("aria-activedescendant", $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.id), $currentItemElement_currentItemPeer_oldSelectedItem_rows$$2$$.setAttribute("aria-selected", !0));
}
function $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$) {
  function $callback$$96$$() {
    $callback$$96$$.$_self$.$_delRes$();
  }
  $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$.$_pendingResizeNotify$ && (window.clearTimeout($JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$.$_pendingResizeNotify$), delete $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$.$_pendingResizeNotify$);
  var $domWindow$$96$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
  $callback$$96$$.$_self$ = $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$;
  $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$self$$.$_pendingResizeNotify$ = $domWindow$$96$$.setTimeout($callback$$96$$, 1);
}
$AdfDhtmlCarouselPeer$$.prototype._delRes = function $$AdfDhtmlCarouselPeer$$$$_delRes$() {
  $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$$(this, this.$getComponent$());
};
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCarouselPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_isTargetCellEditable$ = function $$JSCompiler_prototypeAlias$$$$_isTargetCellEditable$$($node$$73$$) {
  for (var $agent$$224$$ = $AdfAgent$$.$getAgent$(), $nodeName$$6$$, $rootElement$$31$$ = this.$getDomElement$(), $inputRegExp$$ = $AdfDhtmlCarouselPeer$$.$_INPUT_REGEXP$;null != $node$$73$$ && $node$$73$$ != $rootElement$$31$$ && "TD" != ($nodeName$$6$$ = $agent$$224$$.$getNodeName$($node$$73$$)) && "TH" != $nodeName$$6$$;) {
    if ($nodeName$$6$$.match($inputRegExp$$) && -1 != $node$$73$$.tabIndex) {
      return !0;
    }
    $node$$73$$ = $node$$73$$.parentNode;
  }
  return !1;
};
$JSCompiler_prototypeAlias$$.$_handleDataBodySelectStart$ = function $$JSCompiler_prototypeAlias$$$$_handleDataBodySelectStart$$($evt$$87$$) {
  $evt$$87$$ || ($evt$$87$$ = $AdfPage$$.$PAGE$.$getDomWindow$().event);
  var $agent$$225$$ = $AdfAgent$$.$AGENT$;
  this.$_isTargetCellEditable$($AdfAgent$$.$AGENT$.$getEventTarget$($evt$$87$$)) || $agent$$225$$.preventDefault($evt$$87$$);
};
$JSCompiler_prototypeAlias$$.$_findRowByKey$ = function $$JSCompiler_prototypeAlias$$$$_findRowByKey$$($rowKey$$21$$, $firstByDefault$$) {
  for (var $rowInfo$$ = null, $block$$9_firstKey$$ = this.$_getDataBody$().firstChild, $rows$$3$$ = $block$$9_firstKey$$.childNodes, $numberOfLeadingPlaceholders$$ = $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($block$$9_firstKey$$), $firstRow$$1_r$$3$$ = $numberOfLeadingPlaceholders$$;$firstRow$$1_r$$3$$ < $rows$$3$$.length && !$rowInfo$$;$firstRow$$1_r$$3$$++) {
    var $row$$21$$ = $rows$$3$$[$firstRow$$1_r$$3$$], $rowKeyAttribute$$ = $row$$21$$.getAttribute($AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
    if (null == $rowKeyAttribute$$) {
      break;
    }
    if ($rowKey$$21$$ == $rowKeyAttribute$$) {
      $rowInfo$$ = {$row$:$row$$21$$, index:$block$$9_firstKey$$.$startRow$ + $firstRow$$1_r$$3$$ - $numberOfLeadingPlaceholders$$, $block$:$block$$9_firstKey$$};
      break;
    }
  }
  $firstByDefault$$ && null == $rowInfo$$ && 0 < $rows$$3$$.length && ($firstRow$$1_r$$3$$ = $rows$$3$$[$numberOfLeadingPlaceholders$$], $AdfAssert$$.assert(!$AdfDhtmlCarouselPeer$$.$_isPlaceholder$($firstRow$$1_r$$3$$), "The located firstRow (by default) is a placeholder: " + $numberOfLeadingPlaceholders$$ + ", " + $firstRow$$1_r$$3$$ + ", " + $rows$$3$$), $rowInfo$$ = {$row$:$firstRow$$1_r$$3$$, index:$block$$9_firstKey$$.$startRow$, $block$:$block$$9_firstKey$$}, $block$$9_firstKey$$ = $AdfAgent$$.$AGENT$.getAttribute($firstRow$$1_r$$3$$, 
  $AdfDhtmlCarouselPeer$$.$_ROW_KEY$), $JSCompiler_StaticMethods__updateCurrentItemKey$$(this, $block$$9_firstKey$$, !0));
  return $rowInfo$$;
};
$JSCompiler_prototypeAlias$$.$_collectClientTokens$ = function $$JSCompiler_prototypeAlias$$$$_collectClientTokens$$($cacheType$$) {
  for (var $tokens$$19$$ = "", $blockList$$ = this.$_getDataBody$().childNodes, $i$$263$$ = 0;$i$$263$$ < $blockList$$.length;$i$$263$$++) {
    for (var $rows$$4$$ = $blockList$$[$i$$263$$].childNodes, $r$$4$$ = 0;$r$$4$$ < $rows$$4$$.length;$r$$4$$++) {
      var $keys$$5_token$$15$$ = $rows$$4$$[$r$$4$$].getAttribute($AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      if (null != $keys$$5_token$$15$$) {
        if ("flat" == $cacheType$$) {
          $tokens$$19$$ += $keys$$5_token$$15$$, $tokens$$19$$ += "_";
        } else {
          for (var $keys$$5_token$$15$$ = $keys$$5_token$$15$$.split(","), $levels$$ = $keys$$5_token$$15$$.length, $tokens$$19$$ = $tokens$$19$$ + $keys$$5_token$$15$$[$levels$$ - 1], $tokens$$19$$ = $tokens$$19$$ + "_", $l$$2$$ = 0;$l$$2$$ < $levels$$ - 1;$l$$2$$++) {
            var $parent$$21$$ = $keys$$5_token$$15$$[$l$$2$$];
            $tokens$$19$$.match(new RegExp("(^|_)" + $parent$$21$$ + "(_|$)")) || ($tokens$$19$$ += $parent$$21$$, $tokens$$19$$ += "_");
          }
        }
      }
    }
  }
  return $tokens$$19$$;
};
$JSCompiler_prototypeAlias$$.$_grabFocus$ = function $$JSCompiler_prototypeAlias$$$$_grabFocus$$() {
  $AdfFocusUtils$$.$focusElement$(this.$getDomElement$());
};
$JSCompiler_prototypeAlias$$.$HandleComponentKeyDown$ = function $$JSCompiler_prototypeAlias$$$$HandleComponentKeyDown$$($componentEvent$$133_domEvent$$24$$) {
  if (!$componentEvent$$133_domEvent$$24$$.$isCanceled$()) {
    $componentEvent$$133_domEvent$$24$$ = $componentEvent$$133_domEvent$$24$$.$getNativeEvent$();
    var $agent$$226$$ = $AdfAgent$$.$AGENT$, $eventTarget$$46_rtl$$ = $agent$$226$$.$getEventTarget$($componentEvent$$133_domEvent$$24$$), $keyCode$$45$$ = $componentEvent$$133_domEvent$$24$$.keyCode, $propagate$$2_shiftKey$$inline_1567$$ = !0, $eventTargetId$$ = $eventTarget$$46_rtl$$.id;
    if ($eventTarget$$46_rtl$$ && $keyCode$$45$$ == $AdfKeyStroke$$.$TAB_KEY$) {
      var $propagate$$2_shiftKey$$inline_1567$$ = $componentEvent$$133_domEvent$$24$$.shiftKey, $currentItemKey$$inline_1568_rowData$$inline_1579$$ = this.$_currentItemKey$;
      if ($currentItemKey$$inline_1568_rowData$$inline_1579$$) {
        var $id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = !0, $id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$ = this.$getComponent$().$getClientId$(), $agent$$inline_1571_inCurrentItem$$inline_1577$$ = $AdfAgent$$.$AGENT$, $rootElement$$inline_1572_thumbTargeted$$ = this.$getDomElement$(), $dataBody$$inline_1573_inDataBody$$inline_1574$$ = this.$_getDataBody$(), $dataBody$$inline_1573_inDataBody$$inline_1574$$ = $AdfDomUtils$$.$isAncestorOrSelf$($dataBody$$inline_1573_inDataBody$$inline_1574$$, 
        $eventTarget$$46_rtl$$);
        "none" == this.$_controlArea$ ? ($id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$), $id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$ = $AdfFocusUtils$$.$getNextTabStop$($id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$, null, !0)) : $id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$ = $agent$$inline_1571_inCurrentItem$$inline_1577$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$, 
        "sp"));
        var $agent$$inline_1571_inCurrentItem$$inline_1577$$ = !1, $currentItemElement$$inline_1578$$ = null;
        if ($currentItemKey$$inline_1568_rowData$$inline_1579$$ = this.$_findRowByKey$($currentItemKey$$inline_1568_rowData$$inline_1579$$, !1)) {
          $currentItemElement$$inline_1578$$ = $currentItemKey$$inline_1568_rowData$$inline_1579$$.$row$, $agent$$inline_1571_inCurrentItem$$inline_1577$$ = $AdfDomUtils$$.$isAncestorOrSelf$($currentItemElement$$inline_1578$$, $eventTarget$$46_rtl$$);
        }
        $propagate$$2_shiftKey$$inline_1567$$ ? $dataBody$$inline_1573_inDataBody$$inline_1574$$ ? $agent$$inline_1571_inCurrentItem$$inline_1577$$ ? $AdfFocusUtils$$.$getFirstTabStop$($currentItemElement$$inline_1578$$, !1) == $eventTarget$$46_rtl$$ && ($AdfFocusUtils$$.$focusElement$($rootElement$$inline_1572_thumbTargeted$$), $id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = !1) : ($AdfFocusUtils$$.$focusElement$($rootElement$$inline_1572_thumbTargeted$$), $id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = 
        !1) : $AdfDomUtils$$.$isAncestorOrSelf$($id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$, $eventTarget$$46_rtl$$) && ($AdfFocusUtils$$.$focusLastTabStop$($currentItemElement$$inline_1578$$) || $AdfFocusUtils$$.$focusElement$($rootElement$$inline_1572_thumbTargeted$$), $id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = !1) : $dataBody$$inline_1573_inDataBody$$inline_1574$$ ? $agent$$inline_1571_inCurrentItem$$inline_1577$$ ? $AdfFocusUtils$$.$getLastTabStop$($currentItemElement$$inline_1578$$, 
        !1) == $eventTarget$$46_rtl$$ && ($AdfFocusUtils$$.$focusElement$($id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$), $id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = !1) : ($AdfFocusUtils$$.$focusElement$($id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$), $id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = !1) : $eventTarget$$46_rtl$$ == $rootElement$$inline_1572_thumbTargeted$$ && ($AdfFocusUtils$$.$focusFirstTabStop$($currentItemElement$$inline_1578$$) || 
        $AdfFocusUtils$$.$focusElement$($id$$inline_1570_itemTextDiv$$inline_1576_nextFocusable$$inline_1575$$), $id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = !1);
        $propagate$$2_shiftKey$$inline_1567$$ = $id$$280_propagate$$inline_1569_spinThumbElem$$3$$;
      } else {
        $propagate$$2_shiftKey$$inline_1567$$ = !0;
      }
    }
    if ($propagate$$2_shiftKey$$inline_1567$$ && $eventTarget$$46_rtl$$ && $eventTargetId$$ && !this.$_isEmpty$ && ($id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = this.$getComponent$().$getClientId$(), $rootElement$$inline_1572_thumbTargeted$$ = !1, "small" != this.$_controlArea$ && "compact" != this.$_controlArea$ && "none" != this.$_controlArea$ && ($id$$280_propagate$$inline_1569_spinThumbElem$$3$$ = $agent$$226$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$280_propagate$$inline_1569_spinThumbElem$$3$$, 
    "st")), $rootElement$$inline_1572_thumbTargeted$$ = $eventTargetId$$ == $id$$280_propagate$$inline_1569_spinThumbElem$$3$$.id), $rootElement$$inline_1572_thumbTargeted$$ || !this.$_isTargetCellEditable$($eventTarget$$46_rtl$$))) {
      if ($eventTarget$$46_rtl$$ = $AdfDhtmlCarouselPeer$$.$_isRTL$(), $keyCode$$45$$ == $AdfKeyStroke$$.$ARROWUP_KEY$ || $keyCode$$45$$ == $AdfKeyStroke$$.$ARROWLEFT_KEY$) {
        this.$_isVertical$ ? $componentEvent$$133_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 0) : $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$(this) : $eventTarget$$46_rtl$$ ? $componentEvent$$133_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 1) : $JSCompiler_StaticMethods__initiateSpinNextAnimation$$(this) : $componentEvent$$133_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 
        0) : $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$(this), propogate = !1;
      } else {
        if ($keyCode$$45$$ == $AdfKeyStroke$$.$ARROWDOWN_KEY$ || $keyCode$$45$$ == $AdfKeyStroke$$.$ARROWRIGHT_KEY$) {
          this.$_isVertical$ ? $componentEvent$$133_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 1) : $JSCompiler_StaticMethods__initiateSpinNextAnimation$$(this) : $eventTarget$$46_rtl$$ ? ($componentEvent$$133_domEvent$$24$$.shiftKey ? $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 0) : $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$(this), $propagate$$2_shiftKey$$inline_1567$$ = !1) : $componentEvent$$133_domEvent$$24$$.shiftKey ? 
          $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$(this, 1) : $JSCompiler_StaticMethods__initiateSpinNextAnimation$$(this), propogate = !1;
        }
      }
    }
    $propagate$$2_shiftKey$$inline_1567$$ || $agent$$226$$.$eatEvent$($componentEvent$$133_domEvent$$24$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlCarouselPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlCarouselPeer$$.prototype.$_getNextRowKeyAndRow$ = function $$AdfDhtmlCarouselPeer$$$$$_getNextRowKeyAndRow$$($selectedRowKey$$) {
  if ($selectedRowKey$$) {
    for (var $agent$$228$$ = $AdfAgent$$.$AGENT$, $attrs$$4$$ = {}, $rows$$5$$ = this.$_getDataBody$().firstChild.childNodes, $rowCount$$8$$ = $rows$$5$$.length, $j$$28$$ = 0;$j$$28$$ < $rowCount$$8$$;++$j$$28$$) {
      var $row$$22$$ = $rows$$5$$[$j$$28$$], $rowKey$$22$$ = $agent$$228$$.getAttribute($row$$22$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      if (null != $rowKey$$22$$) {
        if (null == $selectedRowKey$$) {
          $attrs$$4$$.$rowKey$ = $rowKey$$22$$;
          $attrs$$4$$.$row$ = $row$$22$$;
          break;
        } else {
          if ($rowKey$$22$$ == $selectedRowKey$$) {
            $attrs$$4$$.$lastRowKeyInView$ = $rowKey$$22$$;
            if ($j$$28$$ + 1 < $rowCount$$8$$) {
              $row$$22$$ = $rows$$5$$[$j$$28$$ + 1];
              $rowKey$$22$$ = $agent$$228$$.getAttribute($row$$22$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
              if (null == $rowKey$$22$$) {
                break;
              }
              $attrs$$4$$.$rowKey$ = $rowKey$$22$$;
              $attrs$$4$$.$row$ = $row$$22$$;
            }
            break;
          }
        }
      }
    }
    return $attrs$$4$$;
  }
};
$AdfDhtmlCarouselPeer$$.prototype.$_getPreviousRowKeyAndRow$ = function $$AdfDhtmlCarouselPeer$$$$$_getPreviousRowKeyAndRow$$($selectedRowKey$$1$$) {
  if ($selectedRowKey$$1$$) {
    for (var $agent$$229$$ = $AdfAgent$$.$AGENT$, $dataBody$$25$$ = this.$_getDataBody$(), $attrs$$5$$ = {}, $rows$$6$$ = $dataBody$$25$$.firstChild.childNodes, $j$$29$$ = $rows$$6$$.length - 1;0 <= $j$$29$$;--$j$$29$$) {
      var $row$$23$$ = $rows$$6$$[$j$$29$$], $rowKey$$23$$ = $agent$$229$$.getAttribute($row$$23$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      if (null != $rowKey$$23$$) {
        if (null == $selectedRowKey$$1$$) {
          $attrs$$5$$.$rowKey$ = $rowKey$$23$$;
          $attrs$$5$$.$row$ = $row$$23$$;
          break;
        } else {
          if ($rowKey$$23$$ == $selectedRowKey$$1$$) {
            $attrs$$5$$.$lastRowKeyInView$ = $rowKey$$23$$;
            if (0 <= $j$$29$$ - 1) {
              $row$$23$$ = $rows$$6$$[$j$$29$$ - 1];
              $rowKey$$23$$ = $agent$$229$$.getAttribute($row$$23$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
              if (null == $rowKey$$23$$) {
                break;
              }
              $attrs$$5$$.$rowKey$ = $rowKey$$23$$;
              $attrs$$5$$.$row$ = $row$$23$$;
            } else {
              0 == $agent$$229$$.$getIntAttribute$($dataBody$$25$$.firstChild, "_startRow", -1) && ($attrs$$5$$.$isAtTop$ = !0);
            }
            break;
          }
        }
      }
    }
    return $attrs$$5$$;
  }
};
$AdfDhtmlCarouselPeer$$.prototype.$_isImmediateContentDelivery$ = function $$AdfDhtmlCarouselPeer$$$$$_isImmediateContentDelivery$$($component$$788$$) {
  return "immediate" == $component$$788$$.getContentDelivery();
};
$AdfDhtmlCarouselPeer$$.$_isRTL$ = function $$AdfDhtmlCarouselPeer$$$$_isRTL$$() {
  return $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
};
$AdfDhtmlCarouselPeer$$.prototype.$_isOwnComponentEvent$ = function $$AdfDhtmlCarouselPeer$$$$$_isOwnComponentEvent$$($componentEvent$$134_source$$185$$) {
  $componentEvent$$134_source$$185$$ = $componentEvent$$134_source$$185$$.getSource();
  for (var $self$$63$$ = this.$getComponent$(), $isOwn$$ = !1;!$isOwn$$ && $componentEvent$$134_source$$185$$;) {
    if ($componentEvent$$134_source$$185$$ == $self$$63$$) {
      $isOwn$$ = !0;
    } else {
      if ($componentEvent$$134_source$$185$$ instanceof AdfRichCarousel || $componentEvent$$134_source$$185$$ instanceof AdfUIPopup) {
        break;
      }
      $componentEvent$$134_source$$185$$ = $componentEvent$$134_source$$185$$.getParent();
    }
  }
  return $isOwn$$;
};
$AdfDhtmlCarouselPeer$$.$_setCursor$ = function $$AdfDhtmlCarouselPeer$$$$_setCursor$$($elem$$20$$, $cur$$2$$) {
  $elem$$20$$ && $elem$$20$$.style.cursor != $cur$$2$$ && ($elem$$20$$.style.cursor = $cur$$2$$);
};
function $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$, $selectedWrapper$$5$$, $animationAlreadyStopped_selectedSize$$2$$) {
  $animationAlreadyStopped_selectedSize$$2$$ || $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$.$_stopAnimation$(!0);
  $animationAlreadyStopped_selectedSize$$2$$ = $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$.$_selectedSize$;
  var $component$$789_valign$$3$$ = $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$.$getComponent$(), $halign$$3$$ = $component$$789_valign$$3$$.getHalign(), $component$$789_valign$$3$$ = $component$$789_valign$$3$$.getValign(), $vertical$$9$$ = $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$.$_isVertical$;
  $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$, $selectedWrapper$$5$$, $animationAlreadyStopped_selectedSize$$2$$, 0, 3E3, $vertical$$9$$, $component$$789_valign$$3$$, $halign$$3$$, 1, !1);
  $JSCompiler_StaticMethods__positionSiblings$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$, $selectedWrapper$$5$$, $vertical$$9$$, $component$$789_valign$$3$$, $halign$$3$$, !0);
  $JSCompiler_StaticMethods__positionSiblings$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$, $selectedWrapper$$5$$, $vertical$$9$$, $component$$789_valign$$3$$, $halign$$3$$, !1);
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$($JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$self$$);
}
function $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$) {
  var $page$$97$$ = $AdfPage$$.$PAGE$;
  $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$ = $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$.$_getDataBody$().firstChild.childNodes;
  for (var $rowCount$$10$$ = $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$.length, $r$$5$$ = 0;$r$$5$$ < $rowCount$$10$$;++$r$$5$$) {
    var $firstChildElement_itemClientId$$1_itemComponent_row$$24$$ = $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$self_rows$$7$$[$r$$5$$];
    "block" == $firstChildElement_itemClientId$$1_itemComponent_row$$24$$.style.display && ($firstChildElement_itemClientId$$1_itemComponent_row$$24$$ = $AdfDomUtils$$.$getFirstChildElement$($firstChildElement_itemClientId$$1_itemComponent_row$$24$$), null != $firstChildElement_itemClientId$$1_itemComponent_row$$24$$ && ($firstChildElement_itemClientId$$1_itemComponent_row$$24$$ = $firstChildElement_itemClientId$$1_itemComponent_row$$24$$.id, null != $firstChildElement_itemClientId$$1_itemComponent_row$$24$$ && 
    ($firstChildElement_itemClientId$$1_itemComponent_row$$24$$ = $AdfPage$$.$PAGE$.$findComponent$($firstChildElement_itemClientId$$1_itemComponent_row$$24$$), null != $firstChildElement_itemClientId$$1_itemComponent_row$$24$$ && $page$$97$$.$doResizeNotify$($firstChildElement_itemClientId$$1_itemComponent_row$$24$$))));
  }
}
function $JSCompiler_StaticMethods__updateTransientDragPosition$$($JSCompiler_StaticMethods__updateTransientDragPosition$self$$, $desiredPercent$$) {
  if (!$JSCompiler_StaticMethods__updateTransientDragPosition$self$$.$getComponent$().getDisabled()) {
    var $rowCount$$11$$ = $JSCompiler_StaticMethods__updateTransientDragPosition$self$$.$_rowCount$;
    -1 == $rowCount$$11$$ && ($rowCount$$11$$ = $JSCompiler_StaticMethods__updateTransientDragPosition$self$$.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$);
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$($JSCompiler_StaticMethods__updateTransientDragPosition$self$$, Math.min(Math.max(0, $desiredPercent$$ * ($rowCount$$11$$ - 1)), $rowCount$$11$$ - 1));
  }
}
function $JSCompiler_StaticMethods__positionSiblings$$($JSCompiler_StaticMethods__positionSiblings$self$$, $auxItem_selectedItem$$2$$, $vertical$$10$$, $valign$$4$$, $halign$$4$$, $previous$$) {
  var $auxSize_selectedSize$$3$$ = $JSCompiler_StaticMethods__positionSiblings$self$$.$_selectedSize$, $shift_zIndex$$1$$ = 3E3;
  $auxItem_selectedItem$$2$$ = $previous$$ ? $AdfDomUtils$$.$getPreviousElement$($auxItem_selectedItem$$2$$) : $AdfDomUtils$$.$getNextElement$($auxItem_selectedItem$$2$$);
  if ("oneByOne" == $JSCompiler_StaticMethods__positionSiblings$self$$.$_displayItems$) {
    for ($shift_zIndex$$1$$ = $previous$$ ? -$auxSize_selectedSize$$3$$ : $auxSize_selectedSize$$3$$;null != $auxItem_selectedItem$$2$$;) {
      $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__positionSiblings$self$$, $auxItem_selectedItem$$2$$, $auxSize_selectedSize$$3$$, $shift_zIndex$$1$$, 2999, $vertical$$10$$, $valign$$4$$, $halign$$4$$, 1, !0), $auxItem_selectedItem$$2$$ = $previous$$ ? $AdfDomUtils$$.$getPreviousElement$($auxItem_selectedItem$$2$$) : $AdfDomUtils$$.$getNextElement$($auxItem_selectedItem$$2$$);
    }
  } else {
    for (var $shrinkFactor$$ = $JSCompiler_StaticMethods__positionSiblings$self$$.$_SHRINK_FACTOR$, $shiftFactor$$ = $JSCompiler_StaticMethods__positionSiblings$self$$.$_SHIFT_FACTOR$, $auxShift$$ = 0, $auxOpacity$$ = 100;null != $auxItem_selectedItem$$2$$;) {
      $auxShift$$ += $auxSize_selectedSize$$3$$ * $shiftFactor$$, $auxSize_selectedSize$$3$$ = Math.round($auxSize_selectedSize$$3$$ * $shrinkFactor$$), $auxOpacity$$ *= $shrinkFactor$$, $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__positionSiblings$self$$, $auxItem_selectedItem$$2$$, $auxSize_selectedSize$$3$$, $previous$$ ? -$auxShift$$ : $auxShift$$, --$shift_zIndex$$1$$, $vertical$$10$$, $valign$$4$$, $halign$$4$$, Math.max(1, 100 - $auxOpacity$$), !0), $auxItem_selectedItem$$2$$ = 
      $previous$$ ? $AdfDomUtils$$.$getPreviousElement$($auxItem_selectedItem$$2$$) : $AdfDomUtils$$.$getNextElement$($auxItem_selectedItem$$2$$);
    }
  }
}
function $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$($JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$, $offsetIndex$$) {
  var $shrinkFactor$$1$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$.$_SHRINK_FACTOR$, $shiftFactor$$1$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$.$_SHIFT_FACTOR$, $auxShift$$1$$ = 0, $auxSize$$1$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$.$_selectedSize$, $auxOpacity$$1$$ = 100;
  if ("oneByOne" == $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$self$$.$_displayItems$) {
    $auxShift$$1$$ = $offsetIndex$$, $auxOpacity$$1$$ *= $shrinkFactor$$1$$;
  } else {
    for (var $i$$264$$ = 0;$i$$264$$ < $offsetIndex$$;$i$$264$$++) {
      $auxShift$$1$$ += $auxSize$$1$$ * $shiftFactor$$1$$, $auxSize$$1$$ = Math.round($auxSize$$1$$ * $shrinkFactor$$1$$), $auxOpacity$$1$$ *= $shrinkFactor$$1$$;
    }
  }
  return {$auxShift$:$auxShift$$1$$, $auxSize$:$auxSize$$1$$, $auxOpacity$:Math.max(1, 100 - $auxOpacity$$1$$)};
}
function $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__positionItem$self$$, $item$$9_itemOverlay$$, $size$$25$$, $shift$$1$$, $zIndex$$2$$, $vertical$$11$$, $valign$$5$$, $halign$$5$$, $overlayOpacity$$, $showOverlay$$) {
  var $dataBodyWidth$$3$$ = $JSCompiler_StaticMethods__positionItem$self$$.$_dataBodyWidth$, $dataBodyHeight$$3$$ = $JSCompiler_StaticMethods__positionItem$self$$.$_dataBodyHeight$, $wrapperStyle$$6$$ = $item$$9_itemOverlay$$.style;
  $wrapperStyle$$6$$.display = 5 < $size$$25$$ || !$showOverlay$$ ? "block" : "none";
  $wrapperStyle$$6$$.width = $size$$25$$ + "px";
  $wrapperStyle$$6$$.height = $size$$25$$ + "px";
  $showOverlay$$ || "oneByOne" != $JSCompiler_StaticMethods__positionItem$self$$.$_displayItems$ ? ($wrapperStyle$$6$$.top = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__positionItem$self$$, $vertical$$11$$, $valign$$5$$, $dataBodyHeight$$3$$, $size$$25$$, $shift$$1$$) + "px", $wrapperStyle$$6$$.left = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__positionItem$self$$, $vertical$$11$$, $halign$$5$$, $dataBodyWidth$$3$$, $size$$25$$, $shift$$1$$) + "px") : 
  ($wrapperStyle$$6$$.top = "0px", $wrapperStyle$$6$$.left = "0px");
  $wrapperStyle$$6$$.zIndex = $zIndex$$2$$;
  $item$$9_itemOverlay$$ = $AdfDomUtils$$.$getLastChildElement$($item$$9_itemOverlay$$);
  null != $item$$9_itemOverlay$$ && ($item$$9_itemOverlay$$.style.display = $showOverlay$$ ? "block" : "none", $JSCompiler_StaticMethods__positionItem$self$$.$_useOpacity$ ? $AdfAgent$$.$AGENT$.$setOpacity$($item$$9_itemOverlay$$, $overlayOpacity$$) : $item$$9_itemOverlay$$.style.backgroundColor = "transparent");
}
function $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$, $vertical$$12$$, $halign$$6$$, $dbWidth$$1$$, $itemSize$$, $shift$$2$$) {
  if (0 != $shift$$2$$ && "oneByOne" == $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_displayItems$) {
    return $vertical$$12$$ ? 0 : 0 > $shift$$2$$ ? -$JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_selectedSize$ : $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_selectedSize$;
  }
  $vertical$$12$$ ? $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$ = "start" == $halign$$6$$ ? $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $dbWidth$$1$$ - $itemSize$$ - $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_widthMargin$ : $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_widthMargin$ : "end" == $halign$$6$$ ? $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_widthMargin$ : $dbWidth$$1$$ - $itemSize$$ - $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$.$_widthMargin$ : 
  .5 * ($dbWidth$$1$$ - $itemSize$$) : ($JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$ = "start" == $halign$$6$$ ? .2 * ($dbWidth$$1$$ - $itemSize$$) + $shift$$2$$ : "end" == $halign$$6$$ ? .8 * ($dbWidth$$1$$ - $itemSize$$) + $shift$$2$$ : .5 * ($dbWidth$$1$$ - $itemSize$$) + $shift$$2$$, $AdfDhtmlCarouselPeer$$.$_isRTL$() && ($JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$ = $dbWidth$$1$$ - $itemSize$$ - $JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$));
  return Math.round($JSCompiler_StaticMethods__getHalignLeft$self_halignLeft$$);
}
function $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__getValignTop$self$$, $valignTop_vertical$$13$$, $valign$$6$$, $dbHeight$$1$$, $itemSize$$1$$, $shift$$3$$) {
  if (0 != $shift$$3$$ && "oneByOne" == $JSCompiler_StaticMethods__getValignTop$self$$.$_displayItems$) {
    return $valignTop_vertical$$13$$ ? 0 > $shift$$3$$ ? -$JSCompiler_StaticMethods__getValignTop$self$$.$_selectedSize$ : $JSCompiler_StaticMethods__getValignTop$self$$.$_selectedSize$ : 0;
  }
  $valignTop_vertical$$13$$ ? "top" == $valign$$6$$ ? ($valignTop_vertical$$13$$ = .2 * ($dbHeight$$1$$ - $itemSize$$1$$) + $shift$$3$$, 0 < $shift$$3$$ && ($valignTop_vertical$$13$$ += $JSCompiler_StaticMethods__getValignTop$self$$.$_heightOfBoxUnderCurrentItem$)) : "bottom" == $valign$$6$$ ? ($valignTop_vertical$$13$$ = .8 * ($dbHeight$$1$$ - $itemSize$$1$$) + $shift$$3$$, 0 < $shift$$3$$ && ($valignTop_vertical$$13$$ += .25 * $JSCompiler_StaticMethods__getValignTop$self$$.$_heightOfBoxUnderCurrentItem$)) : 
  ($valignTop_vertical$$13$$ = .5 * ($dbHeight$$1$$ - $itemSize$$1$$) + $shift$$3$$, 0 < $shift$$3$$ && ($valignTop_vertical$$13$$ += $JSCompiler_StaticMethods__getValignTop$self$$.$_heightOfBoxUnderCurrentItem$)) : $valignTop_vertical$$13$$ = "top" == $valign$$6$$ ? $JSCompiler_StaticMethods__getValignTop$self$$.$_heightMargin$ : "bottom" == $valign$$6$$ ? $dbHeight$$1$$ - $itemSize$$1$$ - $JSCompiler_StaticMethods__getValignTop$self$$.$_heightMargin$ : .5 * ($dbHeight$$1$$ - $itemSize$$1$$);
  return Math.round($valignTop_vertical$$13$$);
}
function $JSCompiler_StaticMethods__replaceWithDataBlock$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$, $dataBody$$27_row$$25_startRow$$2$$, $desiredRowKey$$1_newBlock$$1$$, $fetchIndex$$2$$) {
  var $agent$$231$$ = $AdfAgent$$.$AGENT$, $currentBlock$$1_rowCount$$12$$ = $dataBody$$27_row$$25_startRow$$2$$.firstChild;
  $JSCompiler_StaticMethods__replaceWithDataBlock$self$$.$_unregisterNode$($currentBlock$$1_rowCount$$12$$);
  $dataBody$$27_row$$25_startRow$$2$$.removeChild($currentBlock$$1_rowCount$$12$$);
  $dataBody$$27_row$$25_startRow$$2$$.appendChild($desiredRowKey$$1_newBlock$$1$$);
  $agent$$231$$.$elementsAdded$($desiredRowKey$$1_newBlock$$1$$);
  ($dataBody$$27_row$$25_startRow$$2$$ = $desiredRowKey$$1_newBlock$$1$$.firstChild) ? ($dataBody$$27_row$$25_startRow$$2$$ = $desiredRowKey$$1_newBlock$$1$$.$startRow$, $currentBlock$$1_rowCount$$12$$ = $desiredRowKey$$1_newBlock$$1$$.childNodes.length, $AdfAssert$$.assert($fetchIndex$$2$$ >= $dataBody$$27_row$$25_startRow$$2$$, "Bad data block state: (" + $desiredRowKey$$1_newBlock$$1$$.innerHTML + ", " + $fetchIndex$$2$$ + ", " + $dataBody$$27_row$$25_startRow$$2$$ + ", " + $currentBlock$$1_rowCount$$12$$ + 
  ")"), $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$.$getComponent$(), $dataBody$$27_row$$25_startRow$$2$$, $currentBlock$$1_rowCount$$12$$), $fetchIndex$$2$$ = Math.min($fetchIndex$$2$$, $dataBody$$27_row$$25_startRow$$2$$ + $currentBlock$$1_rowCount$$12$$ - 1), $dataBody$$27_row$$25_startRow$$2$$ = $desiredRowKey$$1_newBlock$$1$$.childNodes[$fetchIndex$$2$$ - $dataBody$$27_row$$25_startRow$$2$$], $desiredRowKey$$1_newBlock$$1$$ = 
  $agent$$231$$.getAttribute($dataBody$$27_row$$25_startRow$$2$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$), $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$, $desiredRowKey$$1_newBlock$$1$$, !0), $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$, $dataBody$$27_row$$25_startRow$$2$$, !1), $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__replaceWithDataBlock$self$$)) : 
  $AdfLogger$$.$LOGGER$.severe("No items in the data block");
}
function $JSCompiler_StaticMethods__addDataBlockItems$$($JSCompiler_StaticMethods__addDataBlockItems$self$$, $currentBlock$$2_dataBody$$28$$, $newBlock$$2$$, $prepend$$1$$) {
  $currentBlock$$2_dataBody$$28$$ = $currentBlock$$2_dataBody$$28$$.firstChild;
  var $newRows$$ = $newBlock$$2$$.childNodes.length, $numRows$$5$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($currentBlock$$2_dataBody$$28$$), $agent$$232$$ = $AdfAgent$$.$AGENT$, $addedIndex_startRow$$3$$ = $currentBlock$$2_dataBody$$28$$.$startRow$, $rowData$$10$$ = $JSCompiler_StaticMethods__addDataBlockItems$self$$.$_findRowByKey$($JSCompiler_StaticMethods__addDataBlockItems$self$$.$_currentItemKey$, !0);
  if (null == $rowData$$10$$) {
    $AdfLogger$$.$LOGGER$.severe("Addition of data block items failed: " + $JSCompiler_StaticMethods__addDataBlockItems$self$$.$_currentItemKey$ + ", " + $rowData$$10$$);
  } else {
    var $auxItem$$1_selectedIndex$$1$$ = $rowData$$10$$.index, $component$$793$$ = $JSCompiler_StaticMethods__addDataBlockItems$self$$.$getComponent$();
    $JSCompiler_StaticMethods__addDataBlockItems$self$$.$_stopAnimation$(!0, $rowData$$10$$.$row$);
    $JSCompiler_StaticMethods__removePlaceholders$$($JSCompiler_StaticMethods__addDataBlockItems$self$$);
    for (var $halign$$7$$ = $component$$793$$.getHalign(), $valign$$7$$ = $component$$793$$.getValign(), $zIndex$$3$$ = $prepend$$1$$ ? 3E3 - ($auxItem$$1_selectedIndex$$1$$ - ($addedIndex_startRow$$3$$ - 1)) : 3E3 - ($numRows$$5$$ + $addedIndex_startRow$$3$$ - $auxItem$$1_selectedIndex$$1$$), $addedIndex_startRow$$3$$ = $prepend$$1$$ ? $auxItem$$1_selectedIndex$$1$$ - ($addedIndex_startRow$$3$$ - 1) : $numRows$$5$$ + $addedIndex_startRow$$3$$ - $auxItem$$1_selectedIndex$$1$$;$prepend$$1$$ ? $newBlock$$2$$.lastChild : 
    $newBlock$$2$$.firstChild;) {
      $auxItem$$1_selectedIndex$$1$$ = $prepend$$1$$ ? $newBlock$$2$$.lastChild : $newBlock$$2$$.firstChild;
      if ($prepend$$1$$) {
        var $auxData$$2_oldFirstRow$$ = $JSCompiler_StaticMethods__getFirstNonPlaceholder$$($currentBlock$$2_dataBody$$28$$);
        $currentBlock$$2_dataBody$$28$$.insertBefore($auxItem$$1_selectedIndex$$1$$, $auxData$$2_oldFirstRow$$);
      } else {
        $currentBlock$$2_dataBody$$28$$.appendChild($auxItem$$1_selectedIndex$$1$$);
      }
      $auxData$$2_oldFirstRow$$ = $JSCompiler_StaticMethods__getAuxShiftSizeAndOpacity$$($JSCompiler_StaticMethods__addDataBlockItems$self$$, $addedIndex_startRow$$3$$);
      $JSCompiler_StaticMethods__positionItem$$($JSCompiler_StaticMethods__addDataBlockItems$self$$, $auxItem$$1_selectedIndex$$1$$, $auxData$$2_oldFirstRow$$.$auxSize$, $prepend$$1$$ ? -$auxData$$2_oldFirstRow$$.$auxShift$ : $auxData$$2_oldFirstRow$$.$auxShift$, --$zIndex$$3$$, $JSCompiler_StaticMethods__addDataBlockItems$self$$.$_isVertical$, $valign$$7$$, $halign$$7$$, $auxData$$2_oldFirstRow$$.$auxOpacity$, !0);
      $agent$$232$$.$elementsAdded$($auxItem$$1_selectedIndex$$1$$);
      $addedIndex_startRow$$3$$++;
    }
    $prepend$$1$$ && ($currentBlock$$2_dataBody$$28$$.$startRow$ -= $newRows$$);
    $numRows$$5$$ += $newRows$$;
    $currentBlock$$2_dataBody$$28$$.$numRows$ = $numRows$$5$$;
    $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($component$$793$$, $currentBlock$$2_dataBody$$28$$.$startRow$, $numRows$$5$$);
    $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__addDataBlockItems$self$$, $rowData$$10$$.$row$, !1);
    $JSCompiler_StaticMethods__queueResizeNotifyOnDisplayedChildren$$($JSCompiler_StaticMethods__addDataBlockItems$self$$);
  }
}
function $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$, $itemIndex$$) {
  var $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ = $AdfAgent$$.$AGENT$, $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$getComponent$().$getClientId$();
  if (void 0 == $itemIndex$$) {
    if ($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$) {
      return;
    }
    var $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_findRowByKey$($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_currentItemKey$, !0);
    if (null == $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$) {
      $AdfLogger$$.$LOGGER$.severe("Thumb details failed: " + $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_currentItemKey$ + ", " + $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$);
      return;
    }
    $itemIndex$$ = $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$.index;
  }
  var $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_rowCount$, $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = -1 != $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ ? $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ : 
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$, $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = Math.max(1, $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ - 1), $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$ = $itemIndex$$ / 
  $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$;
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$ || ($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_currentPercent$ = $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$);
  if ("small" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "compact" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$) {
    $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$ = $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$, "sb"));
    $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ = $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$, "st"));
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$ || ($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_percentSize$ = 1 / $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$);
    var $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_isVertical$, $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$ = $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$[$id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ ? 
    "offsetHeight" : "offsetWidth"], $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ ? (1 - $itemIndex$$ / $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$) * ($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$.offsetHeight - 
    $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$) : $AdfDhtmlCarouselPeer$$.$_isRTL$() ? ($lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ - $itemIndex$$) / $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ * ($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$.offsetWidth - 
    $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$) : $itemIndex$$ / $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ * ($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$.offsetWidth - $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$);
    $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$.style[$id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ ? "bottom" : "left"] = $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ + "px";
  } else {
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$ || "none" == $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ || ($lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = 0 == $itemIndex$$, $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$ = 1 == $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$, 
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$getComponent$().getDisabled() && ($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$ = $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = !0), $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$ = $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$, 
    "sp")), $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ = $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$, "sn")), $AdfDomUtils$$.$addOrRemoveCSSClassName$($lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$, 
    $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $AdfDomUtils$$.$addOrRemoveCSSClassName$($currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$, $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$));
  }
  if ("compact" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && ($agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ = $itemIndex$$ + 1, $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$getComponent$().$getClientId$(), 
  $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = $JSCompiler_StaticMethods__getSpinInfoDiv$$($JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$, $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$), $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$ = $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_rowCount$, 
  $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_duringThumbDrag$ && ($agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ = Math.round($agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$)), $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ = -1 == $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$ ? 
  $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ : $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_carousel.TIP_SPIN_INFO_X_OF_Y", $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$, $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$), $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$.innerHTML = 
  "\x3cspan\x3e" + $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ + "\x3c/span\x3e", "small" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "compact" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$ && "none" != $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_controlArea$)) {
    var $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$ = $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$.style, $agent$$inline_1602_spinButtonWidth$$inline_1607$$ = $AdfAgent$$.$AGENT$, $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$ = $agent$$inline_1602_spinButtonWidth$$inline_1607$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$, 
    "st"));
    $JSCompiler_StaticMethods__positionThumbAndSpinInfo$self$$.$_isVertical$ ? ($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ = $agent$$inline_1602_spinButtonWidth$$inline_1607$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$, "sp")), $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$.paddingTop = 
    Math.round($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$.offsetTop + $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$.offsetHeight + $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$.offsetTop + $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$.offsetHeight / 
    2 - $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$.firstChild.offsetHeight / 2) + "px") : ($lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ = $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$.firstChild.offsetWidth, $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$ = 
    $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$.offsetLeft, $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$ = $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$.offsetWidth, $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ = $AdfDhtmlCarouselPeer$$.$_isRTL$() ? $agent$$inline_1602_spinButtonWidth$$inline_1607$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$, 
    "sn")) : $agent$$inline_1602_spinButtonWidth$$inline_1607$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$, "sp")), $agent$$inline_1602_spinButtonWidth$$inline_1607$$ = $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$.offsetWidth, $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ = 
    $id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$.offsetLeft, $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$.textAlign = "left", $agent$$233_displayItemNumber$$inline_1595_infoText$$inline_1600_spinInfoDivStyle$$inline_1601_spinNextElem$$7_spinThumbElem$$5$$.paddingLeft = Math.round($id$$283_id$$inline_1596_spinControlOffset$$inline_1608_spinNextElem$$inline_1609_spinPrevElem$$inline_1599_vertical$$14$$ + 
    $agent$$inline_1602_spinButtonWidth$$inline_1607$$ + $currentPercent_nextDisabled_spinBarElem$$4_spinThumbOffset$$inline_1605_totalNumberOfItems$$inline_1598$$ + $spinPrevElem$$8_spinThumbElem$$inline_1603_spinThumbWidth$$inline_1606_thumbSizeCorrection$$ / 2 - $lastIndex$$1_previousDisabled_rowCount$$13_rowData$$11_spinInfoDiv$$inline_1597_textWidth$$inline_1604_thumbPos$$ / 2) + "px");
  }
}
function $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $selectedWrapper$$7$$, $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$, $addPlaceholders$$, $popOutDetails$$2$$) {
  var $hoverWrapper$$ = null, $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 100, $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $dontMessWithThisWrappersOverlay$$;
  if (null == $popOutDetails$$2$$) {
    if ($oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_findRowByKey$($oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$, !0)) {
      $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ = $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$.$row$;
    }
    $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_stopAnimation$(!0, $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$);
  } else {
    $dontMessWithThisWrappersOverlay$$ = $selectedWrapper$$7$$;
    $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ = $popOutDetails$$2$$.hoverKey;
    if (null != $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$) {
      $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 0;
      if ($hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_lastHoverKey$) {
        return;
      }
      $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_lastHoverKey$ = $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$;
      $hoverWrapper$$ = $popOutDetails$$2$$.hoverWrapper;
    }
    $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_stopAnimation$(!1);
  }
  $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_SHRINK_FACTOR$;
  $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_SHIFT_FACTOR$;
  var $dataBodyWidth$$4$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_dataBodyWidth$, $dataBodyHeight$$4$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_dataBodyHeight$, $selectedSize$$4$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_selectedSize$, $vertical$$15$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_isVertical$, $component$$795_id$$284_rootElement$$33_zIndex$$4$$ = 
  $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$getComponent$(), $halign$$8$$ = $component$$795_id$$284_rootElement$$33_zIndex$$4$$.getHalign(), $valign$$8$$ = $component$$795_id$$284_rootElement$$33_zIndex$$4$$.getValign(), $animationObjects$$ = [], $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$, $auxSize$$2_selectedLeft$$ = 0, $auxOpacity$$2_selectedTop$$ = 0, $oneByOne$$ = "oneByOne" == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_displayItems$;
  if (!$oneByOne$$ && ($auxSize$$2_selectedLeft$$ = $JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $selectedSize$$4$$, 0), $auxOpacity$$2_selectedTop$$ = $JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $selectedSize$$4$$, 0), "hover" == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_POP_OUT$)) {
    var $component$$795_id$$284_rootElement$$33_zIndex$$4$$ = $component$$795_id$$284_rootElement$$33_zIndex$$4$$.$getClientId$(), $dataBodyInfoOverlay_rtl$$1$$ = null;
    "small" == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_controlArea$ || "compact" == $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_controlArea$ ? ($component$$795_id$$284_rootElement$$33_zIndex$$4$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$getDomElement$(), $dataBodyInfoOverlay_rtl$$1$$ = $JSCompiler_StaticMethods__getControlAreaDiv$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, 
    $component$$795_id$$284_rootElement$$33_zIndex$$4$$)) : $dataBodyInfoOverlay_rtl$$1$$ = $JSCompiler_StaticMethods__getItemTextDiv$$($component$$795_id$$284_rootElement$$33_zIndex$$4$$);
    null != $dataBodyInfoOverlay_rtl$$1$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$dataBodyInfoOverlay_rtl$$1$$, $properties$:{alpha:$auxShift$$2_dataBodyInfoOverlayAlpha$$}}, $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$));
  }
  $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$selectedWrapper$$7$$, $properties$:{offsetLeft:$auxSize$$2_selectedLeft$$, offsetTop:$auxOpacity$$2_selectedTop$$, width:$selectedSize$$4$$, height:$selectedSize$$4$$}};
  var $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ = $selectedWrapper$$7$$.style;
  $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.zIndex = 3E3;
  $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.display = "block";
  $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$);
  $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ = $AdfDomUtils$$.$getLastChildElement$($selectedWrapper$$7$$);
  null != $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ && ($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ ? ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$, $properties$:{alpha:0}}, $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$)) : $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.style.backgroundColor = 
  "transparent");
  null == $popOutDetails$$2$$ && $JSCompiler_StaticMethods__positionThumbAndSpinInfo$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$);
  for (var $auxItem$$2_nextAlpha_prevAlpha$$ = $AdfDomUtils$$.$getPreviousElement$($selectedWrapper$$7$$), $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 0, $auxSize$$2_selectedLeft$$ = $selectedSize$$4$$, $auxOpacity$$2_selectedTop$$ = 100, $component$$795_id$$284_rootElement$$33_zIndex$$4$$ = 3E3, $leadingPlaceholders_trailingPlaceholders$$ = 0, $dataBodyInfoOverlay_rtl$$1$$ = $AdfDhtmlCarouselPeer$$.$_isRTL$();null != $auxItem$$2_nextAlpha_prevAlpha$$;) {
    $oneByOne$$ ? $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 1 : ($auxShift$$2_dataBodyInfoOverlayAlpha$$ += $auxSize$$2_selectedLeft$$ * $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$, $auxSize$$2_selectedLeft$$ = Math.round($auxSize$$2_selectedLeft$$ * $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$));
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ = $auxItem$$2_nextAlpha_prevAlpha$$.style;
    if ($auxItem$$2_nextAlpha_prevAlpha$$ == $hoverWrapper$$) {
      $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.zIndex = 3001;
      --$component$$795_id$$284_rootElement$$33_zIndex$$4$$;
      $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = ($selectedSize$$4$$ - $auxSize$$2_selectedLeft$$) / 2;
      $vertical$$15$$ && ($dataBodyInfoOverlay_rtl$$1$$ ? "start" == $halign$$8$$ ? $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$ : "end" == $halign$$8$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 0) : "start" == $halign$$8$$ ? $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 0 : "end" == $halign$$8$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 
      $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$));
      var $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = ($selectedSize$$4$$ - $auxSize$$2_selectedLeft$$) / 2;
      $vertical$$15$$ || ("top" == $valign$$8$$ ? $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = 0 : "bottom" == $valign$$8$$ && ($leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$));
      $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$auxItem$$2_nextAlpha_prevAlpha$$, $properties$:{offsetLeft:$JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $auxSize$$2_selectedLeft$$, -$auxShift$$2_dataBodyInfoOverlayAlpha$$) - $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$, offsetTop:$JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, 
      $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $auxSize$$2_selectedLeft$$, -$auxShift$$2_dataBodyInfoOverlayAlpha$$) - $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$, width:$selectedSize$$4$$, height:$selectedSize$$4$$}};
    } else {
      $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.zIndex = --$component$$795_id$$284_rootElement$$33_zIndex$$4$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$auxItem$$2_nextAlpha_prevAlpha$$, $properties$:{offsetLeft:$JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $auxSize$$2_selectedLeft$$, -$auxShift$$2_dataBodyInfoOverlayAlpha$$), 
      offsetTop:$JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $auxSize$$2_selectedLeft$$, -$auxShift$$2_dataBodyInfoOverlayAlpha$$), width:$auxSize$$2_selectedLeft$$, height:$auxSize$$2_selectedLeft$$}};
    }
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.display = 5 >= $auxSize$$2_selectedLeft$$ ? "none" : "block";
    $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$);
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ = $AdfDomUtils$$.$getLastChildElement$($auxItem$$2_nextAlpha_prevAlpha$$);
    null != $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ && $auxItem$$2_nextAlpha_prevAlpha$$ != $dontMessWithThisWrappersOverlay$$ && ($itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.style.display = "block", $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ ? ($auxOpacity$$2_selectedTop$$ *= $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 
    $auxItem$$2_nextAlpha_prevAlpha$$ == $hoverWrapper$$ ? {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$, $properties$:{alpha:1}} : {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$, $properties$:{alpha:Math.max(1, 100 - $auxOpacity$$2_selectedTop$$)}}, $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$)) : $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.style.backgroundColor = 
    "transparent");
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ = $auxItem$$2_nextAlpha_prevAlpha$$;
    $auxItem$$2_nextAlpha_prevAlpha$$ = $AdfDomUtils$$.$getPreviousElement$($auxItem$$2_nextAlpha_prevAlpha$$);
    $addPlaceholders$$ && null == $auxItem$$2_nextAlpha_prevAlpha$$ && 2 < $auxSize$$2_selectedLeft$$ && 0 < $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.parentNode.$startRow$ - $leadingPlaceholders_trailingPlaceholders$$ && ($auxItem$$2_nextAlpha_prevAlpha$$ = null, $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ && ($auxOpacity$$2_selectedTop$$ *= $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $auxItem$$2_nextAlpha_prevAlpha$$ = 
    Math.max(1, 100 - $auxOpacity$$2_selectedTop$$)), $auxItem$$2_nextAlpha_prevAlpha$$ = $JSCompiler_StaticMethods__createPlaceholder$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$, !1, $auxItem$$2_nextAlpha_prevAlpha$$), ++$leadingPlaceholders_trailingPlaceholders$$, $oneByOne$$ && ($auxItem$$2_nextAlpha_prevAlpha$$ = null));
  }
  $auxItem$$2_nextAlpha_prevAlpha$$ = $AdfDomUtils$$.$getNextElement$($selectedWrapper$$7$$);
  $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 0;
  $auxSize$$2_selectedLeft$$ = $selectedSize$$4$$;
  $auxOpacity$$2_selectedTop$$ = 100;
  $component$$795_id$$284_rootElement$$33_zIndex$$4$$ = 3E3;
  for ($leadingPlaceholders_trailingPlaceholders$$ = 0;null != $auxItem$$2_nextAlpha_prevAlpha$$;) {
    if ($oneByOne$$ ? $auxShift$$2_dataBodyInfoOverlayAlpha$$ = 1 : ($auxShift$$2_dataBodyInfoOverlayAlpha$$ += $auxSize$$2_selectedLeft$$ * $oldCurrentItemKey_oldCurrentRowData_shiftFactor$$2$$, $auxSize$$2_selectedLeft$$ = Math.round(Math.max(1, $auxSize$$2_selectedLeft$$ * $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$))), $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ = $auxItem$$2_nextAlpha_prevAlpha$$.style, $auxItem$$2_nextAlpha_prevAlpha$$ == $hoverWrapper$$ ? ($itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.zIndex = 
    3001, --$component$$795_id$$284_rootElement$$33_zIndex$$4$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = ($selectedSize$$4$$ - $auxSize$$2_selectedLeft$$) / 2, $vertical$$15$$ && ($dataBodyInfoOverlay_rtl$$1$$ ? "start" == $halign$$8$$ ? $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$ : "end" == $halign$$8$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 
    0) : "start" == $halign$$8$$ ? $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = 0 : "end" == $halign$$8$$ && ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$)), $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = ($selectedSize$$4$$ - $auxSize$$2_selectedLeft$$) / 2, $vertical$$15$$ || ("top" == $valign$$8$$ ? $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = 
    0 : "bottom" == $valign$$8$$ && ($leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = $selectedSize$$4$$ - $auxSize$$2_selectedLeft$$)), $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$auxItem$$2_nextAlpha_prevAlpha$$, $properties$:{offsetLeft:$JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $auxSize$$2_selectedLeft$$, 
    $auxShift$$2_dataBodyInfoOverlayAlpha$$) - $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$, offsetTop:$JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $auxSize$$2_selectedLeft$$, $auxShift$$2_dataBodyInfoOverlayAlpha$$) - $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$, width:$selectedSize$$4$$, height:$selectedSize$$4$$}}) : 
    ($itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.zIndex = --$component$$795_id$$284_rootElement$$33_zIndex$$4$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = {element:$auxItem$$2_nextAlpha_prevAlpha$$, $properties$:{offsetLeft:$JSCompiler_StaticMethods__getHalignLeft$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $halign$$8$$, $dataBodyWidth$$4$$, $auxSize$$2_selectedLeft$$, $auxShift$$2_dataBodyInfoOverlayAlpha$$), 
    offsetTop:$JSCompiler_StaticMethods__getValignTop$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $vertical$$15$$, $valign$$8$$, $dataBodyHeight$$4$$, $auxSize$$2_selectedLeft$$, $auxShift$$2_dataBodyInfoOverlayAlpha$$), width:$auxSize$$2_selectedLeft$$, height:$auxSize$$2_selectedLeft$$}}), $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.display = 5 >= $auxSize$$2_selectedLeft$$ ? "none" : "block", $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$), 
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ = $AdfDomUtils$$.$getLastChildElement$($auxItem$$2_nextAlpha_prevAlpha$$), null != $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ && $auxItem$$2_nextAlpha_prevAlpha$$ != $dontMessWithThisWrappersOverlay$$ && ($itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.style.display = "block", $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ ? ($auxOpacity$$2_selectedTop$$ *= 
    $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $auxItem$$2_nextAlpha_prevAlpha$$ == $hoverWrapper$$ ? {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$, $properties$:{alpha:1}} : {element:$itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$, $properties$:{alpha:Math.max(1, 100 - $auxOpacity$$2_selectedTop$$)}}, $animationObjects$$.push($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$)) : 
    $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.style.backgroundColor = "transparent"), $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$ = $auxItem$$2_nextAlpha_prevAlpha$$, $auxItem$$2_nextAlpha_prevAlpha$$ = $AdfDomUtils$$.$getNextElement$($auxItem$$2_nextAlpha_prevAlpha$$), $addPlaceholders$$ && null == $auxItem$$2_nextAlpha_prevAlpha$$ && 2 < $auxSize$$2_selectedLeft$$ && $leadingPlaceholders_trailingPlaceholders$$ < $AdfDhtmlCarouselPeer$$.$_MAX_PLACEHOLDERS_ON_ONE_SIDE$ && 
    ($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$.parentNode, $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ = $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$.$startRow$ + $JSCompiler_StaticMethods__getNumberOfRows$$($animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$) + $leadingPlaceholders_trailingPlaceholders$$, 
    $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ = $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_rowCount$, -1 == $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$ || $animationObject_block$$10_leadingPopOutHShift_rowNumber_trailingPopOutHShift$$ < $leadingPopOutVShift_maximumNumberOfRows_trailingPopOutVShift$$)) {
      $auxItem$$2_nextAlpha_prevAlpha$$ = null, $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_useOpacity$ && ($auxOpacity$$2_selectedTop$$ *= $hoverKey_oldSelectedWrapper_shrinkFactor$$2$$, $auxItem$$2_nextAlpha_prevAlpha$$ = Math.max(1, 100 - $auxOpacity$$2_selectedTop$$)), $auxItem$$2_nextAlpha_prevAlpha$$ = $JSCompiler_StaticMethods__createPlaceholder$$($JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, $itemOverlay$$1_lastNextAuxItem_lastPreviousAuxItem_wrapperStyle$$7$$, 
      !0, $auxItem$$2_nextAlpha_prevAlpha$$), ++$leadingPlaceholders_trailingPlaceholders$$, $oneByOne$$ && ($auxItem$$2_nextAlpha_prevAlpha$$ = null);
    }
  }
  $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_longJumpAnimation$ = $AdfDhtmlCarouselPeer$$.$_isPlaceholder$($selectedWrapper$$7$$);
  $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_animator$ = $AdfDhtmlElementAnimator$animate$$(3, null == $popOutDetails$$2$$ ? $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_animDuration$ : $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$.$_popOutDuration$, $animationObjects$$, null, $AdfDhtmlCarouselPeer$$.$_spinAnimationComplete$, $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$self$$, null);
}
function $JSCompiler_StaticMethods__createPlaceholder$$($JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$, $sibling$$2$$, $isNext$$4$$, $alpha$$3_theme$$) {
  var $agent$$234$$ = $AdfAgent$$.$AGENT$, $carouselItemOverlay_doc$$39$$ = $sibling$$2$$.ownerDocument, $placeholder$$ = $carouselItemOverlay_doc$$39$$.createElement("div"), $laf$$62_placeholderStyle$$ = $placeholder$$.style;
  $laf$$62_placeholderStyle$$.width = "1px";
  $laf$$62_placeholderStyle$$.height = "1px";
  $laf$$62_placeholderStyle$$.top = "50%";
  $laf$$62_placeholderStyle$$.left = "50%";
  $laf$$62_placeholderStyle$$.display = "none";
  $laf$$62_placeholderStyle$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
  $AdfDomUtils$$.$addCSSClassName$($placeholder$$, $laf$$62_placeholderStyle$$.getStyleClass("af|carousel::item"));
  "oneByOne" == $JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$.$_displayItems$ ? $AdfDomUtils$$.$addCSSClassName$($placeholder$$, $laf$$62_placeholderStyle$$.getStyleClass("p_AFOneByOne")) : $AdfDomUtils$$.$addCSSClassName$($placeholder$$, $laf$$62_placeholderStyle$$.getStyleClass("p_AFCircular"));
  $JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$ = $carouselItemOverlay_doc$$39$$.createElement("div");
  $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$, $laf$$62_placeholderStyle$$.getStyleClass("af|carouselItem"));
  $placeholder$$.appendChild($JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$);
  $carouselItemOverlay_doc$$39$$ = $carouselItemOverlay_doc$$39$$.createElement("div");
  $AdfDomUtils$$.$addCSSClassName$($carouselItemOverlay_doc$$39$$, $laf$$62_placeholderStyle$$.getStyleClass("af|carousel::item-overlay"));
  null != $alpha$$3_theme$$ && $agent$$234$$.$setOpacity$($carouselItemOverlay_doc$$39$$, 100 * $alpha$$3_theme$$);
  $placeholder$$.appendChild($carouselItemOverlay_doc$$39$$);
  $alpha$$3_theme$$ = $agent$$234$$.getAttribute($sibling$$2$$, "theme");
  null != $alpha$$3_theme$$ && ($agent$$234$$.setAttribute($placeholder$$, "theme", $alpha$$3_theme$$), $agent$$234$$.setAttribute($JSCompiler_StaticMethods__createPlaceholder$self_carouselItem$$, "theme", $alpha$$3_theme$$), $agent$$234$$.setAttribute($carouselItemOverlay_doc$$39$$, "theme", $alpha$$3_theme$$));
  $isNext$$4$$ ? $sibling$$2$$.parentNode.appendChild($placeholder$$) : $sibling$$2$$.parentNode.insertBefore($placeholder$$, $sibling$$2$$);
  return $placeholder$$;
}
$AdfDhtmlCarouselPeer$$.$_isPlaceholder$ = function $$AdfDhtmlCarouselPeer$$$$_isPlaceholder$$($element$$213$$) {
  return null == $AdfAgent$$.$AGENT$.getAttribute($element$$213$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
};
function $JSCompiler_StaticMethods__removePlaceholders$$($JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$13$$) {
  $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$13$$ = $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$13$$.$_getDataBody$().firstChild;
  if (null != $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$13$$) {
    $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$13$$ = $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$13$$.childNodes;
    for (var $i$$265$$ = $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$13$$.length - 1;0 <= $i$$265$$;$i$$265$$--) {
      var $node$$74$$ = $JSCompiler_StaticMethods__removePlaceholders$self_block$$11_nodes$$13$$[$i$$265$$];
      $AdfDhtmlCarouselPeer$$.$_isPlaceholder$($node$$74$$) && $node$$74$$.parentNode.removeChild($node$$74$$);
    }
  }
}
$AdfDhtmlCarouselPeer$$.prototype.$_stopAnimation$ = function $$AdfDhtmlCarouselPeer$$$$$_stopAnimation$$($resizeForSelected$$, $selectedWrapperOverride$$) {
  if (null != this.$_animator$) {
    var $selectedWrapper$$8$$ = $selectedWrapperOverride$$;
    if (!$selectedWrapper$$8$$) {
      var $animator_rowData$$12$$ = this.$_findRowByKey$(this.$_currentItemKey$, !0);
      $animator_rowData$$12$$ && ($selectedWrapper$$8$$ = $animator_rowData$$12$$.$row$);
    }
    $animator_rowData$$12$$ = this.$_animator$;
    this.$_animator$ = null;
    $animator_rowData$$12$$.stop();
    $selectedWrapper$$8$$ && $resizeForSelected$$ && $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$(this, $selectedWrapper$$8$$, !0);
  }
};
$AdfDhtmlCarouselPeer$$.$_spinAnimationComplete$ = function $$AdfDhtmlCarouselPeer$$$$_spinAnimationComplete$$($obj$$41$$) {
  $obj$$41$$.$_animator$ = null;
  if (!$obj$$41$$.$_longJumpAnimation$) {
    for (var $itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$ = $obj$$41$$.$_getDataBody$().firstChild.childNodes, $i$$inline_1613$$ = 0;$i$$inline_1613$$ < $itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$.length;++$i$$inline_1613$$) {
      var $itemStyle$$inline_1614$$ = $itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$[$i$$inline_1613$$].style;
      "block" == $itemStyle$$inline_1614$$.display && 5 >= parseInt($itemStyle$$inline_1614$$.width, 10) && ($itemStyle$$inline_1614$$.display = "none");
    }
    $JSCompiler_StaticMethods__doResizeNotifyOnDisplayedChildren$$($obj$$41$$, $obj$$41$$.$getComponent$());
    if ($itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$ = $obj$$41$$.$_findRowByKey$($obj$$41$$.$_currentItemKey$, !1)) {
      $itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$ = $itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$.$row$, $itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$.style.display = "block", $itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$ = $AdfDomUtils$$.$getLastChildElement$($itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$), 
      null != $itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$ && ($itemOverlay$$inline_1617_items$$inline_1612_rowData$$inline_1615_selectedWrapper$$inline_1616$$.style.display = "none");
    }
    $obj$$41$$.$_fillViewPort$($obj$$41$$.$_getDataBody$(), !1, !0);
  }
};
function $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$) {
  var $component$$796_currentItemKey$$4$$ = $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$getComponent$();
  if (null != $component$$796_currentItemKey$$4$$ && !$component$$796_currentItemKey$$4$$.getDisabled()) {
    var $component$$796_currentItemKey$$4$$ = $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_currentItemKey$, $nextIndex$$5_previousRowData$$ = $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_getPreviousRowKeyAndRow$($component$$796_currentItemKey$$4$$);
    if ($nextIndex$$5_previousRowData$$.$row$ && $nextIndex$$5_previousRowData$$.$rowKey$) {
      $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_cancelPendingFetch$(), $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_pendingTimeout$ && window.clearTimeout($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_pendingTimeout$), $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$, $nextIndex$$5_previousRowData$$.$rowKey$) && $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$, 
      $nextIndex$$5_previousRowData$$.$row$, $component$$796_currentItemKey$$4$$, !0);
    } else {
      var $nextIndex$$5_previousRowData$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$), $rowData$$14$$ = $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_findRowByKey$($component$$796_currentItemKey$$4$$, !1);
      $rowData$$14$$ ? $nextIndex$$5_previousRowData$$ < $rowData$$14$$.index && $JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_handleLongJump$($JSCompiler_StaticMethods__initiateSpinPreviousAnimation$self$$.$_getDataBody$(), $nextIndex$$5_previousRowData$$, !0, !0) : $AdfLogger$$.$LOGGER$.severe("_initiateSpinPreviousAnimation failed due to invalid currentItemKey: " + $component$$796_currentItemKey$$4$$);
    }
  }
}
function $JSCompiler_StaticMethods__initiateSpinNextAnimation$$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$) {
  var $component$$797_currentItemKey$$5$$ = $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$getComponent$();
  if (null != $component$$797_currentItemKey$$5$$ && !$component$$797_currentItemKey$$5$$.getDisabled()) {
    var $component$$797_currentItemKey$$5$$ = $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_currentItemKey$, $nextIndex$$6_nextRowData$$ = $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_getNextRowKeyAndRow$($component$$797_currentItemKey$$5$$);
    if ($nextIndex$$6_nextRowData$$.$row$ && $nextIndex$$6_nextRowData$$.$rowKey$) {
      $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_cancelPendingFetch$(), $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_pendingTimeout$ && window.clearTimeout($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_pendingTimeout$), $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$, $nextIndex$$6_nextRowData$$.$rowKey$) && $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$, 
      $nextIndex$$6_nextRowData$$.$row$, $component$$797_currentItemKey$$5$$, !0);
    } else {
      var $nextIndex$$6_nextRowData$$ = $JSCompiler_StaticMethods__getRowIndexFromThumbPos$$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$), $rowData$$15$$ = $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_findRowByKey$($component$$797_currentItemKey$$5$$, !1);
      $rowData$$15$$ ? $nextIndex$$6_nextRowData$$ > $rowData$$15$$.index && $JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_handleLongJump$($JSCompiler_StaticMethods__initiateSpinNextAnimation$self$$.$_getDataBody$(), $nextIndex$$6_nextRowData$$, !0, !0) : $AdfLogger$$.$LOGGER$.severe("_initiateSpinNextAnimation failed due to invalid currentItemKey: " + $component$$797_currentItemKey$$5$$);
    }
  }
}
function $JSCompiler_StaticMethods__getCurrentPercent$$($JSCompiler_StaticMethods__getCurrentPercent$self$$) {
  if (null != $JSCompiler_StaticMethods__getCurrentPercent$self$$.$_currentPercent$) {
    return $JSCompiler_StaticMethods__getCurrentPercent$self$$.$_currentPercent$;
  }
  $AdfAssert$$.assert(!1, "Illegal state; currentPercent is not known: " + $JSCompiler_StaticMethods__getCurrentPercent$self$$.$_currentPercent$);
}
function $JSCompiler_StaticMethods__initiateSpinPercentAnimation$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$, $desiredPercent$$1_desiredRow$$1$$, $currentPercent$$1_numberOfLeadingPlaceholders$$1$$) {
  if (!$JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$getComponent$().getDisabled()) {
    var $dataBody$$31$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_getDataBody$(), $block$$13$$ = $dataBody$$31$$.firstChild, $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ = $block$$13$$.childNodes, $rowCount$$14$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_rowCount$, $needToResize_startRow$$5$$ = $block$$13$$.$startRow$, $numRows$$6$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$13$$);
    -1 == $rowCount$$14$$ && ($rowCount$$14$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_knownRowCount$ + $AdfDhtmlCarouselPeer$$.$_FETCH_MORE_ITEM_COUNT$);
    var $maximumRowIndex$$1$$ = $rowCount$$14$$ - 1, $desiredRowIndex_oldCurrentItemKey$$2$$ = Math.max(0, Math.round($desiredPercent$$1_desiredRow$$1$$ * $maximumRowIndex$$1$$)), $currentRowIndex$$ = null;
    null != $currentPercent$$1_numberOfLeadingPlaceholders$$1$$ && ($currentRowIndex$$ = Math.max(0, Math.round($currentPercent$$1_numberOfLeadingPlaceholders$$1$$ * $maximumRowIndex$$1$$)));
    $desiredRowIndex_oldCurrentItemKey$$2$$ = Math.min($desiredRowIndex_oldCurrentItemKey$$2$$, $rowCount$$14$$ - 1);
    $currentRowIndex$$ == $desiredRowIndex_oldCurrentItemKey$$2$$ && ($desiredRowIndex_oldCurrentItemKey$$2$$ = $desiredPercent$$1_desiredRow$$1$$ < $currentPercent$$1_numberOfLeadingPlaceholders$$1$$ ? Math.max(0, --$desiredRowIndex_oldCurrentItemKey$$2$$) : Math.min($maximumRowIndex$$1$$, ++$desiredRowIndex_oldCurrentItemKey$$2$$));
    $desiredRowIndex_oldCurrentItemKey$$2$$ >= $needToResize_startRow$$5$$ && $desiredRowIndex_oldCurrentItemKey$$2$$ < $needToResize_startRow$$5$$ + $numRows$$6$$ ? ($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_cancelPendingFetch$(), $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_pendingTimeout$ && window.clearTimeout($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_pendingTimeout$), $currentPercent$$1_numberOfLeadingPlaceholders$$1$$ = $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($block$$13$$), 
    $desiredPercent$$1_desiredRow$$1$$ = $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$[$desiredRowIndex_oldCurrentItemKey$$2$$ - $needToResize_startRow$$5$$ + $currentPercent$$1_numberOfLeadingPlaceholders$$1$$], $AdfAssert$$.assert(null != $desiredPercent$$1_desiredRow$$1$$, "A desired row could not be found: " + $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ + ", " + $desiredRowIndex_oldCurrentItemKey$$2$$ + ", " + $needToResize_startRow$$5$$ + ", " + $currentPercent$$1_numberOfLeadingPlaceholders$$1$$), 
    $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ = $AdfAgent$$.$AGENT$.getAttribute($desiredPercent$$1_desiredRow$$1$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$), $needToResize_startRow$$5$$ = !0, $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_currentItemKey$ != $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ && null != $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ && ($desiredRowIndex_oldCurrentItemKey$$2$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_currentItemKey$, 
    $JSCompiler_StaticMethods__updateCurrentItemKey$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$, $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$) && ($needToResize_startRow$$5$$ = !1, $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$, $desiredPercent$$1_desiredRow$$1$$, $desiredRowIndex_oldCurrentItemKey$$2$$, !0))), $needToResize_startRow$$5$$ && ($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_stopAnimation$(!0), 
    $JSCompiler_StaticMethods__removePlaceholders$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$), $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_hideStatus$(), ($desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$ = $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_findRowByKey$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_currentItemKey$, !0)) && $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$($JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$, 
    $desiredRowKey$$3_oldCurrentRowData$$1_rows$$8$$.$row$, !0))) : $JSCompiler_StaticMethods__initiateSpinPercentAnimation$self$$.$_handleLongJump$($dataBody$$31$$, $desiredRowIndex_oldCurrentItemKey$$2$$, !0, !0);
  }
}
function $JSCompiler_StaticMethods__updateComponentStartAndRowProperties$$($component$$800$$, $startRow$$6$$, $numRows$$7$$) {
  $component$$800$$.setProperty("rows", $numRows$$7$$, !1, $AdfUIComponent$$.$PROPAGATE_NEVER$);
  $component$$800$$.setProperty("first", $startRow$$6$$, !1, $AdfUIComponent$$.$PROPAGATE_NEVER$);
}
$AdfDhtmlCarouselPeer$$.prototype.$ConvertClientIdToLocator$ = function $$AdfDhtmlCarouselPeer$$$$$ConvertClientIdToLocator$$($clientIdDepth$$2_component$$801$$, $childComponent$$9_clientId$$157_endIndex$$5$$, $descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$, $replaceArray$$4$$) {
  $childComponent$$9_clientId$$157_endIndex$$5$$ = $clientIdDepth$$2_component$$801$$.$getClientId$();
  $clientIdDepth$$2_component$$801$$ = $AdfStrings$$.count($childComponent$$9_clientId$$157_endIndex$$5$$, ":");
  $AdfAssert$$.assert(0 <= $descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$.indexOf($childComponent$$9_clientId$$157_endIndex$$5$$));
  $descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$ = $descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$.substring($childComponent$$9_clientId$$157_endIndex$$5$$.length + 1);
  $childComponent$$9_clientId$$157_endIndex$$5$$ = $descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$.indexOf(":");
  0 < $childComponent$$9_clientId$$157_endIndex$$5$$ && ($descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$ = this.$_findRowByKey$($descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$.substring(0, $childComponent$$9_clientId$$157_endIndex$$5$$), !1), $replaceArray$$4$$.push([$clientIdDepth$$2_component$$801$$ + 1, $descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$ ? $descComponentClientId$$3_rowInfo$$1_subComponentId$$3$$.index : null]));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.ConvertClientIdToLocator", {$ConvertClientIdToLocator$:$AdfDhtmlCarouselPeer$$.prototype.$ConvertClientIdToLocator$});
$AdfDhtmlCarouselPeer$$.prototype.$convertLocatorToClientId$ = function $$AdfDhtmlCarouselPeer$$$$$convertLocatorToClientId$$($component$$802$$, $rowIndex$$3$$) {
  var $clientId$$158$$ = $component$$802$$.$getClientId$(), $rowKey$$26$$ = $JSCompiler_StaticMethods__getRowKeyForIndex$$(this, $rowIndex$$3$$);
  return $rowKey$$26$$ ? $clientId$$158$$ + ":" + $rowKey$$26$$ : null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.convertLocatorToClientId", {$convertLocatorToClientId$:$AdfDhtmlCarouselPeer$$.prototype.$convertLocatorToClientId$});
function $JSCompiler_StaticMethods__getRowKeyForIndex$$($JSCompiler_StaticMethods__getRowKeyForIndex$self$$, $rowIndex$$4$$) {
  var $blocks$$1_dataBody$$32$$ = $JSCompiler_StaticMethods__getRowKeyForIndex$self$$.$_getDataBody$($JSCompiler_StaticMethods__getRowKeyForIndex$self$$.$getDomElement$());
  if (null != $blocks$$1_dataBody$$32$$) {
    for (var $blocks$$1_dataBody$$32$$ = $blocks$$1_dataBody$$32$$.childNodes, $i$$268$$ = 0;$i$$268$$ < $blocks$$1_dataBody$$32$$.length;$i$$268$$++) {
      var $block$$14$$ = $blocks$$1_dataBody$$32$$[$i$$268$$], $startRow$$7$$ = $block$$14$$.$startRow$;
      if ($rowIndex$$4$$ >= $startRow$$7$$ && $rowIndex$$4$$ < $startRow$$7$$ + $block$$14$$.$numRows$) {
        return $AdfDomUtils$$.$getChildElementByPosition$($block$$14$$, 1, $rowIndex$$4$$ - $startRow$$7$$).getAttribute($AdfDhtmlCarouselPeer$$.$_ROW_KEY$);
      }
    }
  }
  return null;
}
$AdfDhtmlCarouselPeer$$.prototype.$getRowIndex$ = function $$AdfDhtmlCarouselPeer$$$$$getRowIndex$$($rowInfo$$2_rowKey$$28$$) {
  $AdfAssert$$.$assertString$($rowInfo$$2_rowKey$$28$$);
  $AdfAssert$$.assert(null != $rowInfo$$2_rowKey$$28$$, "Row Key cannot be null");
  return ($rowInfo$$2_rowKey$$28$$ = this.$_findRowByKey$($rowInfo$$2_rowKey$$28$$)) ? $rowInfo$$2_rowKey$$28$$.index : -1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.getRowIndex", {$getRowIndex$:$AdfDhtmlCarouselPeer$$.prototype.$getRowIndex$});
$AdfDhtmlCarouselPeer$$.prototype.$getRowKey$ = function $$AdfDhtmlCarouselPeer$$$$$getRowKey$$($index$$134$$) {
  $AdfAssert$$.$assertNumber$($index$$134$$);
  var $component$$804_first$$2$$ = this.$getComponent$(), $rows$$9$$ = $component$$804_first$$2$$.$getProperty$("rows"), $component$$804_first$$2$$ = $component$$804_first$$2$$.$getProperty$("first");
  $AdfAssert$$.assert($index$$134$$ >= $component$$804_first$$2$$ && $index$$134$$ < $rows$$9$$ + $component$$804_first$$2$$, "index must be within the viewport of the client");
  return $JSCompiler_StaticMethods__getRowKeyForIndex$$(this, $index$$134$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.getRowKey", {$getRowKey$:$AdfDhtmlCarouselPeer$$.prototype.$getRowKey$});
$AdfDhtmlCarouselPeer$$.prototype.$scrollToRowIndex$ = function $$AdfDhtmlCarouselPeer$$$$$scrollToRowIndex$$($rowIndex$$5$$, $callback$$97$$) {
  $AdfAssert$$.$assertNumber$($rowIndex$$5$$);
  $AdfAssert$$.assert("number" === typeof $rowIndex$$5$$ && 0 <= $rowIndex$$5$$ && $rowIndex$$5$$ < this.$_rowCount$ && 0 === $rowIndex$$5$$ % 1, "Provided value expected to be a valid rowIndex, provided value: " + $rowIndex$$5$$);
  if ("number" === typeof $rowIndex$$5$$ && 0 <= $rowIndex$$5$$ && $rowIndex$$5$$ < this.$_rowCount$ && 0 === $rowIndex$$5$$ % 1) {
    var $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ = this.$_findRowByKey$(this.$_currentItemKey$, !1);
    if ($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ && $rowIndex$$5$$ == $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$.index) {
      $JSCompiler_StaticMethods__callCallback$$($callback$$97$$);
    } else {
      var $dataBody$$33_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$ = this.$_getDataBody$(), $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ = $dataBody$$33_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$.firstChild, $desiredRowKey$$4_startRow$$8$$ = $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$.$startRow$, $numRows$$8$$ = $JSCompiler_StaticMethods__getNumberOfRows$$($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$);
      $rowIndex$$5$$ >= $desiredRowKey$$4_startRow$$8$$ && $rowIndex$$5$$ < $desiredRowKey$$4_startRow$$8$$ + $numRows$$8$$ ? (this.$_cancelPendingFetch$(), this.$_pendingTimeout$ && window.clearTimeout(this.$_pendingTimeout$), $dataBody$$33_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$ = $JSCompiler_StaticMethods__getNumberOfLeadingPlaceholders$$($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$), $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ = $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$.childNodes[$rowIndex$$5$$ - 
      $desiredRowKey$$4_startRow$$8$$ + $dataBody$$33_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$], $AdfAssert$$.assert(null != $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$, "A desired row could not be found, rowIndex: " + $rowIndex$$5$$), $desiredRowKey$$4_startRow$$8$$ = $AdfAgent$$.$AGENT$.getAttribute($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$, $AdfDhtmlCarouselPeer$$.$_ROW_KEY$), $dataBody$$33_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$ = this.$_currentItemKey$, 
      $JSCompiler_StaticMethods__updateCurrentItemKey$$(this, $desiredRowKey$$4_startRow$$8$$) ? $JSCompiler_StaticMethods__animateRowsForNewSelectedWrapperElement$$(this, $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$, $dataBody$$33_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$, !0) : (this.$_stopAnimation$(!0), $JSCompiler_StaticMethods__removePlaceholders$$(this), this.$_hideStatus$(), ($block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$ = this.$_findRowByKey$(this.$_currentItemKey$, 
      !0)) && $JSCompiler_StaticMethods__sizeDataBodyForSelectedWrapperElement$$(this, $block$$15_desiredRow$$2_oldCurrentRowData$$3_rowData$$16$$.$row$, !0)), $JSCompiler_StaticMethods__callCallback$$($callback$$97$$)) : (this.$_handleLongJump$($dataBody$$33_numberOfLeadingPlaceholders$$2_oldCurrentItemKey$$3$$, $rowIndex$$5$$, !0, !0), null != $callback$$97$$ && (this.$_postUpdateCallback$ = $callback$$97$$, $AdfPage$$.$PAGE$.addEventListener($AdfDomReplacedEvent$$.$EVENT_TYPE$, this.$_domReplacedListener$, 
      this)));
    }
  } else {
    $AdfLogger$$.$LOGGER$.warning("Invalid rowIndex value used, rowIndex: " + $rowIndex$$5$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCarouselPeer.prototype.scrollToRowIndex", {$scrollToRowIndex$:$AdfDhtmlCarouselPeer$$.prototype.$scrollToRowIndex$});
function $JSCompiler_StaticMethods__callCallback$$($callback$$98$$) {
  $callback$$98$$ && ($AdfAssert$$.$assertFunction$($callback$$98$$), $callback$$98$$());
}
$AdfDhtmlCarouselPeer$$.prototype.$_domReplacedListener$ = function $$AdfDhtmlCarouselPeer$$$$$_domReplacedListener$$($callback$$99_event$$168$$) {
  var $clientId$$159_component$$805$$ = this.$getComponent$();
  $AdfAssert$$.$assertPrototype$($clientId$$159_component$$805$$, $AdfUIComponent$$);
  $clientId$$159_component$$805$$ = $clientId$$159_component$$805$$.$getClientId$();
  $callback$$99_event$$168$$.$containsClientId$($clientId$$159_component$$805$$) && ($AdfPage$$.$PAGE$.removeEventListener($AdfDomReplacedEvent$$.$EVENT_TYPE$, this.$_domReplacedListener$, this), $callback$$99_event$$168$$ = this.$_postUpdateCallback$, this.$_postUpdateCallback$ = null, $JSCompiler_StaticMethods__callCallback$$($callback$$99_event$$168$$));
};
