var $AdfDhtmlCalendarPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlCalendarPeer", $JSCompiler_alias_FALSE$$);
$goog$exportSymbol$$("AdfDhtmlCalendarPeer", $AdfDhtmlCalendarPeer$$);
$AdfDhtmlCalendarPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlCalendarPeer$$$$$InitDomElement$$($component$$386$$, $domElement$$74$$) {
  $AdfDhtmlCalendarPeer$$.$superclass$.$InitDomElement$.call(this, $component$$386$$, $domElement$$74$$);
  $AdfDomUtils$$.$isInVisibleSubtree$($domElement$$74$$) && (this.$_restoreScrollPosition$($component$$386$$, $domElement$$74$$), this.$isScrollRestored$ = $JSCompiler_alias_TRUE$$);
  this.$_nextZIndex$ = 10;
  if($component$$386$$.$getDropTarget$() != $JSCompiler_alias_NULL$$ && $component$$386$$.$getDragSource$() == $JSCompiler_alias_NULL$$) {
    var $dragSource$$8_splitterDOM$$ = new $AdfCalendarDragSource$$($AdfDnDContext$$.$ACTION_MOVE$, $AdfDnDContext$$.$ACTION_MOVE$);
    $component$$386$$.$setDragSource$($dragSource$$8_splitterDOM$$)
  }
  this.$_splitterid$ = $component$$386$$.$getClientId$() + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_SPLITTER_COMPONENT_ID$;
  if($dragSource$$8_splitterDOM$$ = $AdfAgent$$.$AGENT$.getElementById(this.$_splitterid$)) {
    $dragSource$$8_splitterDOM$$.style.top = $dragSource$$8_splitterDOM$$.parentNode.firstChild.offsetHeight + "px"
  }
  this.$_isBusy$ = $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlCalendarPeer$$.prototype.$InitDomElement$});
$AdfDhtmlCalendarPeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlCalendarPeer$$$$$BindToComponent$$($component$$387$$, $domNode$$19$$) {
  $AdfDhtmlCalendarPeer$$.$superclass$.$BindToComponent$.call(this, $component$$387$$, $domNode$$19$$);
  var $clientId$$70_page$$71$$ = $AdfPage$$.$PAGE$, $activeDescendantElement_announceText_laf$$15$$ = $clientId$$70_page$$71$$.$getLookAndFeel$(), $arc_dateRangeTextDOM_dateRangeTextId$$ = $component$$387$$.$getClientId$() + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_RANGE_TOOLBAR_ITEM_ID$;
  if($arc_dateRangeTextDOM_dateRangeTextId$$ = $AdfAgent$$.$AGENT$.getElementById($arc_dateRangeTextDOM_dateRangeTextId$$)) {
    $activeDescendantElement_announceText_laf$$15$$ = $activeDescendantElement_announceText_laf$$15$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_CURRENT_ACTIVITY_DISPLAY_RANGE_ANNOUNCE_MSG$, $arc_dateRangeTextDOM_dateRangeTextId$$.innerHTML), $clientId$$70_page$$71$$.$announceToAssistiveTechnology$($activeDescendantElement_announceText_laf$$15$$)
  }
  if($component$$387$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$) == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
    $clientId$$70_page$$71$$ = $component$$387$$.$getClientId$();
    $activeDescendantElement_announceText_laf$$15$$ = $JSCompiler_alias_NULL$$;
    for($arc_dateRangeTextDOM_dateRangeTextId$$ = 0;$activeDescendantElement_announceText_laf$$15$$ == $JSCompiler_alias_NULL$$ && 7 > $arc_dateRangeTextDOM_dateRangeTextId$$;$arc_dateRangeTextDOM_dateRangeTextId$$++) {
      $activeDescendantElement_announceText_laf$$15$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$70_page$$71$$, $arc_dateRangeTextDOM_dateRangeTextId$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$)
    }
    $activeDescendantElement_announceText_laf$$15$$ && $activeDescendantElement_announceText_laf$$15$$.setAttribute("tabIndex", "0")
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlCalendarPeer$$.prototype.$BindToComponent$});
$AdfDhtmlCalendarPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlCalendarPeer$$$$$ComponentRemoved$$($component$$388$$) {
  var $activeDay$$inline_1016_clientId$$inline_1010_subId$$inline_1014$$ = $component$$388$$.$getClientId$(), $agent$$inline_1011_scrollElem$$inline_1015$$ = $AdfAgent$$.$AGENT$, $view$$inline_1012$$ = $component$$388$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $key$$inline_1013$$ = $JSCompiler_alias_NULL$$;
  if($view$$inline_1012$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
    if($view$$inline_1012$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      $key$$inline_1013$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_LIST_KEY$
    }else {
      if($view$$inline_1012$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$inline_1012$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
        $key$$inline_1013$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$
      }
    }
    $activeDay$$inline_1016_clientId$$inline_1010_subId$$inline_1014$$ = $AdfRichUIPeer$$.$CreateSubId$($activeDay$$inline_1016_clientId$$inline_1010_subId$$inline_1014$$, $key$$inline_1013$$);
    if($agent$$inline_1011_scrollElem$$inline_1015$$ = $agent$$inline_1011_scrollElem$$inline_1015$$.getElementById($activeDay$$inline_1016_clientId$$inline_1010_subId$$inline_1014$$)) {
      $activeDay$$inline_1016_clientId$$inline_1010_subId$$inline_1014$$ = $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$388$$), this.$_setPageProperty$($component$$388$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$, $activeDay$$inline_1016_clientId$$inline_1010_subId$$inline_1014$$), $AdfDomUtils$$.$isInVisibleSubtree$($agent$$inline_1011_scrollElem$$inline_1015$$) && (this.$_setPageProperty$($component$$388$$, $key$$inline_1013$$, $agent$$inline_1011_scrollElem$$inline_1015$$.scrollTop), 
      ($view$$inline_1012$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$inline_1012$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) && this.$_setPageProperty$($component$$388$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$, $agent$$inline_1011_scrollElem$$inline_1015$$.scrollHeight))
    }
  }
  $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this);
  $AdfDhtmlCalendarPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$388$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlCalendarPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlCalendarPeer$$.$InitSubclass$ = function $$AdfDhtmlCalendarPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$DOUBLE_CLICK_EVENT_TYPE$, $AdfActionEvent$$.$ACTION_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfComponentEvent$$.$CONTEXT_MENU_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_IN_EVENT_TYPE$);
  this.$_CALENDAR_ACTIVITY_KEY$ = "_adfAct";
  this.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$ = "_adfActAD";
  this.$_CALENDAR_ACTIVITY_DURATION_KEY$ = "_adfActDu";
  this.$_CALENDAR_DAY_KEY$ = "_adfDay";
  this.$_CALENDAR_DAY_CELL_KEY$ = "_adfDyCl";
  this.$_CALENDAR_ACTIVE_DATE_KEY$ = "_adfActive";
  this.$_CALENDAR_TIME_SLOT_KEY$ = "_adfTm";
  this.$_RESIZE_TIME_INDICATOR_KEY$ = "_adfRi";
  this.$_RESIZE_All_DAY_INDICATOR_KEY$ = "_adfRiAD";
  this.$_KILL_HOVER_INDICATOR_KEY$ = "_adfNoHov";
  this.$_ALL_DAY_DURATION_TEXT_KEY$ = "_adDurtxt";
  this.$_ALL_DAY_HEADER_TEXT_KEY$ = "_adHdtxt";
  this.$_HAS_CALENDAR_DAY_LINK$ = "_adfcdl";
  this.$_TIME_ACTIVITY_COLUMN_KEY$ = "_adfTmAtCm";
  this.$_SCROLL_DAY_KEY$ = "scrDay";
  this.$_SCROLL_LIST_KEY$ = "scrList";
  this.$_SCROLL_START_HOUR$ = "stHr";
  this.$_ALL_DAY_CONTAINER_SUB_ID$ = "allDayC";
  this.$_SPLITTER_COMPONENT_ID$ = "_adfCalSp";
  this.$_DATE_RANGE_TOOLBAR_ITEM_ID$ = "_adfCalDR";
  this.$_START_HOUR_SUBID_KEY$ = "startHour";
  this.$_FACET_ID_ACTIVITY_HOVER$ = "_adfIdAH";
  this.$_FACET_ID_ACTIVITY_DETAIL$ = "_adfIdATL";
  this.$_FACET_ID_ACTIVITY_CONTEXT_MENU$ = "_adfIdACM";
  this.$_FACET_ID_ACTIVITY_DELETE$ = "_adfIdAD";
  this.$_FACET_ID_CREATE$ = "_adfIdC";
  this.$_FACET_ID_CONTEXT_MENU$ = "_adfIdCM";
  this.$_VIEW_KEY$ = "view";
  this.$_VIEW_DAY$ = "day";
  this.$_VIEW_WEEK$ = "week";
  this.$_VIEW_MONTH$ = "month";
  this.$_VIEW_LIST$ = "list";
  this.$_TIME_SLOTS_PER_HOUR$ = "timeSlotsPerHour";
  this.$_SCROLL_DAY_HEIGHT$ = "scrDayHeight";
  this.$_ALLDAY$ = "ALLDAY";
  this.$_TIME$ = "TIME";
  this.$_DURATION$ = "DURATION";
  this.$_VIEW_BUTTON_ID_DAY$ = "_adfCalDV";
  this.$_VIEW_BUTTON_ID_WEEK$ = "_adfCalWV";
  this.$_VIEW_BUTTON_ID_MONTH$ = "_adfCalMV";
  this.$_VIEW_BUTTON_ID_LIST$ = "_adfCalLV";
  this.$_DATE_BUTTON_ID_TODAY$ = "_adfCalTD";
  this.$_DATE_BUTTON_ID_PREVIOUS$ = "_adfCalPD";
  this.$_DATE_BUTTON_ID_NEXT$ = "_adfCalND";
  this.$_EVENT_TRIGGER_MOUSE$ = "MOUSE";
  this.$_EVENT_TRIGGER_FOCUS$ = "FOCUS";
  this.$_EVENT_TRIGGER_KEY$ = "KEY";
  this.$_EVENT_TRIGGER_HOVER$ = "HOVER";
  this.$_EVENT_TRIGGER_CONTEXT_MENU$ = "CONTEXT_MENU";
  this.$_EVENT_BUTTON_NONE$ = "NONE";
  this.$_EVENT_BUTTON_LEFT$ = "LEFT";
  this.$_EVENT_BUTTON_MIDDLE$ = "MIDDLE";
  this.$_EVENT_BUTTON_RIGHT$ = "RIGHT";
  this.$_MONTH_GRID_ID$ = "mg";
  this.$_MONTH_HEADER_ID$ = "mh";
  this.$_CAL_MONTH_OVERFLOW_LINK$ = "ol";
  this.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$ = "taw";
  this.$_CAL_MONTH_OVERFLOW_LINK_CLASS$ = "af|calendar::month-overflow-link";
  this.$_CAL_MONTH_OVERFLOW_LINK_WRAPPER_CLASS$ = "af|calendar::month-overflow-link-wrapper";
  this.$_CAL_MONTH_NUM_OVERFLOW$ = "no";
  this.$_CAL_MONTH_OVERFLOW_LINK_TEXT$ = "af_calendar.LABEL_OVERFLOW";
  this.$_CAL_MONTH_OVERFLOW_LINK_LABEL$ = "af_calendar.TIP_MORE_ACTIVITIES";
  this.$_CAL_CURRENT_ACTIVITY_DISPLAY_RANGE_ANNOUNCE_MSG$ = "af_calendar.TIP_CURRENT_ACTIVITY_DISPLAY_RANGE_ANNOUNCE_MSG";
  this.$_MONTH_ROW_ID$ = "_adfCalMR";
  this.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$ = "tact";
  this.$_CALENDAR_WEEK_HEADER_ID$ = "wh";
  this.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$ = 0;
  this.$_CAL_WEEK_FOCUS_LAST_ALLDAY$ = 1;
  this.$_CAL_WEEK_FOCUS_PREV_ALLDAY$ = 2;
  this.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$ = 3;
  this.$_CAL_ACT_COL_NUM$ = "arc";
  this.$_CAL_ACT_ROW_NUM$ = "arw";
  this.$_DROP_TARGET_CLASS$ = "p_AFDropTarget";
  this.$_DRAG_SOURCE_CLASS$ = "p_AFDragSource";
  this.$_DRAG_END_CLASS$ = "p_AFDragEnd";
  this.$_MOVEABLE_CLASS$ = "p_AFMoveable";
  this.$_AUTOSCROLL_MARGIN$ = 20;
  this.$_PADDING_AFTER_ALL_DAY_ACTIVITIES$ = 15;
  this.$_NAMING_SEP$ = ":";
  this.$_MONTH_VIEW_ALLDAY_HT$ = "af|calendar-tr-month-all-day-activity-height"
};
$goog$exportSymbol$$("AdfDhtmlCalendarPeer.InitSubclass", $AdfDhtmlCalendarPeer$$.$InitSubclass$);
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentContextMenu$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentContextMenu$$($componentEvent$$46$$) {
  if(!this.$IsBusy$()) {
    var $eventTarget$$11$$ = $componentEvent$$46$$.$getNativeEventTarget$();
    if($eventTarget$$11$$) {
      var $calendarRootElement$$ = this.$getDomElement$(), $activityRootElement_component$$389$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$, $eventTarget$$11$$);
      $activityRootElement_component$$389$$ && $calendarRootElement$$ != $activityRootElement_component$$389$$ ? $JSCompiler_StaticMethods__handleActivityContextMenu$$(this, $componentEvent$$46$$, $calendarRootElement$$, $activityRootElement_component$$389$$, $JSCompiler_alias_FALSE$$) : ($activityRootElement_component$$389$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, $componentEvent$$46$$), $JSCompiler_StaticMethods__queueCalendarEvent$$(this, $activityRootElement_component$$389$$, 
      $componentEvent$$46$$, $calendarRootElement$$, $eventTarget$$11$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_CONTEXT_MENU$) && this.$_showContextMenu$($activityRootElement_component$$389$$, $calendarRootElement$$, $componentEvent$$46$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_CONTEXT_MENU$))
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentContextMenu", {$HandleComponentContextMenu$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentContextMenu$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentMouseDown$$($componentEvent$$47$$) {
  if(!this.$IsBusy$()) {
    var $eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$ = $componentEvent$$47$$.$getNativeEventTarget$(), $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$ = $AdfAgent$$.$AGENT$;
    delete this.$_eatMouseClick$;
    var $eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$ = $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.getAttribute($eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_TIME_INDICATOR_KEY$), $eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$ = $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.getAttribute($eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$, 
    $AdfDhtmlCalendarPeer$$.$_RESIZE_All_DAY_INDICATOR_KEY$);
    if($componentEvent$$47$$.$isLeftButtonPressed$() && ($eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$ || $eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$)) {
      $JSCompiler_StaticMethods__hideActivityHoverPopup$$(this);
      if($eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$) {
        var $eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$ = $componentEvent$$47$$.$getNativeEventTarget$(), $eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$ = $componentEvent$$47$$.$getNativeEvent$(), $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$ = $AdfAgent$$.$AGENT$, $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$ = this.$getComponent$(), $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ = 
        this.$getDomElement$();
        $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.$disableUserSelect$($alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$);
        var $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$ = $JSCompiler_StaticMethods__getParentActivity$$($alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$, $eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$);
        this.$_resizedActivity$ = $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$;
        var $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$ = $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$.firstChild.firstChild;
        this.$_resizedActivityInitHeight$ = $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$.clientHeight;
        this.$_resizedActivityInitWidth$ = $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$.clientWidth;
        this.$_resizedActivityInitHeightInEM$ = parseFloat($activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$.style.height);
        this.$_EMToPxRatio$ = this.$_resizedActivityInitHeightInEM$ / this.$_resizedActivityInitHeight$;
        this.$_resizeStartY$ = $eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$.clientY;
        this.$_resizeStartX$ = $eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$.clientX;
        $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$.style.height = this.$_resizedActivityInitHeight$ + "px";
        $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$.$_newHeight$ = this.$_resizedActivityInitHeight$;
        var $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$ = this.$_dayGridCellRowsContainer$;
        if(!$dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$) {
          $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$, $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$);
          $AdfAssert$$.$assertDomElement$($dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$);
          this.$_dayGridCellRowsContainer$ = $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$;
          -1 == $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$) && $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_DURATION$);
          $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$ = $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$.childNodes;
          for($alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ = 0;$alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ < $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$.length;$alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$++) {
            if($dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$ = $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$[$alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$], $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.getAttribute($dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$) != $JSCompiler_alias_NULL$$) {
              this.$_minIncrementSize$ = $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$.clientHeight;
              break
            }
          }
          this.$_dateTimeGridContainer$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this)
        }
        $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$(this, $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$) && ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$, $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$.clientHeight), this.$_gridTop$ = $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.$getElementTop$(this.$_dateTimeGridContainer$), 
        this.$_gridLeftBoundary$ = $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.$getElementLeft$(this.$_dateTimeGridContainer$), this.$_gridRightBoundary$ = $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.$getElementLeft$(this.$_dateTimeGridContainer$) + this.$_dateTimeGridContainer$.clientWidth, this.$_deltaDays$ = 0);
        this.$_scrollTopBeforeDrag$ = this.$_dateTimeGridContainer$.scrollTop;
        this.$_resizedActivityContainer$ = $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$;
        $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$.style.zIndex = ++this.$_nextZIndex$;
        this.$_activityResizeDragCallback$ || (this.$_activityResizeDragCallback$ = this.$createCallback$(this.$_handleTimeActivityResizeDrag$), this.$_activityResizeDropCallback$ = this.$createCallback$(this.$_handleTimeActivityResizeDrop$), this.$_activityResizeAbortCallback$ = this.$createCallback$(this.$_handleTimeActivityResizeAbort$));
        $AdfPage$$.$PAGE$.$startDrag$($eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$, this.$_activityResizeDragCallback$, this.$_activityResizeDropCallback$, this.$_activityResizeAbortCallback$)
      }else {
        $eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$ = $componentEvent$$47$$.$getNativeEventTarget$();
        $eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$ = $componentEvent$$47$$.$getNativeEvent$();
        $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$ = $AdfAgent$$.$AGENT$;
        $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$ = this.$getDomElement$();
        $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$.$disableUserSelect$($activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$);
        this.$_resizedActivity$ = $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$ = $JSCompiler_StaticMethods__getParentActivity$$($activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$, $eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$);
        this.$_resizedActivityInitWidthInPercent$ = $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.style.width;
        this.$_resizedActivityInitOffsetLeft$ = $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.offsetLeft;
        this.$_resizeStartX$ = $eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$.clientX;
        if($activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$, $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$, $AdfDhtmlCalendarPeer$$.$_MONTH_ROW_ID$)) {
          this.$_initMonthRowTop$ = $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$.$getElementTop$($activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$), this.$_monthRowHeight$ = $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$.clientHeight, this.$_deltaWeeks$ = 0
        }
        $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ = this.$_alldayContainer$;
        $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ || ($alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, $componentEvent$$47$$), "month" == $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$.getView() ? $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ = 
        $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$ : ($activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$ = $AdfRichUIPeer$$.$CreateSubId$($alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), 
        $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ = $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$.getElementById($activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$)));
        $AdfAssert$$.$assertDomElement$($alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$);
        this.$_alldayContainer$ = $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$;
        var $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$ = Math.ceil(0.005 * $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$.clientWidth), $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$ = $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$.clientWidth, 
        $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$ = $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$.$getElementLeft$($alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$), $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ = 
        $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$.clientWidth / 7, $activityX$$inline_1048$$ = $JSCompiler_StaticMethods__getActivityX$$($agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$, $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$);
        this.$_minX$ = $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$ ? $activityX$$inline_1048$$ - $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ + $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$ : $activityX$$inline_1048$$ + $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$ - 
        $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$;
        this.$_maxX$ = $dGCRContainer$$inline_1027_isRTL$$inline_1046_node$$inline_1030$$ ? $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$ + $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$ : $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$ + $alldayContainerWidth$$inline_1044_childNodes$$inline_1028_component$$inline_1023_component$$inline_1041$$ - 
        $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$;
        this.$_alldayContainerX$ = $agent$$inline_1036_alldayContainerX$$inline_1045_resizedActivity$$inline_1025$$;
        this.$_dayWidth$ = $alldayContainer$$inline_1040_calendarRootElement$$inline_1024_dayWidth$$inline_1047_i$$inline_1029$$;
        this.$_activityX$ = $activityX$$inline_1048$$;
        this.$_activityEndPadding$ = $activityEndPadding$$inline_1043_allDayId$$inline_1042_calendarRootElement$$inline_1037_monthRow$$inline_1039_resizedActivityContainer$$inline_1026$$;
        $AdfDomUtils$$.$addCSSClassName$($agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$, $AdfDhtmlCalendarPeer$$.$_DRAG_END_CLASS$);
        $agent$$115_agent$$inline_1022_resizedActivity$$inline_1038$$.style.zIndex = ++this.$_nextZIndex$;
        this.$_alldayActivityResizeDragCallback$ || (this.$_alldayActivityResizeDragCallback$ = this.$createCallback$(this.$_handleAlldayActivityResizeDrag$), this.$_alldayActivityResizeDropCallback$ = this.$createCallback$(this.$_handleAlldayActivityResizeDrop$), this.$_alldayActivityResizeAbortCallback$ = this.$createCallback$(this.$_handleAlldayActivityResizeAbort$));
        $AdfPage$$.$PAGE$.$startDrag$($eventTarget$$12_evt$$inline_1021_evt$$inline_1035_isAlldayResizeIndicator$$, this.$_alldayActivityResizeDragCallback$, this.$_alldayActivityResizeDropCallback$, this.$_alldayActivityResizeAbortCallback$)
      }
      $eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$.style.cursor = "default";
      this.$_activityResizeIndicator$ = $eventTarget$$inline_1020_eventTarget$$inline_1034_isTimeResizeIndicator$$;
      $componentEvent$$47$$.cancel();
      $componentEvent$$47$$.$stopBubbling$();
      this.$_eatMouseClick$ = $JSCompiler_alias_TRUE$$
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentMouseOver$$($componentEvent$$48_eventTarget$$13_mouseId$$) {
  if(!this.$IsBusy$()) {
    var $activityId$$8_calendarRootElement$$1$$ = this.$getDomElement$(), $component$$390_state$$27$$ = this.$getComponent$();
    $componentEvent$$48_eventTarget$$13_mouseId$$ = $componentEvent$$48_eventTarget$$13_mouseId$$.$getNativeEventTarget$();
    var $activityRootElement$$1_popup$$8_timeout$$1$$ = $JSCompiler_StaticMethods__getParentActivity$$($activityId$$8_calendarRootElement$$1$$, $componentEvent$$48_eventTarget$$13_mouseId$$);
    if($activityRootElement$$1_popup$$8_timeout$$1$$ && $component$$390_state$$27$$.$getDragSource$() != $JSCompiler_alias_NULL$$ && !this.$_resizedActivity$) {
      var $activityHoverId_view$$inline_1053$$ = $component$$390_state$$27$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
      if($activityHoverId_view$$inline_1053$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
        var $isAllDay$$inline_1054_isNoHoverTarget$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$1_popup$$8_timeout$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$) != $JSCompiler_alias_NULL$$, $isDuration$$inline_1055$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$1_popup$$8_timeout$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) != $JSCompiler_alias_NULL$$, $isDurationInBottomRegion$$inline_1056$$ = -1 == $component$$390_state$$27$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$);
        if(!$isDuration$$inline_1055$$ || !($isDurationInBottomRegion$$inline_1056$$ && $activityHoverId_view$$inline_1053$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$)) {
          (!$isAllDay$$inline_1054_isNoHoverTarget$$ || $activityHoverId_view$$inline_1053$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) && !$AdfDomUtils$$.$containsCSSClassName$($activityRootElement$$1_popup$$8_timeout$$1$$, $AdfDhtmlCalendarPeer$$.$_MOVEABLE_CLASS$) && $AdfDomUtils$$.$addCSSClassName$($activityRootElement$$1_popup$$8_timeout$$1$$, $AdfDhtmlCalendarPeer$$.$_MOVEABLE_CLASS$)
        }
      }
    }
    if($activityHoverId_view$$inline_1053$$ = $AdfAgent$$.$AGENT$.getAttribute($activityId$$8_calendarRootElement$$1$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_HOVER$)) {
      if($isAllDay$$inline_1054_isNoHoverTarget$$ = $JSCompiler_alias_FALSE$$, 1 == $componentEvent$$48_eventTarget$$13_mouseId$$.nodeType && "IMG" == $componentEvent$$48_eventTarget$$13_mouseId$$.tagName && ($isAllDay$$inline_1054_isNoHoverTarget$$ = $JSCompiler_alias_TRUE$$), $isAllDay$$inline_1054_isNoHoverTarget$$ || ($isAllDay$$inline_1054_isNoHoverTarget$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($activityRootElement$$1_popup$$8_timeout$$1$$, $componentEvent$$48_eventTarget$$13_mouseId$$, 
      $AdfDhtmlCalendarPeer$$.$_KILL_HOVER_INDICATOR_KEY$)), $isAllDay$$inline_1054_isNoHoverTarget$$) {
        $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this)
      }else {
        if($activityRootElement$$1_popup$$8_timeout$$1$$ && $activityId$$8_calendarRootElement$$1$$ != $activityRootElement$$1_popup$$8_timeout$$1$$) {
          if($activityId$$8_calendarRootElement$$1$$ = $activityRootElement$$1_popup$$8_timeout$$1$$.id, $componentEvent$$48_eventTarget$$13_mouseId$$ = this.$_calendarActivityMouseId$, ($activityRootElement$$1_popup$$8_timeout$$1$$ = this.$_calendarActivityMouseTimeout$) && ($componentEvent$$48_eventTarget$$13_mouseId$$ && $componentEvent$$48_eventTarget$$13_mouseId$$ != $activityId$$8_calendarRootElement$$1$$) && $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this), $activityRootElement$$1_popup$$8_timeout$$1$$ == 
          $JSCompiler_alias_NULL$$ && (!this.$_resizedActivity$ && !this.$_draggedActivity$) && ($activityRootElement$$1_popup$$8_timeout$$1$$ = $component$$390_state$$27$$.$findComponent$($activityHoverId_view$$inline_1053$$), $componentEvent$$48_eventTarget$$13_mouseId$$ == $JSCompiler_alias_NULL$$ || $componentEvent$$48_eventTarget$$13_mouseId$$ != $activityId$$8_calendarRootElement$$1$$ || !$activityRootElement$$1_popup$$8_timeout$$1$$.$isPopupVisible$())) {
            this.$_calendarActivityMouseId$ = $activityId$$8_calendarRootElement$$1$$, $component$$390_state$$27$$ = {$componentId$:$component$$390_state$$27$$.$getClientId$(), $activityRootId$:$activityId$$8_calendarRootElement$$1$$}, this.$_calendarActivityMouseTimeout$ = page.$scheduleTimer$(this, this.$_onMouseOverTimeout$, $component$$390_state$$27$$, 1E3)
          }
        }else {
          this.$_calendarActivityMouseId$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this)
        }
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentClick$$($componentEvent$$49$$) {
  this.$IsBusy$() || this.$_eatMouseClick$ || $JSCompiler_StaticMethods__handleClickEvents$$(this, $componentEvent$$49$$, 1)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentDblClick$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentDblClick$$($componentEvent$$50$$) {
  this.$IsBusy$() || $JSCompiler_StaticMethods__handleClickEvents$$(this, $componentEvent$$50$$, 2)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentDblClick", {$HandleComponentDblClick$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentDblClick$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentKeyDown$$($componentEvent$$51_keyStroke$$8$$) {
  if(!this.$IsBusy$()) {
    var $domEvent$$12$$ = $componentEvent$$51_keyStroke$$8$$.$getNativeEvent$(), $keyCode$$24$$ = $domEvent$$12$$.keyCode;
    if($AdfKeyStroke$$.$ENTER_KEY$ == $keyCode$$24$$ || $AdfKeyStroke$$.$M_KEY$ == $keyCode$$24$$) {
      var $calendarRootElement$$2$$ = this.$getDomElement$(), $component$$391$$ = this.$getComponent$(), $eventTarget$$14$$ = $componentEvent$$51_keyStroke$$8$$.$getNativeEventTarget$(), $activityRootElement$$2_displayChangeElement_newDate$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$2$$, $eventTarget$$14$$);
      if($activityRootElement$$2_displayChangeElement_newDate$$ && $calendarRootElement$$2$$ != $activityRootElement$$2_displayChangeElement_newDate$$) {
        $AdfKeyStroke$$.$M_KEY$ == $keyCode$$24$$ && $domEvent$$12$$.ctrlKey && $domEvent$$12$$.altKey ? $JSCompiler_StaticMethods__handleActivityContextMenu$$(this, $componentEvent$$51_keyStroke$$8$$, $calendarRootElement$$2$$, $activityRootElement$$2_displayChangeElement_newDate$$, $JSCompiler_alias_TRUE$$) : $AdfKeyStroke$$.$ENTER_KEY$ == $keyCode$$24$$ && ($componentEvent$$51_keyStroke$$8$$ = $componentEvent$$51_keyStroke$$8$$.$getKeyStroke$(), $JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, 
        $component$$391$$, $activityRootElement$$2_displayChangeElement_newDate$$, $componentEvent$$51_keyStroke$$8$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_KEY$), $JSCompiler_StaticMethods__launchPopupFacet$$(this, $component$$391$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$))
      }else {
        if($activityRootElement$$2_displayChangeElement_newDate$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$2$$, $eventTarget$$14$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$)) {
          $JSCompiler_StaticMethods__hideActivityHoverPopup$$(this), $activityRootElement$$2_displayChangeElement_newDate$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$2_displayChangeElement_newDate$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$), $AdfCalendarDisplayChangeEvent$$.$queue$($component$$391$$, $activityRootElement$$2_displayChangeElement_newDate$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$)
        }
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentKeyUp$$($componentEvent$$52$$) {
  if(!this.$IsBusy$()) {
    var $calendarRootElement$$3$$ = this.$getDomElement$(), $eventTarget$$15$$ = $componentEvent$$52$$.$getNativeEventTarget$(), $activityRootElement$$3$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$3$$, $eventTarget$$15$$), $view$$4$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $component$$392$$ = this.$getComponent$(), $keyStroke$$9$$ = $componentEvent$$52$$.$getKeyStroke$(), $keyCode$$25$$ = $componentEvent$$52$$.$getKeyCode$();
    if($activityRootElement$$3$$ && $calendarRootElement$$3$$ != $activityRootElement$$3$$) {
      if($AdfKeyStroke$$.$TAB_KEY$ == $keyCode$$25$$ || $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $keyCode$$25$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $keyCode$$25$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$25$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$25$$) {
        if($view$$4$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
          return $JSCompiler_StaticMethods__handleKeyUpForMonth$$(this, $keyCode$$25$$, $activityRootElement$$3$$, $componentEvent$$52$$)
        }
        if($view$$4$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
          return $JSCompiler_StaticMethods__handleKeyUpForWeek$$(this, $keyCode$$25$$, $activityRootElement$$3$$, $componentEvent$$52$$)
        }
        if($view$$4$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) {
          return $JSCompiler_StaticMethods__handleKeyUpForDay$$(this, $keyCode$$25$$, $activityRootElement$$3$$, $componentEvent$$52$$)
        }
        if($view$$4$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
          return $JSCompiler_StaticMethods__handleKeyUpForList$$($keyCode$$25$$, $activityRootElement$$3$$, $componentEvent$$52$$)
        }
      }
      $AdfKeyStroke$$.$ENTER_KEY$ != $keyCode$$25$$ && ($JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, $component$$392$$, $activityRootElement$$3$$, $keyStroke$$9$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_KEY$), $AdfKeyStroke$$.$DELETE_KEY$ == $keyCode$$25$$ && $JSCompiler_StaticMethods__launchPopupFacet$$(this, $component$$392$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DELETE$))
    }else {
      if($AdfAgent$$.$AGENT$.getAttribute($eventTarget$$15$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) != $JSCompiler_alias_NULL$$) {
        return $view$$4$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ ? $JSCompiler_StaticMethods__handleKeyUpForDay$$(this, $keyCode$$25$$, $eventTarget$$15$$) : $view$$4$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ ? $JSCompiler_StaticMethods__handleKeyUpForWeek$$(this, $keyCode$$25$$, $eventTarget$$15$$) : $view$$4$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$ ? $JSCompiler_StaticMethods__handleKeyUpForMonth$$(this, $keyCode$$25$$, $eventTarget$$15$$) : $view$$4$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$ ? 
        $JSCompiler_StaticMethods__handleKeyUpForList$$($keyCode$$25$$, $eventTarget$$15$$) : $JSCompiler_alias_FALSE$$
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentAction$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentAction$$($componentEvent$$53$$) {
  if(!this.$IsBusy$()) {
    var $component$$393$$ = this.$getComponent$(), $calId$$ = $component$$393$$.$getClientId$(), $eventId$$1$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, $componentEvent$$53$$).$getClientId$();
    $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_DAY$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$53$$, $component$$393$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_WEEK$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$53$$, $component$$393$$, $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) : 
    $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_MONTH$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$53$$, $component$$393$$, $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_LIST$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$53$$, $component$$393$$, $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) : 
    $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_TODAY$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$53$$, $component$$393$$, $JSCompiler_alias_NULL$$, $AdfCalendarDisplayChangeEvent$$.$DATE_TODAY$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_NEXT$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$53$$, $component$$393$$, 
    $JSCompiler_alias_NULL$$, $AdfCalendarDisplayChangeEvent$$.$DATE_NEXT$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_PREVIOUS$ == $eventId$$1$$ && $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$53$$, $component$$393$$, $JSCompiler_alias_NULL$$, $AdfCalendarDisplayChangeEvent$$.$DATE_PREVIOUS$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentAction", {$HandleComponentAction$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentAction$});
$AdfDhtmlCalendarPeer$$.prototype.$handleMonthOverflowLinkClick$ = $JSCompiler_returnArg$$($JSCompiler_alias_FALSE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.handleMonthOverflowLinkClick", {$handleMonthOverflowLinkClick$:$AdfDhtmlCalendarPeer$$.prototype.$handleMonthOverflowLinkClick$});
$AdfDhtmlCalendarPeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlCalendarPeer$$$$$needsResizeNotify$$() {
  var $view$$5$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  if($view$$5$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$ || $view$$5$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$5$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
    return $JSCompiler_alias_TRUE$$
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlCalendarPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlCalendarPeer$$.prototype.$resizeNotify$ = function $$AdfDhtmlCalendarPeer$$$$$resizeNotify$$($component$$394$$, $isRTL$$inline_1061_oldWidth$$5_view$$6$$, $isShrinking$$inline_1062_oldHeight$$5$$, $monthGridId$$inline_1065_monthRows$$inline_1067_newWidth$$5$$, $calendar$$inline_1063_newHeight$$6$$) {
  $isRTL$$inline_1061_oldWidth$$5_view$$6$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  if($calendar$$inline_1063_newHeight$$6$$ != $isShrinking$$inline_1062_oldHeight$$5$$) {
    if($isRTL$$inline_1061_oldWidth$$5_view$$6$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) {
      $JSCompiler_StaticMethods__resizeAllDayActsArea$$(this)
    }else {
      if($isRTL$$inline_1061_oldWidth$$5_view$$6$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
        $JSCompiler_StaticMethods__resizeAllDayActsArea$$(this)
      }else {
        if($isRTL$$inline_1061_oldWidth$$5_view$$6$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
          $isRTL$$inline_1061_oldWidth$$5_view$$6$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
          $isShrinking$$inline_1062_oldHeight$$5$$ = $isShrinking$$inline_1062_oldHeight$$5$$ == $JSCompiler_alias_NULL$$ || $calendar$$inline_1063_newHeight$$6$$ < $isShrinking$$inline_1062_oldHeight$$5$$;
          $calendar$$inline_1063_newHeight$$6$$ = this.$getComponent$();
          var $clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$ = $calendar$$inline_1063_newHeight$$6$$.$getClientId$();
          $monthGridId$$inline_1065_monthRows$$inline_1067_newWidth$$5$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$, $AdfDhtmlCalendarPeer$$.$_MONTH_GRID_ID$);
          var $gridInfo$$inline_1071_monthGrid$$inline_1066$$ = $AdfAgent$$.$AGENT$.getElementById($monthGridId$$inline_1065_monthRows$$inline_1067_newWidth$$5$$);
          if($gridInfo$$inline_1071_monthGrid$$inline_1066$$) {
            $monthGridId$$inline_1065_monthRows$$inline_1067_newWidth$$5$$ = $gridInfo$$inline_1071_monthGrid$$inline_1066$$.childNodes;
            for(var $numRows$$inline_1068$$ = $monthGridId$$inline_1065_monthRows$$inline_1067_newWidth$$5$$.length, $clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$, $AdfDhtmlCalendarPeer$$.$_MONTH_HEADER_ID$), $clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$ = $AdfAgent$$.$AGENT$.getElementById($clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$), 
            $gridInfo$$inline_1071_monthGrid$$inline_1066$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$($gridInfo$$inline_1071_monthGrid$$inline_1066$$, $clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$), $clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$ = 0;$clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$ < $numRows$$inline_1068$$;$clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$++) {
              for(var $currDaysArray$$inline_1073$$ = Array($gridInfo$$inline_1071_monthGrid$$inline_1066$$.$numDaysInWeek$), $overflowAnchorArr$$inline_1074$$ = Array($gridInfo$$inline_1071_monthGrid$$inline_1066$$.$numDaysInWeek$), $firstHiddenActArr$$inline_1075$$ = Array($gridInfo$$inline_1071_monthGrid$$inline_1066$$.$numDaysInWeek$), $overflowLinkArr$$inline_1076$$ = Array($gridInfo$$inline_1071_monthGrid$$inline_1066$$.$numDaysInWeek$), $prevOverflowInfo$$inline_1077$$ = Array($gridInfo$$inline_1071_monthGrid$$inline_1066$$.$numDaysInWeek$), 
              $overflowDeltaInfo$$inline_1078$$ = Array($gridInfo$$inline_1071_monthGrid$$inline_1066$$.$numDaysInWeek$), $d$$inline_1079_row$$inline_1080$$ = 0;$d$$inline_1079_row$$inline_1080$$ < $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$numDaysInWeek$;$d$$inline_1079_row$$inline_1080$$++) {
                $overflowDeltaInfo$$inline_1078$$[$d$$inline_1079_row$$inline_1080$$] = 0
              }
              for(var $d$$inline_1079_row$$inline_1080$$ = $monthGridId$$inline_1065_monthRows$$inline_1067_newWidth$$5$$[$clientId$$inline_1064_i$$inline_1072_monthHeader$$inline_1070_monthHeaderId$$inline_1069$$], $m$$inline_1102_monthRowChildren$$inline_1081$$ = $d$$inline_1079_row$$inline_1080$$.childNodes, $na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$ = $m$$inline_1102_monthRowChildren$$inline_1081$$.length, $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$ = 
              0;$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$ < $na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$;$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$++) {
                var $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $AdfAgent$$.$AGENT$.getAttribute($m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$], $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, 
                $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$ = $AdfAgent$$.$AGENT$.getAttribute($m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$);
                $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = $AdfAgent$$.$AGENT$.getAttribute($m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);
                var $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$inline_1071_monthGrid$$inline_1066$$, $m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$]);
                if($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$) {
                  $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = $m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$], $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$activityInfo$ == $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, 
                  $gridInfo$$inline_1071_monthGrid$$inline_1066$$)
                }else {
                  if($isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$) {
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = $m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$].childNodes[0], $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$activityInfo$ == $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, 
                    $gridInfo$$inline_1071_monthGrid$$inline_1066$$)
                  }else {
                    if($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$) {
                      $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $AdfAgent$$.$AGENT$.getAttribute($m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_NUM_OVERFLOW$);
                      $prevOverflowInfo$$inline_1077$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$;
                      $d$$inline_1079_row$$inline_1080$$.removeChild($m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$]);
                      $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$--;
                      $na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$--;
                      continue
                    }else {
                      $currDaysArray$$inline_1073$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$]
                    }
                  }
                }
                if($isShrinking$$inline_1062_oldHeight$$5$$) {
                  if($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$) {
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = $m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$], $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = 
                    $AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$), $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ >= $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$maxNumActivities$ && 
                    ("none" != $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$.style.display && $JSCompiler_StaticMethods__hideMonthGridActivity$$($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, 
                    $gridInfo$$inline_1071_monthGrid$$inline_1066$$, $overflowDeltaInfo$$inline_1078$$), $overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] == $JSCompiler_alias_NULL$$ && ($overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$), 
                    $firstHiddenActArr$$inline_1075$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] == $JSCompiler_alias_NULL$$ && ($firstHiddenActArr$$inline_1075$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$))
                  }else {
                    if($isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$) {
                      $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$ = $m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$];
                      $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$.childNodes.length;
                      for(var $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$ = 0, $gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$ = 0;$gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$ < $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$;$gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$++) {
                        var $act$$inline_1101_timedAct$$inline_1096$$ = $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$.childNodes[$gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$], $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $AdfAgent$$.$AGENT$.getAttribute($act$$inline_1101_timedAct$$inline_1096$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
                        $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ >= $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$maxNumActivities$ && ("none" != $act$$inline_1101_timedAct$$inline_1096$$.style.display && $JSCompiler_StaticMethods__hideMonthGridActivity$$($act$$inline_1101_timedAct$$inline_1096$$, $gridInfo$$inline_1071_monthGrid$$inline_1066$$, $overflowDeltaInfo$$inline_1078$$), 
                        $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$++, $firstHiddenActArr$$inline_1075$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] == $JSCompiler_alias_NULL$$ && ($firstHiddenActArr$$inline_1075$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $act$$inline_1101_timedAct$$inline_1096$$))
                      }
                      if($overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] == $JSCompiler_alias_NULL$$) {
                        if($currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$ == $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$) {
                          $overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$
                        }else {
                          if(0 < $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$) {
                            for($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $AdfDomUtils$$.$getNextElement$($isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$);$AdfAgent$$.$AGENT$.getAttribute($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$, 
                            $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$) != $JSCompiler_alias_NULL$$;) {
                              $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $AdfDomUtils$$.$getNextElement$($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$)
                            }
                            $overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$
                          }
                        }
                      }
                    }
                  }
                }else {
                  if($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$) {
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = $m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$], $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = 
                    $AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$), $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ < $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$maxNumActivities$ ? 
                    "none" == $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$.style.display && $JSCompiler_StaticMethods__showMonthGridActivity$$($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, 
                    $gridInfo$$inline_1071_monthGrid$$inline_1066$$, $overflowDeltaInfo$$inline_1078$$) : ($overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] == $JSCompiler_alias_NULL$$ && ($overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$), 
                    $firstHiddenActArr$$inline_1075$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] == $JSCompiler_alias_NULL$$ && ($firstHiddenActArr$$inline_1075$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$))
                  }else {
                    if($isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$) {
                      $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$ = $m$$inline_1102_monthRowChildren$$inline_1081$$[$agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$];
                      $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = 0;
                      $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$ = $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$.childNodes.length;
                      for($gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$ = 0;$gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$ < $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$;$gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$++) {
                        $act$$inline_1101_timedAct$$inline_1096$$ = $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$.childNodes[$gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$], $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $AdfAgent$$.$AGENT$.getAttribute($act$$inline_1101_timedAct$$inline_1096$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$), 
                        $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ < $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$maxNumActivities$ ? "none" == $act$$inline_1101_timedAct$$inline_1096$$.style.display && $JSCompiler_StaticMethods__showMonthGridActivity$$($act$$inline_1101_timedAct$$inline_1096$$, $gridInfo$$inline_1071_monthGrid$$inline_1066$$, $overflowDeltaInfo$$inline_1078$$) : 
                        ($firstHiddenActArr$$inline_1075$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] == $JSCompiler_alias_NULL$$ && ($firstHiddenActArr$$inline_1075$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $act$$inline_1101_timedAct$$inline_1096$$), $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$++)
                      }
                      if($overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] == $JSCompiler_alias_NULL$$) {
                        if($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ == $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$) {
                          $overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$
                        }else {
                          if(0 < $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$) {
                            for($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $AdfDomUtils$$.$getNextElement$($isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$);$AdfAgent$$.$AGENT$.getAttribute($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$, 
                            $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$) != $JSCompiler_alias_NULL$$;) {
                              $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $AdfDomUtils$$.$getNextElement$($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$)
                            }
                            $overflowAnchorArr$$inline_1074$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] = $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$
                          }
                        }
                      }
                    }
                  }
                }
              }
              for($m$$inline_1102_monthRowChildren$$inline_1081$$ = 0;$m$$inline_1102_monthRowChildren$$inline_1081$$ < $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$numDaysInWeek$;$m$$inline_1102_monthRowChildren$$inline_1081$$++) {
                if($na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$ = $overflowAnchorArr$$inline_1074$$[$m$$inline_1102_monthRowChildren$$inline_1081$$], $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$ = (parseInt($prevOverflowInfo$$inline_1077$$[$m$$inline_1102_monthRowChildren$$inline_1081$$]) || 0) + (parseInt($overflowDeltaInfo$$inline_1078$$[$m$$inline_1102_monthRowChildren$$inline_1081$$]) || 0), 0 < $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$) {
                  $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $firstHiddenActArr$$inline_1075$$[$m$$inline_1102_monthRowChildren$$inline_1081$$] != $JSCompiler_alias_NULL$$;
                  $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$ = $JSCompiler_StaticMethods__getActivityInfo$$($firstHiddenActArr$$inline_1075$$[$m$$inline_1102_monthRowChildren$$inline_1081$$], $gridInfo$$inline_1071_monthGrid$$inline_1066$$);
                  for($isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$ = 0;$isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ && $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$ < $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$.$activityLength$;$isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$++) {
                    if(1 < (parseInt($prevOverflowInfo$$inline_1077$$[$m$$inline_1102_monthRowChildren$$inline_1081$$ + $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$]) || 0) + (parseInt($overflowDeltaInfo$$inline_1078$$[$m$$inline_1102_monthRowChildren$$inline_1081$$ + $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$]) || 0)) {
                      $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $JSCompiler_alias_FALSE$$
                    }
                  }
                  if($isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ == $JSCompiler_alias_TRUE$$ && $AdfAgent$$.$AGENT$.getAttribute($firstHiddenActArr$$inline_1075$$[$m$$inline_1102_monthRowChildren$$inline_1081$$], $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$) < $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$maxNumActivities$) {
                    $firstHiddenActArr$$inline_1075$$[$m$$inline_1102_monthRowChildren$$inline_1081$$].style.display = $firstHiddenActArr$$inline_1075$$[$m$$inline_1102_monthRowChildren$$inline_1081$$].style.$_display$ || "";
                    for($na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$ = 0;$na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$ < $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$.$activityLength$;$na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$++) {
                      $overflowDeltaInfo$$inline_1078$$[$m$$inline_1102_monthRowChildren$$inline_1081$$ + $na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$] -= 1
                    }
                  }else {
                    if($na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$ == $JSCompiler_alias_NULL$$) {
                      for($actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$ = $m$$inline_1102_monthRowChildren$$inline_1081$$ - 1;0 <= $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$;$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$--) {
                        if($overflowLinkArr$$inline_1076$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$] != $JSCompiler_alias_NULL$$) {
                          $na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$ = $AdfDomUtils$$.$getNextElement$($overflowLinkArr$$inline_1076$$[$actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$]);
                          break
                        }
                      }
                    }
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = $calendar$$inline_1063_newHeight$$6$$;
                    $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$;
                    $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$ = $currDaysArray$$inline_1073$$[$m$$inline_1102_monthRowChildren$$inline_1081$$];
                    $gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$ = $gridInfo$$inline_1071_monthGrid$$inline_1066$$;
                    $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$ = $AdfAgent$$.$AGENT$;
                    $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$ = document.createElement("div");
                    $AdfDomUtils$$.$addCSSClassName$($actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$, $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$.getStyleClass($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_WRAPPER_CLASS$));
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.setAttribute($actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.setAttribute($actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_NUM_OVERFLOW$, $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$);
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.setAttribute($actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$, $gridInfo$$inline_5138_k$$inline_1095_l$$inline_1100$$.$maxNumActivities$);
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$);
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.setAttribute($actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$, $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$);
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$ = document.createElement("a");
                    $AdfDomUtils$$.$addCSSClassName$($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$, $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$.getStyleClass($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_CLASS$));
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$.href = "#";
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$.onclick = this.$handleMonthOverflowLinkClick$;
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$.tabIndex = -1;
                    $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$ = $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_TEXT$, $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$);
                    $allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$.innerHTML = $currDayDom$$inline_5137_numActs$$inline_1099_numHidden$$inline_1094_overflowText$$inline_5144$$;
                    $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$.appendChild($allDayActivity$$inline_1085_anchor$$inline_5143_calendar$$inline_5135_dayString$$inline_5142_isOverflowLink$$inline_1088_numHiddenInReshow$$inline_1098_numTimedActs$$inline_1093_sampleTimedActivity$$inline_1090$$);
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.setAttribute($actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$, "role", "link");
                    $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$ = $isTimedActWrapper$$inline_1086_laf$$inline_5139_n$$inline_1107_timedActWrapper$$inline_1087$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_LABEL$, $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$);
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.setAttribute($actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$, "aria-label", $isAllDayAct$$inline_1084_nextSibling$$inline_1097_numOverflow$$inline_1091_numOverflow$$inline_5136_overflowLabel$$inline_5145_reshowActivity$$inline_1105_rowNum$$inline_1092$$);
                    $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$.tabIndex = -1;
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$ = $actInfo$$inline_1106_currIndex$$inline_1089_newdiv$$inline_5141_pi$$inline_1109$$;
                    $isRTL$$inline_1061_oldWidth$$5_view$$6$$ ? $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.style.right = $currDaysArray$$inline_1073$$[$m$$inline_1102_monthRowChildren$$inline_1081$$].style.right : $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.style.left = $currDaysArray$$inline_1073$$[$m$$inline_1102_monthRowChildren$$inline_1081$$].style.left;
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.style.top = $gridInfo$$inline_1071_monthGrid$$inline_1066$$.$activityInfo$.$overflowTopStr$;
                    $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$.style.width = $currDaysArray$$inline_1073$$[$m$$inline_1102_monthRowChildren$$inline_1081$$].style.width;
                    $d$$inline_1079_row$$inline_1080$$.insertBefore($agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$, $na$$inline_1108_numEntries$$inline_1082_overflowAnchorElem$$inline_1103$$);
                    $overflowLinkArr$$inline_1076$$[$m$$inline_1102_monthRowChildren$$inline_1081$$] = $agent$$inline_5140_j$$inline_1083_numOverflowActs$$inline_1104_olink$$inline_1110$$
                  }
                }
              }
            }
          }
        }
      }
    }
    this.$isScrollRestored$ || (this.$_restoreScrollPosition$($component$$394$$, this.$getDomElement$()), this.$isScrollRestored$ = $JSCompiler_alias_TRUE$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.resizeNotify", {$resizeNotify$:$AdfDhtmlCalendarPeer$$.prototype.$resizeNotify$});
$AdfDhtmlCalendarPeer$$.prototype.$showActivityPopup$ = function $$AdfDhtmlCalendarPeer$$$$$showActivityPopup$$($popup$$9_popupId$$30$$, $alignElement$$12_alignId$$6_providerId$$8$$, $activityId$$9_hints$$52$$) {
  var $calendar$$4$$ = this.$getComponent$();
  $popup$$9_popupId$$30$$ = $calendar$$4$$.$findComponent$($popup$$9_popupId$$30$$);
  $alignElement$$12_alignId$$6_providerId$$8$$ = $calendar$$4$$.$getClientId$() + "::" + $alignElement$$12_alignId$$6_providerId$$8$$ + "::" + $activityId$$9_hints$$52$$;
  if($alignElement$$12_alignId$$6_providerId$$8$$ = $AdfAgent$$.$AGENT$.getElementById($alignElement$$12_alignId$$6_providerId$$8$$)) {
    $activityId$$9_hints$$52$$ = {}, $activityId$$9_hints$$52$$.alignElement = $alignElement$$12_alignId$$6_providerId$$8$$, $activityId$$9_hints$$52$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_AFTER_START$, $activityId$$9_hints$$52$$.autodismiss = "autodismissMouseOut", $activityId$$9_hints$$52$$.autodismissMouseOut = $alignElement$$12_alignId$$6_providerId$$8$$, $popup$$9_popupId$$30$$.show($activityId$$9_hints$$52$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.showActivityPopup", {$showActivityPopup$:$AdfDhtmlCalendarPeer$$.prototype.$showActivityPopup$});
$AdfDhtmlCalendarPeer$$.prototype.$getActivityForEvent$ = function $$AdfDhtmlCalendarPeer$$$$$getActivityForEvent$$($calendarRootElement$$4_inputEvent$$51$$) {
  if(this.$_resizedActivity$) {
    return $JSCompiler_alias_NULL$$
  }
  var $ids$$1_nativeTarget$$1_view$$7$$ = $calendarRootElement$$4_inputEvent$$51$$.$getNativeEventTarget$(), $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = $AdfAgent$$.$AGENT$.getAttribute($ids$$1_nativeTarget$$1_view$$7$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_TIME_INDICATOR_KEY$);
  $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ || ($component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = $AdfAgent$$.$AGENT$.getAttribute($ids$$1_nativeTarget$$1_view$$7$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_All_DAY_INDICATOR_KEY$));
  if($component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$) {
    return $JSCompiler_alias_NULL$$
  }
  $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = this.$getComponent$();
  $ids$$1_nativeTarget$$1_view$$7$$ = $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  if($ids$$1_nativeTarget$$1_view$$7$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
    return $JSCompiler_alias_NULL$$
  }
  var $activityRootElement$$4_eventTarget$$16$$ = $calendarRootElement$$4_inputEvent$$51$$.$getNativeEventTarget$();
  $calendarRootElement$$4_inputEvent$$51$$ = this.$getDomElement$();
  var $activityRootElement$$4_eventTarget$$16$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$4_inputEvent$$51$$, $activityRootElement$$4_eventTarget$$16$$), $isDuration$$ = $activityRootElement$$4_eventTarget$$16$$ != $JSCompiler_alias_NULL$$ && $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$4_eventTarget$$16$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) != $JSCompiler_alias_NULL$$, $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = 
  -1 == $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$);
  return $ids$$1_nativeTarget$$1_view$$7$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ && $isDuration$$ && $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ ? $JSCompiler_alias_NULL$$ : $activityRootElement$$4_eventTarget$$16$$ && $calendarRootElement$$4_inputEvent$$51$$ != $activityRootElement$$4_eventTarget$$16$$ ? ($ids$$1_nativeTarget$$1_view$$7$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$4_eventTarget$$16$$), $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = 
  $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$4_eventTarget$$16$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$) != $JSCompiler_alias_NULL$$, new $AdfCalendarActivity$$($ids$$1_nativeTarget$$1_view$$7$$.$providerId$, $ids$$1_nativeTarget$$1_view$$7$$.$activityId$, $component$$395_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$)) : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.getActivityForEvent", {$getActivityForEvent$:$AdfDhtmlCalendarPeer$$.prototype.$getActivityForEvent$});
$AdfDhtmlCalendarPeer$$.prototype.$getDragNodeForActivity$ = function $$AdfDhtmlCalendarPeer$$$$$getDragNodeForActivity$$($inputEvent$$52$$, $activity$$3$$) {
  var $activityElement_activityId$$10_component$$396$$ = this.$getComponent$(), $agent$$116_cloneStyle$$1$$ = $AdfAgent$$.$AGENT$;
  $JSCompiler_StaticMethods__hideActivityHoverPopup$$(this);
  $activityElement_activityId$$10_component$$396$$ = $activityElement_activityId$$10_component$$396$$.$getClientId$() + "::" + $activity$$3$$.$getProviderId$() + "::" + $activity$$3$$.$getActivityId$();
  ($activityElement_activityId$$10_component$$396$$ = $agent$$116_cloneStyle$$1$$.getElementById($activityElement_activityId$$10_component$$396$$)) || ($activityElement_activityId$$10_component$$396$$ = $JSCompiler_StaticMethods__getParentActivity$$(this.$getDomElement$(), $inputEvent$$52$$.$getNativeEventTarget$()));
  this.$_draggedActivity$ = $activityElement_activityId$$10_component$$396$$;
  var $activityClone$$ = $activityElement_activityId$$10_component$$396$$.cloneNode($JSCompiler_alias_TRUE$$);
  $agent$$116_cloneStyle$$1$$.$copyStyle$($activityElement_activityId$$10_component$$396$$, $activityClone$$);
  $agent$$116_cloneStyle$$1$$ = $activityClone$$.style;
  $agent$$116_cloneStyle$$1$$.left = $agent$$116_cloneStyle$$1$$.top = "0px";
  $agent$$116_cloneStyle$$1$$.height = $activityElement_activityId$$10_component$$396$$.clientHeight + "px";
  var $childNodes$$inline_1114_childSpans$$ = $JSCompiler_alias_NULL$$, $agent$$inline_1116_durationSpanNode$$ = $JSCompiler_alias_NULL$$;
  if($activity$$3$$.$isAllDay$()) {
    for(var $childNodes$$inline_1114_childSpans$$ = $activityClone$$.getElementsByTagName("span"), $activityElement$$inline_1112_dayCell$$inline_1120_elemCount$$ = $childNodes$$inline_1114_childSpans$$.length, $elemCount$$inline_1117_i$$161$$ = 0;$elemCount$$inline_1117_i$$161$$ < $activityElement$$inline_1112_dayCell$$inline_1120_elemCount$$;$elemCount$$inline_1117_i$$161$$++) {
      var $i$$inline_1118_span$$ = $childNodes$$inline_1114_childSpans$$[$elemCount$$inline_1117_i$$161$$];
      if($i$$inline_1118_span$$.getAttribute($AdfDhtmlCalendarPeer$$.$_ALL_DAY_DURATION_TEXT_KEY$) != $JSCompiler_alias_NULL$$) {
        $agent$$inline_1116_durationSpanNode$$ = $i$$inline_1118_span$$;
        break
      }
    }
  }
  if($agent$$inline_1116_durationSpanNode$$ != $JSCompiler_alias_NULL$$) {
    var $activityElement$$inline_1112_dayCell$$inline_1120_elemCount$$ = $activityElement_activityId$$10_component$$396$$, $durationSpanNode$$inline_1115$$ = $agent$$inline_1116_durationSpanNode$$, $agent$$inline_1116_durationSpanNode$$ = $AdfAgent$$.$AGENT$;
    $durationSpanNode$$inline_1115$$.style.display = "";
    $elemCount$$inline_1117_i$$161$$ = $childNodes$$inline_1114_childSpans$$.length;
    for($i$$inline_1118_span$$ = 0;$i$$inline_1118_span$$ < $elemCount$$inline_1117_i$$161$$;$i$$inline_1118_span$$++) {
      var $span$$inline_1119$$ = $childNodes$$inline_1114_childSpans$$[$i$$inline_1118_span$$];
      $agent$$inline_1116_durationSpanNode$$.getAttribute($span$$inline_1119$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_HEADER_TEXT_KEY$) == $JSCompiler_alias_NULL$$ && ($span$$inline_1119$$ !== $durationSpanNode$$inline_1115$$ && !$AdfDomUtils$$.$isAncestor$($span$$inline_1119$$, $durationSpanNode$$inline_1115$$)) && ($span$$inline_1119$$.style.display = "none")
    }
    $childNodes$$inline_1114_childSpans$$ = $activityElement$$inline_1112_dayCell$$inline_1120_elemCount$$.parentNode.childNodes;
    $elemCount$$inline_1117_i$$161$$ = $childNodes$$inline_1114_childSpans$$.length;
    for($i$$inline_1118_span$$ = 0;$i$$inline_1118_span$$ < $elemCount$$inline_1117_i$$161$$;$i$$inline_1118_span$$++) {
      if($activityElement$$inline_1112_dayCell$$inline_1120_elemCount$$ = $childNodes$$inline_1114_childSpans$$[$i$$inline_1118_span$$], $agent$$inline_1116_durationSpanNode$$.getAttribute($activityElement$$inline_1112_dayCell$$inline_1120_elemCount$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$) != $JSCompiler_alias_NULL$$) {
        $agent$$116_cloneStyle$$1$$.width = $activityElement$$inline_1112_dayCell$$inline_1120_elemCount$$.clientWidth + "px";
        break
      }
    }
  }else {
    $agent$$116_cloneStyle$$1$$.width = $activityElement_activityId$$10_component$$396$$.clientWidth + "px"
  }
  $AdfDomUtils$$.$addCSSClassName$($activityElement_activityId$$10_component$$396$$, $AdfDhtmlCalendarPeer$$.$_DRAG_SOURCE_CLASS$);
  return $activityClone$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.getDragNodeForActivity", {$getDragNodeForActivity$:$AdfDhtmlCalendarPeer$$.prototype.$getDragNodeForActivity$});
$AdfDhtmlCalendarPeer$$.prototype.$dragDropEnd$ = function $$AdfDhtmlCalendarPeer$$$$$dragDropEnd$$($dndContext$$67$$, $dropAction$$2$$) {
  var $draggedActivity$$ = this.$_draggedActivity$;
  $draggedActivity$$ && ($dropAction$$2$$ == $AdfDnDContext$$.$ACTION_NONE$ && $AdfDomUtils$$.$removeCSSClassName$($draggedActivity$$, $AdfDhtmlCalendarPeer$$.$_DRAG_SOURCE_CLASS$), this.$_draggedActivity$ = $JSCompiler_alias_NULL$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.dragDropEnd", {$dragDropEnd$:$AdfDhtmlCalendarPeer$$.prototype.$dragDropEnd$});
$AdfDhtmlCalendarPeer$$.prototype.$getDragOffsetForActivity$ = function $$AdfDhtmlCalendarPeer$$$$$getDragOffsetForActivity$$($inputEvent$$53$$, $activity$$4$$) {
  var $agent$$117_mousePos$$2$$ = $AdfAgent$$.$AGENT$, $activityElement$$1_activityId$$11_elemPos$$ = this.$getComponent$().$getClientId$() + "::" + $activity$$4$$.$getProviderId$() + "::" + $activity$$4$$.$getActivityId$();
  ($activityElement$$1_activityId$$11_elemPos$$ = $agent$$117_mousePos$$2$$.getElementById($activityElement$$1_activityId$$11_elemPos$$)) || ($activityElement$$1_activityId$$11_elemPos$$ = $JSCompiler_StaticMethods__getParentActivity$$(this.$getDomElement$(), $inputEvent$$53$$.$getNativeEventTarget$()));
  $activityElement$$1_activityId$$11_elemPos$$ = $agent$$117_mousePos$$2$$.$getElementPosition$($activityElement$$1_activityId$$11_elemPos$$);
  $agent$$117_mousePos$$2$$ = $agent$$117_mousePos$$2$$.$getMousePosition$($inputEvent$$53$$.$getNativeEvent$());
  xOffset = $agent$$117_mousePos$$2$$.x - $activityElement$$1_activityId$$11_elemPos$$.x;
  yOffset = $agent$$117_mousePos$$2$$.y - $activityElement$$1_activityId$$11_elemPos$$.y;
  return{x:xOffset, y:yOffset}
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.getDragOffsetForActivity", {$getDragOffsetForActivity$:$AdfDhtmlCalendarPeer$$.prototype.$getDragOffsetForActivity$});
$AdfDhtmlCalendarPeer$$.prototype.$getDropSiteAndDataFromHints$ = function $$AdfDhtmlCalendarPeer$$$$$getDropSiteAndDataFromHints$$($activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$, $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$, $hints$$53$$) {
  $AdfAssert$$.$assertNumber$($gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$);
  $AdfAssert$$.$assertNumber$($dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$);
  $AdfAssert$$.assert($hints$$53$$ != $JSCompiler_alias_NULL$$);
  var $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_LAST_DROP_SITE$], $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = 
  $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_LAST_DROP_SITE_DATA$];
  if($agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ && $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$) {
    var $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$.$bounds$;
    $AdfAssert$$.$assertObject$($allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$);
    if($gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$ >= $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.left && $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$ >= $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.top && 
    $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$ <= $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.right && $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$ <= $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.bottom) {
      $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$;
      $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$;
      return
    }
  }
  $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $JSCompiler_alias_FALSE$$;
  if($agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) {
    $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $AdfAgent$$.$AGENT$;
    $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = this.$getComponent$();
    $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ = $JSCompiler_StaticMethods__getDragSourceActivity$$($activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$);
    $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $JSCompiler_alias_FALSE$$;
    if($JSCompiler_StaticMethods__isAllDayRegionDisplayed$$(this)) {
      var $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$.$getClientId$(), $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = 
      $AdfRichUIPeer$$.$CreateSubId$($allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.getElementById($allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$);
      $AdfAssert$$.$assertDomElement$($allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$);
      $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.$pointInElementBounds$($allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$, $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, 
      $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$) && !$activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ && ($allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = 
      {}, $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.date = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.getAttribute($allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$, 
      $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$), -1 != $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_ALLDAY$) ? $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.timeType = 
      $AdfDhtmlCalendarPeer$$.$_ALLDAY$ : $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.timeType = $AdfDhtmlCalendarPeer$$.$_DURATION$, $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$, 
      dropSiteData = {}, dropSiteData.$domElement$ = $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$, dropSiteData.$bounds$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.$getElementPageBounds$($allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$), 
      $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = dropSiteData, $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $JSCompiler_alias_TRUE$$)
    }
    if(!$allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ && (!$activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ || !$activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$isAllDay$())) {
      a: {
        $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ = $AdfAgent$$.$AGENT$;
        var $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $JSCompiler_alias_NULL$$, $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = 
        $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this), $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.scrollTop, 
        $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.firstChild.rows[0].cells[1].firstChild, 
        $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$.childNodes, $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = 
        $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.length;
        if($activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$pointInElementBounds$($childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$, $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$)) {
          for(i = 0;i < $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$;i++) {
            if($childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$[i], $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ || 
            ($agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.getAttribute($childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$, 
            $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$)), $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$.offsetTop + $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$.offsetHeight > $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$) {
              var $dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.getAttribute($childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$);
              if($dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$ != $JSCompiler_alias_NULL$$ && $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$pointInElementBounds$($childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$, $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, 
              $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$)) {
                $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $JSCompiler_StaticMethods__getDropSiteForTimeSlot$$(this, $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$, $dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$);
                $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$ = {};
                $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$.$domElement$ = $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$;
                $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$.$bounds$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$getElementPageBounds$($childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$);
                $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$;
                $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $JSCompiler_alias_TRUE$$;
                break a
              }
            }
          }
        }
        $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $JSCompiler_alias_FALSE$$
      }
    }
    $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$
  }else {
    if($agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
      $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $AdfAgent$$.$AGENT$;
      $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = this.$getComponent$();
      $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ = $JSCompiler_StaticMethods__getDragSourceActivity$$($activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$);
      $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $JSCompiler_alias_FALSE$$;
      if($JSCompiler_StaticMethods__isAllDayRegionDisplayed$$(this) && ($allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.$getClientId$(), 
      $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$, 
      $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.getElementById($allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$), 
      $AdfAssert$$.$assertDomElement$($allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$), $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.$pointInElementBounds$($allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$, 
      $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$) && (!$activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ || $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$isAllDay$()))) {
        a: {
          $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $AdfAgent$$.$AGENT$;
          $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.childNodes;
          $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ = $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$.length;
          for(i = 0;i < $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$;i++) {
            if($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$[i], $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = 
            $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.getAttribute($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$, 
            $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$), $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ != $JSCompiler_alias_NULL$$ && $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.$pointInElementBounds$($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$, 
            $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$)) {
              $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = -1 != this.$getComponent$().getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_ALLDAY$) ? $AdfDhtmlCalendarPeer$$.$_ALLDAY$ : $AdfDhtmlCalendarPeer$$.$_DURATION$;
              $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = {date:$allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$, timeType:$allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$};
              $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = {};
              $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.$domElement$ = $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$;
              $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.$bounds$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.$getElementPageBounds$($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$);
              $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$;
              $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $JSCompiler_alias_TRUE$$;
              break a
            }
          }
          $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $JSCompiler_alias_FALSE$$
        }
      }
      if(!$calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ && (!$activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ || !$activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$isAllDay$())) {
        a: {
          $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ = $AdfAgent$$.$AGENT$;
          $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
          $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.scrollTop;
          $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.firstChild.rows[0].cells[1].firstChild;
          if($activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$pointInElementBounds$($agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$, $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, 
          $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$)) {
            $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.childNodes;
            $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$.length;
            $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = $JSCompiler_alias_NULL$$;
            for(i = 0;i < $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$;i++) {
              var $dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$ = $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$[i], $cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.getAttribute($dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$, 
              $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
              if($cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$ != $JSCompiler_alias_NULL$$ && $dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$.offsetTop + $dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$.offsetHeight > $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ && $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$pointInElementBounds$($dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$, 
              $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$)) {
                $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = $cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$;
                $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$;
                break
              }
            }
            if($allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ != $JSCompiler_alias_NULL$$) {
              for(i = 0;i < $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$;i++) {
                if($gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$ = $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$[i], $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.getAttribute($gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, 
                $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$), $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ != $JSCompiler_alias_NULL$$ && ($dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$getElementPosition$($gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$), 
                $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$ > $dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$.y && $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$ < $dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$.y + $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$.offsetHeight)) {
                  $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $JSCompiler_StaticMethods__getDropSiteForTimeSlot$$(this, $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$, $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$);
                  $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$ = {};
                  $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$.$domElement$ = $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$;
                  $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$.$siteDayCell$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$;
                  $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$getElementPageBounds$($gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$);
                  $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$getElementPageBounds$($agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$);
                  $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$.$bounds$ = {top:$gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$.top, left:$activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.left, bottom:$gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$.bottom, right:$activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.right};
                  $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$;
                  $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $JSCompiler_alias_TRUE$$;
                  break a
                }
              }
            }
          }
          $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $JSCompiler_alias_FALSE$$
        }
      }
    }else {
      if($agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
        $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$ = $AdfAgent$$.$AGENT$;
        $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $JSCompiler_alias_FALSE$$;
        $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = this.$getComponent$().$getClientId$();
        $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $AdfRichUIPeer$$.$CreateSubId$($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$, 
        $AdfDhtmlCalendarPeer$$.$_MONTH_GRID_ID$);
        if(($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $AdfAgent$$.$AGENT$.getElementById($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$)) && 
        $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$pointInElementBounds$($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$, $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$)) {
          $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$ = $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$.childNodes;
          $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$.length;
          $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ = $JSCompiler_alias_NULL$$;
          for($dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$ = 0;$dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$ < $allDayContainer$$inline_5158_allDayId$$inline_5157_childCount$$inline_5166_childNodes$$inline_5185_clientId$$inline_5156_numRows$$inline_5219_siteDate$$inline_5197_timeType$$inline_5189$$ && !$childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$;$dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$++) {
            if($cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$ = $allDayContainer$$inline_5183_allDayId$$inline_5182_bounds$$2_calendar$$inline_5178_childCount$$inline_5196_childNodes$$inline_5165_clientId$$inline_5181_date$$inline_5188_dropSite$$inline_5159_dropSiteData$$inline_5190_dropSiteFound$$inline_5155_dtGridContainer$$inline_5162_monthRows$$inline_5218$$[$dayCell$$inline_5199_gridCellPos$$inline_5203_i$$inline_5221_timeSlot$$inline_5168$$], $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$pointInElementBounds$($calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$, 
            $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$)) {
              for(var $monthCells$$inline_5223$$ = $cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$.childNodes, $cellCount$$inline_5224$$ = $monthCells$$inline_5223$$.length, $j$$inline_5225$$ = 0;$j$$inline_5225$$ < $cellCount$$inline_5224$$;$j$$inline_5225$$++) {
                var $cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$ = $monthCells$$inline_5223$$[$j$$inline_5225$$], $date$$inline_5227$$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.getAttribute($cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
                if($date$$inline_5227$$ != $JSCompiler_alias_NULL$$ && $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$pointInElementBounds$($cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$, $gridCell$$inline_5201_gridCellBounds$$inline_5205_pageX$$34$$, $dropSiteData$$inline_5169_dropSiteData$$inline_5204_pageY$$34$$)) {
                  $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$ = {};
                  $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$.date = $date$$inline_5227$$;
                  $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$.timeType = "UNKNOWN";
                  $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $childCount$$inline_5186_childNode$$inline_5167_dropSite$$inline_5220_gridCellRowsContainer$$inline_5164_scrollTop$$inline_5193_timeSlot$$inline_5202$$;
                  $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = {};
                  $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.$domElement$ = $cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$;
                  $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$.$bounds$ = $activity$$inline_5154_activity$$inline_5179_agent$$inline_5160_agent$$inline_5191_agent$$inline_5213_dndContext$$68_siteDayCellBounds$$inline_5206$$.$getElementPageBounds$($cell$$inline_5226_date$$inline_5200_monthRow$$inline_5222$$);
                  $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$;
                  $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$ = $JSCompiler_alias_TRUE$$;
                  break
                }
              }
            }
          }
        }
        $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ = $agent$$inline_5152_agent$$inline_5177_agent$$inline_5184_dropSiteData$$inline_5228_dropSiteDate$$inline_5161_dropSiteFound$$inline_5214_dtGridContainer$$inline_5192_gridCellRowsContainer$$inline_5194_hintDropSite_siteDayCell$$inline_5198_view$$inline_1127$$
      }
    }
  }
  $calendar$$inline_5153_childNodes$$inline_5195_clientId$$inline_5215_dayCell$$inline_5187_dropSiteFound$$inline_1128_dropSiteFound$$inline_5180_hintDropSiteData_monthGrid$$inline_5217_monthGridId$$inline_5216_scrollTop$$inline_5163$$ || ($hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $JSCompiler_alias_NULL$$, $hints$$53$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $JSCompiler_alias_NULL$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.getDropSiteAndDataFromHints", {$getDropSiteAndDataFromHints$:$AdfDhtmlCalendarPeer$$.prototype.$getDropSiteAndDataFromHints$});
$AdfDhtmlCalendarPeer$$.prototype.$showDragFeedback$ = function $$AdfDhtmlCalendarPeer$$$$$showDragFeedback$$($dndContext$$69$$, $dropSite$$4$$, $dropSiteData$$2$$, $userAction$$5$$, $lastDropSite$$1$$, $lastDropSiteData$$1$$) {
  $lastDropSite$$1$$ != $dropSite$$4$$ && ($lastDropSite$$1$$ != $JSCompiler_alias_NULL$$ && ($AdfAssert$$.$assertObject$($lastDropSiteData$$1$$), $AdfAssert$$.$assertDomElement$($lastDropSiteData$$1$$.$domElement$), $AdfDomUtils$$.$removeCSSClassName$($lastDropSiteData$$1$$.$domElement$, $AdfDhtmlCalendarPeer$$.$_DROP_TARGET_CLASS$), $lastDropSiteData$$1$$.$siteDayCell$ && $AdfDomUtils$$.$removeCSSClassName$($lastDropSiteData$$1$$.$siteDayCell$, $AdfDhtmlCalendarPeer$$.$_DROP_TARGET_CLASS$)), $dropSite$$4$$ != 
  $JSCompiler_alias_NULL$$ && ($AdfAssert$$.$assertObject$($dropSiteData$$2$$), $AdfAssert$$.$assertDomElement$($dropSiteData$$2$$.$domElement$), $AdfDomUtils$$.$addCSSClassName$($dropSiteData$$2$$.$domElement$, $AdfDhtmlCalendarPeer$$.$_DROP_TARGET_CLASS$), $dropSiteData$$2$$.$siteDayCell$ && $AdfDomUtils$$.$addCSSClassName$($dropSiteData$$2$$.$siteDayCell$, $AdfDhtmlCalendarPeer$$.$_DROP_TARGET_CLASS$)))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.showDragFeedback", {$showDragFeedback$:$AdfDhtmlCalendarPeer$$.prototype.$showDragFeedback$});
function $JSCompiler_StaticMethods__getDragSourceActivity$$($dndContext$$71_objects_transferable$$9$$) {
  if($dndContext$$71_objects_transferable$$9$$ = $dndContext$$71_objects_transferable$$9$$.$getTransferable$()) {
    if($dndContext$$71_objects_transferable$$9$$ = $dndContext$$71_objects_transferable$$9$$.$getTransferData$($AdfDataFlavor$$.$OBJECT_FLAVOR$), $dndContext$$71_objects_transferable$$9$$ != $JSCompiler_alias_NULL$$) {
      for(var $objectCount$$ = $dndContext$$71_objects_transferable$$9$$.length, $i$$163$$ = 0;$i$$163$$ < $objectCount$$;$i$$163$$++) {
        var $object$$21$$ = $dndContext$$71_objects_transferable$$9$$[$i$$163$$];
        if($object$$21$$ instanceof $AdfCalendarActivity$$) {
          return $object$$21$$
        }
      }
    }
  }
  return $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__isAllDayRegionDisplayed$$($JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$) {
  $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$ = $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$.$getComponent$().getShowActivityTypes();
  return-1 != $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$.indexOf($AdfDhtmlCalendarPeer$$.$_ALLDAY$) || -1 != $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$.indexOf($AdfDhtmlCalendarPeer$$.$_DURATION$) && -1 != $JSCompiler_StaticMethods__isAllDayRegionDisplayed$self_activityTypesEnabled$$1$$.indexOf($AdfDhtmlCalendarPeer$$.$_TIME$)
}
function $JSCompiler_StaticMethods__getDropSiteForTimeSlot$$($JSCompiler_StaticMethods__getDropSiteForTimeSlot$self$$, $dropSiteDate$$1$$, $timeSlot$$1$$) {
  var $dropSite$$6$$ = {}, $timeSlotsPerHour$$ = $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__getDropSiteForTimeSlot$self$$);
  $dropSite$$6$$.$date$ = $dropSiteDate$$1$$;
  $dropSite$$6$$.$hour$ = Math.round($timeSlot$$1$$ / $timeSlotsPerHour$$ - 0.5);
  $dropSite$$6$$.min = $timeSlot$$1$$ % $timeSlotsPerHour$$ * (60 / $timeSlotsPerHour$$);
  -1 != $JSCompiler_StaticMethods__getDropSiteForTimeSlot$self$$.$getComponent$().getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$) ? $dropSite$$6$$.timeType = $AdfDhtmlCalendarPeer$$.$_TIME$ : $dropSite$$6$$.timeType = $AdfDhtmlCalendarPeer$$.$_DURATION$;
  return $dropSite$$6$$
}
function $JSCompiler_StaticMethods__actionToDisplayChange$$($JSCompiler_StaticMethods__actionToDisplayChange$self$$, $componentEvent$$54$$, $component$$397$$, $view$$9$$, $activeDay$$) {
  $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__actionToDisplayChange$self$$);
  $componentEvent$$54$$.cancel();
  $componentEvent$$54$$.$stopBubbling$();
  $AdfCalendarDisplayChangeEvent$$.$queue$($component$$397$$, $activeDay$$, $view$$9$$)
}
function $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($sampleActivity$$, $gridInfo$$) {
  var $activityInfo$$ = {}, $activityHt_agent$$125$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_MONTH_VIEW_ALLDAY_HT$);
  $activityInfo$$.$activityHt$ = $activityHt_agent$$125$$ != $JSCompiler_alias_NULL$$ ? parseFloat($activityHt_agent$$125$$) : 0 < $sampleActivity$$.clientHeight ? $sampleActivity$$.clientHeight : $gridInfo$$.$dayHeaderHt$;
  $activityInfo$$.$spacerHt$ = 1.1;
  var $activityHt_agent$$125$$ = $AdfAgent$$.$AGENT$, $activityStyle$$ = $activityHt_agent$$125$$.getComputedStyle($sampleActivity$$), $margin_overflowStyle$$ = $activityHt_agent$$125$$.$getStyleProperty$($activityStyle$$, "margin-bottom");
  $margin_overflowStyle$$ == $JSCompiler_alias_NULL$$ && ($margin_overflowStyle$$ = $activityHt_agent$$125$$.$getStyleProperty$($activityStyle$$, "marginBottom"));
  if($margin_overflowStyle$$ != $JSCompiler_alias_NULL$$) {
    var $emIndex_pxIndex$$ = $margin_overflowStyle$$.lastIndexOf("px");
    -1 != $emIndex_pxIndex$$ ? $activityInfo$$.$spacerHt$ = parseFloat($margin_overflowStyle$$.substring(0, $emIndex_pxIndex$$)) : ($emIndex_pxIndex$$ = $margin_overflowStyle$$.lastIndexOf("em"), -1 != $emIndex_pxIndex$$ && ($margin_overflowStyle$$ = $margin_overflowStyle$$.substring(0, $emIndex_pxIndex$$), $activityInfo$$.$spacerHt$ = parseFloat($margin_overflowStyle$$) * $gridInfo$$.$_EMToPxRatio$))
  }
  $activityInfo$$.$overflowHt$ = $activityInfo$$.$activityHt$;
  $margin_overflowStyle$$ = $activityHt_agent$$125$$.$getStyleProperty$($activityStyle$$, "font-size");
  $margin_overflowStyle$$ == $JSCompiler_alias_NULL$$ && ($margin_overflowStyle$$ = $activityHt_agent$$125$$.$getStyleProperty$($activityStyle$$, "fontSize"));
  $margin_overflowStyle$$ != $JSCompiler_alias_NULL$$ && ($emIndex_pxIndex$$ = $margin_overflowStyle$$.lastIndexOf("px"), -1 != $emIndex_pxIndex$$ && ($activityInfo$$.$overflowHt$ = parseFloat($margin_overflowStyle$$.substring(0, $emIndex_pxIndex$$))));
  $gridInfo$$.$activityInfo$ = $activityInfo$$;
  $gridInfo$$.$maxNumActivities$ = Math.floor(($gridInfo$$.$dayCellHt$ - ($gridInfo$$.$dayHeaderHt$ + $activityInfo$$.$spacerHt$ + $activityInfo$$.$overflowHt$)) / ($activityInfo$$.$spacerHt$ + $activityInfo$$.$activityHt$));
  $gridInfo$$.$activityInfo$.$overflowTopStr$ = $gridInfo$$.$dayHeaderHt$ + $gridInfo$$.$maxNumActivities$ * ($gridInfo$$.$activityInfo$.$activityHt$ + $gridInfo$$.$activityInfo$.$spacerHt$) + $gridInfo$$.$activityInfo$.$spacerHt$ + "px"
}
function $JSCompiler_StaticMethods__calculateMonthGridInfo$$($grid$$, $header$$2$$) {
  var $gridInfo$$1$$ = {}, $isRTL$$8$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  if($grid$$ != $JSCompiler_alias_NULL$$) {
    for(var $day$$1_monthRowChildren_numDaysInWeek_topInEM$$ = $grid$$.childNodes[0].childNodes, $dayHeader_numEntries_percentToIndexMap$$ = $day$$1_monthRowChildren_numDaysInWeek_topInEM$$.length, $i$$165_percentArray$$ = 0;$i$$165_percentArray$$ < $dayHeader_numEntries_percentToIndexMap$$;$i$$165_percentArray$$++) {
      var $isAllDayAct_j$$11$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$1_monthRowChildren_numDaysInWeek_topInEM$$[$i$$165_percentArray$$], $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $headerLeft_isTimedActWrapper$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$1_monthRowChildren_numDaysInWeek_topInEM$$[$i$$165_percentArray$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$), $isOverflowLink$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$1_monthRowChildren_numDaysInWeek_topInEM$$[$i$$165_percentArray$$], 
      $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);
      if(!$isAllDayAct_j$$11$$ && !$headerLeft_isTimedActWrapper$$ && !$isOverflowLink$$) {
        $day$$1_monthRowChildren_numDaysInWeek_topInEM$$ = $day$$1_monthRowChildren_numDaysInWeek_topInEM$$[$i$$165_percentArray$$];
        $dayHeader_numEntries_percentToIndexMap$$ = $day$$1_monthRowChildren_numDaysInWeek_topInEM$$.childNodes[0];
        $gridInfo$$1$$.$dayCellHt$ = $day$$1_monthRowChildren_numDaysInWeek_topInEM$$.clientHeight;
        $gridInfo$$1$$.$dayHeaderHt$ = $dayHeader_numEntries_percentToIndexMap$$.clientHeight;
        break
      }
    }
    $day$$1_monthRowChildren_numDaysInWeek_topInEM$$ = $grid$$.style.top;
    $day$$1_monthRowChildren_numDaysInWeek_topInEM$$ = parseFloat($day$$1_monthRowChildren_numDaysInWeek_topInEM$$.substring(0, $day$$1_monthRowChildren_numDaysInWeek_topInEM$$.lastIndexOf("em")));
    $gridInfo$$1$$.$_EMToPxRatio$ = $grid$$.offsetTop / $day$$1_monthRowChildren_numDaysInWeek_topInEM$$
  }
  if($header$$2$$ != $JSCompiler_alias_NULL$$) {
    $day$$1_monthRowChildren_numDaysInWeek_topInEM$$ = $header$$2$$.childNodes.length;
    $gridInfo$$1$$.$numDaysInWeek$ = $day$$1_monthRowChildren_numDaysInWeek_topInEM$$;
    $dayHeader_numEntries_percentToIndexMap$$ = {};
    $i$$165_percentArray$$ = Array($day$$1_monthRowChildren_numDaysInWeek_topInEM$$);
    for($isAllDayAct_j$$11$$ = 0;$isAllDayAct_j$$11$$ < $day$$1_monthRowChildren_numDaysInWeek_topInEM$$;$isAllDayAct_j$$11$$++) {
      $headerLeft_isTimedActWrapper$$ = $isRTL$$8$$ ? $header$$2$$.childNodes[$isAllDayAct_j$$11$$].style.right : $header$$2$$.childNodes[$isAllDayAct_j$$11$$].style.left, $dayHeader_numEntries_percentToIndexMap$$[$headerLeft_isTimedActWrapper$$] = $isAllDayAct_j$$11$$, $i$$165_percentArray$$[$isAllDayAct_j$$11$$] = parseFloat($headerLeft_isTimedActWrapper$$)
    }
    $gridInfo$$1$$.$percentToIndexMap$ = $dayHeader_numEntries_percentToIndexMap$$;
    $gridInfo$$1$$.$percentArray$ = $i$$165_percentArray$$;
    $gridInfo$$1$$.$cellWidth$ = $i$$165_percentArray$$[1] - $i$$165_percentArray$$[0]
  }
  return $gridInfo$$1$$
}
function $JSCompiler_StaticMethods__getActivityInfo$$($activity$$7$$, $gridInfo$$3$$) {
  if($activity$$7$$ == $JSCompiler_alias_NULL$$) {
    return $JSCompiler_alias_NULL$$
  }
  var $actInfo$$ = {};
  $actInfo$$.$startDay$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$3$$, $activity$$7$$);
  var $activityWidth_width$$21$$;
  $activityWidth_width$$21$$ = $AdfAgent$$.$AGENT$.getAttribute($activity$$7$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$) ? $activity$$7$$.style.width : $activity$$7$$.parentNode.style.width;
  $activityWidth_width$$21$$ = parseFloat($activityWidth_width$$21$$.substring(0, $activityWidth_width$$21$$.lastIndexOf("%")));
  $actInfo$$.$activityLength$ = $gridInfo$$3$$.$numDaysInWeek$;
  for(var $i$$166$$ = 0;$i$$166$$ < $gridInfo$$3$$.$numDaysInWeek$;$i$$166$$++) {
    if($activityWidth_width$$21$$ <= $gridInfo$$3$$.$percentArray$[$i$$166$$]) {
      $actInfo$$.$activityLength$ = $i$$166$$;
      break
    }
  }
  return $actInfo$$
}
function $JSCompiler_StaticMethods__getActivityLinkInList$$($listCell_listRow$$) {
  var $agent$$127$$ = $AdfAgent$$.$AGENT$;
  for($listCell_listRow$$ = $AdfDomUtils$$.$getFirstChildElement$($listCell_listRow$$);$listCell_listRow$$ != $JSCompiler_alias_NULL$$;) {
    var $child$$9$$ = $AdfDomUtils$$.$getFirstChildElement$($listCell_listRow$$);
    if($child$$9$$ != $JSCompiler_alias_NULL$$ && $agent$$127$$.getAttribute($child$$9$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) != $JSCompiler_alias_NULL$$) {
      return $child$$9$$
    }
    $listCell_listRow$$ = $AdfDomUtils$$.$getNextElement$($listCell_listRow$$)
  }
}
function $JSCompiler_StaticMethods__getListRowWithDayLink$$($currRow$$, $goToNextDay$$) {
  for(var $agent$$128$$ = $AdfAgent$$.$AGENT$, $listRow$$1$$ = $goToNextDay$$ ? $AdfDomUtils$$.$getNextElement$($currRow$$) : $AdfDomUtils$$.$getPreviousElement$($currRow$$);$listRow$$1$$ != $JSCompiler_alias_NULL$$;) {
    if($agent$$128$$.getAttribute($listRow$$1$$, $AdfDhtmlCalendarPeer$$.$_HAS_CALENDAR_DAY_LINK$) != $JSCompiler_alias_NULL$$) {
      return $listRow$$1$$
    }
    $listRow$$1$$ = $goToNextDay$$ ? $AdfDomUtils$$.$getNextElement$($listRow$$1$$) : $AdfDomUtils$$.$getPreviousElement$($listRow$$1$$)
  }
}
function $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$398_domElement$$75$$) {
  $component$$398_domElement$$75$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$398_domElement$$75$$);
  return $AdfAgent$$.$AGENT$.getAttribute($component$$398_domElement$$75$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$)
}
function $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$6$$, $target$$94$$) {
  return $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$6$$, $target$$94$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$)
}
function $JSCompiler_StaticMethods__getDayCellAttrValue$$($calendarRootElement$$7$$, $target$$95$$) {
  var $dayCellValue$$ = $JSCompiler_StaticMethods__getValueWithAttr$$($calendarRootElement$$7$$, $target$$95$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
  return $dayCellValue$$ == $JSCompiler_alias_NULL$$ ? $JSCompiler_alias_NULL$$ : $dayCellValue$$
}
function $JSCompiler_StaticMethods__getAllDayActFocus$$($allDayActGrid_allDayActGridId_clientId$$78_nextElement$$, $currColIndex$$, $focusType$$) {
  $allDayActGrid_allDayActGridId_clientId$$78_nextElement$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayActGrid_allDayActGridId_clientId$$78_nextElement$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$);
  $allDayActGrid_allDayActGridId_clientId$$78_nextElement$$ = $AdfAgent$$.$AGENT$.getElementById($allDayActGrid_allDayActGridId_clientId$$78_nextElement$$);
  if(!$allDayActGrid_allDayActGridId_clientId$$78_nextElement$$) {
    return $JSCompiler_alias_NULL$$
  }
  $allDayActGrid_allDayActGridId_clientId$$78_nextElement$$ = $AdfDomUtils$$.$getFirstChildElement$($allDayActGrid_allDayActGridId_clientId$$78_nextElement$$);
  for(var $bestMatchRowNum$$ = $focusType$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$ ? 99999 : -1, $bestMatchElement$$ = $JSCompiler_alias_NULL$$;$allDayActGrid_allDayActGridId_clientId$$78_nextElement$$ != $JSCompiler_alias_NULL$$ && $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$78_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) != $JSCompiler_alias_NULL$$;) {
    var $actColIndex_rowNum$$ = $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$78_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if($actColIndex_rowNum$$ == $currColIndex$$) {
      $actColIndex_rowNum$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$78_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$)), $focusType$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$ ? $actColIndex_rowNum$$ < $bestMatchRowNum$$ && ($bestMatchRowNum$$ = $actColIndex_rowNum$$, $bestMatchElement$$ = $allDayActGrid_allDayActGridId_clientId$$78_nextElement$$) : $actColIndex_rowNum$$ > $bestMatchRowNum$$ && ($bestMatchRowNum$$ = $actColIndex_rowNum$$, 
      $bestMatchElement$$ = $allDayActGrid_allDayActGridId_clientId$$78_nextElement$$)
    }else {
      if($actColIndex_rowNum$$ > $currColIndex$$) {
        break
      }
    }
    $allDayActGrid_allDayActGridId_clientId$$78_nextElement$$ = $AdfDomUtils$$.$getNextElement$($allDayActGrid_allDayActGridId_clientId$$78_nextElement$$)
  }
  return $bestMatchElement$$
}
function $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($allDayActGridId$$1_clientId$$79_contextRowNum$$, $contextColNum_contextElem$$, $focusType$$1$$) {
  $allDayActGridId$$1_clientId$$79_contextRowNum$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayActGridId$$1_clientId$$79_contextRowNum$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$);
  var $allDayActGrid$$1_nextElement$$1$$ = $AdfAgent$$.$AGENT$.getElementById($allDayActGridId$$1_clientId$$79_contextRowNum$$);
  if(!$allDayActGrid$$1_nextElement$$1$$) {
    return $JSCompiler_alias_NULL$$
  }
  $allDayActGridId$$1_clientId$$79_contextRowNum$$ = $AdfAgent$$.$AGENT$.getAttribute($contextColNum_contextElem$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
  $contextColNum_contextElem$$ = $AdfAgent$$.$AGENT$.getAttribute($contextColNum_contextElem$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
  for(var $allDayActGrid$$1_nextElement$$1$$ = $AdfDomUtils$$.$getFirstChildElement$($allDayActGrid$$1_nextElement$$1$$), $bestMatchRowNum$$1$$ = $focusType$$1$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$ ? 99999 : -1, $bestMatchElement$$1$$ = $JSCompiler_alias_NULL$$;$allDayActGrid$$1_nextElement$$1$$ != $JSCompiler_alias_NULL$$ && $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid$$1_nextElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) != $JSCompiler_alias_NULL$$;) {
    var $actColIndex$$1_rowNum$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid$$1_nextElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if($actColIndex$$1_rowNum$$1$$ == $contextColNum_contextElem$$) {
      $actColIndex$$1_rowNum$$1$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActGrid$$1_nextElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$)), $focusType$$1$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$ ? $actColIndex$$1_rowNum$$1$$ > $allDayActGridId$$1_clientId$$79_contextRowNum$$ && $actColIndex$$1_rowNum$$1$$ < $bestMatchRowNum$$1$$ && ($bestMatchRowNum$$1$$ = $actColIndex$$1_rowNum$$1$$, $bestMatchElement$$1$$ = $allDayActGrid$$1_nextElement$$1$$) : $actColIndex$$1_rowNum$$1$$ < 
      $allDayActGridId$$1_clientId$$79_contextRowNum$$ && $actColIndex$$1_rowNum$$1$$ > $bestMatchRowNum$$1$$ && ($bestMatchRowNum$$1$$ = $actColIndex$$1_rowNum$$1$$, $bestMatchElement$$1$$ = $allDayActGrid$$1_nextElement$$1$$)
    }else {
      if($actColIndex$$1_rowNum$$1$$ > $contextColNum_contextElem$$) {
        break
      }
    }
    $allDayActGrid$$1_nextElement$$1$$ = $AdfDomUtils$$.$getNextElement$($allDayActGrid$$1_nextElement$$1$$)
  }
  return $bestMatchElement$$1$$
}
function $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$80$$, $dayIndex$$) {
  var $weekHeader_weekHeaderId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$80$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_HEADER_ID$), $weekHeader_weekHeaderId$$ = $AdfAgent$$.$AGENT$.getElementById($weekHeader_weekHeaderId$$);
  return 0 > $dayIndex$$ || $dayIndex$$ >= $weekHeader_weekHeaderId$$.childNodes.length ? $JSCompiler_alias_NULL$$ : $AdfDomUtils$$.$getFirstChildElement$($weekHeader_weekHeaderId$$.childNodes[$dayIndex$$])
}
function $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$81$$, $currIndex$$) {
  var $nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$81$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$), $nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfAgent$$.$AGENT$.getElementById($nextElement$$3_timedActsCell_timedActsCellId$$);
  if(!$nextElement$$3_timedActsCell_timedActsCellId$$) {
    return $JSCompiler_alias_NULL$$
  }
  $nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfDomUtils$$.$getFirstChildElement$($nextElement$$3_timedActsCell_timedActsCellId$$);
  do {
    if($nextElement$$3_timedActsCell_timedActsCellId$$ == $JSCompiler_alias_NULL$$) {
      break
    }
    var $actIndex$$ = $AdfAgent$$.$AGENT$.getAttribute($nextElement$$3_timedActsCell_timedActsCellId$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if($actIndex$$ == $JSCompiler_alias_NULL$$ || $actIndex$$ < $currIndex$$) {
      $nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfDomUtils$$.$getNextElement$($nextElement$$3_timedActsCell_timedActsCellId$$)
    }else {
      $nextElement$$3_timedActsCell_timedActsCellId$$ = $actIndex$$ == $currIndex$$ ? $nextElement$$3_timedActsCell_timedActsCellId$$.childNodes[0].childNodes[0] : $JSCompiler_alias_NULL$$;
      break
    }
  }while(1);
  return $nextElement$$3_timedActsCell_timedActsCellId$$
}
function $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($day$$3_targetWeek$$, $currIndex$$1_numDaysToSkip$$, $gridInfo$$4_i$$167$$) {
  if($day$$3_targetWeek$$ != $JSCompiler_alias_NULL$$) {
    $day$$3_targetWeek$$ = $AdfDomUtils$$.$getLastChildElement$($day$$3_targetWeek$$);
    $currIndex$$1_numDaysToSkip$$ = $gridInfo$$4_i$$167$$.$numDaysInWeek$ - 1 - $currIndex$$1_numDaysToSkip$$;
    for($gridInfo$$4_i$$167$$ = 0;$gridInfo$$4_i$$167$$ < $currIndex$$1_numDaysToSkip$$;$gridInfo$$4_i$$167$$++) {
      $day$$3_targetWeek$$ = $AdfDomUtils$$.$getPreviousElement$($day$$3_targetWeek$$)
    }
    if($day$$3_targetWeek$$ != $JSCompiler_alias_NULL$$) {
      return $day$$3_targetWeek$$.childNodes[0].childNodes[0]
    }
  }
  return $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__getTimeSlotsPerHour$self$$) {
  return $JSCompiler_StaticMethods__getTimeSlotsPerHour$self$$.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_TIME_SLOTS_PER_HOUR$)
}
function $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$9$$, $domElem$$1_target$$97$$, $attr$$1$$) {
  for(;$domElem$$1_target$$97$$ && $domElem$$1_target$$97$$ != $calendarRootElement$$9$$;) {
    if(1 == $domElem$$1_target$$97$$.nodeType && $AdfAgent$$.$AGENT$.getAttribute($domElem$$1_target$$97$$, $attr$$1$$)) {
      return $domElem$$1_target$$97$$
    }
    $domElem$$1_target$$97$$ = $domElem$$1_target$$97$$.parentNode
  }
  return $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__getNextMonthElement$$($currElement$$10$$, $isNext$$) {
  var $nextElement$$4$$ = $isNext$$ ? $AdfDomUtils$$.$getNextElement$($currElement$$10$$) : $AdfDomUtils$$.$getPreviousElement$($currElement$$10$$);
  $nextElement$$4$$ == $JSCompiler_alias_NULL$$ && $AdfAgent$$.$AGENT$.getAttribute($currElement$$10$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) != $JSCompiler_alias_NULL$$ && ($nextElement$$4$$ = $isNext$$ ? $AdfDomUtils$$.$getNextElement$($currElement$$10$$.parentNode) : $AdfDomUtils$$.$getPreviousElement$($currElement$$10$$.parentNode));
  $nextElement$$4$$ != $JSCompiler_alias_NULL$$ && $AdfAgent$$.$AGENT$.getAttribute($nextElement$$4$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) != $JSCompiler_alias_NULL$$ && ($nextElement$$4$$ = $isNext$$ ? $AdfDomUtils$$.$getFirstChildElement$($nextElement$$4$$) : $AdfDomUtils$$.$getLastChildElement$($nextElement$$4$$));
  return $nextElement$$4$$
}
function $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$5$$, $gridElem$$) {
  for(var $isRTL$$9$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $elem$$15$$ = $gridElem$$, $index$$97$$;;) {
    $index$$97$$ = $AdfAgent$$.$AGENT$.getAttribute($elem$$15$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if($index$$97$$ != $JSCompiler_alias_NULL$$) {
      break
    }
    if($gridInfo$$5$$ != $JSCompiler_alias_NULL$$) {
      var $styleLR$$ = $isRTL$$9$$ ? $elem$$15$$.style.right : $elem$$15$$.style.left;
      if(0 < $styleLR$$.length) {
        $index$$97$$ = $gridInfo$$5$$.$percentToIndexMap$[$styleLR$$];
        break
      }
    }
    $elem$$15$$ = $elem$$15$$.parentNode
  }
  return parseInt($index$$97$$)
}
function $JSCompiler_StaticMethods__getValueWithAttr$$($calendarRootElement$$10$$, $domElem$$2_target$$98$$, $attr$$2$$) {
  for(var $attributeValue$$;$domElem$$2_target$$98$$ && $domElem$$2_target$$98$$ != $calendarRootElement$$10$$;) {
    1 == $domElem$$2_target$$98$$.nodeType && ($attributeValue$$ = $AdfAgent$$.$AGENT$.getAttribute($domElem$$2_target$$98$$, $attr$$2$$));
    if(1 == $domElem$$2_target$$98$$.nodeType && $attributeValue$$) {
      return $attributeValue$$
    }
    $domElem$$2_target$$98$$ = $domElem$$2_target$$98$$.parentNode
  }
  return $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__handleKeyUpForDay$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_retainOldActiveElement$$, $allDayActGrid$$2_allDayActGridId$$2_keyCode$$26$$, $targetElement$$16$$, $componentEvent$$55$$) {
  var $clientId$$82$$ = $JSCompiler_StaticMethods__handleKeyUpForDay$self_retainOldActiveElement$$.$getComponent$().$getClientId$(), $nextElement$$5$$;
  $JSCompiler_StaticMethods__handleKeyUpForDay$self_retainOldActiveElement$$ = $JSCompiler_alias_FALSE$$;
  if($AdfAgent$$.$AGENT$.getAttribute($targetElement$$16$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) != $JSCompiler_alias_NULL$$) {
    var $isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$16$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$) != $JSCompiler_alias_NULL$$;
    if($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $allDayActGrid$$2_allDayActGridId$$2_keyCode$$26$$) {
      $nextElement$$5$$ = $AdfDomUtils$$.$getNextElement$($targetElement$$16$$), $nextElement$$5$$ == $JSCompiler_alias_NULL$$ && $isAllDayAct$$2$$ && ($nextElement$$5$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$82$$, 0), $JSCompiler_StaticMethods__handleKeyUpForDay$self_retainOldActiveElement$$ = $JSCompiler_alias_TRUE$$)
    }else {
      if($AdfKeyStroke$$.$ARROWUP_KEY$ == $allDayActGrid$$2_allDayActGridId$$2_keyCode$$26$$ && ($nextElement$$5$$ = $AdfDomUtils$$.$getPreviousElement$($targetElement$$16$$), $nextElement$$5$$ == $JSCompiler_alias_NULL$$ && !$isAllDayAct$$2$$ && ($allDayActGrid$$2_allDayActGridId$$2_keyCode$$26$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$82$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), $allDayActGrid$$2_allDayActGridId$$2_keyCode$$26$$ = $AdfAgent$$.$AGENT$.getElementById($allDayActGrid$$2_allDayActGridId$$2_keyCode$$26$$)))) {
        $nextElement$$5$$ = $AdfDomUtils$$.$getLastChildElement$($allDayActGrid$$2_allDayActGridId$$2_keyCode$$26$$), $JSCompiler_StaticMethods__handleKeyUpForDay$self_retainOldActiveElement$$ = $JSCompiler_alias_TRUE$$
      }
    }
  }
  return $nextElement$$5$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$16$$, $nextElement$$5$$, $componentEvent$$55$$, $JSCompiler_StaticMethods__handleKeyUpForDay$self_retainOldActiveElement$$), $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__handleKeyUpForList$$($goToNextAct_keyCode$$27$$, $targetElement$$17$$, $componentEvent$$56$$) {
  var $isActivity$$1_isRTL$$10$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$17$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) != $JSCompiler_alias_NULL$$, $agent$$129$$ = $AdfAgent$$.$AGENT$, $dayLinkCell_listCell$$1_nextElement$$6$$, $dayCell$$3_listRow$$2$$ = $targetElement$$17$$.parentNode.parentNode;
  if($isActivity$$1_isRTL$$10$$) {
    if($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$27$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $goToNextAct_keyCode$$27$$) {
      $dayCell$$3_listRow$$2$$ = ($goToNextAct_keyCode$$27$$ = $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$27$$) ? $AdfDomUtils$$.$getNextElement$($dayCell$$3_listRow$$2$$) : $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), $dayCell$$3_listRow$$2$$ != $JSCompiler_alias_NULL$$ && 1 == $dayCell$$3_listRow$$2$$.childNodes.length && ($dayCell$$3_listRow$$2$$ = $goToNextAct_keyCode$$27$$ ? $AdfDomUtils$$.$getNextElement$($dayCell$$3_listRow$$2$$) : $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$)), 
      $dayCell$$3_listRow$$2$$ != $JSCompiler_alias_NULL$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$))
    }else {
      if($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$27$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $goToNextAct_keyCode$$27$$) {
        $isActivity$$1_isRTL$$10$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), !$isActivity$$1_isRTL$$10$$ && $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $goToNextAct_keyCode$$27$$ || $isActivity$$1_isRTL$$10$$ && $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$27$$ ? ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, $JSCompiler_alias_TRUE$$), $dayCell$$3_listRow$$2$$ != $JSCompiler_alias_NULL$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = 
        $AdfDomUtils$$.$getFirstChildElement$($dayCell$$3_listRow$$2$$), $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($AdfDomUtils$$.$getNextElement$($dayLinkCell_listCell$$1_nextElement$$6$$)), $dayLinkCell_listCell$$1_nextElement$$6$$ == $JSCompiler_alias_NULL$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$)))) : ($agent$$129$$.getAttribute($dayCell$$3_listRow$$2$$, $AdfDhtmlCalendarPeer$$.$_HAS_CALENDAR_DAY_LINK$) == 
        $JSCompiler_alias_NULL$$ && ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, $JSCompiler_alias_FALSE$$)), $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getChildElements$($dayCell$$3_listRow$$2$$)[1], $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($dayLinkCell_listCell$$1_nextElement$$6$$), $dayLinkCell_listCell$$1_nextElement$$6$$ == $JSCompiler_alias_NULL$$ && ($dayCell$$3_listRow$$2$$ = 
        $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), $dayCell$$3_listRow$$2$$ != $JSCompiler_alias_NULL$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), $dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$))))
      }
    }
  }else {
    $AdfAgent$$.$AGENT$.getAttribute($targetElement$$17$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) != $JSCompiler_alias_NULL$$ && ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$27$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $goToNextAct_keyCode$$27$$ ? ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$27$$), $dayCell$$3_listRow$$2$$ != $JSCompiler_alias_NULL$$ && ($dayCell$$3_listRow$$2$$ = 
    $AdfDomUtils$$.$getChildElements$($dayCell$$3_listRow$$2$$)[1], $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($dayCell$$3_listRow$$2$$))) : $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $goToNextAct_keyCode$$27$$ ? ($dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getNextElement$($AdfDomUtils$$.$getNextElement$($targetElement$$17$$.parentNode)), $dayLinkCell_listCell$$1_nextElement$$6$$ != $JSCompiler_alias_NULL$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = 
    $AdfDomUtils$$.$getFirstChildElement$($dayLinkCell_listCell$$1_nextElement$$6$$))) : $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$27$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), $dayCell$$3_listRow$$2$$ != $JSCompiler_alias_NULL$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), $dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$))))
  }
  return $dayLinkCell_listCell$$1_nextElement$$6$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$17$$, $dayLinkCell_listCell$$1_nextElement$$6$$, $componentEvent$$56$$), $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__handleKeyUpForMonth$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$, $targetElement$$18$$, $componentEvent$$57$$) {
  var $isNext$$1_isRTL$$11_lastElem_previousWeek$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$ = $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$.$getComponent$().$getClientId$();
  var $activity$$inline_1179_nextElement$$7_nextWeek$$, $isActivity$$2_isFound$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$18$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) != $JSCompiler_alias_NULL$$, $isOverflowLink$$1_rowNum$$2$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$18$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$) != $JSCompiler_alias_NULL$$, $isDayLink$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$18$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) != 
  $JSCompiler_alias_NULL$$;
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $AdfDhtmlCalendarPeer$$.$_MONTH_HEADER_ID$);
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$ = $AdfAgent$$.$AGENT$.getElementById($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$);
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$($JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$);
  var $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $targetElement$$18$$);
  if($isActivity$$2_isFound$$ || $isOverflowLink$$1_rowNum$$2$$) {
    var $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$18$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) != $JSCompiler_alias_NULL$$;
    if($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$) {
      if($isOverflowLink$$1_rowNum$$2$$) {
        $activity$$inline_1179_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getNextElement$($targetElement$$18$$.parentNode), $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($activity$$inline_1179_nextElement$$7_nextWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$)
      }else {
        $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($targetElement$$18$$, $JSCompiler_alias_TRUE$$);
        if($activity$$inline_1179_nextElement$$7_nextWeek$$ != $JSCompiler_alias_NULL$$) {
          if($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1179_nextElement$$7_nextWeek$$), $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ != $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
            $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_alias_NULL$$
          }else {
            if("none" == $activity$$inline_1179_nextElement$$7_nextWeek$$.style.display) {
              a: {
                $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1179_nextElement$$7_nextWeek$$;
                $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1179_nextElement$$7_nextWeek$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1179_nextElement$$7_nextWeek$$.parentNode);
                for(;($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $AdfDomUtils$$.$getNextElement$($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$)) != $JSCompiler_alias_NULL$$;) {
                  if($AdfAgent$$.$AGENT$.getAttribute($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$) != $JSCompiler_alias_NULL$$) {
                    $activity$$inline_1179_nextElement$$7_nextWeek$$ = $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$;
                    break a
                  }
                }
                $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_alias_NULL$$
              }
            }
          }
        }
        $activity$$inline_1179_nextElement$$7_nextWeek$$ == $JSCompiler_alias_NULL$$ && ($activity$$inline_1179_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getNextElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$18$$.parentNode.parentNode : $targetElement$$18$$.parentNode), $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($activity$$inline_1179_nextElement$$7_nextWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, 
        $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$))
      }
    }else {
      if($AdfKeyStroke$$.$ARROWUP_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$) {
        $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_alias_FALSE$$;
        for($isNext$$1_isRTL$$11_lastElem_previousWeek$$ = $targetElement$$18$$;!$currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$;) {
          $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($isNext$$1_isRTL$$11_lastElem_previousWeek$$, $JSCompiler_alias_FALSE$$);
          if($activity$$inline_1179_nextElement$$7_nextWeek$$ == $JSCompiler_alias_NULL$$) {
            break
          }
          if("none" == $activity$$inline_1179_nextElement$$7_nextWeek$$.style.display) {
            $isNext$$1_isRTL$$11_lastElem_previousWeek$$ = $activity$$inline_1179_nextElement$$7_nextWeek$$
          }else {
            if($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1179_nextElement$$7_nextWeek$$), $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
              $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_alias_TRUE$$
            }else {
              $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_alias_NULL$$;
              break
            }
          }
        }
        $activity$$inline_1179_nextElement$$7_nextWeek$$ == $JSCompiler_alias_NULL$$ && ($activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$18$$.parentNode.parentNode : $targetElement$$18$$.parentNode, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$))
      }else {
        if($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$) {
          $isNext$$1_isRTL$$11_lastElem_previousWeek$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ && $isNext$$1_isRTL$$11_lastElem_previousWeek$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ && !$isNext$$1_isRTL$$11_lastElem_previousWeek$$;
          $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $targetElement$$18$$);
          $isOverflowLink$$1_rowNum$$2$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$18$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
          $isActivity$$2_isFound$$ = $JSCompiler_alias_FALSE$$;
          for($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $targetElement$$18$$;!$isActivity$$2_isFound$$;) {
            $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$, $isNext$$1_isRTL$$11_lastElem_previousWeek$$);
            if($activity$$inline_1179_nextElement$$7_nextWeek$$ == $JSCompiler_alias_NULL$$) {
              break
            }
            if("none" != $activity$$inline_1179_nextElement$$7_nextWeek$$.style.display && ($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1179_nextElement$$7_nextWeek$$), $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ != $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$)) {
              if($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = Math.abs($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ - $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$), 1 == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$) {
                $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1179_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
                if($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ == $JSCompiler_alias_NULL$$) {
                  $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_alias_NULL$$;
                  break
                }
                $isOverflowLink$$1_rowNum$$2$$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ && ($isActivity$$2_isFound$$ = $JSCompiler_alias_TRUE$$)
              }else {
                if(1 < $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$) {
                  $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_alias_NULL$$;
                  break
                }
              }
            }
            $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1179_nextElement$$7_nextWeek$$
          }
          $activity$$inline_1179_nextElement$$7_nextWeek$$ == $JSCompiler_alias_NULL$$ && ($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $isNext$$1_isRTL$$11_lastElem_previousWeek$$ ? $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ + 1 : $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ - 1, 0 <= $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ && $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ < $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ && 
          ($activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$18$$.parentNode.parentNode : $targetElement$$18$$.parentNode, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$)))
        }
      }
    }
  }else {
    if($isDayLink$$) {
      if($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$) {
        $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ && $isNext$$1_isRTL$$11_lastElem_previousWeek$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ && !$isNext$$1_isRTL$$11_lastElem_previousWeek$$) ? $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ + 
        1 : $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ - 1, 0 <= $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ && $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ < $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ ? $activity$$inline_1179_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($AdfDomUtils$$.$getFirstChildElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? 
        $AdfDomUtils$$.$getNextElement$($targetElement$$18$$.parentNode.parentNode) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$18$$.parentNode.parentNode))) : ($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ == $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ && $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $AdfDomUtils$$.$getNextElement$($targetElement$$18$$.parentNode.parentNode.parentNode) : 
        $AdfDomUtils$$.$getPreviousElement$($targetElement$$18$$.parentNode.parentNode.parentNode), $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ != $JSCompiler_alias_NULL$$ && ($activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? 0 : $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ - 
        1, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$)))
      }else {
        if($AdfKeyStroke$$.$ARROWUP_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$) {
          if($isNext$$1_isRTL$$11_lastElem_previousWeek$$ = $AdfDomUtils$$.$getPreviousElement$($targetElement$$18$$.parentNode.parentNode.parentNode), $isNext$$1_isRTL$$11_lastElem_previousWeek$$ != $JSCompiler_alias_NULL$$) {
            if($isNext$$1_isRTL$$11_lastElem_previousWeek$$.childNodes.length != $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$) {
              $activity$$inline_1179_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($isNext$$1_isRTL$$11_lastElem_previousWeek$$);
              $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1179_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) != $JSCompiler_alias_NULL$$ && ($activity$$inline_1179_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($activity$$inline_1179_nextElement$$7_nextWeek$$));
              do {
                if($activity$$inline_1179_nextElement$$7_nextWeek$$ == $JSCompiler_alias_NULL$$) {
                  break
                }
                if($AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1179_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) == $JSCompiler_alias_NULL$$ && $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1179_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$) == $JSCompiler_alias_NULL$$) {
                  break
                }
                $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1179_nextElement$$7_nextWeek$$);
                if($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                  "none" != $activity$$inline_1179_nextElement$$7_nextWeek$$.style.display && ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $activity$$inline_1179_nextElement$$7_nextWeek$$)
                }else {
                  if($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ > $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                    break
                  }
                }
                $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($activity$$inline_1179_nextElement$$7_nextWeek$$, $JSCompiler_alias_TRUE$$)
              }while(1)
            }
            $activity$$inline_1179_nextElement$$7_nextWeek$$ = $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ != $JSCompiler_alias_NULL$$ ? $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ : $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($isNext$$1_isRTL$$11_lastElem_previousWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$)
          }
        }else {
          if($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$) {
            $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $targetElement$$18$$.parentNode.parentNode.parentNode;
            if($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$.childNodes.length != $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$) {
              $activity$$inline_1179_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$);
              $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1179_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) != $JSCompiler_alias_NULL$$ && ($activity$$inline_1179_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($activity$$inline_1179_nextElement$$7_nextWeek$$));
              do {
                if($activity$$inline_1179_nextElement$$7_nextWeek$$ == $JSCompiler_alias_NULL$$) {
                  break
                }
                if($AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1179_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) == $JSCompiler_alias_NULL$$ && $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1179_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$) == $JSCompiler_alias_NULL$$) {
                  $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_alias_NULL$$;
                  break
                }
                $currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1179_nextElement$$7_nextWeek$$);
                if($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                  break
                }else {
                  if($currNode$$inline_1180_diff$$1_isPrevFound_keyCode$$28_lastElement$$1_nextIndex$$2_nextRowNum$$ > $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                    $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_alias_NULL$$;
                    break
                  }
                }
                $activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($activity$$inline_1179_nextElement$$7_nextWeek$$, $JSCompiler_alias_TRUE$$)
              }while(1)
            }
            $activity$$inline_1179_nextElement$$7_nextWeek$$ == $JSCompiler_alias_NULL$$ && ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $AdfDomUtils$$.$getNextElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$), $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ != $JSCompiler_alias_NULL$$ && ($activity$$inline_1179_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$, 
            $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$83_gridInfo$$6_monthHeader_monthHeaderId$$)))
          }
        }
      }
    }
  }
  return $activity$$inline_1179_nextElement$$7_nextWeek$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$18$$, $activity$$inline_1179_nextElement$$7_nextWeek$$, $componentEvent$$57$$), $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__handleKeyUpForWeek$$($JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$2$$, $keyCode$$29_rowNum$$3$$, $targetElement$$19$$, $componentEvent$$58$$) {
  var $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $clientId$$84_isNextDay$$1$$ = $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$2$$.$getComponent$().$getClientId$(), $nextElement$$8$$, $isActivity$$3_isAllDayAct$$3$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$19$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) != $JSCompiler_alias_NULL$$, $weekHeaderId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$84_isNextDay$$1$$, 
  $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_HEADER_ID$), $gridInfo$$7_weekHeader$$1$$ = $AdfAgent$$.$AGENT$.getElementById($weekHeaderId$$1$$), $gridInfo$$7_weekHeader$$1$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$($JSCompiler_alias_NULL$$, $gridInfo$$7_weekHeader$$1$$), $currIndex$$3_targetDayIndex$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$7_weekHeader$$1$$, $targetElement$$19$$), $retainOldActiveElement$$1$$ = $JSCompiler_alias_FALSE$$;
  if($isActivity$$3_isAllDayAct$$3$$) {
    if($isActivity$$3_isAllDayAct$$3$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$19$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$) != $JSCompiler_alias_NULL$$, $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $keyCode$$29_rowNum$$3$$) {
      $nextElement$$8$$ = !$isActivity$$3_isAllDayAct$$3$$ ? $AdfDomUtils$$.$getNextElement$($targetElement$$19$$) : $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($clientId$$84_isNextDay$$1$$, $targetElement$$19$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$), $isActivity$$3_isAllDayAct$$3$$ && $nextElement$$8$$ == $JSCompiler_alias_NULL$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$84_isNextDay$$1$$, $currIndex$$3_targetDayIndex$$1$$), 
      $nextElement$$8$$ != $JSCompiler_alias_NULL$$ && ($retainOldActiveElement$$1$$ = $JSCompiler_alias_TRUE$$)), $nextElement$$8$$ == $JSCompiler_alias_NULL$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$84_isNextDay$$1$$, $currIndex$$3_targetDayIndex$$1$$))
    }else {
      if($AdfKeyStroke$$.$ARROWUP_KEY$ == $keyCode$$29_rowNum$$3$$) {
        $nextElement$$8$$ = !$isActivity$$3_isAllDayAct$$3$$ ? $AdfDomUtils$$.$getPreviousElement$($targetElement$$19$$) : $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($clientId$$84_isNextDay$$1$$, $targetElement$$19$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_PREV_ALLDAY$), !$isActivity$$3_isAllDayAct$$3$$ && $nextElement$$8$$ == $JSCompiler_alias_NULL$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$84_isNextDay$$1$$, $currIndex$$3_targetDayIndex$$1$$, 
        $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$2$$.$_CAL_WEEK_FOCUS_LAST_ALLDAY$), $nextElement$$8$$ != $JSCompiler_alias_NULL$$ && ($retainOldActiveElement$$1$$ = $JSCompiler_alias_TRUE$$)), $nextElement$$8$$ == $JSCompiler_alias_NULL$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$84_isNextDay$$1$$, $currIndex$$3_targetDayIndex$$1$$))
      }else {
        if($AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$29_rowNum$$3$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$29_rowNum$$3$$) {
          $nextElement$$8$$ = ($JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$2$$ = $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$29_rowNum$$3$$ && !$diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$29_rowNum$$3$$ && $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$) ? $AdfDomUtils$$.$getNextElement$($targetElement$$19$$) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$19$$);
          if($isActivity$$3_isAllDayAct$$3$$) {
            for($keyCode$$29_rowNum$$3$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$19$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);$nextElement$$8$$ != $JSCompiler_alias_NULL$$;) {
              $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$7_weekHeader$$1$$, $nextElement$$8$$);
              $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$ = Math.abs($diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$ - $currIndex$$3_targetDayIndex$$1$$);
              if(1 == $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$) {
                $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($nextElement$$8$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
                if($diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$ == $JSCompiler_alias_NULL$$) {
                  $nextElement$$8$$ = $JSCompiler_alias_NULL$$;
                  break
                }
                if($keyCode$$29_rowNum$$3$$ == $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$) {
                  break
                }
              }else {
                if(1 < $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$) {
                  $nextElement$$8$$ = $JSCompiler_alias_NULL$$;
                  break
                }
              }
              $nextElement$$8$$ = $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$2$$ ? $AdfDomUtils$$.$getNextElement$($nextElement$$8$$) : $AdfDomUtils$$.$getPreviousElement$($nextElement$$8$$)
            }
          }else {
            $nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$84_isNextDay$$1$$, $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$2$$ ? $currIndex$$3_targetDayIndex$$1$$ + 1 : $currIndex$$3_targetDayIndex$$1$$ - 1)
          }
          $nextElement$$8$$ == $JSCompiler_alias_NULL$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$84_isNextDay$$1$$, $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$2$$ ? $currIndex$$3_targetDayIndex$$1$$ + 1 : $currIndex$$3_targetDayIndex$$1$$ - 1), $isActivity$$3_isAllDayAct$$3$$ || ($retainOldActiveElement$$1$$ = $JSCompiler_alias_TRUE$$))
        }
      }
    }
  }else {
    if($targetElement$$19$$.parentNode.parentNode.id == $weekHeaderId$$1$$) {
      if($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $keyCode$$29_rowNum$$3$$) {
        $nextElement$$8$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$84_isNextDay$$1$$, $currIndex$$3_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$), $nextElement$$8$$ == $JSCompiler_alias_NULL$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$84_isNextDay$$1$$, $currIndex$$3_targetDayIndex$$1$$))
      }else {
        if($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$29_rowNum$$3$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$29_rowNum$$3$$) {
          $currIndex$$3_targetDayIndex$$1$$ = ($clientId$$84_isNextDay$$1$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$29_rowNum$$3$$ && $diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$29_rowNum$$3$$ && !$diff$$2_isRTL$$12_nextIndex$$3_nextRowNum$$1$$) ? $currIndex$$3_targetDayIndex$$1$$ + 1 : $currIndex$$3_targetDayIndex$$1$$ - 1, 0 <= $currIndex$$3_targetDayIndex$$1$$ && $currIndex$$3_targetDayIndex$$1$$ < $gridInfo$$7_weekHeader$$1$$.$numDaysInWeek$ && 
          ($nextElement$$8$$ = $AdfDomUtils$$.$getFirstChildElement$($clientId$$84_isNextDay$$1$$ ? $AdfDomUtils$$.$getNextElement$($targetElement$$19$$.parentNode) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$19$$.parentNode)))
        }
      }
    }
  }
  return $nextElement$$8$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$19$$, $nextElement$$8$$, $componentEvent$$58$$, $retainOldActiveElement$$1$$), $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__hideMonthGridActivity$$($actInfo$$1_activity$$9$$, $gridInfo$$8_j$$12$$, $overflowDeltaInfo$$) {
  $actInfo$$1_activity$$9$$.style.$_display$ = $actInfo$$1_activity$$9$$.style.display;
  $actInfo$$1_activity$$9$$.style.display = "none";
  $actInfo$$1_activity$$9$$ = $JSCompiler_StaticMethods__getActivityInfo$$($actInfo$$1_activity$$9$$, $gridInfo$$8_j$$12$$);
  for($gridInfo$$8_j$$12$$ = 0;$gridInfo$$8_j$$12$$ < $actInfo$$1_activity$$9$$.$activityLength$;$gridInfo$$8_j$$12$$++) {
    var $numOverflow$$1$$ = $overflowDeltaInfo$$[$actInfo$$1_activity$$9$$.$startDay$ + $gridInfo$$8_j$$12$$];
    $overflowDeltaInfo$$[$actInfo$$1_activity$$9$$.$startDay$ + $gridInfo$$8_j$$12$$] = ++$numOverflow$$1$$
  }
}
function $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$($JSCompiler_StaticMethods__isActivityDraggableAcrossDays$self$$, $activityElement$$3$$) {
  return"week" == $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$self$$.$getComponent$().getView() ? $AdfAgent$$.$AGENT$.getAttribute($activityElement$$3$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) == $JSCompiler_alias_NULL$$ : $JSCompiler_alias_FALSE$$
}
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCalendarPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_restoreScrollPosition$ = function $$JSCompiler_prototypeAlias$$$$_restoreScrollPosition$$($component$$400$$) {
  var $clientId$$85$$ = $component$$400$$.$getClientId$(), $agent$$130$$ = $AdfAgent$$.$AGENT$, $scrollTop$$14_view$$11$$ = $component$$400$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $key$$42_scrollElem_scrollSubId$$ = $JSCompiler_alias_NULL$$, $oldScrollHeight$$ = $JSCompiler_alias_NULL$$;
  if($scrollTop$$14_view$$11$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
    if($scrollTop$$14_view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      $key$$42_scrollElem_scrollSubId$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_LIST_KEY$
    }else {
      if($scrollTop$$14_view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $scrollTop$$14_view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
        $key$$42_scrollElem_scrollSubId$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$, $oldScrollHeight$$ = this.$_getPageProperty$($component$$400$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$), this.$_setPageProperty$($component$$400$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$, $JSCompiler_alias_NULL$$)
      }
    }
    $scrollTop$$14_view$$11$$ = this.$_getPageProperty$($component$$400$$, $key$$42_scrollElem_scrollSubId$$);
    this.$_setPageProperty$($component$$400$$, $key$$42_scrollElem_scrollSubId$$, $JSCompiler_alias_NULL$$);
    if($scrollTop$$14_view$$11$$ != $JSCompiler_alias_NULL$$) {
      if($key$$42_scrollElem_scrollSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$85$$, $key$$42_scrollElem_scrollSubId$$), $key$$42_scrollElem_scrollSubId$$ = $agent$$130$$.getElementById($key$$42_scrollElem_scrollSubId$$)) {
        var $savedActiveDay$$ = this.$_getPageProperty$($component$$400$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$), $activeDay$$1$$ = $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$400$$);
        this.$_setPageProperty$($component$$400$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$, $JSCompiler_alias_NULL$$);
        $activeDay$$1$$ === $savedActiveDay$$ ? ($oldScrollHeight$$ && ($scrollTop$$14_view$$11$$ = $key$$42_scrollElem_scrollSubId$$.scrollHeight * $scrollTop$$14_view$$11$$ / $oldScrollHeight$$), $key$$42_scrollElem_scrollSubId$$.scrollTop = $scrollTop$$14_view$$11$$) : $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$85$$, $agent$$130$$)
      }
    }else {
      $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$85$$, $agent$$130$$)
    }
  }
};
function $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$87$$, $agent$$132$$) {
  var $elem$$16_subId$$12$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$87$$, $AdfDhtmlCalendarPeer$$.$_START_HOUR_SUBID_KEY$), $elem$$16_subId$$12$$ = $agent$$132$$.getElementById($elem$$16_subId$$12$$), $dateTimeGridContainer_scrollSubId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$87$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$);
  ($dateTimeGridContainer_scrollSubId$$1$$ = $agent$$132$$.getElementById($dateTimeGridContainer_scrollSubId$$1$$)) && $elem$$16_subId$$12$$ && $agent$$132$$.$scrollToPos$($dateTimeGridContainer_scrollSubId$$1$$, $JSCompiler_alias_NULL$$, $elem$$16_subId$$12$$.offsetTop)
}
$JSCompiler_prototypeAlias$$.$_getPageProperty$ = function $$JSCompiler_prototypeAlias$$$$_getPageProperty$$($component$$402$$, $propertyKey$$4$$) {
  var $clientId$$88_storedProperties$$ = $component$$402$$.$getClientId$(), $value$$116$$;
  ($clientId$$88_storedProperties$$ = $AdfPage$$.$PAGE$.$getPageProperty$($clientId$$88_storedProperties$$)) && ($value$$116$$ = $clientId$$88_storedProperties$$[$propertyKey$$4$$]);
  return $value$$116$$
};
$JSCompiler_prototypeAlias$$.$_setPageProperty$ = function $$JSCompiler_prototypeAlias$$$$_setPageProperty$$($clientId$$89_component$$403$$, $propertyKey$$5$$, $propertyValue$$8$$) {
  $clientId$$89_component$$403$$ = $clientId$$89_component$$403$$.$getClientId$();
  var $page$$74$$ = $AdfPage$$.$PAGE$, $storedProperties$$1$$ = $page$$74$$.$getPageProperty$($clientId$$89_component$$403$$);
  $storedProperties$$1$$ || ($storedProperties$$1$$ = {}, $page$$74$$.$setPageProperty$($clientId$$89_component$$403$$, $storedProperties$$1$$));
  $storedProperties$$1$$[$propertyKey$$5$$] = $propertyValue$$8$$
};
function $JSCompiler_StaticMethods__setTimeActDragInfo$$($JSCompiler_StaticMethods__setTimeActDragInfo$self$$, $timeAct$$, $height$$24$$) {
  var $agent$$133$$ = $AdfAgent$$.$AGENT$;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivity$ = $timeAct$$;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityContainer$ = $timeAct$$.firstChild.firstChild;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityInitHeight$ = $height$$24$$;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityInitWidth$ = $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityContainer$.clientWidth;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDay$ = $timeAct$$.parentNode.parentNode;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDayLeftBoundary$ = $agent$$133$$.$getElementLeft$($JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDay$);
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDayRightBoundary$ = $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDayLeftBoundary$ + $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_parentDay$.offsetWidth;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_activityLeftBoundary$ = $agent$$133$$.$getElementLeft$($JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivity$);
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_activityRightBoundary$ = $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_activityLeftBoundary$ + $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityInitWidth$
}
function $JSCompiler_StaticMethods__showMonthGridActivity$$($actInfo$$2_activity$$10$$, $gridInfo$$9_j$$13$$, $overflowDeltaInfo$$1$$) {
  $actInfo$$2_activity$$10$$.style.display = $actInfo$$2_activity$$10$$.style.$_display$ || "";
  $actInfo$$2_activity$$10$$ = $JSCompiler_StaticMethods__getActivityInfo$$($actInfo$$2_activity$$10$$, $gridInfo$$9_j$$13$$);
  for($gridInfo$$9_j$$13$$ = 0;$gridInfo$$9_j$$13$$ < $actInfo$$2_activity$$10$$.$activityLength$;$gridInfo$$9_j$$13$$++) {
    var $numOverflow$$2$$ = $overflowDeltaInfo$$1$$[$actInfo$$2_activity$$10$$.$startDay$ + $gridInfo$$9_j$$13$$];
    $overflowDeltaInfo$$1$$[$actInfo$$2_activity$$10$$.$startDay$ + $gridInfo$$9_j$$13$$] = --$numOverflow$$2$$
  }
}
$JSCompiler_prototypeAlias$$.$_isPopupVisible$ = function $$JSCompiler_prototypeAlias$$$$_isPopupVisible$$($component$$404$$, $id$$247$$) {
  var $popupId$$31$$ = $AdfAgent$$.$AGENT$.getAttribute(this.$getDomElement$(), $id$$247$$);
  return $popupId$$31$$ ? $component$$404$$.$findComponent$($popupId$$31$$).$isPopupVisible$() : $JSCompiler_alias_FALSE$$
};
function $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$, $component$$405$$, $hints$$61_id$$248$$) {
  if($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$.$getDomElement$(), $hints$$61_id$$248$$)) {
    $JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$ = $component$$405$$.$findComponent$($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$), $hints$$61_id$$248$$ = {}, $hints$$61_id$$248$$[AdfRichPopup.$HINT_LAUNCH_ID$] = $component$$405$$.$getClientId$(), $JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$.show($hints$$61_id$$248$$)
  }
}
$JSCompiler_prototypeAlias$$.$_onMouseOverTimeout$ = function $$JSCompiler_prototypeAlias$$$$_onMouseOverTimeout$$($activityRootElement$$5_activityRootId_state$$28$$) {
  delete this.$_calendarActivityMouseTimeout$;
  var $componentId$$22$$ = $activityRootElement$$5_activityRootId_state$$28$$.$componentId$;
  $activityRootElement$$5_activityRootId_state$$28$$ = $activityRootElement$$5_activityRootId_state$$28$$.$activityRootId$;
  var $component$$406_popup$$12$$ = $AdfPage$$.$PAGE$.$findComponent$($componentId$$22$$);
  $activityRootElement$$5_activityRootId_state$$28$$ = $AdfAgent$$.$AGENT$.getElementById($activityRootElement$$5_activityRootId_state$$28$$);
  if($component$$406_popup$$12$$ && $activityRootElement$$5_activityRootId_state$$28$$) {
    this.bind($component$$406_popup$$12$$);
    var $activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$ = this.$_isPopupVisible$($component$$406_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$), $activityDeleteVisible$$ = this.$_isPopupVisible$($component$$406_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DELETE$), $activityContextMenuVisible$$ = this.$_isPopupVisible$($component$$406_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_CONTEXT_MENU$);
    if(!$activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$ && (!$activityDeleteVisible$$ && !$activityContextMenuVisible$$) && ($JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, $component$$406_popup$$12$$, $activityRootElement$$5_activityRootId_state$$28$$, $JSCompiler_alias_NULL$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_HOVER$), $activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$406_popup$$12$$), 
    $activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$ = $AdfAgent$$.$AGENT$.getAttribute($activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_HOVER$))) {
      $component$$406_popup$$12$$ = $component$$406_popup$$12$$.$findComponent$($activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$), $activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$ = {}, $activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$[AdfRichPopup.$HINT_LAUNCH_ID$] = $componentId$$22$$, $activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$.alignElement = $activityRootElement$$5_activityRootId_state$$28$$, $activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$.autodismiss = 
      "autodismissMouseOut", $activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$.autodismissMouseOut = $activityRootElement$$5_activityRootId_state$$28$$.id, $component$$406_popup$$12$$.show($activityDetailVisible_activityHoverId$$1_domElement$$77_hints$$62$$)
    }
  }
};
function $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$($JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$self$$) {
  $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$self$$.$_calendarActivityMouseTimeout$ && ($AdfPage$$.$PAGE$.$cancelTimer$($JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$self$$.$_calendarActivityMouseTimeout$), delete $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$self$$.$_calendarActivityMouseTimeout$)
}
function $JSCompiler_StaticMethods__queueCalendarActivityEvent$$($JSCompiler_StaticMethods__queueCalendarActivityEvent$self_ids$$2$$, $component$$407$$, $activityRootElement$$6$$, $keyStroke$$10$$, $clickCount$$6$$, $button$$9$$, $triggerType$$11$$) {
  $triggerType$$11$$ != $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_HOVER$ && $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarActivityEvent$self_ids$$2$$);
  $JSCompiler_StaticMethods__queueCalendarActivityEvent$self_ids$$2$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$6$$);
  $AdfFocusUtils$$.$focusElement$($activityRootElement$$6$$);
  $AdfCalendarActivityEvent$$.$queue$($component$$407$$, $JSCompiler_StaticMethods__queueCalendarActivityEvent$self_ids$$2$$.$providerId$, $JSCompiler_StaticMethods__queueCalendarActivityEvent$self_ids$$2$$.$activityId$, $keyStroke$$10$$, $clickCount$$6$$, $button$$9$$, $triggerType$$11$$)
}
function $JSCompiler_StaticMethods__resizeAllDayActsArea$$($JSCompiler_StaticMethods__resizeAllDayActsArea$self$$) {
  var $page$$75$$ = $AdfPage$$.$PAGE$, $agent$$134_calendar$$13$$ = $JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$getComponent$();
  if("auto" == $agent$$134_calendar$$13$$.getSplitterPosition()) {
    var $allDaySubId_clientId$$90_maxAllDayActsHeight$$ = $agent$$134_calendar$$13$$.$getClientId$();
    $JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_splitterComponent$ = $page$$75$$.$findComponent$($JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_splitterid$);
    var $agent$$134_calendar$$13$$ = $AdfAgent$$.$AGENT$, $allDaySubId_clientId$$90_maxAllDayActsHeight$$ = $AdfRichUIPeer$$.$CreateSubId$($allDaySubId_clientId$$90_maxAllDayActsHeight$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), $allDayActContainer_allDayActivityDOMs$$ = $agent$$134_calendar$$13$$.getElementById($allDaySubId_clientId$$90_maxAllDayActsHeight$$);
    if($allDayActContainer_allDayActivityDOMs$$) {
      var $i$$168_splitterDOM$$1$$ = $agent$$134_calendar$$13$$.getElementById($JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_splitterid$), $allDaySubId_clientId$$90_maxAllDayActsHeight$$ = Math.floor(0.4 * $i$$168_splitterDOM$$1$$.offsetHeight);
      if($JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_EMToPxRatio$ == $JSCompiler_alias_NULL$$) {
        var $allDayActContStretchedHeight_viewRoot$$ = $i$$168_splitterDOM$$1$$.parentNode;
        $JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_EMToPxRatio$ = parseFloat($allDayActContStretchedHeight_viewRoot$$.style.top) / $allDayActContStretchedHeight_viewRoot$$.offsetTop
      }
      $allDayActContStretchedHeight_viewRoot$$ = $AdfDhtmlCalendarPeer$$.$_PADDING_AFTER_ALL_DAY_ACTIVITIES$;
      if($allDayActContainer_allDayActivityDOMs$$ = $AdfDomUtils$$.$getChildElements$($allDayActContainer_allDayActivityDOMs$$)) {
        var $length$$31$$ = $allDayActContainer_allDayActivityDOMs$$.length, $maxTopOffset$$ = 0, $activityHeight$$ = 0;
        if($JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_splitterComponent$.getCollapsed() == $JSCompiler_alias_TRUE$$) {
          var $newSplitterPos_splitterFirstFacet$$ = $AdfDomUtils$$.$getFirstChildElement$($i$$168_splitterDOM$$1$$);
          $newSplitterPos_splitterFirstFacet$$.style.visibility = "hidden";
          $newSplitterPos_splitterFirstFacet$$.style.display = ""
        }
        for($i$$168_splitterDOM$$1$$ = 0;$i$$168_splitterDOM$$1$$ < $length$$31$$;$i$$168_splitterDOM$$1$$++) {
          var $domElement$$78$$ = $allDayActContainer_allDayActivityDOMs$$[$i$$168_splitterDOM$$1$$];
          if("true" == $agent$$134_calendar$$13$$.getAttribute($domElement$$78$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$)) {
            var $activityTopOffset$$ = $domElement$$78$$.offsetTop;
            $activityTopOffset$$ > $maxTopOffset$$ && ($maxTopOffset$$ = $activityTopOffset$$);
            0 == $activityHeight$$ && ($activityHeight$$ = $domElement$$78$$.offsetHeight)
          }
        }
        $JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_splitterComponent$.getCollapsed() == $JSCompiler_alias_TRUE$$ && ($newSplitterPos_splitterFirstFacet$$.style.display = "none", $newSplitterPos_splitterFirstFacet$$.style.visibility = "");
        $allDayActContStretchedHeight_viewRoot$$ += $maxTopOffset$$ + $activityHeight$$
      }
      $newSplitterPos_splitterFirstFacet$$ = Math.min($allDaySubId_clientId$$90_maxAllDayActsHeight$$, $allDayActContStretchedHeight_viewRoot$$);
      $agent$$134_calendar$$13$$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$ && ($newSplitterPos_splitterFirstFacet$$ = Math.max(36, $newSplitterPos_splitterFirstFacet$$));
      $JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_splitterComponent$.getSplitterPosition() != $newSplitterPos_splitterFirstFacet$$ && $page$$75$$.$scheduleTimer$($JSCompiler_StaticMethods__resizeAllDayActsArea$self$$, $JSCompiler_StaticMethods__resizeAllDayActsArea$self$$.$_setSplitterPositionCallback$, $newSplitterPos_splitterFirstFacet$$, 0)
    }
  }
}
$JSCompiler_prototypeAlias$$.$_setSplitterPositionCallback$ = function $$JSCompiler_prototypeAlias$$$$_setSplitterPositionCallback$$($splitterPosition$$) {
  this.$_splitterComponent$.setProperty(AdfRichPanelSplitter.SPLITTER_POSITION, $splitterPosition$$, $JSCompiler_alias_FALSE$$, $AdfUIComponent$$.$PROPAGATE_LOCALLY$)
};
$JSCompiler_prototypeAlias$$.$_showContextMenu$ = function $$JSCompiler_prototypeAlias$$$$_showContextMenu$$($component$$408$$, $calendarRootElement$$11_contextMenuId$$, $componentEvent$$59$$, $id$$249$$, $alignElement$$13$$) {
  if($calendarRootElement$$11_contextMenuId$$ = $AdfAgent$$.$AGENT$.getAttribute($calendarRootElement$$11_contextMenuId$$, $id$$249$$)) {
    $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this), this.$showContextMenu$($componentEvent$$59$$.$getNativeEvent$(), $calendarRootElement$$11_contextMenuId$$, $component$$408$$, $alignElement$$13$$, $JSCompiler_alias_NULL$$, $component$$408$$.$getClientId$()), $componentEvent$$59$$.cancel()
  }
};
function $JSCompiler_StaticMethods__handleActivityContextMenu$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $componentEvent$$60$$, $calendarRootElement$$12$$, $activityRootElement$$7$$, $isAlignedToActivity$$) {
  var $component$$409$$ = $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $componentEvent$$60$$);
  $JSCompiler_StaticMethods__queueCalendarActivityEvent$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $component$$409$$, $activityRootElement$$7$$, $JSCompiler_alias_NULL$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_CONTEXT_MENU$);
  var $alignElement$$14$$ = $JSCompiler_alias_NULL$$;
  $isAlignedToActivity$$ && ($alignElement$$14$$ = $activityRootElement$$7$$);
  $JSCompiler_StaticMethods__handleActivityContextMenu$self$$.$_showContextMenu$($component$$409$$, $calendarRootElement$$12$$, $componentEvent$$60$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_CONTEXT_MENU$, $alignElement$$14$$)
}
function $JSCompiler_StaticMethods__handleClickEvents$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $componentEvent$$61$$, $clickCount$$7$$) {
  var $eventTarget$$17$$ = $componentEvent$$61$$.$getNativeEventTarget$();
  if($componentEvent$$61$$.$isLeftButtonPressed$() && $eventTarget$$17$$) {
    var $component$$410$$ = $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $componentEvent$$61$$), $calendarRootElement$$13$$ = $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$.$getDomElement$(), $activityRootElement$$8_displayChangeElement$$1$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$13$$, $eventTarget$$17$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$);
    $activityRootElement$$8_displayChangeElement$$1$$ ? ($JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$), $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$8_displayChangeElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$), $AdfCalendarDisplayChangeEvent$$.$queue$($component$$410$$, $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$)) : 
    ($activityRootElement$$8_displayChangeElement$$1$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$13$$, $eventTarget$$17$$)) && $calendarRootElement$$13$$ != $activityRootElement$$8_displayChangeElement$$1$$ ? ($JSCompiler_StaticMethods__queueCalendarActivityEvent$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$410$$, $activityRootElement$$8_displayChangeElement$$1$$, $JSCompiler_alias_NULL$$, $clickCount$$7$$, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_LEFT$, 
    $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_MOUSE$), $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$410$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$)) : $JSCompiler_StaticMethods__queueCalendarEvent$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$410$$, $componentEvent$$61$$, $calendarRootElement$$13$$, $eventTarget$$17$$, $clickCount$$7$$, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_LEFT$, 
    $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_MOUSE$) && $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$410$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_CREATE$)
  }
}
function $JSCompiler_StaticMethods__queueCalendarEvent$$($JSCompiler_StaticMethods__queueCalendarEvent$self$$, $component$$411$$, $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$, $attributeValue$$1_calendarRootElement$$14$$, $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$, $clickCount$$8$$, $button$$10$$, $triggerType$$12$$) {
  var $dateString$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$($attributeValue$$1_calendarRootElement$$14$$, $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$), $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$;
  $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ = $JSCompiler_StaticMethods__getValueWithAttr$$($attributeValue$$1_calendarRootElement$$14$$, $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$);
  $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ = $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ == $JSCompiler_alias_NULL$$ ? $JSCompiler_alias_NULL$$ : $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$;
  var $children$$13_eventTargetParent_hour$$ = $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$.parentNode, $divPos$$1_index$$98$$ = $AdfAgent$$.$AGENT$.$getElementPosition$($children$$13_eventTargetParent_hour$$);
  $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ == $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__getParentWithAttr$$($attributeValue$$1_calendarRootElement$$14$$, $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$) != $JSCompiler_alias_NULL$$ && ($eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$.$getNativeEvent$()), 
  $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ = $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$.y, $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$ = 24 * $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__queueCalendarEvent$self$$), $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$ = $children$$13_eventTargetParent_hour$$.offsetHeight / $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$, 
  $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ = Math.max($pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ - $divPos$$1_index$$98$$.y, 0) / $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$, $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ = Math.round($pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ - 0.5));
  $children$$13_eventTargetParent_hour$$ == $attributeValue$$1_calendarRootElement$$14$$ && ($dateString$$ = $AdfAgent$$.$AGENT$.getAttribute($children$$13_eventTargetParent_hour$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$));
  if($dateString$$ == $JSCompiler_alias_NULL$$) {
    $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$.$getNativeEvent$());
    $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ = $children$$13_eventTargetParent_hour$$.offsetWidth / 7;
    $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ = Math.max($eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$.x - $divPos$$1_index$$98$$.x, 0) / $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$;
    $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ = Math.round($componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ - 0.5);
    6 < $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ && ($componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ = 6);
    $children$$13_eventTargetParent_hour$$ = $children$$13_eventTargetParent_hour$$.childNodes;
    $attributeValue$$1_calendarRootElement$$14$$ = $JSCompiler_alias_NULL$$;
    for($divPos$$1_index$$98$$ = 0;$divPos$$1_index$$98$$ < $children$$13_eventTargetParent_hour$$.length;$divPos$$1_index$$98$$++) {
      if($eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$ = $children$$13_eventTargetParent_hour$$[$divPos$$1_index$$98$$], 1 == $eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$.nodeType && ($attributeValue$$1_calendarRootElement$$14$$ = $AdfAgent$$.$AGENT$.getAttribute($eventTarget$$18_mousePos$$3_node$$62_timeSlotHeight_timeSlotsPerDay$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$)), $attributeValue$$1_calendarRootElement$$14$$ && $divPos$$1_index$$98$$ == 
      $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$) {
        $dateString$$ = $attributeValue$$1_calendarRootElement$$14$$;
        break
      }
    }
  }
  return $dateString$$ != $JSCompiler_alias_NULL$$ && $dateString$$ != $JSCompiler_alias_VOID$$ ? ($componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ = $children$$13_eventTargetParent_hour$$ = $JSCompiler_alias_NULL$$, $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ != $JSCompiler_alias_NULL$$ && ($componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ = $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__queueCalendarEvent$self$$), 
  $children$$13_eventTargetParent_hour$$ = Math.round($pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ / $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ - 0.5), $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ = $pageY$$44_timeSlot$$3_timeSlotFloat_timeSlotValue$$inline_1185$$ % $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$ * (60 / $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$)), $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarEvent$self$$), 
  $AdfCalendarEvent$$.$queue$($component$$411$$, $dateString$$, $children$$13_eventTargetParent_hour$$, $componentEvent$$62_dayCellWidth_dayInWeek_min_timeSlotsPerHour$$2$$, $JSCompiler_alias_NULL$$, $clickCount$$8$$, $button$$10$$, $triggerType$$12$$), $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__getActivityX$$($activityDom$$, $isRTL$$15$$) {
  var $agent$$137$$ = $AdfAgent$$.$AGENT$;
  return $isRTL$$15$$ ? $agent$$137$$.$getElementLeft$($activityDom$$) + resizedActivity.clientWidth : $agent$$137$$.$getElementLeft$($activityDom$$)
}
function $JSCompiler_StaticMethods__getClientActivityId$$($JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$, $providerId$$9$$, $activityId$$12$$, $suffix$$) {
  $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$ = $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$.$getComponent$().$getClientId$() + "::" + $providerId$$9$$ + "::" + $activityId$$12$$;
  $suffix$$ != $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$ = $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$ + "::" + $suffix$$);
  return $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$
}
$JSCompiler_prototypeAlias$$.$_handleTimeActivityResizeDrag$ = function $$JSCompiler_prototypeAlias$$$$_handleTimeActivityResizeDrag$$($evt$$70_ids$$3_prevActivityDom_prevId$$) {
  var $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$ = this.$_resizedActivity$, $topPos$$1$$ = $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$.offsetTop, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = this.$_resizedActivityContainer$, $resizedActivityInitHeight$$ = this.$_resizedActivityInitHeight$, $dGCRContainer$$1$$ = this.$_dayGridCellRowsContainer$, $minIncrementSize$$ = this.$_minIncrementSize$, $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ = 
  $AdfAgent$$.$AGENT$, $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ = this.$_dateTimeGridContainer$;
  if($actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$.scrollHeight > $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$.offsetHeight) {
    var $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$ = $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$.$getMousePosition$($evt$$70_ids$$3_prevActivityDom_prevId$$), $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ = $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$.$getElementPosition$($actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$), $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$ = 
    Math.max($agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$.y - $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$.y, 0), $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ = $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$ > $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$.offsetHeight - $AdfDhtmlCalendarPeer$$.$_AUTOSCROLL_MARGIN$;
    if($agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$ < $AdfDhtmlCalendarPeer$$.$_AUTOSCROLL_MARGIN$ || $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$) {
      $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$ = $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$.scrollTop + ($agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ ? this.$_minIncrementSize$ : -this.$_minIncrementSize$), 0 <= $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$ && $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$ < $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$.scrollHeight && 
      ($actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$.scrollTop = $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$)
    }
  }
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ = $evt$$70_ids$$3_prevActivityDom_prevId$$.clientY;
  if($JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$(this, $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$)) {
    var $activityClone$$1_isRTL$$17_maxHeight$$1$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$ = $AdfAgent$$.$AGENT$, $clientX$$5$$ = $evt$$70_ids$$3_prevActivityDom_prevId$$.clientX;
    if($clientX$$5$$ >= this.$_parentDayLeftBoundary$ && $clientX$$5$$ <= this.$_parentDayRightBoundary$) {
      $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$.style.width = Math.max(this.$_resizedActivityInitWidth$, $activityClone$$1_isRTL$$17_maxHeight$$1$$ ? this.$_activityRightBoundary$ - $clientX$$5$$ : $clientX$$5$$ - this.$_activityLeftBoundary$) + "px"
    }else {
      var $dayBounds$$ = $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$.$getElementPageBounds$(this.$_parentDay$);
      $evt$$70_ids$$3_prevActivityDom_prevId$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$);
      $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ = $evt$$70_ids$$3_prevActivityDom_prevId$$.$suffix$;
      if(!$activityClone$$1_isRTL$$17_maxHeight$$1$$ && $clientX$$5$$ < $dayBounds$$.left || $activityClone$$1_isRTL$$17_maxHeight$$1$$ && $clientX$$5$$ > $dayBounds$$.right) {
        if($agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ != $JSCompiler_alias_NULL$$ && 0 < $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$.length && (0 < $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ ? $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$-- : $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ = $JSCompiler_alias_NULL$$, $evt$$70_ids$$3_prevActivityDom_prevId$$ = 
        $JSCompiler_StaticMethods__getClientActivityId$$(this, $evt$$70_ids$$3_prevActivityDom_prevId$$.$providerId$, $evt$$70_ids$$3_prevActivityDom_prevId$$.$activityId$, $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$), $evt$$70_ids$$3_prevActivityDom_prevId$$ = $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$.getElementById($evt$$70_ids$$3_prevActivityDom_prevId$$))) {
          this.$_deltaDays$--, $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$.parentNode.removeChild($midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$), $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $evt$$70_ids$$3_prevActivityDom_prevId$$.firstChild.firstChild, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$ != $JSCompiler_alias_NULL$$ ? ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $evt$$70_ids$$3_prevActivityDom_prevId$$, 
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$), this.$_resizeStartY$ = $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_resizeStartY$) : ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $evt$$70_ids$$3_prevActivityDom_prevId$$, $minIncrementSize$$), this.$_resizeStartY$ = $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$.$getElementTop$($evt$$70_ids$$3_prevActivityDom_prevId$$) + $minIncrementSize$$, 
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $minIncrementSize$$ + "px", $resizedActivityInitHeight$$ = $minIncrementSize$$)
        }
      }else {
        if(!$activityClone$$1_isRTL$$17_maxHeight$$1$$ && $clientX$$5$$ > $dayBounds$$.right && $clientX$$5$$ < this.$_gridRightBoundary$ || $activityClone$$1_isRTL$$17_maxHeight$$1$$ && $clientX$$5$$ < $dayBounds$$.left && $clientX$$5$$ > this.$_gridLeftBoundary$) {
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$ = this.$_resizedActivityInitHeight$;
          $activityClone$$1_isRTL$$17_maxHeight$$1$$ = $dGCRContainer$$1$$.scrollHeight - $topPos$$1$$;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $activityClone$$1_isRTL$$17_maxHeight$$1$$;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $activityClone$$1_isRTL$$17_maxHeight$$1$$ + "px";
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_resizeStartY$ = this.$_resizeStartY$;
          $activityClone$$1_isRTL$$17_maxHeight$$1$$ = $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$.cloneNode($JSCompiler_alias_TRUE$$);
          $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ ? $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$++ : $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$ = 0;
          $activityClone$$1_isRTL$$17_maxHeight$$1$$.id = $JSCompiler_StaticMethods__getClientActivityId$$(this, $evt$$70_ids$$3_prevActivityDom_prevId$$.$providerId$, $evt$$70_ids$$3_prevActivityDom_prevId$$.$activityId$, $agent$$inline_1189_divPos$$inline_1192_scrollDown$$inline_1194_suffix$$1$$);
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $activityClone$$1_isRTL$$17_maxHeight$$1$$.style;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.zIndex = ++this.$_nextZIndex$;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.top = 0;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.left = 0;
          for($clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $AdfDomUtils$$.$getNextElement$($midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$.parentNode.parentNode);$clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ != $JSCompiler_alias_NULL$$;) {
            if($agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$.getAttribute($clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$, "arc") != $JSCompiler_alias_NULL$$) {
              $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.firstChild.appendChild($activityClone$$1_isRTL$$17_maxHeight$$1$$);
              break
            }
            $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $AdfDomUtils$$.$getNextElement$($clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$)
          }
          $agent$$138_divMouseY$$inline_1193_mousePos$$inline_1191_scrollToPos$$inline_1195$$.$elementsAdded$($activityClone$$1_isRTL$$17_maxHeight$$1$$);
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $activityClone$$1_isRTL$$17_maxHeight$$1$$.firstChild.firstChild;
          $JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $activityClone$$1_isRTL$$17_maxHeight$$1$$, 0);
          this.$_deltaDays$++;
          this.$_resizeStartY$ = this.$_gridTop$ - this.$_dateTimeGridContainer$.scrollTop
        }
      }
    }
  }
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ -= this.$_resizeStartY$;
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ += this.$_dateTimeGridContainer$.scrollTop - this.$_scrollTopBeforeDrag$;
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ = Math.ceil($actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ / $minIncrementSize$$) * $minIncrementSize$$;
  $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ >= $minIncrementSize$$ && $topPos$$1$$ + $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ <= $dGCRContainer$$1$$.offsetHeight ? ($midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$ = $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$ + 
  "px", $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$) : $topPos$$1$$ + $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ > $dGCRContainer$$1$$.offsetHeight && ($midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$ = $AdfAgent$$.$AGENT$.getAttribute($midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) != 
  $JSCompiler_alias_NULL$$ ? $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1190$$ : $dGCRContainer$$1$$.offsetHeight - $topPos$$1$$ - 2, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$ + "px", $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $midnightHeight_modifiedHeight_newHeight$$9_resizedActivity$$3$$)
};
$JSCompiler_prototypeAlias$$.$_handleAlldayActivityResizeDrag$ = function $$JSCompiler_prototypeAlias$$$$_handleAlldayActivityResizeDrag$$($agent$$139_eventY_evt$$71$$) {
  var $prevRow_resizedActivity$$4$$ = this.$_resizedActivity$, $alldayContainer$$1_newResizeWidth$$ = this.$_alldayContainer$, $dayWidth$$2$$ = this.$_dayWidth$, $activityEndPadding$$2$$ = this.$_activityEndPadding$, $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ = this.$_maxX$, $activityClone$$2_minX$$ = this.$_minX$, $activityX$$2_prevId$$1$$ = this.$_activityX$, $isRTL$$18$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $clonedActivityStyles$$1_ids$$4_newWidth$$7$$ = 0, $clientX$$6$$ = 
  $agent$$139_eventY_evt$$71$$.clientX;
  $isRTL$$18$$ ? ($clientX$$6$$ < $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ ? $clientX$$6$$ = $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ : $clientX$$6$$ > $activityClone$$2_minX$$ && ($clientX$$6$$ = $activityClone$$2_minX$$), $clonedActivityStyles$$1_ids$$4_newWidth$$7$$ = $activityX$$2_prevId$$1$$ - $clientX$$6$$) : ($clientX$$6$$ > $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ ? $clientX$$6$$ = $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ : $clientX$$6$$ < $activityClone$$2_minX$$ && 
  ($clientX$$6$$ = $activityClone$$2_minX$$), $clonedActivityStyles$$1_ids$$4_newWidth$$7$$ = $clientX$$6$$ - $activityX$$2_prevId$$1$$);
  this.$_resizeNewX$ = $clientX$$6$$;
  $prevRow_resizedActivity$$4$$.style.width = $clonedActivityStyles$$1_ids$$4_newWidth$$7$$ + "px";
  if($initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ = this.$_initMonthRowTop$) {
    if($agent$$139_eventY_evt$$71$$ = $agent$$139_eventY_evt$$71$$.clientY, $agent$$139_eventY_evt$$71$$ > $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ + this.$_monthRowHeight$) {
      if($initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ = $AdfDomUtils$$.$getNextElement$($alldayContainer$$1_newResizeWidth$$)) {
        this.$_deltaWeeks$ += 1;
        $agent$$139_eventY_evt$$71$$ = $AdfAgent$$.$AGENT$;
        var $activityClone$$2_minX$$ = $prevRow_resizedActivity$$4$$.cloneNode($JSCompiler_alias_TRUE$$), $clonedActivityStyles$$1_ids$$4_newWidth$$7$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($prevRow_resizedActivity$$4$$), $suffix$$2$$ = $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$suffix$;
        $suffix$$2$$ || ($suffix$$2$$ = 0);
        52 == $suffix$$2$$ ? $suffix$$2$$ = 1 : $suffix$$2$$++;
        $activityClone$$2_minX$$.id = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$providerId$, $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$activityId$, $suffix$$2$$);
        $agent$$139_eventY_evt$$71$$.$copyStyle$($prevRow_resizedActivity$$4$$, $activityClone$$2_minX$$);
        $clonedActivityStyles$$1_ids$$4_newWidth$$7$$ = $activityClone$$2_minX$$.style;
        $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.zIndex = ++this.$_nextZIndex$;
        $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$.appendChild($activityClone$$2_minX$$);
        $agent$$139_eventY_evt$$71$$.$elementsAdded$($initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$);
        $isRTL$$18$$ ? ($alldayContainer$$1_newResizeWidth$$ = $activityX$$2_prevId$$1$$ - this.$_alldayContainerX$ + $activityEndPadding$$2$$, $prevRow_resizedActivity$$4$$.style.width = $alldayContainer$$1_newResizeWidth$$ + "px", $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.right = ".25%", $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($activityClone$$2_minX$$, $isRTL$$18$$), $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.width = $activityX$$2_prevId$$1$$ - $clientX$$6$$ + 
        "px") : ($clonedActivityStyles$$1_ids$$4_newWidth$$7$$.left = ".25%", $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($activityClone$$2_minX$$, $isRTL$$18$$), $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.width = $clientX$$6$$ - $activityX$$2_prevId$$1$$ + "px", $alldayContainer$$1_newResizeWidth$$ = $alldayContainer$$1_newResizeWidth$$.clientWidth - $prevRow_resizedActivity$$4$$.offsetLeft - $activityEndPadding$$2$$, $prevRow_resizedActivity$$4$$.style.width = $alldayContainer$$1_newResizeWidth$$ + 
        "px");
        this.$_minX$ = $isRTL$$18$$ ? $activityX$$2_prevId$$1$$ - $dayWidth$$2$$ + $activityEndPadding$$2$$ : $activityX$$2_prevId$$1$$ + $dayWidth$$2$$ - $activityEndPadding$$2$$;
        this.$_activityX$ = $activityX$$2_prevId$$1$$;
        this.$_alldayContainer$ = $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$;
        this.$_resizedActivity$ = $activityClone$$2_minX$$;
        this.$_initMonthRowTop$ = $agent$$139_eventY_evt$$71$$.$getElementTop$($initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$)
      }
    }else {
      $agent$$139_eventY_evt$$71$$ < $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ && ($agent$$139_eventY_evt$$71$$ = $AdfAgent$$.$AGENT$, $clonedActivityStyles$$1_ids$$4_newWidth$$7$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($prevRow_resizedActivity$$4$$), $suffix$$2$$ = $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$suffix$, $suffix$$2$$ != $JSCompiler_alias_NULL$$ && ($suffix$$2$$--, $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, 
      $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$providerId$, $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$activityId$, $suffix$$2$$), $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ = $agent$$139_eventY_evt$$71$$.getElementById($activityX$$2_prevId$$1$$), !$initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ && 0 == $suffix$$2$$ && ($activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$providerId$, $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$activityId$, 
      $JSCompiler_alias_NULL$$), $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ = $agent$$139_eventY_evt$$71$$.getElementById($activityX$$2_prevId$$1$$), $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ || ($activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$providerId$, $clonedActivityStyles$$1_ids$$4_newWidth$$7$$.$activityId$, 52), $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ = $agent$$139_eventY_evt$$71$$.getElementById($activityX$$2_prevId$$1$$))), 
      $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$ && $AdfDomUtils$$.$isVisible$($initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$) && (this.$_deltaWeeks$ -= 1, $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$, $isRTL$$18$$), this.$_minX$ = $isRTL$$18$$ ? $activityX$$2_prevId$$1$$ - $dayWidth$$2$$ + $activityEndPadding$$2$$ : $activityX$$2_prevId$$1$$ + $dayWidth$$2$$ - $activityEndPadding$$2$$, $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$.width = 
      ($isRTL$$18$$ ? $activityX$$2_prevId$$1$$ - $clientX$$6$$ : $clientX$$6$$ - $activityX$$2_prevId$$1$$) + "px", $alldayContainer$$1_newResizeWidth$$.removeChild($prevRow_resizedActivity$$4$$), $prevRow_resizedActivity$$4$$ = $AdfDomUtils$$.$getPreviousElement$($alldayContainer$$1_newResizeWidth$$), this.$_activityX$ = $activityX$$2_prevId$$1$$, this.$_alldayContainer$ = $prevRow_resizedActivity$$4$$, this.$_resizedActivity$ = $initMonthRowTop_maxX_nextRow_prevActivityDom$$1$$, this.$_initMonthRowTop$ = 
      $agent$$139_eventY_evt$$71$$.$getElementTop$($prevRow_resizedActivity$$4$$))))
    }
  }
};
function $JSCompiler_StaticMethods__getDateTimeGridContainer$$($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$93_scrollSubId$$2$$) {
  $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$93_scrollSubId$$2$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$93_scrollSubId$$2$$.$getComponent$().$getClientId$();
  $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$93_scrollSubId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$93_scrollSubId$$2$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$);
  return $AdfAgent$$.$AGENT$.getElementById($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$93_scrollSubId$$2$$)
}
$JSCompiler_prototypeAlias$$.$_handleTimeActivityResizeDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleTimeActivityResizeDrop$$($evt$$73$$) {
  var $agent$$141$$ = $AdfAgent$$.$AGENT$, $resizedActivity$$5$$ = this.$_resizedActivity$, $deltaHour$$ = 0, $deltaMin_timeSlotDelta$$ = 0, $resizedActivityContainer$$2$$ = this.$_resizedActivityContainer$, $newHeightInEM_newHeightInPx$$ = $resizedActivityContainer$$2$$.$_newHeight$, $deltaMin_timeSlotDelta$$ = ($newHeightInEM_newHeightInPx$$ - this.$_resizedActivityInitHeight$) / this.$_minIncrementSize$, $timeSlotsPerHour$$3$$ = $JSCompiler_StaticMethods__getTimeSlotsPerHour$$(this), $deltaHour$$ = 
  0 < $deltaMin_timeSlotDelta$$ ? Math.floor($deltaMin_timeSlotDelta$$ / $timeSlotsPerHour$$3$$) : Math.ceil($deltaMin_timeSlotDelta$$ / $timeSlotsPerHour$$3$$), $minutesPerTimeSlot$$2$$ = 60 / $timeSlotsPerHour$$3$$, $deltaMin_timeSlotDelta$$ = Math.round($deltaMin_timeSlotDelta$$ % $timeSlotsPerHour$$3$$ * $minutesPerTimeSlot$$2$$), $newHeightInEM_newHeightInPx$$ = $newHeightInEM_newHeightInPx$$ * this.$_EMToPxRatio$;
  if($JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$(this, $resizedActivity$$5$$) && !(0 > this.$_deltaDays$)) {
    if(0 == this.$_deltaDays$) {
      $resizedActivity$$5$$.style.width = this.$_resizedActivityInitWidth$ + "px"
    }else {
      for(var $deltaHour$$ = $deltaHour$$ + 24 * (this.$_deltaDays$ - 1), $activity$$11_timeActCell$$ = $resizedActivity$$5$$.parentNode.parentNode;0 < this.$_deltaDays$;) {
        $activity$$11_timeActCell$$ = $AdfDomUtils$$.$getPreviousElement$($activity$$11_timeActCell$$), $activity$$11_timeActCell$$ != $JSCompiler_alias_NULL$$ && $AdfAgent$$.$AGENT$.getAttribute($activity$$11_timeActCell$$, "arc") != $JSCompiler_alias_NULL$$ && this.$_deltaDays$--
      }
      if($activity$$11_timeActCell$$ != $JSCompiler_alias_NULL$$) {
        for(var $baseIds_firstDayTimeSlotDelta$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($resizedActivity$$5$$), $activity$$11_timeActCell$$ = $activity$$11_timeActCell$$.firstChild.firstChild;$activity$$11_timeActCell$$ != $JSCompiler_alias_NULL$$;) {
          var $actIds$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activity$$11_timeActCell$$);
          if($actIds$$.$providerId$ == $baseIds_firstDayTimeSlotDelta$$.$providerId$ && $actIds$$.$activityId$ == $baseIds_firstDayTimeSlotDelta$$.$activityId$) {
            $baseIds_firstDayTimeSlotDelta$$ = ($activity$$11_timeActCell$$.firstChild.firstChild.$_newHeight$ - $activity$$11_timeActCell$$.firstChild.firstChild.$_initHeight$) / this.$_minIncrementSize$;
            $deltaHour$$ += 0 < $baseIds_firstDayTimeSlotDelta$$ ? Math.floor($baseIds_firstDayTimeSlotDelta$$ / $timeSlotsPerHour$$3$$) : Math.ceil($baseIds_firstDayTimeSlotDelta$$ / $timeSlotsPerHour$$3$$);
            $deltaMin_timeSlotDelta$$ += Math.round($baseIds_firstDayTimeSlotDelta$$ % $timeSlotsPerHour$$3$$ * $minutesPerTimeSlot$$2$$);
            break
          }
          $activity$$11_timeActCell$$ = $AdfDomUtils$$.$getNextElement$($activity$$11_timeActCell$$)
        }
      }
    }
  }
  $resizedActivityContainer$$2$$.style.height = $newHeightInEM_newHeightInPx$$ + "em";
  $JSCompiler_StaticMethods__doActivityResizeCleanup$$(this);
  if($agent$$141$$.getAttribute($resizedActivity$$5$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) != $JSCompiler_alias_NULL$$) {
    var $dateString$$1$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$(this.$getDomElement$(), $resizedActivity$$5$$)
  }
  $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$$(this, $resizedActivity$$5$$, $deltaHour$$, $deltaMin_timeSlotDelta$$, $dateString$$1$$);
  $agent$$141$$.$eatEvent$($evt$$73$$)
};
$JSCompiler_prototypeAlias$$.$_handleAlldayActivityResizeDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleAlldayActivityResizeDrop$$($evt$$74$$) {
  var $agent$$142$$ = $AdfAgent$$.$AGENT$, $resizedActivity$$6$$ = this.$_resizedActivity$, $deltaHour$$1_deltaWeeks_endDay$$ = 0, $isRTL$$19$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $dayWidth$$3_startDay$$ = this.$_dayWidth$, $deltaHour$$1_deltaWeeks_endDay$$ = Math.ceil((this.$_resizeNewX$ - this.$_alldayContainerX$) / $dayWidth$$3_startDay$$), $dayDelta_startX$$ = 0;
  $isRTL$$19$$ ? ($dayDelta_startX$$ = this.$_resizeStartX$ + $dayWidth$$3_startDay$$ / 2, $dayWidth$$3_startDay$$ = Math.ceil(($dayDelta_startX$$ - this.$_alldayContainerX$) / $dayWidth$$3_startDay$$), $dayDelta_startX$$ = $dayWidth$$3_startDay$$ - $deltaHour$$1_deltaWeeks_endDay$$) : ($dayDelta_startX$$ = this.$_resizeStartX$ - $dayWidth$$3_startDay$$ / 2, $dayWidth$$3_startDay$$ = Math.ceil(($dayDelta_startX$$ - this.$_alldayContainerX$) / $dayWidth$$3_startDay$$), $dayDelta_startX$$ = $deltaHour$$1_deltaWeeks_endDay$$ - 
  $dayWidth$$3_startDay$$);
  $deltaHour$$1_deltaWeeks_endDay$$ = 0;
  this.$_initMonthRowTop$ && ($deltaHour$$1_deltaWeeks_endDay$$ = this.$_deltaWeeks$);
  $deltaHour$$1_deltaWeeks_endDay$$ = 24 * $dayDelta_startX$$ + 168 * $deltaHour$$1_deltaWeeks_endDay$$;
  0 == $deltaHour$$1_deltaWeeks_endDay$$ && ($resizedActivity$$6$$.style.width = this.$_resizedActivityInitWidthInPercent$);
  $AdfDomUtils$$.$removeCSSClassName$($resizedActivity$$6$$, $AdfDhtmlCalendarPeer$$.$_DRAG_END_CLASS$);
  $JSCompiler_StaticMethods__doActivityResizeCleanup$$(this);
  $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$$(this, $resizedActivity$$6$$, $deltaHour$$1_deltaWeeks_endDay$$, 0);
  $agent$$142$$.$eatEvent$($evt$$74$$)
};
function $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$, $activityDom$$1_ids$$5$$, $deltaHour$$2$$, $deltaMin$$2$$, $dateString$$2$$) {
  if(0 != $deltaHour$$2$$ || 0 != $deltaMin$$2$$) {
    $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$), $activityDom$$1_ids$$5$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityDom$$1_ids$$5$$), $AdfCalendarActivityDurationChangeEvent$$.$queue$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$.$getComponent$(), $activityDom$$1_ids$$5$$.$providerId$, $activityDom$$1_ids$$5$$.$activityId$, $deltaHour$$2$$, $deltaMin$$2$$, 
    $dateString$$2$$)
  }
}
$JSCompiler_prototypeAlias$$.$_handleTimeActivityResizeAbort$ = function $$JSCompiler_prototypeAlias$$$$_handleTimeActivityResizeAbort$$() {
  this.$_resizedActivityContainer$.style.height = this.$_resizedActivityInitHeightInEM$ + "em";
  $JSCompiler_StaticMethods__doActivityResizeCleanup$$(this)
};
$JSCompiler_prototypeAlias$$.$_handleAlldayActivityResizeAbort$ = function $$JSCompiler_prototypeAlias$$$$_handleAlldayActivityResizeAbort$$() {
  var $resizedActivity$$7$$ = this.$_resizedActivity$;
  $resizedActivity$$7$$.style.width = this.$_resizedActivityInitWidthInPercent$;
  $AdfDomUtils$$.$removeCSSClassName$($resizedActivity$$7$$, $AdfDhtmlCalendarPeer$$.$_DRAG_END_CLASS$);
  $JSCompiler_StaticMethods__doActivityResizeCleanup$$(this)
};
function $JSCompiler_StaticMethods__doActivityResizeCleanup$$($JSCompiler_StaticMethods__doActivityResizeCleanup$self$$) {
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_resizedActivity$ = $JSCompiler_alias_NULL$$;
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_alldayContainer$ = $JSCompiler_alias_NULL$$;
  $AdfAgent$$.$AGENT$.$enableUserSelect$($JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$getDomElement$());
  $AdfAssert$$.$assertDomElement$($JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_activityResizeIndicator$);
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_activityResizeIndicator$.style.cursor = "";
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_activityResizeIndicator$ = $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__hideActivityHoverPopup$self$$) {
  $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$($JSCompiler_StaticMethods__hideActivityHoverPopup$self$$);
  var $activityHoverId$$2$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__hideActivityHoverPopup$self$$.$getDomElement$(), $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_HOVER$);
  $activityHoverId$$2$$ && $JSCompiler_StaticMethods__hideActivityHoverPopup$self$$.$getComponent$().$findComponent$($activityHoverId$$2$$).$hide$()
}
function $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$10_tokens$$12$$) {
  $activityRootElement$$10_tokens$$12$$ = $activityRootElement$$10_tokens$$12$$.id.split("::");
  var $providerId$$10$$ = "", $activityId$$13$$ = "", $suffix$$3$$ = "", $numTokens$$ = $activityRootElement$$10_tokens$$12$$.length;
  3 <= $numTokens$$ && ($providerId$$10$$ = $activityRootElement$$10_tokens$$12$$[1], $activityId$$13$$ = $activityRootElement$$10_tokens$$12$$[2], 3 < $numTokens$$ && ($suffix$$3$$ = $activityRootElement$$10_tokens$$12$$[3]));
  return{$providerId$:$providerId$$10$$, $activityId$:$activityId$$13$$, $suffix$:$suffix$$3$$}
}
function $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__getComponentEventSource$self$$, $componentEvent$$65$$) {
  var $calendar$$16$$ = $JSCompiler_StaticMethods__getComponentEventSource$self$$.$getComponent$(), $eventSource$$1$$ = $componentEvent$$65$$.getSource();
  return $eventSource$$1$$.$getClientId$() == $JSCompiler_StaticMethods__getComponentEventSource$self$$.$_splitterid$ ? $calendar$$16$$ : $eventSource$$1$$
}
function $JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($fromElement$$, $toElement$$, $componentEvent$$66$$, $retainOldActiveElement$$2$$) {
  $AdfAssert$$.$assertDomElement$($fromElement$$);
  $AdfAssert$$.$assertDomElement$($toElement$$);
  $AdfFocusUtils$$.$focusElement$($toElement$$);
  $fromElement$$.setAttribute("tabIndex", $retainOldActiveElement$$2$$ ? "0" : "-1");
  $toElement$$.setAttribute("tabIndex", "0");
  $componentEvent$$66$$ && ($componentEvent$$66$$.cancel(), $componentEvent$$66$$.$stopBubbling$())
}
$JSCompiler_prototypeAlias$$.$IsBusy$ = $JSCompiler_get$$("$_isBusy$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.IsBusy", {$IsBusy$:$AdfDhtmlCalendarPeer$$.prototype.$IsBusy$});
$AdfDhtmlCalendarPeer$$.prototype.$SetBusy$ = $JSCompiler_set$$("$_isBusy$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.SetBusy", {$SetBusy$:$AdfDhtmlCalendarPeer$$.prototype.$SetBusy$});
