var $AdfDhtmlCalendarPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlCalendarPeer", !1);
$goog$exportSymbol$$("AdfDhtmlCalendarPeer", $AdfDhtmlCalendarPeer$$);
$AdfDhtmlCalendarPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlCalendarPeer$$$$$InitDomElement$$($component$$731$$, $domElement$$83$$) {
  $AdfDhtmlCalendarPeer$$.$superclass$.$InitDomElement$.call(this, $component$$731$$, $domElement$$83$$);
  this.$_splitterid$ = $component$$731$$.$getClientId$() + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_SPLITTER_COMPONENT_ID$;
  if ($AdfDomUtils$$.$isInVisibleSubtree$($domElement$$83$$)) {
    this.$_restoreScrollPosition$($component$$731$$, $domElement$$83$$);
    this.$_deferredFromInitDOM$ = !1;
    var $dragSource$$8_providerGridDOM_splitterDOM$$ = $AdfAgent$$.$AGENT$.getElementById(this.$_splitterid$);
    if ($dragSource$$8_providerGridDOM_splitterDOM$$) {
      $dragSource$$8_providerGridDOM_splitterDOM$$.style.top = $dragSource$$8_providerGridDOM_splitterDOM$$.parentNode.firstChild.offsetHeight + "px";
    } else {
      if ($dragSource$$8_providerGridDOM_splitterDOM$$ = $JSCompiler_StaticMethods__getProviderGridElement$$($component$$731$$)) {
        $dragSource$$8_providerGridDOM_splitterDOM$$.children[1].style.top = $dragSource$$8_providerGridDOM_splitterDOM$$.firstChild.offsetHeight + "px";
      }
    }
  } else {
    this.$_deferredFromInitDOM$ = !0;
  }
  this.$_nextZIndex$ = 10;
  null != $component$$731$$.$getDropTarget$() && null == $component$$731$$.$getDragSource$() && ($dragSource$$8_providerGridDOM_splitterDOM$$ = new $AdfCalendarDragSource$$($AdfDnDContext$$.$ACTION_MOVE$, $AdfDnDContext$$.$ACTION_MOVE$), $component$$731$$.$setDragSource$($dragSource$$8_providerGridDOM_splitterDOM$$));
  this.$_isBusy$ = !1;
  this.$_currentActivityId$ = null;
  $AdfDhtmlCalendarPeer$$.$_initFlexListSizeBreakpoints$();
  $AdfDhtmlCalendarPeer$$.$_initProviderGroupingSizeBreakpoints$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlCalendarPeer$$.prototype.$InitDomElement$});
$AdfDhtmlCalendarPeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlCalendarPeer$$$$$BindToComponent$$($component$$732$$, $domNode$$24$$) {
  $AdfDhtmlCalendarPeer$$.$superclass$.$BindToComponent$.call(this, $component$$732$$, $domNode$$24$$);
  var $clientId$$121_page$$90$$ = $AdfPage$$.$PAGE$, $activeDescendantElement_announceText_laf$$56$$ = $clientId$$121_page$$90$$.$getLookAndFeel$(), $arc_dateRangeTextDOM_dateRangeTextId$$ = $component$$732$$.$getClientId$() + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_RANGE_TOOLBAR_ITEM_ID$;
  if ($arc_dateRangeTextDOM_dateRangeTextId$$ = $AdfAgent$$.$AGENT$.getElementById($arc_dateRangeTextDOM_dateRangeTextId$$)) {
    $activeDescendantElement_announceText_laf$$56$$ = $activeDescendantElement_announceText_laf$$56$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_CURRENT_ACTIVITY_DISPLAY_RANGE_ANNOUNCE_MSG$, $arc_dateRangeTextDOM_dateRangeTextId$$.innerHTML), $clientId$$121_page$$90$$.$announceToAssistiveTechnology$($activeDescendantElement_announceText_laf$$56$$);
  }
  if ($component$$732$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$) == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
    $clientId$$121_page$$90$$ = $component$$732$$.$getClientId$();
    $activeDescendantElement_announceText_laf$$56$$ = null;
    for ($arc_dateRangeTextDOM_dateRangeTextId$$ = 0;null == $activeDescendantElement_announceText_laf$$56$$ && 7 > $arc_dateRangeTextDOM_dateRangeTextId$$;$arc_dateRangeTextDOM_dateRangeTextId$$++) {
      $activeDescendantElement_announceText_laf$$56$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$121_page$$90$$, $arc_dateRangeTextDOM_dateRangeTextId$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$);
    }
    $activeDescendantElement_announceText_laf$$56$$ && $activeDescendantElement_announceText_laf$$56$$.setAttribute("tabIndex", "0");
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlCalendarPeer$$.prototype.$BindToComponent$});
$AdfDhtmlCalendarPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlCalendarPeer$$$$$ComponentRemoved$$($component$$733$$) {
  var $activeDay$$inline_1236_clientId$$inline_1230_subId$$inline_1234$$ = $component$$733$$.$getClientId$(), $agent$$inline_1231_scrollElem$$inline_1235$$ = $AdfAgent$$.$AGENT$, $view$$inline_1232$$ = $component$$733$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $key$$inline_1233$$ = null;
  if ($view$$inline_1232$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
    if ($view$$inline_1232$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      $key$$inline_1233$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_LIST_KEY$;
    } else {
      if ($view$$inline_1232$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$inline_1232$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
        $key$$inline_1233$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$;
      }
    }
    $activeDay$$inline_1236_clientId$$inline_1230_subId$$inline_1234$$ = $AdfRichUIPeer$$.$CreateSubId$($activeDay$$inline_1236_clientId$$inline_1230_subId$$inline_1234$$, $key$$inline_1233$$);
    if ($agent$$inline_1231_scrollElem$$inline_1235$$ = $agent$$inline_1231_scrollElem$$inline_1235$$.getElementById($activeDay$$inline_1236_clientId$$inline_1230_subId$$inline_1234$$)) {
      $activeDay$$inline_1236_clientId$$inline_1230_subId$$inline_1234$$ = $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$733$$), this.$_setPageProperty$($component$$733$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$, $activeDay$$inline_1236_clientId$$inline_1230_subId$$inline_1234$$), $AdfDomUtils$$.$isInVisibleSubtree$($agent$$inline_1231_scrollElem$$inline_1235$$) && (this.$_setPageProperty$($component$$733$$, $key$$inline_1233$$, $agent$$inline_1231_scrollElem$$inline_1235$$.scrollTop), 
      $view$$inline_1232$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ && $view$$inline_1232$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ || this.$_setPageProperty$($component$$733$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$, $agent$$inline_1231_scrollElem$$inline_1235$$.scrollHeight));
    }
  }
  $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this);
  $AdfDhtmlCalendarPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$733$$);
};
$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.$_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.$_MONTH_MORE_LINK_TEXT$ = "_adfCalMLT";
  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_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.$_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_SUB_ID$ = "wh";
  this.$_CALENDAR_DAY_HEADER_SUB_ID$ = "dh";
  this.$_DAY_HEADER_PROVIDER_SUB_ID$ = "dhp";
  this.$_WEEK_HEADER_PROVIDER_SUB_ID$ = "whp";
  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";
  this.$_CAL_SIZE_STATE_PREFIX$ = "p_AFCalendarSize";
  this.$_CAL_SIZE_SM_STATE$ = this.$_CAL_SIZE_STATE_PREFIX$ + "Sm";
  this.$_CAL_SIZE_MD_STATE$ = this.$_CAL_SIZE_STATE_PREFIX$ + "Md";
  this.$_CAL_SIZE_LG_STATE$ = this.$_CAL_SIZE_STATE_PREFIX$ + "Lg";
  this.$_CAL_SIZE_XL_STATE$ = this.$_CAL_SIZE_STATE_PREFIX$ + "Xl";
  this.$_CAL_SIZE_STATE_LENGTH$ = this.$_CAL_SIZE_XL_STATE$.length;
  this.$_CAL_SIZE_SM_SKIN_PROPERTY$ = "af|calendar-tr-flexList-size-sm";
  this.$_CAL_SIZE_MD_SKIN_PROPERTY$ = "af|calendar-tr-flexList-size-md";
  this.$_CAL_SIZE_LG_SKIN_PROPERTY$ = "af|calendar-tr-flexList-size-lg";
  this.$_CAL_PROV_GRP_SIZE_SM_SKIN_PROPERTY$ = "af|calendar-tr-provider-grouping-size-sm";
  this.$_CAL_PROV_GRP_SIZE_MD_SKIN_PROPERTY$ = "af|calendar-tr-provider-grouping-size-md";
  this.$_CAL_PROV_GRP_SIZE_LG_SKIN_PROPERTY$ = "af|calendar-tr-provider-grouping-size-lg";
  this.$_CALENDAR_PROVIDER_GRID_SUB_ID$ = "proGrid";
  this.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$ = "prdrs";
  this.$_CALENDAR_PROVIDER_ID_EXPANDO$ = "data-afr-pid";
};
$goog$exportSymbol$$("AdfDhtmlCalendarPeer.InitSubclass", $AdfDhtmlCalendarPeer$$.$InitSubclass$);
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentContextMenu$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentContextMenu$$($componentEvent$$108$$) {
  var $eventTarget$$34$$ = $componentEvent$$108$$.$getNativeEventTarget$();
  if ($eventTarget$$34$$) {
    var $calendarRootElement$$ = this.$getDomElement$(), $activityRootElement_component$$734$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$, $eventTarget$$34$$);
    $activityRootElement_component$$734$$ && $calendarRootElement$$ != $activityRootElement_component$$734$$ ? $JSCompiler_StaticMethods__isBusyWithDifferentActivity$$(this, $activityRootElement_component$$734$$) ? $componentEvent$$108$$.cancel() : $JSCompiler_StaticMethods__handleActivityContextMenu$$(this, $componentEvent$$108$$, $calendarRootElement$$, $activityRootElement_component$$734$$, !1) : ($activityRootElement_component$$734$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, 
    $componentEvent$$108$$), $JSCompiler_StaticMethods__queueCalendarEvent$$(this, $activityRootElement_component$$734$$, $componentEvent$$108$$, $calendarRootElement$$, $eventTarget$$34$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_CONTEXT_MENU$) && this.$_showContextMenu$($activityRootElement_component$$734$$, $calendarRootElement$$, $componentEvent$$108$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_CONTEXT_MENU$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentContextMenu", {$HandleComponentContextMenu$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentContextMenu$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentMouseDown$$($componentEvent$$109$$) {
  var $eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$ = $componentEvent$$109$$.$getNativeEventTarget$(), $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$ = $AdfAgent$$.$AGENT$;
  delete this.$_eatMouseClick$;
  var $eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$ = $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.getAttribute($eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_TIME_INDICATOR_KEY$), $eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$ = $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.getAttribute($eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$, 
  $AdfDhtmlCalendarPeer$$.$_RESIZE_All_DAY_INDICATOR_KEY$);
  if ($componentEvent$$109$$.$isLeftButtonPressed$() && ($eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$ || $eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$)) {
    $JSCompiler_StaticMethods__hideActivityHoverPopup$$(this);
    if ($eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$) {
      var $eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$ = $componentEvent$$109$$.$getNativeEventTarget$(), $eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$ = $componentEvent$$109$$.$getNativeEvent$(), $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$ = $AdfAgent$$.$AGENT$, $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$ = this.$getComponent$(), $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ = 
      this.$getDomElement$();
      $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.$disableUserSelect$($alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$);
      var $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$ = $JSCompiler_StaticMethods__getParentActivity$$($alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$, $eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$);
      this.$_resizedActivity$ = $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$;
      var $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$ = $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$.firstChild.firstChild;
      this.$_resizedActivityInitHeight$ = $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$.clientHeight;
      this.$_resizedActivityInitWidth$ = $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$.clientWidth;
      this.$_resizedActivityInitHeightInEM$ = parseFloat($activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$.style.height);
      this.$_EMToPxRatio$ = this.$_resizedActivityInitHeightInEM$ / this.$_resizedActivityInitHeight$;
      this.$_resizeStartY$ = $eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$.clientY;
      this.$_resizeStartX$ = $eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$.clientX;
      $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$.style.height = this.$_resizedActivityInitHeight$ + "px";
      $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$.$_newHeight$ = this.$_resizedActivityInitHeight$;
      var $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$ = this.$_dayGridCellRowsContainer$;
      if (!$dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$) {
        $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$, $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$);
        $AdfAssert$$.$assertDomElement$($dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$);
        this.$_dayGridCellRowsContainer$ = $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$;
        -1 == $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$) && $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_DURATION$);
        $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$ = $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$.childNodes;
        for ($alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ = 0;$alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ < $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$.length;$alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$++) {
          if ($dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$ = $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$[$alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$], null != $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.getAttribute($dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$)) {
            this.$_minIncrementSize$ = $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$.clientHeight;
            break;
          }
        }
        this.$_dateTimeGridContainer$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
      }
      $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$(this, $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$) && ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$, $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$.clientHeight), this.$_gridTop$ = $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.$getElementTop$(this.$_dateTimeGridContainer$), 
      this.$_gridLeftBoundary$ = $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.$getElementLeft$(this.$_dateTimeGridContainer$), this.$_gridRightBoundary$ = $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.$getElementLeft$(this.$_dateTimeGridContainer$) + this.$_dateTimeGridContainer$.clientWidth, this.$_deltaDays$ = 0);
      this.$_scrollTopBeforeDrag$ = this.$_dateTimeGridContainer$.scrollTop;
      this.$_resizedActivityContainer$ = $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$;
      $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$.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$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$, this.$_activityResizeDragCallback$, this.$_activityResizeDropCallback$, this.$_activityResizeAbortCallback$);
    } else {
      $eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$ = $componentEvent$$109$$.$getNativeEventTarget$();
      $eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$ = $componentEvent$$109$$.$getNativeEvent$();
      $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$ = $AdfAgent$$.$AGENT$;
      $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$ = this.$getDomElement$();
      $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$.$disableUserSelect$($activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$);
      this.$_resizedActivity$ = $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$ = $JSCompiler_StaticMethods__getParentActivity$$($activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$, $eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$);
      this.$_resizedActivityInitWidthInPercent$ = $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.style.width;
      this.$_resizeStartX$ = $eventTarget$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$.clientX;
      if ($activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$, $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$, $AdfDhtmlCalendarPeer$$.$_MONTH_ROW_ID$)) {
        this.$_initMonthRowTop$ = $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$.$getElementTop$($activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$), this.$_monthRowHeight$ = $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$.clientHeight, this.$_deltaWeeks$ = 0;
      }
      $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ = this.$_alldayContainer$;
      $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ || ($alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, $componentEvent$$109$$), "month" == $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$.getView() ? $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ = 
      $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$ : ($activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$ = $AdfRichUIPeer$$.$CreateSubId$($alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), 
      $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ = $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$.getElementById($activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$)));
      $AdfAssert$$.$assertDomElement$($alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$);
      this.$_alldayContainer$ = $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$;
      var $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$ = Math.ceil(.005 * $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$.clientWidth), $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$ = $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$.clientWidth, 
      $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$ = $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$.$getElementLeft$($alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$), $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ = 
      $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$.clientWidth / 7, $activityX$$inline_1268$$ = $JSCompiler_StaticMethods__getActivityX$$($agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$, $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$);
      this.$_minX$ = $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$ ? $activityX$$inline_1268$$ - $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ + $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$ : $activityX$$inline_1268$$ + $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$ - 
      $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$;
      this.$_maxX$ = $dGCRContainer$$inline_1247_isRTL$$inline_1266_node$$inline_1250$$ ? $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$ + $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$ : $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$ + $alldayContainerWidth$$inline_1264_childNodes$$inline_1248_component$$inline_1243_component$$inline_1261$$ - 
      $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$;
      this.$_alldayContainerX$ = $agent$$inline_1256_alldayContainerX$$inline_1265_resizedActivity$$inline_1245$$;
      this.$_dayWidth$ = $alldayContainer$$inline_1260_calendarRootElement$$inline_1244_dayWidth$$inline_1267_i$$inline_1249$$;
      this.$_activityX$ = $activityX$$inline_1268$$;
      this.$_activityEndPadding$ = $activityEndPadding$$inline_1263_allDayId$$inline_1262_calendarRootElement$$inline_1257_monthRow$$inline_1259_resizedActivityContainer$$inline_1246$$;
      $AdfDomUtils$$.$addCSSClassName$($agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$, $AdfDhtmlCalendarPeer$$.$_DRAG_END_CLASS$);
      $agent$$174_agent$$inline_1242_resizedActivity$$inline_1258$$.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$$35_evt$$inline_1241_evt$$inline_1255_isAlldayResizeIndicator$$, this.$_alldayActivityResizeDragCallback$, this.$_alldayActivityResizeDropCallback$, this.$_alldayActivityResizeAbortCallback$);
    }
    $eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$.style.cursor = "default";
    this.$_activityResizeIndicator$ = $eventTarget$$inline_1240_eventTarget$$inline_1254_isTimeResizeIndicator$$;
    $componentEvent$$109$$.cancel();
    $componentEvent$$109$$.$stopBubbling$();
    this.$_eatMouseClick$ = !0;
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentMouseOver$$($componentEvent$$110_state$$27$$) {
  var $calendarRootElement$$1_isTimedActivityRegion$$ = this.$getDomElement$(), $clientId$$122_component$$735$$ = this.$getComponent$(), $eventTarget$$36$$ = $componentEvent$$110_state$$27$$.$getNativeEventTarget$(), $activityId$$8_activityRootElement$$1$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$1_isTimedActivityRegion$$, $eventTarget$$36$$);
  if ($activityId$$8_activityRootElement$$1$$ && null != $clientId$$122_component$$735$$.$getDragSource$() && !this.$_resizedActivity$) {
    var $activityHoverId_popup$$8_view$$inline_1273$$ = $clientId$$122_component$$735$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
    if ($activityHoverId_popup$$8_view$$inline_1273$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      var $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ = null != $AdfAgent$$.$AGENT$.getAttribute($activityId$$8_activityRootElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $isDuration$$inline_1275_timeout$$1$$ = null != $AdfAgent$$.$AGENT$.getAttribute($activityId$$8_activityRootElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$), $isDurationInBottomRegion$$inline_1276$$ = -1 == $clientId$$122_component$$735$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$);
      $isDuration$$inline_1275_timeout$$1$$ && $isDurationInBottomRegion$$inline_1276$$ && $activityHoverId_popup$$8_view$$inline_1273$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ && $activityHoverId_popup$$8_view$$inline_1273$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $AdfDomUtils$$.$containsCSSClassName$($activityId$$8_activityRootElement$$1$$, $AdfDhtmlCalendarPeer$$.$_MOVEABLE_CLASS$) || $AdfDomUtils$$.$addCSSClassName$($activityId$$8_activityRootElement$$1$$, 
      $AdfDhtmlCalendarPeer$$.$_MOVEABLE_CLASS$);
    }
  }
  if ($activityHoverId_popup$$8_view$$inline_1273$$ = $AdfAgent$$.$AGENT$.getAttribute($calendarRootElement$$1_isTimedActivityRegion$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_HOVER$)) {
    $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ = !1, 1 == $eventTarget$$36$$.nodeType && "IMG" == $eventTarget$$36$$.tagName && ($isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ = !0), $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ || ($isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($activityId$$8_activityRootElement$$1$$, $eventTarget$$36$$, $AdfDhtmlCalendarPeer$$.$_KILL_HOVER_INDICATOR_KEY$)), $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ ? 
    $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this) : $activityId$$8_activityRootElement$$1$$ && $calendarRootElement$$1_isTimedActivityRegion$$ != $activityId$$8_activityRootElement$$1$$ ? ($activityId$$8_activityRootElement$$1$$ = $activityId$$8_activityRootElement$$1$$.id, $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ = this.$_calendarActivityMouseId$, ($isDuration$$inline_1275_timeout$$1$$ = this.$_calendarActivityMouseTimeout$) && $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ && 
    $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ != $activityId$$8_activityRootElement$$1$$ && $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this), null != $isDuration$$inline_1275_timeout$$1$$ || this.$_resizedActivity$ || this.$_draggedActivity$ || ($activityHoverId_popup$$8_view$$inline_1273$$ = $clientId$$122_component$$735$$.$findComponent$($activityHoverId_popup$$8_view$$inline_1273$$), null != $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ && $isAllDay$$inline_1274_isNoHoverTarget_mouseId$$ == 
    $activityId$$8_activityRootElement$$1$$ && $activityHoverId_popup$$8_view$$inline_1273$$.$isPopupVisible$() || (this.$_calendarActivityMouseId$ = $activityId$$8_activityRootElement$$1$$, $clientId$$122_component$$735$$ = $clientId$$122_component$$735$$.$getClientId$(), $calendarRootElement$$1_isTimedActivityRegion$$ = null != $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$1_isTimedActivityRegion$$, $eventTarget$$36$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$), 
    $componentEvent$$110_state$$27$$ = {$componentId$:$clientId$$122_component$$735$$, $activityRootId$:$activityId$$8_activityRootElement$$1$$, $mousePosition$:{x:$componentEvent$$110_state$$27$$.$getPageX$(), y:$componentEvent$$110_state$$27$$.$getPageY$()}, $isInTimeRegion$:$calendarRootElement$$1_isTimedActivityRegion$$}, this.$_calendarActivityMouseTimeout$ = page.$scheduleTimer$(this, this.$_onMouseOverTimeout$, $componentEvent$$110_state$$27$$, 1E3)))) : null != this.$_calendarActivityMouseId$ && 
    $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentClick$$($componentEvent$$111$$) {
  this.$_eatMouseClick$ || $JSCompiler_StaticMethods__handleClickEvents$$(this, $componentEvent$$111$$, 1);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentDblClick$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentDblClick$$($componentEvent$$112$$) {
  $JSCompiler_StaticMethods__handleClickEvents$$(this, $componentEvent$$112$$, 2);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentDblClick", {$HandleComponentDblClick$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentDblClick$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentKeyDown$$($componentEvent$$113_keyStroke$$8$$) {
  var $domEvent$$12$$ = $componentEvent$$113_keyStroke$$8$$.$getNativeEvent$(), $keyCode$$39$$ = $domEvent$$12$$.keyCode;
  if ($AdfKeyStroke$$.$ENTER_KEY$ == $keyCode$$39$$ || $AdfKeyStroke$$.$M_KEY$ == $keyCode$$39$$) {
    var $calendarRootElement$$2$$ = this.$getDomElement$(), $component$$736$$ = this.$getComponent$(), $eventTarget$$37$$ = $componentEvent$$113_keyStroke$$8$$.$getNativeEventTarget$(), $activityRootElement$$2_displayChangeElement_newDate$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$2$$, $eventTarget$$37$$);
    if ($activityRootElement$$2_displayChangeElement_newDate$$ && $calendarRootElement$$2$$ != $activityRootElement$$2_displayChangeElement_newDate$$) {
      $JSCompiler_StaticMethods__isBusyWithDifferentActivity$$(this, $activityRootElement$$2_displayChangeElement_newDate$$) || ($AdfKeyStroke$$.$M_KEY$ == $keyCode$$39$$ && $domEvent$$12$$.ctrlKey && $domEvent$$12$$.altKey ? $JSCompiler_StaticMethods__handleActivityContextMenu$$(this, $componentEvent$$113_keyStroke$$8$$, $calendarRootElement$$2$$, $activityRootElement$$2_displayChangeElement_newDate$$, !0) : $AdfKeyStroke$$.$ENTER_KEY$ == $keyCode$$39$$ && ($componentEvent$$113_keyStroke$$8$$ = 
      $componentEvent$$113_keyStroke$$8$$.$getKeyStroke$(), $JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, $component$$736$$, $activityRootElement$$2_displayChangeElement_newDate$$, $componentEvent$$113_keyStroke$$8$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_KEY$), $JSCompiler_StaticMethods__launchPopupFacet$$(this, $component$$736$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$)));
    } else {
      if ($activityRootElement$$2_displayChangeElement_newDate$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$2$$, $eventTarget$$37$$, $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$$736$$, $activityRootElement$$2_displayChangeElement_newDate$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentKeyUp$$($componentEvent$$114$$) {
  var $calendarRootElement$$3$$ = this.$getDomElement$(), $eventTarget$$38$$ = $componentEvent$$114$$.$getNativeEventTarget$(), $activityRootElement$$3_providerTarget$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$3$$, $eventTarget$$38$$), $calendar$$1_clientId$$inline_1281$$ = this.$getComponent$(), $view$$9$$ = $calendar$$1_clientId$$inline_1281$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $component$$737$$ = this.$getComponent$(), $keyStroke$$9$$ = $componentEvent$$114$$.$getKeyStroke$(), 
  $keyCode$$40$$ = $componentEvent$$114$$.$getKeyCode$(), $providerId$$11$$, $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$;
  if ($JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ = null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$1_clientId$$inline_1281$$)) {
    a: {
      $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ = $eventTarget$$38$$;
      for (var $calendar$$1_clientId$$inline_1281$$ = $calendar$$1_clientId$$inline_1281$$.$getClientId$(), $activityGridContainerId$$inline_1282$$ = $AdfRichUIPeer$$.$CreateSubId$($calendar$$1_clientId$$inline_1281$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$), $root$$inline_1283$$ = this.$getDomElement$();$JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ && $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$.id != $calendar$$1_clientId$$inline_1281$$ && $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ != 
      $root$$inline_1283$$;) {
        if ($JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$.id == $activityGridContainerId$$inline_1282$$) {
          $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ = !0;
          break a;
        }
        $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ = $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$.parentNode;
      }
      $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ = !1;
    }
  }
  if ($JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$) {
    if (null != $AdfAgent$$.$AGENT$.getAttribute($eventTarget$$38$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$)) {
      $providerId$$11$$ = $AdfAgent$$.$AGENT$.getAttribute($eventTarget$$38$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
    } else {
      if (!$activityRootElement$$3_providerTarget$$ && $eventTarget$$38$$.parentNode) {
        for ($activityRootElement$$3_providerTarget$$ = $eventTarget$$38$$.parentNode, $JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$737$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$);$JSCompiler_temp$$70_providerContainerId_target$$inline_1280$$ != $activityRootElement$$3_providerTarget$$.id && !($providerId$$11$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$3_providerTarget$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$));) {
          $activityRootElement$$3_providerTarget$$ = $activityRootElement$$3_providerTarget$$.parentNode;
        }
      }
    }
  }
  if ($activityRootElement$$3_providerTarget$$ && $calendarRootElement$$3$$ != $activityRootElement$$3_providerTarget$$) {
    if (!$JSCompiler_StaticMethods__isBusyWithDifferentActivity$$(this, $activityRootElement$$3_providerTarget$$) && $AdfKeyStroke$$.$ENTER_KEY$ != $keyCode$$40$$ && $AdfKeyStroke$$.$SHIFT_KEY$ != $keyCode$$40$$) {
      if ($AdfKeyStroke$$.$TAB_KEY$ == $keyCode$$40$$ || $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $keyCode$$40$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $keyCode$$40$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$40$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$40$$) {
        if ($view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
          return $JSCompiler_StaticMethods__handleKeyUpForMonth$$(this, $keyCode$$40$$, $activityRootElement$$3_providerTarget$$, $componentEvent$$114$$);
        }
        if ($view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
          return $JSCompiler_StaticMethods__handleKeyUpForWeek$$(this, $keyCode$$40$$, $activityRootElement$$3_providerTarget$$, $componentEvent$$114$$, $providerId$$11$$);
        }
        if ($view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) {
          return $JSCompiler_StaticMethods__handleKeyUpForDay$$(this, $keyCode$$40$$, $activityRootElement$$3_providerTarget$$, $componentEvent$$114$$, $providerId$$11$$);
        }
        if ($view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
          return $JSCompiler_StaticMethods__handleKeyUpForList$$($keyCode$$40$$, $activityRootElement$$3_providerTarget$$, $componentEvent$$114$$);
        }
      }
      $JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, $component$$737$$, $activityRootElement$$3_providerTarget$$, $keyStroke$$9$$, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_KEY$);
      $AdfKeyStroke$$.$DELETE_KEY$ == $keyCode$$40$$ && $JSCompiler_StaticMethods__launchPopupFacet$$(this, $component$$737$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DELETE$);
    }
  } else {
    if (null != $AdfAgent$$.$AGENT$.getAttribute($eventTarget$$38$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$)) {
      return $view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ ? $JSCompiler_StaticMethods__handleKeyUpForDay$$(this, $keyCode$$40$$, $eventTarget$$38$$, $providerId$$11$$) : $view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ ? $JSCompiler_StaticMethods__handleKeyUpForWeek$$(this, $keyCode$$40$$, $eventTarget$$38$$, $providerId$$11$$) : $view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$ ? $JSCompiler_StaticMethods__handleKeyUpForMonth$$(this, $keyCode$$40$$, $eventTarget$$38$$) : $view$$9$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$ ? 
      $JSCompiler_StaticMethods__handleKeyUpForList$$($keyCode$$40$$, $eventTarget$$38$$) : !1;
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentAction$ = function $$AdfDhtmlCalendarPeer$$$$$HandleComponentAction$$($componentEvent$$115$$) {
  var $component$$738$$ = this.$getComponent$(), $calId$$ = $component$$738$$.$getClientId$(), $eventId$$1$$ = $JSCompiler_StaticMethods__getComponentEventSource$$(this, $componentEvent$$115$$).$getClientId$();
  $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_DAY$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$115$$, $component$$738$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_WEEK$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$115$$, $component$$738$$, $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) : 
  $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_MONTH$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$115$$, $component$$738$$, $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_VIEW_BUTTON_ID_LIST$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$115$$, $component$$738$$, $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) : 
  $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_TODAY$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$115$$, $component$$738$$, null, $AdfCalendarDisplayChangeEvent$$.$DATE_TODAY$) : $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_NEXT$ == $eventId$$1$$ ? $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$115$$, $component$$738$$, null, $AdfCalendarDisplayChangeEvent$$.$DATE_NEXT$) : 
  $calId$$ + $AdfDhtmlCalendarPeer$$.$_NAMING_SEP$ + $AdfDhtmlCalendarPeer$$.$_DATE_BUTTON_ID_PREVIOUS$ == $eventId$$1$$ && $JSCompiler_StaticMethods__actionToDisplayChange$$(this, $componentEvent$$115$$, $component$$738$$, null, $AdfCalendarDisplayChangeEvent$$.$DATE_PREVIOUS$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.HandleComponentAction", {$HandleComponentAction$:$AdfDhtmlCalendarPeer$$.prototype.$HandleComponentAction$});
$AdfDhtmlCalendarPeer$$.prototype.$IsBusy$ = function $$AdfDhtmlCalendarPeer$$$$$IsBusy$$() {
  return this.$_isBusy$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.IsBusy", {$IsBusy$:$AdfDhtmlCalendarPeer$$.prototype.$IsBusy$});
$AdfDhtmlCalendarPeer$$.prototype.$SetBusy$ = function $$AdfDhtmlCalendarPeer$$$$$SetBusy$$($isBusy$$6$$) {
  this.$_isBusy$ = $isBusy$$6$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.SetBusy", {$SetBusy$:$AdfDhtmlCalendarPeer$$.prototype.$SetBusy$});
$AdfDhtmlCalendarPeer$$.prototype.$handleMonthOverflowLinkClick$ = function $$AdfDhtmlCalendarPeer$$$$$handleMonthOverflowLinkClick$$() {
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.handleMonthOverflowLinkClick", {$handleMonthOverflowLinkClick$:$AdfDhtmlCalendarPeer$$.prototype.$handleMonthOverflowLinkClick$});
$AdfDhtmlCalendarPeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlCalendarPeer$$$$$needsResizeNotify$$() {
  var $view$$10$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  if ($view$$10$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$ || $view$$10$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$10$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ || $view$$10$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
    return !0;
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlCalendarPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlCalendarPeer$$.prototype.$resizeNotify$ = function $$AdfDhtmlCalendarPeer$$$$$resizeNotify$$($component$$739$$, $oldWidth$$5$$, $oldHeight$$5$$, $newWidth$$6$$, $newHeight$$7$$) {
  var $view$$11$$ = this.$getComponent$().$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  $oldWidth$$5$$ != $newWidth$$6$$ && ($view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$ ? $AdfDhtmlCalendarPeer$$.$_adjustViewSizeState$(this.$getDomElement$(), $newWidth$$6$$) : null == $JSCompiler_StaticMethods__getProviderGridElement$$($component$$739$$) || $view$$11$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ && $view$$11$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $AdfDhtmlCalendarPeer$$.$_adjustProviderGroupingViewSizeState$(this.$getDomElement$(), $newWidth$$6$$));
  if (null != $JSCompiler_StaticMethods__getProviderGridElement$$($component$$739$$)) {
    for (var $agent$$inline_1287$$ = $AdfAgent$$.$AGENT$, $clientId$$inline_1288$$ = $component$$739$$.$getClientId$(), $providersCntId$$inline_1289$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1288$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $providersContainer$$inline_1290$$ = $agent$$inline_1287$$.getElementById($providersCntId$$inline_1289$$), $providerWrapperNodes$$inline_1291$$ = $AdfDomUtils$$.$getChildElements$($providersContainer$$inline_1290$$), $maxProviderWidth$$inline_1292$$ = 
    0, $providerheight$$inline_1293$$ = {}, $i$$inline_1294$$ = 0;$i$$inline_1294$$ < $providerWrapperNodes$$inline_1291$$.length;$i$$inline_1294$$++) {
      var $providerWrapperNode$$inline_1295$$ = $providerWrapperNodes$$inline_1291$$[$i$$inline_1294$$], $pid$$inline_1296$$ = $agent$$inline_1287$$.getAttribute($providerWrapperNode$$inline_1295$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
      $providerheight$$inline_1293$$[$pid$$inline_1296$$] = Math.round($providerWrapperNode$$inline_1295$$.getBoundingClientRect().height);
      $maxProviderWidth$$inline_1292$$ = Math.max($maxProviderWidth$$inline_1292$$, Math.round($providerWrapperNode$$inline_1295$$.getBoundingClientRect().width));
    }
    providerHeaderSubid = $component$$739$$.getView() == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ ? $AdfDhtmlCalendarPeer$$.$_DAY_HEADER_PROVIDER_SUB_ID$ : $AdfDhtmlCalendarPeer$$.$_WEEK_HEADER_PROVIDER_SUB_ID$;
    var $providerHeaderCntId$$inline_1297$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1288$$, providerHeaderSubid), $providerHeaderContainer$$inline_1298$$ = $AdfAgent$$.$AGENT$.getElementById($providerHeaderCntId$$inline_1297$$), $maxProviderWidth$$inline_1292$$ = Math.max($maxProviderWidth$$inline_1292$$, Math.round($providerHeaderContainer$$inline_1298$$.getBoundingClientRect().width));
    $providerHeaderContainer$$inline_1298$$.style.width = $maxProviderWidth$$inline_1292$$ + "px";
    var $dayHeaderSubid$$inline_1299$$ = $component$$739$$.getView() == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ ? $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_HEADER_SUB_ID$ : $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_HEADER_SUB_ID$, $dayHeaderCntId$$inline_1300$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1288$$, $dayHeaderSubid$$inline_1299$$), $dayHeaderContainer$$inline_1301$$ = $AdfAgent$$.$AGENT$.getElementById($dayHeaderCntId$$inline_1300$$), $headerComputedStyle$$inline_1302$$ = window.getComputedStyle($dayHeaderContainer$$inline_1301$$);
    $dayHeaderContainer$$inline_1301$$.style.width = "calc(100% - " + ($maxProviderWidth$$inline_1292$$ + parseFloat($headerComputedStyle$$inline_1302$$.marginRight) + parseFloat($headerComputedStyle$$inline_1302$$.marginLeft)) + "px)";
    var $providersGroupActsContId$$inline_1303$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$739$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$), $providersGroupActsContainer$$inline_1304$$ = $AdfAgent$$.$AGENT$.getElementById($providersGroupActsContId$$inline_1303$$), $providerActGroups$$inline_1305$$ = $AdfDomUtils$$.$getChildElementsByMatch$($providersGroupActsContainer$$inline_1304$$, $AdfDhtmlCalendarPeer$$.$_providerWrapperFilter$, "div", null);
    $providerActGroups$$inline_1305$$ || ($providerActGroups$$inline_1305$$ = []);
    for ($i$$inline_1294$$ = 0;$i$$inline_1294$$ < $providerActGroups$$inline_1305$$.length;$i$$inline_1294$$++) {
      var $providerActGroup$$inline_1306$$ = $providerActGroups$$inline_1305$$[$i$$inline_1294$$], $pid$$inline_1296$$ = $agent$$inline_1287$$.getAttribute($providerActGroup$$inline_1306$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
      $providerheight$$inline_1293$$[$pid$$inline_1296$$] = Math.max($providerheight$$inline_1293$$[$pid$$inline_1296$$], Math.round($providerActGroup$$inline_1306$$.getBoundingClientRect().height));
    }
    for ($i$$inline_1294$$ = 0;$i$$inline_1294$$ < $providerWrapperNodes$$inline_1291$$.length;$i$$inline_1294$$++) {
      $providerWrapperNode$$inline_1295$$ = $providerWrapperNodes$$inline_1291$$[$i$$inline_1294$$], $pid$$inline_1296$$ = $agent$$inline_1287$$.getAttribute($providerWrapperNode$$inline_1295$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $providerWrapperNode$$inline_1295$$.style.width = $maxProviderWidth$$inline_1292$$ + "px", $providerWrapperNode$$inline_1295$$.style.height = $providerheight$$inline_1293$$[$pid$$inline_1296$$] + "px";
    }
    $providersContainer$$inline_1290$$.style.width = $maxProviderWidth$$inline_1292$$ + "px";
    $providersContainer$$inline_1290$$.parentNode.style.width = $maxProviderWidth$$inline_1292$$ + "px";
    for ($i$$inline_1294$$ = 0;$i$$inline_1294$$ < $providerActGroups$$inline_1305$$.length;$i$$inline_1294$$++) {
      $providerActGroup$$inline_1306$$ = $providerActGroups$$inline_1305$$[$i$$inline_1294$$], $pid$$inline_1296$$ = $agent$$inline_1287$$.getAttribute($providerActGroup$$inline_1306$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $providerActGroup$$inline_1306$$.style.height = $providerheight$$inline_1293$$[$pid$$inline_1296$$] + "px";
    }
  }
  if ($newHeight$$7$$ != $oldHeight$$5$$) {
    if ($view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
      var $page$$inline_1309$$ = $AdfPage$$.$PAGE$, $calendar$$inline_1310$$ = this.$getComponent$();
      if ("auto" == $calendar$$inline_1310$$.getSplitterPosition()) {
        var $clientId$$inline_1311$$ = $calendar$$inline_1310$$.$getClientId$();
        this.$_splitterComponent$ = $page$$inline_1309$$.$findComponent$(this.$_splitterid$);
        var $agent$$inline_1312$$ = $AdfAgent$$.$AGENT$, $allDaySubId$$inline_1313$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1311$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), $allDayActContainer$$inline_1314$$ = $agent$$inline_1312$$.getElementById($allDaySubId$$inline_1313$$);
        if ($allDayActContainer$$inline_1314$$) {
          var $splitterDOM$$inline_1315$$ = $agent$$inline_1312$$.getElementById(this.$_splitterid$), $maxAllDayActsHeight$$inline_1316$$ = Math.floor(.4 * $splitterDOM$$inline_1315$$.offsetHeight);
          if (null == this.$_EMToPxRatio$) {
            var $viewRoot$$inline_1317$$ = $splitterDOM$$inline_1315$$.parentNode;
            this.$_EMToPxRatio$ = parseFloat($viewRoot$$inline_1317$$.style.top) / $viewRoot$$inline_1317$$.offsetTop;
          }
          var $allDayActContStretchedHeight$$inline_1318$$ = $AdfDhtmlCalendarPeer$$.$_PADDING_AFTER_ALL_DAY_ACTIVITIES$, $allDayActivityDOMs$$inline_1319$$ = $AdfDomUtils$$.$getChildElements$($allDayActContainer$$inline_1314$$);
          if ($allDayActivityDOMs$$inline_1319$$) {
            var $length$$inline_1320$$ = $allDayActivityDOMs$$inline_1319$$.length, $maxTopOffset$$inline_1321$$ = 0, $activityHeight$$inline_1322$$ = 0;
            if (1 == this.$_splitterComponent$.getCollapsed()) {
              var $splitterFirstFacet$$inline_1323$$ = $AdfDomUtils$$.$getFirstChildElement$($splitterDOM$$inline_1315$$);
              $splitterFirstFacet$$inline_1323$$.style.visibility = "hidden";
              $splitterFirstFacet$$inline_1323$$.style.display = "";
            }
            for (var $i$$inline_1324$$ = 0;$i$$inline_1324$$ < $length$$inline_1320$$;$i$$inline_1324$$++) {
              var $domElement$$inline_1325$$ = $allDayActivityDOMs$$inline_1319$$[$i$$inline_1324$$];
              if ("true" == $agent$$inline_1312$$.getAttribute($domElement$$inline_1325$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$)) {
                var $activityTopOffset$$inline_1326$$ = $domElement$$inline_1325$$.offsetTop;
                $activityTopOffset$$inline_1326$$ > $maxTopOffset$$inline_1321$$ && ($maxTopOffset$$inline_1321$$ = $activityTopOffset$$inline_1326$$);
                0 == $activityHeight$$inline_1322$$ && ($activityHeight$$inline_1322$$ = $domElement$$inline_1325$$.offsetHeight);
              }
            }
            1 == this.$_splitterComponent$.getCollapsed() && ($splitterFirstFacet$$inline_1323$$.style.display = "none", $splitterFirstFacet$$inline_1323$$.style.visibility = "");
            $allDayActContStretchedHeight$$inline_1318$$ += $maxTopOffset$$inline_1321$$ + $activityHeight$$inline_1322$$;
          }
          var $newSplitterPos$$inline_1327$$ = Math.min($maxAllDayActsHeight$$inline_1316$$, $allDayActContStretchedHeight$$inline_1318$$);
          $agent$$inline_1312$$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$ && ($newSplitterPos$$inline_1327$$ = Math.max(36, $newSplitterPos$$inline_1327$$));
          this.$_splitterComponent$.getSplitterPosition() != $newSplitterPos$$inline_1327$$ && $page$$inline_1309$$.$scheduleTimer$(this, this.$_setSplitterPositionCallback$, $newSplitterPos$$inline_1327$$, 0);
        }
      }
      if (-1 == this.$getComponent$().getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$)) {
        var $durGridContainer$$inline_1330$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
        if ($durGridContainer$$inline_1330$$) {
          for (var $timeActivityContainer$$inline_1331$$ = $AdfDomUtils$$.$getChildElementByAttributeValue$($durGridContainer$$inline_1330$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$, "true", "div"), $containerHeight$$inline_1332$$ = $timeActivityContainer$$inline_1331$$.scrollHeight, $potentialDayCellNodes$$inline_1333$$ = $timeActivityContainer$$inline_1331$$.childNodes, $i$$inline_1334$$ = 0;$i$$inline_1334$$ < $potentialDayCellNodes$$inline_1333$$.length;$i$$inline_1334$$++) {
            var $dayCellNode$$inline_1335$$ = $potentialDayCellNodes$$inline_1333$$[$i$$inline_1334$$];
            null == $dayCellNode$$inline_1335$$.getAttribute($AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$) && ($dayCellNode$$inline_1335$$.style.minHeight = $containerHeight$$inline_1332$$ + "px", $dayCellNode$$inline_1335$$.style.height = "100%");
          }
        }
      }
    } else {
      if ($view$$11$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
        var $isRTL$$inline_1340$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $isShrinking$$inline_1341$$ = null == $oldHeight$$5$$ || $newHeight$$7$$ < $oldHeight$$5$$, $calendar$$inline_1342$$ = this.$getComponent$(), $clientId$$inline_1343$$ = $calendar$$inline_1342$$.$getClientId$(), $monthGridId$$inline_1344$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1343$$, $AdfDhtmlCalendarPeer$$.$_MONTH_GRID_ID$), $monthGrid$$inline_1345$$ = $AdfAgent$$.$AGENT$.getElementById($monthGridId$$inline_1344$$);
        if ($monthGrid$$inline_1345$$) {
          for (var $monthRows$$inline_1346$$ = $monthGrid$$inline_1345$$.childNodes, $numRows$$inline_1347$$ = $monthRows$$inline_1346$$.length, $monthHeaderId$$inline_1348$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_1343$$, $AdfDhtmlCalendarPeer$$.$_MONTH_HEADER_ID$), $monthHeader$$inline_1349$$ = $AdfAgent$$.$AGENT$.getElementById($monthHeaderId$$inline_1348$$), $gridInfo$$inline_1350$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$($monthGrid$$inline_1345$$, $monthHeader$$inline_1349$$), 
          $i$$inline_1351$$ = 0;$i$$inline_1351$$ < $numRows$$inline_1347$$;$i$$inline_1351$$++) {
            for (var $currDaysArray$$inline_1352$$ = Array($gridInfo$$inline_1350$$.$numDaysInWeek$), $overflowAnchorArr$$inline_1353$$ = Array($gridInfo$$inline_1350$$.$numDaysInWeek$), $firstHiddenActArr$$inline_1354$$ = Array($gridInfo$$inline_1350$$.$numDaysInWeek$), $overflowLinkArr$$inline_1355$$ = Array($gridInfo$$inline_1350$$.$numDaysInWeek$), $prevOverflowInfo$$inline_1356$$ = Array($gridInfo$$inline_1350$$.$numDaysInWeek$), $overflowDeltaInfo$$inline_1357$$ = Array($gridInfo$$inline_1350$$.$numDaysInWeek$), 
            $d$$inline_1358$$ = 0;$d$$inline_1358$$ < $gridInfo$$inline_1350$$.$numDaysInWeek$;$d$$inline_1358$$++) {
              $overflowDeltaInfo$$inline_1357$$[$d$$inline_1358$$] = 0;
            }
            for (var $row$$inline_1359$$ = $monthRows$$inline_1346$$[$i$$inline_1351$$], $monthRowChildren$$inline_1360$$ = $row$$inline_1359$$.childNodes, $numEntries$$inline_1361$$ = $monthRowChildren$$inline_1360$$.length, $actsPerDayOfWeek$$inline_1362$$ = Array($gridInfo$$inline_1350$$.$numDaysInWeek$), $c$$inline_1363$$ = 0;$c$$inline_1363$$ < $gridInfo$$inline_1350$$.$numDaysInWeek$;$c$$inline_1363$$++) {
              $actsPerDayOfWeek$$inline_1362$$[$c$$inline_1363$$] = 0;
            }
            for ($c$$inline_1363$$ = 0;$c$$inline_1363$$ < $monthRowChildren$$inline_1360$$.length;$c$$inline_1363$$++) {
              var $col$$inline_1364$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1360$$[$c$$inline_1363$$], $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$));
              if (!isNaN($col$$inline_1364$$)) {
                var $isAllDayAct$$inline_1365$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1360$$[$c$$inline_1363$$], $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $isTimedActWrapper$$inline_1366$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1360$$[$c$$inline_1363$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$);
                if ($isAllDayAct$$inline_1365$$) {
                  for (var $actInfo$$inline_1367$$ = $JSCompiler_StaticMethods__getActivityInfo$$($monthRowChildren$$inline_1360$$[$c$$inline_1363$$], $gridInfo$$inline_1350$$), $j$$inline_1368$$ = 0;$j$$inline_1368$$ < $actInfo$$inline_1367$$.$activityLength$;$j$$inline_1368$$++) {
                    $actsPerDayOfWeek$$inline_1362$$[$actInfo$$inline_1367$$.$startDay$ + $j$$inline_1368$$]++;
                  }
                } else {
                  if ($isTimedActWrapper$$inline_1366$$) {
                    for (var $timedActWrapper$$inline_1369$$ = $monthRowChildren$$inline_1360$$[$c$$inline_1363$$], $d$$inline_1358$$ = 0;$d$$inline_1358$$ < $timedActWrapper$$inline_1369$$.children.length;$d$$inline_1358$$++) {
                      for ($actInfo$$inline_1367$$ = $JSCompiler_StaticMethods__getActivityInfo$$($timedActWrapper$$inline_1369$$.children[$d$$inline_1358$$], $gridInfo$$inline_1350$$), $j$$inline_1368$$ = 0;$j$$inline_1368$$ < $actInfo$$inline_1367$$.$activityLength$;$j$$inline_1368$$++) {
                        $actsPerDayOfWeek$$inline_1362$$[$actInfo$$inline_1367$$.$startDay$ + $j$$inline_1368$$]++;
                      }
                    }
                  }
                }
              }
            }
            for ($j$$inline_1368$$ = 0;$j$$inline_1368$$ < $numEntries$$inline_1361$$;$j$$inline_1368$$++) {
              var $isAllDayAct$$inline_1365$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1360$$[$j$$inline_1368$$], $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $allDayActivity$$inline_1370$$, $isTimedActWrapper$$inline_1366$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1360$$[$j$$inline_1368$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$), $isOverflowLink$$inline_1371$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1360$$[$j$$inline_1368$$], 
              $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$), $currIndex$$inline_1372$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$inline_1350$$, $monthRowChildren$$inline_1360$$[$j$$inline_1368$$]);
              if ($isAllDayAct$$inline_1365$$) {
                $allDayActivity$$inline_1370$$ = $monthRowChildren$$inline_1360$$[$j$$inline_1368$$], null == $gridInfo$$inline_1350$$.$activityInfo$ && $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($allDayActivity$$inline_1370$$, $gridInfo$$inline_1350$$);
              } else {
                if ($isTimedActWrapper$$inline_1366$$) {
                  var $sampleTimedActivity$$inline_1373$$ = $monthRowChildren$$inline_1360$$[$j$$inline_1368$$].childNodes[0];
                  null == $gridInfo$$inline_1350$$.$activityInfo$ && $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($sampleTimedActivity$$inline_1373$$, $gridInfo$$inline_1350$$);
                } else {
                  if ($isOverflowLink$$inline_1371$$) {
                    var $numOverflow$$inline_1374$$ = $AdfAgent$$.$AGENT$.getAttribute($monthRowChildren$$inline_1360$$[$j$$inline_1368$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_NUM_OVERFLOW$);
                    $prevOverflowInfo$$inline_1356$$[$currIndex$$inline_1372$$] = $numOverflow$$inline_1374$$;
                    $row$$inline_1359$$.removeChild($monthRowChildren$$inline_1360$$[$j$$inline_1368$$]);
                    $j$$inline_1368$$--;
                    $numEntries$$inline_1361$$--;
                    continue;
                  } else {
                    $currDaysArray$$inline_1352$$[$currIndex$$inline_1372$$] = $monthRowChildren$$inline_1360$$[$j$$inline_1368$$];
                  }
                }
              }
              if ($isAllDayAct$$inline_1365$$ || $isTimedActWrapper$$inline_1366$$ || $isOverflowLink$$inline_1371$$) {
                if ($isShrinking$$inline_1341$$) {
                  var $rowNum$$inline_1375$$, $colNum$$inline_1376$$, $totalActivitiesInCell$$inline_1377$$, $availableDayCellHeight$$inline_1378$$ = $gridInfo$$inline_1350$$.$dayCellHt$ - ($gridInfo$$inline_1350$$.$dayHeaderHt$ + $gridInfo$$inline_1350$$.$activityInfo$.$spacerHt$);
                  if ($isAllDayAct$$inline_1365$$) {
                    $allDayActivity$$inline_1370$$ = $monthRowChildren$$inline_1360$$[$j$$inline_1368$$];
                    $rowNum$$inline_1375$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1370$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$));
                    $colNum$$inline_1376$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1370$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$));
                    $totalActivitiesInCell$$inline_1377$$ = $actsPerDayOfWeek$$inline_1362$$[$colNum$$inline_1376$$];
                    var $currentActivityStackHeight$$inline_1379$$ = ($rowNum$$inline_1375$$ + 1) * $gridInfo$$inline_1350$$.$activityInfo$.$activityHt$;
                    if ($rowNum$$inline_1375$$ >= $gridInfo$$inline_1350$$.$maxNumActivities$ || 1 < $totalActivitiesInCell$$inline_1377$$ && $currentActivityStackHeight$$inline_1379$$ + $gridInfo$$inline_1350$$.$activityInfo$.$overflowHt$ >= $availableDayCellHeight$$inline_1378$$) {
                      "none" != $allDayActivity$$inline_1370$$.style.display && $JSCompiler_StaticMethods__hideMonthGridActivity$$($allDayActivity$$inline_1370$$, $gridInfo$$inline_1350$$, $overflowDeltaInfo$$inline_1357$$), null == $overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$] && ($overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$] = $allDayActivity$$inline_1370$$), null == $firstHiddenActArr$$inline_1354$$[$currIndex$$inline_1372$$] && ($firstHiddenActArr$$inline_1354$$[$currIndex$$inline_1372$$] = 
                      $allDayActivity$$inline_1370$$);
                    }
                  } else {
                    if ($isTimedActWrapper$$inline_1366$$) {
                      $timedActWrapper$$inline_1369$$ = $monthRowChildren$$inline_1360$$[$j$$inline_1368$$];
                      $colNum$$inline_1376$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($timedActWrapper$$inline_1369$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$));
                      $totalActivitiesInCell$$inline_1377$$ = $actsPerDayOfWeek$$inline_1362$$[$colNum$$inline_1376$$];
                      for (var $numTimedActs$$inline_1380$$ = $timedActWrapper$$inline_1369$$.childNodes.length, $numHidden$$inline_1381$$ = 0, $k$$inline_1382$$ = 0;$k$$inline_1382$$ < $numTimedActs$$inline_1380$$;$k$$inline_1382$$++) {
                        var $timedAct$$inline_1383$$ = $timedActWrapper$$inline_1369$$.childNodes[$k$$inline_1382$$];
                        $rowNum$$inline_1375$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($timedAct$$inline_1383$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$));
                        $currentActivityStackHeight$$inline_1379$$ = ($rowNum$$inline_1375$$ + 1) * $gridInfo$$inline_1350$$.$activityInfo$.$activityHt$;
                        if ($rowNum$$inline_1375$$ >= $gridInfo$$inline_1350$$.$maxNumActivities$ || 1 < $totalActivitiesInCell$$inline_1377$$ && $currentActivityStackHeight$$inline_1379$$ + $gridInfo$$inline_1350$$.$activityInfo$.$overflowHt$ >= $availableDayCellHeight$$inline_1378$$) {
                          "none" != $timedAct$$inline_1383$$.style.display && $JSCompiler_StaticMethods__hideMonthGridActivity$$($timedAct$$inline_1383$$, $gridInfo$$inline_1350$$, $overflowDeltaInfo$$inline_1357$$), $numHidden$$inline_1381$$++, null == $firstHiddenActArr$$inline_1354$$[$currIndex$$inline_1372$$] && ($firstHiddenActArr$$inline_1354$$[$currIndex$$inline_1372$$] = $timedAct$$inline_1383$$);
                        }
                      }
                      if (null == $overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$]) {
                        if ($numHidden$$inline_1381$$ == $numTimedActs$$inline_1380$$) {
                          $overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$] = $timedActWrapper$$inline_1369$$;
                        } else {
                          if (0 < $numHidden$$inline_1381$$) {
                            for (var $nextSibling$$inline_1384$$ = $AdfDomUtils$$.$getNextElement$($timedActWrapper$$inline_1369$$);null != $AdfAgent$$.$AGENT$.getAttribute($nextSibling$$inline_1384$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);) {
                              $nextSibling$$inline_1384$$ = $AdfDomUtils$$.$getNextElement$($nextSibling$$inline_1384$$);
                            }
                            $overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$] = $nextSibling$$inline_1384$$;
                          }
                        }
                      }
                    }
                  }
                } else {
                  if ($availableDayCellHeight$$inline_1378$$ = $gridInfo$$inline_1350$$.$dayCellHt$ - ($gridInfo$$inline_1350$$.$dayHeaderHt$ + $gridInfo$$inline_1350$$.$activityInfo$.$spacerHt$), $isAllDayAct$$inline_1365$$) {
                    $allDayActivity$$inline_1370$$ = $monthRowChildren$$inline_1360$$[$j$$inline_1368$$], $rowNum$$inline_1375$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1370$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$)), $AdfAgent$$.$AGENT$.getAttribute($allDayActivity$$inline_1370$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$), $currentActivityStackHeight$$inline_1379$$ = ($rowNum$$inline_1375$$ + 1) * $gridInfo$$inline_1350$$.$activityInfo$.$activityHt$, $rowNum$$inline_1375$$ < 
                    $gridInfo$$inline_1350$$.$maxNumActivities$ && $currentActivityStackHeight$$inline_1379$$ + $gridInfo$$inline_1350$$.$activityInfo$.$overflowHt$ < $availableDayCellHeight$$inline_1378$$ ? "none" == $allDayActivity$$inline_1370$$.style.display && $JSCompiler_StaticMethods__showMonthGridActivity$$($allDayActivity$$inline_1370$$, $gridInfo$$inline_1350$$, $overflowDeltaInfo$$inline_1357$$) : (null == $overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$] && ($overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$] = 
                    $allDayActivity$$inline_1370$$), null == $firstHiddenActArr$$inline_1354$$[$currIndex$$inline_1372$$] && ($firstHiddenActArr$$inline_1354$$[$currIndex$$inline_1372$$] = $allDayActivity$$inline_1370$$));
                  } else {
                    if ($isTimedActWrapper$$inline_1366$$) {
                      var $timedActWrapper$$inline_1369$$ = $monthRowChildren$$inline_1360$$[$j$$inline_1368$$], $numHiddenInReshow$$inline_1385$$ = 0;
                      $AdfAgent$$.$AGENT$.getAttribute($timedActWrapper$$inline_1369$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
                      for (var $numActs$$inline_1386$$ = $timedActWrapper$$inline_1369$$.childNodes.length, $l$$inline_1387$$ = 0;$l$$inline_1387$$ < $numActs$$inline_1386$$;$l$$inline_1387$$++) {
                        var $act$$inline_1388$$ = $timedActWrapper$$inline_1369$$.childNodes[$l$$inline_1387$$];
                        $rowNum$$inline_1375$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($act$$inline_1388$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$));
                        $currentActivityStackHeight$$inline_1379$$ = ($rowNum$$inline_1375$$ + 1) * $gridInfo$$inline_1350$$.$activityInfo$.$activityHt$;
                        $rowNum$$inline_1375$$ < $gridInfo$$inline_1350$$.$maxNumActivities$ && $currentActivityStackHeight$$inline_1379$$ + $gridInfo$$inline_1350$$.$activityInfo$.$overflowHt$ < $availableDayCellHeight$$inline_1378$$ ? "none" == $act$$inline_1388$$.style.display && $JSCompiler_StaticMethods__showMonthGridActivity$$($act$$inline_1388$$, $gridInfo$$inline_1350$$, $overflowDeltaInfo$$inline_1357$$) : (null == $firstHiddenActArr$$inline_1354$$[$currIndex$$inline_1372$$] && ($firstHiddenActArr$$inline_1354$$[$currIndex$$inline_1372$$] = 
                        $act$$inline_1388$$), $numHiddenInReshow$$inline_1385$$++);
                      }
                      if (null == $overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$]) {
                        if ($numHiddenInReshow$$inline_1385$$ == $numActs$$inline_1386$$) {
                          $overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$] = $timedActWrapper$$inline_1369$$;
                        } else {
                          if (0 < $numHiddenInReshow$$inline_1385$$) {
                            for ($nextSibling$$inline_1384$$ = $AdfDomUtils$$.$getNextElement$($timedActWrapper$$inline_1369$$);null != $AdfAgent$$.$AGENT$.getAttribute($nextSibling$$inline_1384$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);) {
                              $nextSibling$$inline_1384$$ = $AdfDomUtils$$.$getNextElement$($nextSibling$$inline_1384$$);
                            }
                            $overflowAnchorArr$$inline_1353$$[$currIndex$$inline_1372$$] = $nextSibling$$inline_1384$$;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
            for (var $m$$inline_1389$$ = 0;$m$$inline_1389$$ < $gridInfo$$inline_1350$$.$numDaysInWeek$;$m$$inline_1389$$++) {
              var $overflowAnchorElem$$inline_1390$$ = $overflowAnchorArr$$inline_1353$$[$m$$inline_1389$$], $numOverflowActs$$inline_1391$$ = (parseInt($prevOverflowInfo$$inline_1356$$[$m$$inline_1389$$]) || 0) + (parseInt($overflowDeltaInfo$$inline_1357$$[$m$$inline_1389$$]) || 0);
              if (0 < $numOverflowActs$$inline_1391$$) {
                for (var $reshowActivity$$inline_1392$$ = null != $firstHiddenActArr$$inline_1354$$[$m$$inline_1389$$], $actInfo$$inline_1367$$ = $JSCompiler_StaticMethods__getActivityInfo$$($firstHiddenActArr$$inline_1354$$[$m$$inline_1389$$], $gridInfo$$inline_1350$$), $n$$inline_1393$$ = 0;$reshowActivity$$inline_1392$$ && $n$$inline_1393$$ < $actInfo$$inline_1367$$.$activityLength$;$n$$inline_1393$$++) {
                  1 < (parseInt($prevOverflowInfo$$inline_1356$$[$m$$inline_1389$$ + $n$$inline_1393$$]) || 0) + (parseInt($overflowDeltaInfo$$inline_1357$$[$m$$inline_1389$$ + $n$$inline_1393$$]) || 0) && ($reshowActivity$$inline_1392$$ = !1);
                }
                if (1 == $reshowActivity$$inline_1392$$ && $AdfAgent$$.$AGENT$.getAttribute($firstHiddenActArr$$inline_1354$$[$m$$inline_1389$$], $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$) < $gridInfo$$inline_1350$$.$maxNumActivities$) {
                  $firstHiddenActArr$$inline_1354$$[$m$$inline_1389$$].style.display = $firstHiddenActArr$$inline_1354$$[$m$$inline_1389$$].style.$_display$ || "";
                  for (var $na$$inline_1394$$ = 0;$na$$inline_1394$$ < $actInfo$$inline_1367$$.$activityLength$;$na$$inline_1394$$++) {
                    --$overflowDeltaInfo$$inline_1357$$[$m$$inline_1389$$ + $na$$inline_1394$$];
                  }
                } else {
                  if (null == $overflowAnchorElem$$inline_1390$$) {
                    for (var $pi$$inline_1395$$ = $m$$inline_1389$$ - 1;0 <= $pi$$inline_1395$$;$pi$$inline_1395$$--) {
                      if (null != $overflowLinkArr$$inline_1355$$[$pi$$inline_1395$$]) {
                        $overflowAnchorElem$$inline_1390$$ = $AdfDomUtils$$.$getNextElement$($overflowLinkArr$$inline_1355$$[$pi$$inline_1395$$]);
                        break;
                      }
                    }
                  }
                  var $olink$$inline_1396$$, $calendar$$inline_5635$$ = $calendar$$inline_1342$$, $numOverflow$$inline_5636$$ = $numOverflowActs$$inline_1391$$, $currDayDom$$inline_5637$$ = $currDaysArray$$inline_1352$$[$m$$inline_1389$$], $gridInfo$$inline_5638$$ = $gridInfo$$inline_1350$$, $laf$$inline_5639$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $agent$$inline_5640$$ = $AdfAgent$$.$AGENT$, $newdiv$$inline_5641$$ = document.createElement("div");
                  $AdfDomUtils$$.$addCSSClassName$($newdiv$$inline_5641$$, $laf$$inline_5639$$.getStyleClass($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_WRAPPER_CLASS$));
                  $agent$$inline_5640$$.setAttribute($newdiv$$inline_5641$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);
                  $agent$$inline_5640$$.setAttribute($newdiv$$inline_5641$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_NUM_OVERFLOW$, $numOverflow$$inline_5636$$);
                  $agent$$inline_5640$$.setAttribute($newdiv$$inline_5641$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$, $gridInfo$$inline_5638$$.$maxNumActivities$);
                  var $dayString$$inline_5642$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$($calendar$$inline_5635$$, $currDayDom$$inline_5637$$);
                  $agent$$inline_5640$$.setAttribute($newdiv$$inline_5641$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$, $dayString$$inline_5642$$);
                  var $anchor$$inline_5643$$ = document.createElement("a");
                  $AdfDomUtils$$.$addCSSClassName$($anchor$$inline_5643$$, $laf$$inline_5639$$.getStyleClass($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_CLASS$));
                  $anchor$$inline_5643$$.href = "#";
                  $anchor$$inline_5643$$.onclick = this.$handleMonthOverflowLinkClick$;
                  $anchor$$inline_5643$$.tabIndex = -1;
                  var $monthGridId$$inline_5644$$ = $AdfRichUIPeer$$.$CreateSubId$($calendar$$inline_5635$$.$getClientId$(), $AdfDhtmlCalendarPeer$$.$_MONTH_GRID_ID$), $monthGrid$$inline_5645$$ = $AdfAgent$$.$AGENT$.getElementById($monthGridId$$inline_5644$$), $moreLinkText$$inline_5646$$ = $AdfAgent$$.$AGENT$.getAttribute($monthGrid$$inline_5645$$, $AdfDhtmlCalendarPeer$$.$_MONTH_MORE_LINK_TEXT$), $overflowText$$inline_5647$$ = null != $moreLinkText$$inline_5646$$ ? TrFastMessageFormatUtils.format($moreLinkText$$inline_5646$$, 
                  $numOverflow$$inline_5636$$) : $laf$$inline_5639$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_TEXT$, $numOverflow$$inline_5636$$);
                  $anchor$$inline_5643$$.innerHTML = $overflowText$$inline_5647$$;
                  $newdiv$$inline_5641$$.appendChild($anchor$$inline_5643$$);
                  $agent$$inline_5640$$.setAttribute($newdiv$$inline_5641$$, "role", "link");
                  var $overflowLabel$$inline_5648$$ = $laf$$inline_5639$$.$getTranslatedString$($AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK_LABEL$, $numOverflow$$inline_5636$$);
                  $agent$$inline_5640$$.setAttribute($newdiv$$inline_5641$$, "aria-label", $overflowLabel$$inline_5648$$);
                  $newdiv$$inline_5641$$.tabIndex = -1;
                  $olink$$inline_1396$$ = $newdiv$$inline_5641$$;
                  $isRTL$$inline_1340$$ ? $olink$$inline_1396$$.style.right = $currDaysArray$$inline_1352$$[$m$$inline_1389$$].style.right : $olink$$inline_1396$$.style.left = $currDaysArray$$inline_1352$$[$m$$inline_1389$$].style.left;
                  $olink$$inline_1396$$.style.top = $gridInfo$$inline_1350$$.$dayCellHt$ - $gridInfo$$inline_1350$$.$activityInfo$.$overflowHt$ - $gridInfo$$inline_1350$$.$activityInfo$.$spacerHt$ + "px";
                  $olink$$inline_1396$$.style.width = $currDaysArray$$inline_1352$$[$m$$inline_1389$$].style.width;
                  $row$$inline_1359$$.insertBefore($olink$$inline_1396$$, $overflowAnchorElem$$inline_1390$$);
                  $overflowLinkArr$$inline_1355$$[$m$$inline_1389$$] = $olink$$inline_1396$$;
                }
              }
            }
          }
        }
      }
    }
    if (this.$_deferredFromInitDOM$) {
      this.$_restoreScrollPosition$($component$$739$$, this.$getDomElement$());
      this.$_deferredFromInitDOM$ = !1;
      var $splitterDOM$$1$$ = $AdfAgent$$.$AGENT$.getElementById(this.$_splitterid$);
      if ($splitterDOM$$1$$) {
        $splitterDOM$$1$$.style.top = $splitterDOM$$1$$.parentNode.firstChild.offsetHeight + "px";
      } else {
        var $providerGridDOM$$1$$ = $JSCompiler_StaticMethods__getProviderGridElement$$($component$$739$$);
        $providerGridDOM$$1$$ && ($providerGridDOM$$1$$.children[1].style.top = $providerGridDOM$$1$$.firstChild.offsetHeight + "px");
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.resizeNotify", {$resizeNotify$:$AdfDhtmlCalendarPeer$$.prototype.$resizeNotify$});
$AdfDhtmlCalendarPeer$$.prototype.$showActivityPopup$ = function $$AdfDhtmlCalendarPeer$$$$$showActivityPopup$$($popup$$9_popupId$$30$$, $alignElement$$14_alignId$$6_providerId$$12$$, $activityId$$9_hints$$55$$) {
  var $calendar$$4$$ = this.$getComponent$();
  $popup$$9_popupId$$30$$ = $calendar$$4$$.$findComponent$($popup$$9_popupId$$30$$);
  $alignElement$$14_alignId$$6_providerId$$12$$ = $calendar$$4$$.$getClientId$() + "::" + $alignElement$$14_alignId$$6_providerId$$12$$ + "::" + $activityId$$9_hints$$55$$;
  if ($alignElement$$14_alignId$$6_providerId$$12$$ = $AdfAgent$$.$AGENT$.getElementById($alignElement$$14_alignId$$6_providerId$$12$$)) {
    $activityId$$9_hints$$55$$ = {}, $activityId$$9_hints$$55$$.alignElement = $alignElement$$14_alignId$$6_providerId$$12$$, $activityId$$9_hints$$55$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_AFTER_START$, $activityId$$9_hints$$55$$.autodismiss = "autodismissMouseOut", $activityId$$9_hints$$55$$.autodismissMouseOut = $alignElement$$14_alignId$$6_providerId$$12$$, $popup$$9_popupId$$30$$.show($activityId$$9_hints$$55$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.showActivityPopup", {$showActivityPopup$:$AdfDhtmlCalendarPeer$$.prototype.$showActivityPopup$});
$AdfDhtmlCalendarPeer$$.prototype.$getActivityForEvent$ = function $$AdfDhtmlCalendarPeer$$$$$getActivityForEvent$$($calendarRootElement$$4_inputEvent$$51$$) {
  if (this.$_resizedActivity$) {
    return null;
  }
  var $ids$$1_nativeTarget$$1_view$$12$$ = $calendarRootElement$$4_inputEvent$$51$$.$getNativeEventTarget$(), $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = $AdfAgent$$.$AGENT$.getAttribute($ids$$1_nativeTarget$$1_view$$12$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_TIME_INDICATOR_KEY$);
  $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ || ($component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = $AdfAgent$$.$AGENT$.getAttribute($ids$$1_nativeTarget$$1_view$$12$$, $AdfDhtmlCalendarPeer$$.$_RESIZE_All_DAY_INDICATOR_KEY$));
  if ($component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$) {
    return null;
  }
  $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = this.$getComponent$();
  $ids$$1_nativeTarget$$1_view$$12$$ = $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  if ($ids$$1_nativeTarget$$1_view$$12$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
    return null;
  }
  var $activityRootElement$$4_eventTarget$$39$$ = $calendarRootElement$$4_inputEvent$$51$$.$getNativeEventTarget$();
  $calendarRootElement$$4_inputEvent$$51$$ = this.$getDomElement$();
  var $activityRootElement$$4_eventTarget$$39$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$4_inputEvent$$51$$, $activityRootElement$$4_eventTarget$$39$$), $isDuration$$ = null != $activityRootElement$$4_eventTarget$$39$$ && null != $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$4_eventTarget$$39$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$), $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = -1 == $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_TIME$);
  return $ids$$1_nativeTarget$$1_view$$12$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ && $isDuration$$ && $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ ? null : $activityRootElement$$4_eventTarget$$39$$ && $calendarRootElement$$4_inputEvent$$51$$ != $activityRootElement$$4_eventTarget$$39$$ ? ($ids$$1_nativeTarget$$1_view$$12$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$4_eventTarget$$39$$), $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$ = 
  null != $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$4_eventTarget$$39$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), new $AdfCalendarActivity$$($ids$$1_nativeTarget$$1_view$$12$$.$providerId$, $ids$$1_nativeTarget$$1_view$$12$$.$activityId$, $component$$740_isAllDay$$1_isDurationInBottomRegion_isResizeIndicator$$)) : 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$$741$$ = this.$getComponent$(), $agent$$175_cloneStyle$$1$$ = $AdfAgent$$.$AGENT$;
  $JSCompiler_StaticMethods__hideActivityHoverPopup$$(this);
  $activityElement_activityId$$10_component$$741$$ = $activityElement_activityId$$10_component$$741$$.$getClientId$() + "::" + $activity$$3$$.$getProviderId$() + "::" + $activity$$3$$.$getActivityId$();
  ($activityElement_activityId$$10_component$$741$$ = $agent$$175_cloneStyle$$1$$.getElementById($activityElement_activityId$$10_component$$741$$)) || ($activityElement_activityId$$10_component$$741$$ = $JSCompiler_StaticMethods__getParentActivity$$(this.$getDomElement$(), $inputEvent$$52$$.$getNativeEventTarget$()));
  this.$_draggedActivity$ = $activityElement_activityId$$10_component$$741$$;
  var $activityClone$$ = $activityElement_activityId$$10_component$$741$$.cloneNode(!0);
  $agent$$175_cloneStyle$$1$$.$copyStyle$($activityElement_activityId$$10_component$$741$$, $activityClone$$);
  $agent$$175_cloneStyle$$1$$ = $activityClone$$.style;
  $agent$$175_cloneStyle$$1$$.left = $agent$$175_cloneStyle$$1$$.top = "0px";
  $agent$$175_cloneStyle$$1$$.height = $activityElement_activityId$$10_component$$741$$.clientHeight + "px";
  var $childNodes$$inline_1400_childSpans$$ = null, $agent$$inline_1402_durationSpanNode$$ = null;
  if ($activity$$3$$.$isAllDay$()) {
    for (var $childNodes$$inline_1400_childSpans$$ = $activityClone$$.getElementsByTagName("span"), $activityElement$$inline_1398_dayCell$$inline_1406_elemCount$$ = $childNodes$$inline_1400_childSpans$$.length, $elemCount$$inline_1403_i$$239$$ = 0;$elemCount$$inline_1403_i$$239$$ < $activityElement$$inline_1398_dayCell$$inline_1406_elemCount$$;$elemCount$$inline_1403_i$$239$$++) {
      var $i$$inline_1404_span$$3$$ = $childNodes$$inline_1400_childSpans$$[$elemCount$$inline_1403_i$$239$$];
      if (null != $i$$inline_1404_span$$3$$.getAttribute($AdfDhtmlCalendarPeer$$.$_ALL_DAY_DURATION_TEXT_KEY$)) {
        $agent$$inline_1402_durationSpanNode$$ = $i$$inline_1404_span$$3$$;
        break;
      }
    }
  }
  if (null != $agent$$inline_1402_durationSpanNode$$) {
    var $activityElement$$inline_1398_dayCell$$inline_1406_elemCount$$ = $activityElement_activityId$$10_component$$741$$, $durationSpanNode$$inline_1401$$ = $agent$$inline_1402_durationSpanNode$$, $agent$$inline_1402_durationSpanNode$$ = $AdfAgent$$.$AGENT$;
    $durationSpanNode$$inline_1401$$.style.display = "";
    $elemCount$$inline_1403_i$$239$$ = $childNodes$$inline_1400_childSpans$$.length;
    for ($i$$inline_1404_span$$3$$ = 0;$i$$inline_1404_span$$3$$ < $elemCount$$inline_1403_i$$239$$;$i$$inline_1404_span$$3$$++) {
      var $span$$inline_1405$$ = $childNodes$$inline_1400_childSpans$$[$i$$inline_1404_span$$3$$];
      null != $agent$$inline_1402_durationSpanNode$$.getAttribute($span$$inline_1405$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_HEADER_TEXT_KEY$) || $span$$inline_1405$$ === $durationSpanNode$$inline_1401$$ || $AdfDomUtils$$.$isAncestor$($span$$inline_1405$$, $durationSpanNode$$inline_1401$$) || ($span$$inline_1405$$.style.display = "none");
    }
    $childNodes$$inline_1400_childSpans$$ = $activityElement$$inline_1398_dayCell$$inline_1406_elemCount$$.parentNode.childNodes;
    $elemCount$$inline_1403_i$$239$$ = $childNodes$$inline_1400_childSpans$$.length;
    for ($i$$inline_1404_span$$3$$ = 0;$i$$inline_1404_span$$3$$ < $elemCount$$inline_1403_i$$239$$;$i$$inline_1404_span$$3$$++) {
      if ($activityElement$$inline_1398_dayCell$$inline_1406_elemCount$$ = $childNodes$$inline_1400_childSpans$$[$i$$inline_1404_span$$3$$], null != $agent$$inline_1402_durationSpanNode$$.getAttribute($activityElement$$inline_1398_dayCell$$inline_1406_elemCount$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$)) {
        $agent$$175_cloneStyle$$1$$.width = $activityElement$$inline_1398_dayCell$$inline_1406_elemCount$$.clientWidth + "px";
        break;
      }
    }
  } else {
    $agent$$175_cloneStyle$$1$$.width = $activityElement_activityId$$10_component$$741$$.clientWidth + "px";
  }
  $AdfDomUtils$$.$addCSSClassName$($activityElement_activityId$$10_component$$741$$, $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$ = null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlCalendarPeer.prototype.dragDropEnd", {$dragDropEnd$:$AdfDhtmlCalendarPeer$$.prototype.$dragDropEnd$});
$AdfDhtmlCalendarPeer$$.prototype.$getDragOffsetForActivity$ = function $$AdfDhtmlCalendarPeer$$$$$getDragOffsetForActivity$$($inputEvent$$53$$, $activity$$4$$) {
  var $agent$$176_mousePos$$2$$ = $AdfAgent$$.$AGENT$, $activityElement$$1_activityId$$11_elemPos$$ = this.$getComponent$().$getClientId$() + "::" + $activity$$4$$.$getProviderId$() + "::" + $activity$$4$$.$getActivityId$();
  ($activityElement$$1_activityId$$11_elemPos$$ = $agent$$176_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$$176_mousePos$$2$$.$getElementPosition$($activityElement$$1_activityId$$11_elemPos$$);
  $agent$$176_mousePos$$2$$ = $agent$$176_mousePos$$2$$.$getMousePosition$($inputEvent$$53$$.$getNativeEvent$());
  xOffset = $agent$$176_mousePos$$2$$.x - $activityElement$$1_activityId$$11_elemPos$$.x;
  yOffset = $agent$$176_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_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$, $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$, $hints$$56$$) {
  $AdfAssert$$.$assertNumber$($gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$);
  $AdfAssert$$.$assertNumber$($dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$);
  $AdfAssert$$.assert(null != $hints$$56$$);
  var $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_LAST_DROP_SITE$], $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = 
  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_LAST_DROP_SITE_DATA$];
  if ($agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ && $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$) {
    var $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$.$bounds$;
    $AdfAssert$$.$assertObject$($allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$);
    if ($gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$ >= $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.left && $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$ >= $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.top && 
    $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$ <= $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.right && $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$ <= $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.bottom) {
      $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$;
      $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$;
      return;
    }
  }
  $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = this.$getComponent$();
  $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$);
  $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = !1;
  $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.$getClientId$(), 
  $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_GRID_SUB_ID$));
  if ($agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$) {
    if ($agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
      var $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ ? 
      $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$ : $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$, $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $AdfAgent$$.$AGENT$, $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = 
      this.$getComponent$();
      $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ = $JSCompiler_StaticMethods__getDragSourceActivity$$($activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$);
      $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = !1;
      if ($JSCompiler_StaticMethods__isAllDayRegionDisplayed$$(this) && ($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$.$getClientId$(), 
      $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$, 
      $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$), $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = 
      $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.getElementById($allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$), 
      $AdfAssert$$.$assertDomElement$($allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$), $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.$pointInElementBounds$($allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$, 
      $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$) && (!$activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ || $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$isAllDay$()))) {
        a: {
          var $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $AdfAgent$$.$AGENT$, $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = 
          $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.childNodes, $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ = 
          $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$.length;
          for (i = 0;i < $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$;i++) {
            if ($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$[i], $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = 
            $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.getAttribute($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$, 
            $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$), null != $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ && $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.$pointInElementBounds$($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$, 
            $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$)) {
              $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = -1 != this.$getComponent$().getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_ALLDAY$) ? $AdfDhtmlCalendarPeer$$.$_ALLDAY$ : $AdfDhtmlCalendarPeer$$.$_DURATION$;
              $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = {date:$allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$, timeType:$allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$};
              $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = {};
              $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.$domElement$ = $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$;
              $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.$bounds$ = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.$getElementPageBounds$($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$);
              $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$;
              $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = !0;
              break a;
            }
          }
          $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = !1;
        }
      }
      if (!($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ || $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ && $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$isAllDay$())) {
        a: {
          $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ = $AdfAgent$$.$AGENT$;
          $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
          $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.scrollTop;
          $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.firstChild.rows[0].cells[1].firstChild;
          if ($activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$pointInElementBounds$($agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$, $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, 
          $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$)) {
            $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.childNodes;
            $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$.length;
            $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = 
            null;
            for (i = 0;i < $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$;i++) {
              var $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$ = $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$[i], $cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$ = $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.getAttribute($dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$, 
              $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
              if (null != $cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$ && $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$.offsetTop + $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$.offsetHeight > $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ && $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$pointInElementBounds$($dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$, 
              $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$)) {
                $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = $cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$;
                $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$;
                break;
              }
            }
            if (null != $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$) {
              for (i = 0;i < $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$;i++) {
                if ($childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ = $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$ = $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$[i], $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ = 
                $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$(this.$getComponent$().$getClientId$(), $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_GRID_SUB_ID$)) ? 0 : $AdfAgent$$.$AGENT$.getAttribute($childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$), null != $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ && 
                ($dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$ = $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$getElementPosition$($gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$), $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$ > $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$.y && $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$ < 
                $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$.y + $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$.offsetHeight)) {
                  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $JSCompiler_StaticMethods__getDropSiteForTimeSlot$$(this, $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$, $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$);
                  $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$ = {};
                  $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$.$domElement$ = $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$;
                  $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$.$siteDayCell$ = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$;
                  $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$ = $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$getElementPageBounds$($gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$);
                  $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ = $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$getElementPageBounds$($agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$);
                  $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$.$bounds$ = {top:$gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$.top, left:$activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.left, bottom:$gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$.bottom, right:$activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.right};
                  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$;
                  $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = !0;
                  break a;
                }
              }
            }
          }
          $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = !1;
        }
      }
    } else {
      if ($agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
        $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ = $AdfAgent$$.$AGENT$;
        $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = !1;
        $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = this.$getComponent$().$getClientId$();
        $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = $AdfRichUIPeer$$.$CreateSubId$($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$, 
        $AdfDhtmlCalendarPeer$$.$_MONTH_GRID_ID$);
        if (($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = $AdfAgent$$.$AGENT$.getElementById($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$)) && 
        $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$pointInElementBounds$($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$, $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$)) {
          for ($allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$.childNodes, 
          $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.length, 
          $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ = null, $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$ = 0;$dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$ < $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ && 
          !$childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$;$dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$++) {
            if ($cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$[$dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$], 
            $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$pointInElementBounds$($calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$, $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$)) {
              for (var $monthCells$$inline_5702$$ = $cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$.childNodes, $cellCount$$inline_5703$$ = $monthCells$$inline_5702$$.length, $j$$inline_5704$$ = 0;$j$$inline_5704$$ < $cellCount$$inline_5703$$;$j$$inline_5704$$++) {
                var $cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$ = $monthCells$$inline_5702$$[$j$$inline_5704$$], $date$$inline_5706$$ = $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.getAttribute($cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
                if (null != $date$$inline_5706$$ && $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$pointInElementBounds$($cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$, $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$)) {
                  $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ = {};
                  $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$.date = $date$$inline_5706$$;
                  $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$.timeType = "UNKNOWN";
                  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$;
                  $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = {};
                  $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.$domElement$ = $cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$;
                  $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.$bounds$ = $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$getElementPageBounds$($cell$$inline_5705_date$$inline_5679_monthRow$$inline_5701$$);
                  $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$;
                  $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = !0;
                  break;
                }
              }
            }
          }
        }
        $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$;
      }
    }
  } else {
    $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = $AdfAgent$$.$AGENT$;
    $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = this.$getComponent$();
    $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ = $JSCompiler_StaticMethods__getDragSourceActivity$$($activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$);
    $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = !1;
    $JSCompiler_StaticMethods__isAllDayRegionDisplayed$$(this) && ($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$.$getClientId$(), 
    $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$, 
    $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.getElementById($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$), 
    $AdfAssert$$.$assertDomElement$($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$), $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.$pointInElementBounds$($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$, 
    $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$) && !$activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ && ($allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = 
    {}, $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.date = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.getAttribute($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$, 
    $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$), -1 != $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$.getShowActivityTypes().indexOf($AdfDhtmlCalendarPeer$$.$_ALLDAY$) ? $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.timeType = 
    $AdfDhtmlCalendarPeer$$.$_ALLDAY$ : $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.timeType = $AdfDhtmlCalendarPeer$$.$_DURATION$, $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$, 
    dropSiteData = {}, dropSiteData.$domElement$ = $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$, dropSiteData.$bounds$ = $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$.$getElementPageBounds$($allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$), 
    $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = dropSiteData, $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = !0));
    if (!($allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ || $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ && 
    $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$isAllDay$())) {
      a: {
        $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$ = $AdfAgent$$.$AGENT$;
        $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = null;
        $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$$(this);
        $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.scrollTop;
        $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.firstChild.rows[0].cells[1].firstChild;
        $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$.childNodes;
        $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$.length;
        if ($activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$pointInElementBounds$($childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$, $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$)) {
          for (i = 0;i < $allDayContainer$$inline_5720_allDayId$$inline_5719_calendar$$inline_5657_childCount$$inline_5728_childNodes$$inline_5664_clientId$$inline_5660_clientId$$inline_5718_numRows$$inline_5698_siteDate$$inline_5676_timeType$$inline_5668$$;i++) {
            if ($childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$[i], 
            $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ || ($agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$ = 
            $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.getAttribute($childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$)), $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$.offsetTop + 
            $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$.offsetHeight > $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ && ($dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$ = 
            $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.getAttribute($childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$), null != $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$ && $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$pointInElementBounds$($childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$, 
            $gridCell$$inline_5680_gridCellBounds$$inline_5684_pageX$$34$$, $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$))) {
              $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = $JSCompiler_StaticMethods__getDropSiteForTimeSlot$$(this, $agent$$inline_5656_agent$$inline_5663_agent$$inline_5714_dropSiteData$$inline_5707_dropSiteDate$$inline_5723_dropSiteFound$$inline_5693_dtGridContainer$$inline_5671_gridCellRowsContainer$$inline_5673_hintDropSite_siteDayCell$$inline_5677_view$$inline_1414$$, $dayCell$$inline_5678_gridCellPos$$inline_5682_i$$inline_5700_timeSlot$$inline_5730$$);
              $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$ = {};
              $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$.$domElement$ = $childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$;
              $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$.$bounds$ = $activity$$inline_5658_activity$$inline_5716_agent$$inline_5670_agent$$inline_5692_agent$$inline_5722_dndContext$$68_siteDayCellBounds$$inline_5685$$.$getElementPageBounds$($childCount$$inline_5665_childNode$$inline_5729_dropSite$$inline_5699_gridCell$$inline_6362_gridCellRowsContainer$$inline_5726_scrollTop$$inline_5672_timeSlot$$inline_5681$$);
              $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = $dropSiteData$$inline_5683_dropSiteData$$inline_5731_pageY$$34$$;
              $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = !0;
              break a;
            }
          }
        }
        $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$ = !1;
      }
    }
    $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ = $allDayContainer$$inline_5662_allDayId$$inline_5661_bounds$$2_calendar$$inline_1413_childCount$$inline_5675_childNodes$$inline_5727_containerSubIdSuffix$$inline_5655_date$$inline_5667_dropSite$$inline_5721_dropSiteData$$inline_5669_dropSiteFound$$inline_5717_dtGridContainer$$inline_5724_monthRows$$inline_5697_providerGridDOM$$inline_1416$$;
  }
  $calendar$$inline_5715_childNodes$$inline_5674_clientId$$inline_5694_dayCell$$inline_5666_dropSiteFound$$inline_1415_dropSiteFound$$inline_5659_hintDropSiteData_monthGrid$$inline_5696_monthGridId$$inline_5695_scrollTop$$inline_5725$$ || ($hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE$] = null, $hints$$56$$[$AdfCalendarDropTarget$$.$HINT_DROP_SITE_DATA$] = 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$$ && (null != $lastDropSite$$1$$ && ($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$)), null != $dropSite$$4$$ && 
  ($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$});
$AdfDhtmlCalendarPeer$$.$_providerWrapperFilter$ = function $$AdfDhtmlCalendarPeer$$$$_providerWrapperFilter$$($domNode$$25$$) {
  return $domNode$$25$$ && null != $AdfAgent$$.$AGENT$.getAttribute($domNode$$25$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
};
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$), null != $dndContext$$71_objects_transferable$$9$$) {
      for (var $objectCount$$ = $dndContext$$71_objects_transferable$$9$$.length, $i$$242$$ = 0;$i$$242$$ < $objectCount$$;$i$$242$$++) {
        var $object$$25$$ = $dndContext$$71_objects_transferable$$9$$[$i$$242$$];
        if ($object$$25$$ instanceof $AdfCalendarActivity$$) {
          return $object$$25$$;
        }
      }
    }
  }
  return 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$$ - .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__getProviderGridElement$$($clientId$$131_component$$743_providerSubId$$) {
  $clientId$$131_component$$743_providerSubId$$ = $clientId$$131_component$$743_providerSubId$$.$getClientId$();
  $clientId$$131_component$$743_providerSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$131_component$$743_providerSubId$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_GRID_SUB_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($clientId$$131_component$$743_providerSubId$$);
}
function $JSCompiler_StaticMethods__actionToDisplayChange$$($JSCompiler_StaticMethods__actionToDisplayChange$self$$, $componentEvent$$116$$, $component$$746$$, $view$$14$$, $activeDay$$) {
  $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__actionToDisplayChange$self$$);
  $componentEvent$$116$$.cancel();
  $componentEvent$$116$$.$stopBubbling$();
  $AdfCalendarDisplayChangeEvent$$.$queue$($component$$746$$, $activeDay$$, $view$$14$$);
}
function $JSCompiler_StaticMethods__calculateMonthGridCapacity$$($sampleActivity$$, $gridInfo$$) {
  var $activityInfo$$ = {}, $activityHt_agent$$185$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_MONTH_VIEW_ALLDAY_HT$);
  $activityInfo$$.$activityHt$ = null != $activityHt_agent$$185$$ ? parseFloat($activityHt_agent$$185$$) : 0 < $sampleActivity$$.clientHeight ? $sampleActivity$$.clientHeight : $gridInfo$$.$dayHeaderHt$;
  $activityInfo$$.$spacerHt$ = 1.1;
  var $activityHt_agent$$185$$ = $AdfAgent$$.$AGENT$, $activityStyle$$ = $activityHt_agent$$185$$.getComputedStyle($sampleActivity$$), $margin_overflowStyle$$ = $activityHt_agent$$185$$.$getStyleProperty$($activityStyle$$, "margin-bottom");
  null == $margin_overflowStyle$$ && ($margin_overflowStyle$$ = $activityHt_agent$$185$$.$getStyleProperty$($activityStyle$$, "marginBottom"));
  if (null != $margin_overflowStyle$$) {
    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$$185$$.$getStyleProperty$($activityStyle$$, "font-size");
  null == $margin_overflowStyle$$ && ($margin_overflowStyle$$ = $activityHt_agent$$185$$.$getStyleProperty$($activityStyle$$, "fontSize"));
  null != $margin_overflowStyle$$ && ($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$$.$spacerHt$ + $activityInfo$$.$activityHt$));
}
function $JSCompiler_StaticMethods__calculateMonthGridInfo$$($grid$$5$$, $header$$3$$) {
  var $gridInfo$$1$$ = {}, $isRTL$$8$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  if (null != $grid$$5$$) {
    for (var $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = $grid$$5$$.childNodes[0].childNodes, $dayHeader_numEntries_percentToIndexMap$$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$.length, $i$$244_percentArray$$ = 0;$i$$244_percentArray$$ < $dayHeader_numEntries_percentToIndexMap$$;$i$$244_percentArray$$++) {
      var $isAllDayAct_j$$23$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$3_monthRowChildren_numDaysInWeek_topInEM$$[$i$$244_percentArray$$], $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $headerLeft_isTimedActWrapper$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$3_monthRowChildren_numDaysInWeek_topInEM$$[$i$$244_percentArray$$], $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$), $isOverflowLink$$ = $AdfAgent$$.$AGENT$.getAttribute($day$$3_monthRowChildren_numDaysInWeek_topInEM$$[$i$$244_percentArray$$], 
      $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$);
      if (!($isAllDayAct_j$$23$$ || $headerLeft_isTimedActWrapper$$ || $isOverflowLink$$)) {
        $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$[$i$$244_percentArray$$];
        $dayHeader_numEntries_percentToIndexMap$$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$.childNodes[0];
        $gridInfo$$1$$.$dayCellHt$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$.clientHeight;
        $gridInfo$$1$$.$dayHeaderHt$ = $dayHeader_numEntries_percentToIndexMap$$.clientHeight;
        break;
      }
    }
    $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = $grid$$5$$.style.top;
    $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = parseFloat($day$$3_monthRowChildren_numDaysInWeek_topInEM$$.substring(0, $day$$3_monthRowChildren_numDaysInWeek_topInEM$$.lastIndexOf("em")));
    $gridInfo$$1$$.$_EMToPxRatio$ = $grid$$5$$.offsetTop / $day$$3_monthRowChildren_numDaysInWeek_topInEM$$;
  }
  if (null != $header$$3$$) {
    $day$$3_monthRowChildren_numDaysInWeek_topInEM$$ = $header$$3$$.childNodes.length;
    $gridInfo$$1$$.$numDaysInWeek$ = $day$$3_monthRowChildren_numDaysInWeek_topInEM$$;
    $dayHeader_numEntries_percentToIndexMap$$ = {};
    $i$$244_percentArray$$ = Array($day$$3_monthRowChildren_numDaysInWeek_topInEM$$);
    for ($isAllDayAct_j$$23$$ = 0;$isAllDayAct_j$$23$$ < $day$$3_monthRowChildren_numDaysInWeek_topInEM$$;$isAllDayAct_j$$23$$++) {
      $headerLeft_isTimedActWrapper$$ = $isRTL$$8$$ ? $header$$3$$.childNodes[$isAllDayAct_j$$23$$].style.right : $header$$3$$.childNodes[$isAllDayAct_j$$23$$].style.left, $dayHeader_numEntries_percentToIndexMap$$[$headerLeft_isTimedActWrapper$$] = $isAllDayAct_j$$23$$, $i$$244_percentArray$$[$isAllDayAct_j$$23$$] = parseFloat($headerLeft_isTimedActWrapper$$);
    }
    $gridInfo$$1$$.$percentToIndexMap$ = $dayHeader_numEntries_percentToIndexMap$$;
    $gridInfo$$1$$.$percentArray$ = $i$$244_percentArray$$;
    $gridInfo$$1$$.$cellWidth$ = $i$$244_percentArray$$[1] - $i$$244_percentArray$$[0];
  }
  return $gridInfo$$1$$;
}
function $JSCompiler_StaticMethods__getActivityInfo$$($activity$$7$$, $gridInfo$$3$$) {
  if (null == $activity$$7$$) {
    return null;
  }
  var $actInfo$$ = {};
  $actInfo$$.$startDay$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($gridInfo$$3$$, $activity$$7$$);
  var $activityWidth_width$$23$$;
  $activityWidth_width$$23$$ = $AdfAgent$$.$AGENT$.getAttribute($activity$$7$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$) ? $activity$$7$$.style.width : $activity$$7$$.parentNode.style.width;
  $activityWidth_width$$23$$ = parseFloat($activityWidth_width$$23$$.substring(0, $activityWidth_width$$23$$.lastIndexOf("%")));
  $actInfo$$.$activityLength$ = $gridInfo$$3$$.$numDaysInWeek$;
  for (var $i$$245$$ = 0;$i$$245$$ < $gridInfo$$3$$.$numDaysInWeek$;$i$$245$$++) {
    if ($activityWidth_width$$23$$ <= $gridInfo$$3$$.$percentArray$[$i$$245$$]) {
      $actInfo$$.$activityLength$ = $i$$245$$;
      break;
    }
  }
  return $actInfo$$;
}
function $JSCompiler_StaticMethods__getActivityLinkInList$$($listCell_listRow$$) {
  var $agent$$187$$ = $AdfAgent$$.$AGENT$;
  for ($listCell_listRow$$ = $AdfDomUtils$$.$getFirstChildElement$($listCell_listRow$$);null != $listCell_listRow$$;) {
    var $child$$13$$ = $AdfDomUtils$$.$getFirstChildElement$($listCell_listRow$$);
    if (null != $child$$13$$ && null != $agent$$187$$.getAttribute($child$$13$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$)) {
      return $child$$13$$;
    }
    $listCell_listRow$$ = $AdfDomUtils$$.$getNextElement$($listCell_listRow$$);
  }
}
function $JSCompiler_StaticMethods__getListRowWithDayLink$$($currRow$$, $goToNextDay$$) {
  for (var $agent$$188$$ = $AdfAgent$$.$AGENT$, $listRow$$1$$ = $goToNextDay$$ ? $AdfDomUtils$$.$getNextElement$($currRow$$) : $AdfDomUtils$$.$getPreviousElement$($currRow$$);null != $listRow$$1$$;) {
    if (null != $agent$$188$$.getAttribute($listRow$$1$$, $AdfDhtmlCalendarPeer$$.$_HAS_CALENDAR_DAY_LINK$)) {
      return $listRow$$1$$;
    }
    $listRow$$1$$ = $goToNextDay$$ ? $AdfDomUtils$$.$getNextElement$($listRow$$1$$) : $AdfDomUtils$$.$getPreviousElement$($listRow$$1$$);
  }
}
function $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$747_domElement$$84$$) {
  $component$$747_domElement$$84$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$747_domElement$$84$$);
  return $AdfAgent$$.$AGENT$.getAttribute($component$$747_domElement$$84$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$);
}
function $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$6$$, $target$$109$$) {
  return $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$6$$, $target$$109$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$);
}
function $JSCompiler_StaticMethods__getDayCellAttrValue$$($calendarRootElement$$7$$, $target$$110$$) {
  var $dayCellValue$$ = $JSCompiler_StaticMethods__getValueWithAttr$$($calendarRootElement$$7$$, $target$$110$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$);
  return null == $dayCellValue$$ ? null : $dayCellValue$$;
}
function $JSCompiler_StaticMethods__getAllDayActFocus$$($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $currColIndex$$, $focusType$$) {
  $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$);
  $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ = $AdfAgent$$.$AGENT$.getElementById($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$);
  if (!$allDayActGrid_allDayActGridId_clientId$$133_nextElement$$) {
    return null;
  }
  $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ = $AdfDomUtils$$.$getFirstChildElement$($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$);
  for (var $bestMatchRowNum$$ = $focusType$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$ ? 99999 : -1, $bestMatchElement$$ = null;null != $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ && null != $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$);) {
    var $actColIndex_rowNum$$ = $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if ($actColIndex_rowNum$$ == $currColIndex$$) {
      $actColIndex_rowNum$$ = parseInt($AdfAgent$$.$AGENT$.getAttribute($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$)), $focusType$$ == $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$ ? $actColIndex_rowNum$$ < $bestMatchRowNum$$ && ($bestMatchRowNum$$ = $actColIndex_rowNum$$, $bestMatchElement$$ = $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$) : $actColIndex_rowNum$$ > $bestMatchRowNum$$ && ($bestMatchRowNum$$ = $actColIndex_rowNum$$, 
      $bestMatchElement$$ = $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$);
    } else {
      if ($actColIndex_rowNum$$ > $currColIndex$$) {
        break;
      }
    }
    $allDayActGrid_allDayActGridId_clientId$$133_nextElement$$ = $AdfDomUtils$$.$getNextElement$($allDayActGrid_allDayActGridId_clientId$$133_nextElement$$);
  }
  return $bestMatchElement$$;
}
function $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($allDayActGridId$$1_clientId$$134_contextRowNum$$, $contextColNum_contextElem$$, $focusType$$1$$) {
  $allDayActGridId$$1_clientId$$134_contextRowNum$$ = $AdfRichUIPeer$$.$CreateSubId$($allDayActGridId$$1_clientId$$134_contextRowNum$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$);
  var $allDayActGrid$$1_nextElement$$1$$ = $AdfAgent$$.$AGENT$.getElementById($allDayActGridId$$1_clientId$$134_contextRowNum$$);
  if (!$allDayActGrid$$1_nextElement$$1$$) {
    return null;
  }
  $allDayActGridId$$1_clientId$$134_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$$ = null;null != $allDayActGrid$$1_nextElement$$1$$ && null != $AdfAgent$$.$AGENT$.getAttribute($allDayActGrid$$1_nextElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$);) {
    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$$134_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$$134_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$$135$$, $dayIndex$$) {
  var $weekHeader_weekHeaderId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$135$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_HEADER_SUB_ID$), $weekHeader_weekHeaderId$$ = $AdfAgent$$.$AGENT$.getElementById($weekHeader_weekHeaderId$$);
  return 0 > $dayIndex$$ || $dayIndex$$ >= $weekHeader_weekHeaderId$$.childNodes.length ? null : $AdfDomUtils$$.$getFirstChildElement$($weekHeader_weekHeaderId$$.childNodes[$dayIndex$$]);
}
function $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$, $currIndex$$, $providerId$$13$$) {
  $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_TIMED_ACTIVITIES_CELL_SUB_ID$);
  $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfAgent$$.$AGENT$.getElementById($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$);
  if (!$clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$) {
    return null;
  }
  $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfDomUtils$$.$getFirstChildElement$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$);
  do {
    if (null == $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$) {
      break;
    }
    var $actIndex_index$$123$$ = $AdfAgent$$.$AGENT$.getAttribute($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if (null == $actIndex_index$$123$$ || $actIndex_index$$123$$ < $currIndex$$) {
      $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfDomUtils$$.$getNextElement$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$);
    } else {
      if ($providerId$$13$$ && $actIndex_index$$123$$ >= $currIndex$$) {
        for ($actIndex_index$$123$$ = 0;$actIndex_index$$123$$ < $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$.childNodes[0].children.length;$actIndex_index$$123$$++) {
          var $child$$14$$ = $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$.childNodes[0].childNodes[$actIndex_index$$123$$];
          if ($AdfAgent$$.$AGENT$.getAttribute($child$$14$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$) == $providerId$$13$$ && $child$$14$$.hasChildNodes()) {
            return $child$$14$$.firstElementChild;
          }
        }
        $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $AdfDomUtils$$.$getNextElement$($clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$);
      } else {
        $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$ = $actIndex_index$$123$$ == $currIndex$$ ? $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$.childNodes[0].childNodes[0] : null;
        break;
      }
    }
  } while (1);
  return $clientId$$136_nextElement$$3_timedActsCell_timedActsCellId$$;
}
function $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($day$$5_targetWeek$$, $currIndex$$1_numDaysToSkip$$, $gridInfo$$4_i$$246$$) {
  if (null != $day$$5_targetWeek$$) {
    $day$$5_targetWeek$$ = $AdfDomUtils$$.$getLastChildElement$($day$$5_targetWeek$$);
    $currIndex$$1_numDaysToSkip$$ = $gridInfo$$4_i$$246$$.$numDaysInWeek$ - 1 - $currIndex$$1_numDaysToSkip$$;
    for ($gridInfo$$4_i$$246$$ = 0;$gridInfo$$4_i$$246$$ < $currIndex$$1_numDaysToSkip$$;$gridInfo$$4_i$$246$$++) {
      $day$$5_targetWeek$$ = $AdfDomUtils$$.$getPreviousElement$($day$$5_targetWeek$$);
    }
    if (null != $day$$5_targetWeek$$) {
      return $day$$5_targetWeek$$.childNodes[0].childNodes[0];
    }
  }
  return 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$$112$$, $attr$$2$$) {
  for (;$domElem$$1_target$$112$$ && $domElem$$1_target$$112$$ != $calendarRootElement$$9$$;) {
    if (1 == $domElem$$1_target$$112$$.nodeType && $AdfAgent$$.$AGENT$.getAttribute($domElem$$1_target$$112$$, $attr$$2$$)) {
      return $domElem$$1_target$$112$$;
    }
    $domElem$$1_target$$112$$ = $domElem$$1_target$$112$$.parentNode;
  }
  return null;
}
function $JSCompiler_StaticMethods__getNextMonthElement$$($currElement$$10$$, $isNext$$1$$) {
  var $nextElement$$4$$ = $isNext$$1$$ ? $AdfDomUtils$$.$getNextElement$($currElement$$10$$) : $AdfDomUtils$$.$getPreviousElement$($currElement$$10$$);
  null == $nextElement$$4$$ && null != $AdfAgent$$.$AGENT$.getAttribute($currElement$$10$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($nextElement$$4$$ = $isNext$$1$$ ? $AdfDomUtils$$.$getNextElement$($currElement$$10$$.parentNode) : $AdfDomUtils$$.$getPreviousElement$($currElement$$10$$.parentNode));
  null != $nextElement$$4$$ && null != $AdfAgent$$.$AGENT$.getAttribute($nextElement$$4$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($nextElement$$4$$ = $isNext$$1$$ ? $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$$17$$ = $gridElem$$, $index$$124_styleLR$$;;) {
    $index$$124_styleLR$$ = $AdfAgent$$.$AGENT$.getAttribute($elem$$17$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_COL_NUM$);
    if (null != $index$$124_styleLR$$) {
      break;
    }
    if (null != $gridInfo$$5$$ && ($index$$124_styleLR$$ = $isRTL$$9$$ ? $elem$$17$$.style.right : $elem$$17$$.style.left, 0 < $index$$124_styleLR$$.length)) {
      $index$$124_styleLR$$ = $gridInfo$$5$$.$percentToIndexMap$[$index$$124_styleLR$$];
      break;
    }
    $elem$$17$$ = $elem$$17$$.parentNode;
  }
  return parseInt($index$$124_styleLR$$);
}
function $JSCompiler_StaticMethods__getValueWithAttr$$($calendarRootElement$$10$$, $domElem$$2_target$$113$$, $attr$$3$$) {
  for (var $attributeValue$$;$domElem$$2_target$$113$$ && $domElem$$2_target$$113$$ != $calendarRootElement$$10$$;) {
    1 == $domElem$$2_target$$113$$.nodeType && ($attributeValue$$ = $AdfAgent$$.$AGENT$.getAttribute($domElem$$2_target$$113$$, $attr$$3$$));
    if (1 == $domElem$$2_target$$113$$.nodeType && $attributeValue$$) {
      return $attributeValue$$;
    }
    $domElem$$2_target$$113$$ = $domElem$$2_target$$113$$.parentNode;
  }
  return null;
}
function $JSCompiler_StaticMethods__handleKeyUpForDay$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$, $keyCode$$41$$, $targetElement$$23$$, $componentEvent$$117$$, $providerId$$14$$) {
  $JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$ = $JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$.$getComponent$();
  var $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$.$getClientId$(), $nextElement$$5$$, $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$23$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $retainOldActiveElement$$ = !1, $isRTL$$10$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  if ($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$) {
    $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$23$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$);
    if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $keyCode$$41$$) {
      if ($nextElement$$5$$ = $AdfDomUtils$$.$getNextElement$($targetElement$$23$$), null == $nextElement$$5$$ && $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$) {
        $nextElement$$5$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, 0), $retainOldActiveElement$$ = !0;
      } else {
        if (null == $nextElement$$5$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$)) {
          for (var $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$, $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getElementById($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), 
          $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfDomUtils$$.$getChildElements$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), $i$$247$$ = 0;$i$$247$$ < $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$.length;$i$$247$$++) {
            var $providerWrapperNode$$1$$ = $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$[$i$$247$$], $pid$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getAttribute($providerWrapperNode$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$);
            if ($pid$$1$$ == $providerId$$14$$) {
              ($providerWrapperNode$$1$$ = $AdfDomUtils$$.$getNextElement$($providerWrapperNode$$1$$)) && ($nextElement$$5$$ = $providerWrapperNode$$1$$.childNodes[0]);
              break;
            }
          }
        }
      }
    } else {
      if ($AdfKeyStroke$$.$ARROWUP_KEY$ == $keyCode$$41$$ && ($nextElement$$5$$ = $AdfDomUtils$$.$getPreviousElement$($targetElement$$23$$), null == $nextElement$$5$$ && !$agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ && ($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, $AdfDhtmlCalendarPeer$$.$_ALL_DAY_CONTAINER_SUB_ID$), 
      $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$.getElementById($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$)) && ($nextElement$$5$$ = $AdfDomUtils$$.$getLastChildElement$($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$), $retainOldActiveElement$$ = !0), null == $nextElement$$5$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$))) {
        for ($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$, $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getElementById($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), 
        $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfDomUtils$$.$getChildElements$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), $i$$247$$ = 0;$i$$247$$ < $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$.length;$i$$247$$++) {
          if ($providerWrapperNode$$1$$ = $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$[$i$$247$$], $pid$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getAttribute($providerWrapperNode$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$1$$ == $providerId$$14$$) {
            ($providerWrapperNode$$1$$ = $AdfDomUtils$$.$getPreviousElement$($providerWrapperNode$$1$$)) && ($nextElement$$5$$ = $providerWrapperNode$$1$$.childNodes[0]);
            break;
          }
        }
      }
    }
    if (($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$41$$ && !$isRTL$$10$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$41$$ && $isRTL$$10$$) && null != $JSCompiler_StaticMethods__getProviderGridElement$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$)) {
      for ($agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$ = $AdfAgent$$.$AGENT$, $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$.$getClientId$(), $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), 
      $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getElementById($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$ = $AdfDomUtils$$.$getChildElements$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$), $i$$247$$ = 0;$i$$247$$ < $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$.length;$i$$247$$++) {
        $providerWrapperNode$$1$$ = $clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$[$i$$247$$], $pid$$1$$ = $agent$$189_allDayActGrid$$2_allDayActGridId$$2_isActivity$$1_isAllDayAct$$2$$.getAttribute($providerWrapperNode$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$1$$ == $providerId$$14$$ && ($nextElement$$5$$ = $providerWrapperNode$$1$$.childNodes[0]);
      }
    }
  } else {
    null != $JSCompiler_StaticMethods__getProviderGridElement$$($JSCompiler_StaticMethods__handleKeyUpForDay$self_calendar$$10$$) && ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $keyCode$$41$$ && $isRTL$$10$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $keyCode$$41$$ && !$isRTL$$10$$) && ($nextElement$$5$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$137_providerWrapperNodes$$1_providersCntId$$1_providersContainer$$1$$, 0, $providerId$$14$$));
  }
  return $nextElement$$5$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$23$$, $nextElement$$5$$, $componentEvent$$117$$, $retainOldActiveElement$$), !0) : !1;
}
function $JSCompiler_StaticMethods__handleKeyUpForList$$($goToNextAct_keyCode$$42$$, $targetElement$$24$$, $componentEvent$$118$$) {
  var $isActivity$$2_isRTL$$11$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$24$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $agent$$190$$ = $AdfAgent$$.$AGENT$, $dayLinkCell_listCell$$1_nextElement$$6$$, $dayCell$$3_listRow$$2$$ = $targetElement$$24$$.parentNode.parentNode;
  if ($isActivity$$2_isRTL$$11$$) {
    if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$42$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $goToNextAct_keyCode$$42$$) {
      $dayCell$$3_listRow$$2$$ = ($goToNextAct_keyCode$$42$$ = $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$42$$) ? $AdfDomUtils$$.$getNextElement$($dayCell$$3_listRow$$2$$) : $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), null != $dayCell$$3_listRow$$2$$ && 1 == $dayCell$$3_listRow$$2$$.childNodes.length && ($dayCell$$3_listRow$$2$$ = $goToNextAct_keyCode$$42$$ ? $AdfDomUtils$$.$getNextElement$($dayCell$$3_listRow$$2$$) : $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$)), 
      null != $dayCell$$3_listRow$$2$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$));
    } else {
      if ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$42$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $goToNextAct_keyCode$$42$$) {
        $isActivity$$2_isRTL$$11$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), !$isActivity$$2_isRTL$$11$$ && $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $goToNextAct_keyCode$$42$$ || $isActivity$$2_isRTL$$11$$ && $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$42$$ ? ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, !0), null != $dayCell$$3_listRow$$2$$ && ($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$$)), null == $dayLinkCell_listCell$$1_nextElement$$6$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$)))) : (null == $agent$$190$$.getAttribute($dayCell$$3_listRow$$2$$, $AdfDhtmlCalendarPeer$$.$_HAS_CALENDAR_DAY_LINK$) && ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, 
        !1)), $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getChildElements$($dayCell$$3_listRow$$2$$)[1], $dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($dayLinkCell_listCell$$1_nextElement$$6$$), null == $dayLinkCell_listCell$$1_nextElement$$6$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), null != $dayCell$$3_listRow$$2$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), 
        $dayLinkCell_listCell$$1_nextElement$$6$$ = $JSCompiler_StaticMethods__getActivityLinkInList$$($dayCell$$3_listRow$$2$$))));
      }
    }
  } else {
    null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$24$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$) && ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$42$$ || $AdfKeyStroke$$.$ARROWUP_KEY$ == $goToNextAct_keyCode$$42$$ ? ($dayCell$$3_listRow$$2$$ = $JSCompiler_StaticMethods__getListRowWithDayLink$$($dayCell$$3_listRow$$2$$, $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $goToNextAct_keyCode$$42$$), null != $dayCell$$3_listRow$$2$$ && ($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$$42$$ ? ($dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getNextElement$($AdfDomUtils$$.$getNextElement$($targetElement$$24$$.parentNode)), null != $dayLinkCell_listCell$$1_nextElement$$6$$ && ($dayLinkCell_listCell$$1_nextElement$$6$$ = $AdfDomUtils$$.$getFirstChildElement$($dayLinkCell_listCell$$1_nextElement$$6$$))) : 
    $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $goToNextAct_keyCode$$42$$ && ($dayCell$$3_listRow$$2$$ = $AdfDomUtils$$.$getPreviousElement$($dayCell$$3_listRow$$2$$), null != $dayCell$$3_listRow$$2$$ && ($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$$24$$, $dayLinkCell_listCell$$1_nextElement$$6$$, $componentEvent$$118$$), !0) : !1;
}
function $JSCompiler_StaticMethods__handleKeyUpForMonth$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$, $targetElement$$25$$, $componentEvent$$119$$) {
  var $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$ = $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$getComponent$().$getClientId$();
  var $activity$$inline_1467_nextElement$$7_nextWeek$$, $isActivity$$3_isFound$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $isOverflowLink$$1_rowNum$$2$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$), $isDayLink$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$);
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $AdfDhtmlCalendarPeer$$.$_MONTH_HEADER_ID$);
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$ = $AdfAgent$$.$AGENT$.getElementById($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$);
  $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$(null, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$);
  var $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $targetElement$$25$$);
  if ($isActivity$$3_isFound$$ || $isOverflowLink$$1_rowNum$$2$$) {
    var $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$);
    if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
      if ($isOverflowLink$$1_rowNum$$2$$) {
        $activity$$inline_1467_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getNextElement$($targetElement$$25$$.parentNode), $activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($activity$$inline_1467_nextElement$$7_nextWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$);
      } else {
        $activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($targetElement$$25$$, !0);
        if (null != $activity$$inline_1467_nextElement$$7_nextWeek$$) {
          if ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1467_nextElement$$7_nextWeek$$), $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ != $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
            $activity$$inline_1467_nextElement$$7_nextWeek$$ = null;
          } else {
            if ("none" == $activity$$inline_1467_nextElement$$7_nextWeek$$.style.display) {
              a: {
                $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1467_nextElement$$7_nextWeek$$;
                $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1467_nextElement$$7_nextWeek$$.parentNode, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1467_nextElement$$7_nextWeek$$.parentNode);
                for (;null != ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $AdfDomUtils$$.$getNextElement$($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$));) {
                  if (null != $AdfAgent$$.$AGENT$.getAttribute($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$)) {
                    $activity$$inline_1467_nextElement$$7_nextWeek$$ = $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$;
                    break a;
                  }
                }
                $activity$$inline_1467_nextElement$$7_nextWeek$$ = null;
              }
            }
          }
        }
        null == $activity$$inline_1467_nextElement$$7_nextWeek$$ && ($activity$$inline_1467_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getNextElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$25$$.parentNode.parentNode : $targetElement$$25$$.parentNode), $activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($activity$$inline_1467_nextElement$$7_nextWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, 
        $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$));
      }
    } else {
      if ($AdfKeyStroke$$.$ARROWUP_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
        $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = !1;
        for ($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $targetElement$$25$$;!$currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$;) {
          $activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$, !1);
          if (null == $activity$$inline_1467_nextElement$$7_nextWeek$$) {
            break;
          }
          if ("none" == $activity$$inline_1467_nextElement$$7_nextWeek$$.style.display) {
            $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $activity$$inline_1467_nextElement$$7_nextWeek$$;
          } else {
            if ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1467_nextElement$$7_nextWeek$$), $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
              $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = !0;
            } else {
              $activity$$inline_1467_nextElement$$7_nextWeek$$ = null;
              break;
            }
          }
        }
        null == $activity$$inline_1467_nextElement$$7_nextWeek$$ && ($activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$25$$.parentNode.parentNode : $targetElement$$25$$.parentNode, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$));
      } else {
        if ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
          $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && !$isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$;
          $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $targetElement$$25$$);
          $isOverflowLink$$1_rowNum$$2$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$25$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
          $isActivity$$3_isFound$$ = !1;
          for ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $targetElement$$25$$;!$isActivity$$3_isFound$$;) {
            $activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$, $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$);
            if (null == $activity$$inline_1467_nextElement$$7_nextWeek$$) {
              break;
            }
            if ("none" != $activity$$inline_1467_nextElement$$7_nextWeek$$.style.display && ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1467_nextElement$$7_nextWeek$$), $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ != $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$)) {
              if ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = Math.abs($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ - $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$), 1 == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
                $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1467_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
                if (null == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
                  $activity$$inline_1467_nextElement$$7_nextWeek$$ = null;
                  break;
                }
                $isOverflowLink$$1_rowNum$$2$$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && ($isActivity$$3_isFound$$ = !0);
              } else {
                if (1 < $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
                  $activity$$inline_1467_nextElement$$7_nextWeek$$ = null;
                  break;
                }
              }
            }
            $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $activity$$inline_1467_nextElement$$7_nextWeek$$;
          }
          null == $activity$$inline_1467_nextElement$$7_nextWeek$$ && ($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $isNext$$2_isRTL$$12_lastElem$$1_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$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ && 
          ($activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $targetElement$$25$$.parentNode.parentNode : $targetElement$$25$$.parentNode, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$)));
        }
      }
    }
  } else {
    if ($isDayLink$$) {
      if ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
        $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ && !$isNext$$2_isRTL$$12_lastElem$$1_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$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ ? $activity$$inline_1467_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($AdfDomUtils$$.$getFirstChildElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? 
        $AdfDomUtils$$.$getNextElement$($targetElement$$25$$.parentNode.parentNode) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$25$$.parentNode.parentNode))) : ($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ = $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ == $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ && $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $AdfDomUtils$$.$getNextElement$($targetElement$$25$$.parentNode.parentNode.parentNode) : 
        $AdfDomUtils$$.$getPreviousElement$($targetElement$$25$$.parentNode.parentNode.parentNode), null != $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$ && ($activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? 0 : $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$ - 
        1, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$)));
      } else {
        if ($AdfKeyStroke$$.$ARROWUP_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
          if ($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$ = $AdfDomUtils$$.$getPreviousElement$($targetElement$$25$$.parentNode.parentNode.parentNode), null != $isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$) {
            if ($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$.childNodes.length != $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$) {
              $activity$$inline_1467_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$);
              null != $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1467_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($activity$$inline_1467_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($activity$$inline_1467_nextElement$$7_nextWeek$$));
              do {
                if (null == $activity$$inline_1467_nextElement$$7_nextWeek$$) {
                  break;
                }
                if (null == $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1467_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) && null == $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1467_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$)) {
                  break;
                }
                $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1467_nextElement$$7_nextWeek$$);
                if ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                  "none" != $activity$$inline_1467_nextElement$$7_nextWeek$$.style.display && ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $activity$$inline_1467_nextElement$$7_nextWeek$$);
                } else {
                  if ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ > $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                    break;
                  }
                }
                $activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($activity$$inline_1467_nextElement$$7_nextWeek$$, !0);
              } while (1);
            }
            $activity$$inline_1467_nextElement$$7_nextWeek$$ = null != $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ ? $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ : $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($isNext$$2_isRTL$$12_lastElem$$1_previousWeek$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$);
          }
        } else {
          if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$) {
            $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $targetElement$$25$$.parentNode.parentNode.parentNode;
            if ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$.childNodes.length != $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$.$numDaysInWeek$) {
              $activity$$inline_1467_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$);
              null != $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1467_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_TIMED_ACTIVITY_WRAPPER$) && ($activity$$inline_1467_nextElement$$7_nextWeek$$ = $AdfDomUtils$$.$getFirstChildElement$($activity$$inline_1467_nextElement$$7_nextWeek$$));
              do {
                if (null == $activity$$inline_1467_nextElement$$7_nextWeek$$) {
                  break;
                }
                if (null == $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1467_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$) && null == $AdfAgent$$.$AGENT$.getAttribute($activity$$inline_1467_nextElement$$7_nextWeek$$, $AdfDhtmlCalendarPeer$$.$_CAL_MONTH_OVERFLOW_LINK$)) {
                  $activity$$inline_1467_nextElement$$7_nextWeek$$ = null;
                  break;
                }
                $currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$, $activity$$inline_1467_nextElement$$7_nextWeek$$);
                if ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ == $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                  break;
                } else {
                  if ($currNode$$inline_1468_diff$$4_isPrevFound_keyCode$$43_lastElement$$1_nextIndex$$2_nextRowNum$$ > $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$) {
                    $activity$$inline_1467_nextElement$$7_nextWeek$$ = null;
                    break;
                  }
                }
                $activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getNextMonthElement$$($activity$$inline_1467_nextElement$$7_nextWeek$$, !0);
              } while (1);
            }
            null == $activity$$inline_1467_nextElement$$7_nextWeek$$ && ($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ = $AdfDomUtils$$.$getNextElement$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$), null != $currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$ && ($activity$$inline_1467_nextElement$$7_nextWeek$$ = $JSCompiler_StaticMethods__getDayFocusInMonthWeek$$($currentWk_isNextDay_isTimedActivity_lastActivity_nextWk$$, $currIndex$$2_targetDayIndex_targetIndex_targetWeek$$1$$, 
            $JSCompiler_StaticMethods__handleKeyUpForMonth$self_clientId$$138_gridInfo$$6_monthHeader_monthHeaderId$$)));
          }
        }
      }
    }
  }
  return $activity$$inline_1467_nextElement$$7_nextWeek$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$25$$, $activity$$inline_1467_nextElement$$7_nextWeek$$, $componentEvent$$119$$), !0) : !1;
}
function $JSCompiler_StaticMethods__handleKeyUpForWeek$$($JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$, $i$$248_keyCode$$44$$, $targetElement$$26$$, $componentEvent$$120$$, $isNextDay$$1_providerId$$15$$) {
  var $isRTL$$13_providerWrapperNode$$2$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$.$getComponent$(), $clientId$$139_targetDayIndex$$1$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.$getClientId$(), $diff$$5_nextIndex$$3_nextRowNum$$1$$, $nextElement$$8$$, $isActivity$$4_isAllDayAct$$3$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$26$$, 
  $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_KEY$), $pid$$2_rowNum$$3_weekHeaderId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$139_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_WEEK_HEADER_SUB_ID$), $retainOldActiveElement$$1_weekHeader$$1$$ = $AdfAgent$$.$AGENT$.getElementById($pid$$2_rowNum$$3_weekHeaderId$$1$$), $agent$$191_gridInfo$$7$$ = $JSCompiler_StaticMethods__calculateMonthGridInfo$$(null, $retainOldActiveElement$$1_weekHeader$$1$$), $currIndex$$3$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($agent$$191_gridInfo$$7$$, 
  $targetElement$$26$$), $retainOldActiveElement$$1_weekHeader$$1$$ = !1;
  if ($isActivity$$4_isAllDayAct$$3$$) {
    if ($isActivity$$4_isAllDayAct$$3$$ = null != $AdfAgent$$.$AGENT$.getAttribute($targetElement$$26$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_ALL_DAY_KEY$), $AdfKeyStroke$$.$ARROWDOWN_KEY$ == $i$$248_keyCode$$44$$) {
      $nextElement$$8$$ = $isActivity$$4_isAllDayAct$$3$$ ? $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($clientId$$139_targetDayIndex$$1$$, $targetElement$$26$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_NEXT_ALLDAY$) : $AdfDomUtils$$.$getNextElement$($targetElement$$26$$);
      $isActivity$$4_isAllDayAct$$3$$ && null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$), null != $nextElement$$8$$ && ($retainOldActiveElement$$1_weekHeader$$1$$ = !0));
      if (null == $nextElement$$8$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$)) {
        for ($agent$$191_gridInfo$$7$$ = $AdfAgent$$.$AGENT$, $clientId$$139_targetDayIndex$$1$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.$getClientId$(), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$139_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $agent$$191_gridInfo$$7$$.getElementById($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), 
        $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfDomUtils$$.$getChildElements$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), $i$$248_keyCode$$44$$ = 0;$i$$248_keyCode$$44$$ < $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.length;$i$$248_keyCode$$44$$++) {
          if ($isRTL$$13_providerWrapperNode$$2$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$[$i$$248_keyCode$$44$$], $pid$$2_rowNum$$3_weekHeaderId$$1$$ = $agent$$191_gridInfo$$7$$.getAttribute($isRTL$$13_providerWrapperNode$$2$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$2_rowNum$$3_weekHeaderId$$1$$ == $isNextDay$$1_providerId$$15$$) {
            ($isRTL$$13_providerWrapperNode$$2$$ = $AdfDomUtils$$.$getNextElement$($isRTL$$13_providerWrapperNode$$2$$)) && ($nextElement$$8$$ = $isRTL$$13_providerWrapperNode$$2$$.childNodes[0]);
            break;
          }
        }
      }
      null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$));
    } else {
      if ($AdfKeyStroke$$.$ARROWUP_KEY$ == $i$$248_keyCode$$44$$) {
        $nextElement$$8$$ = $isActivity$$4_isAllDayAct$$3$$ ? $JSCompiler_StaticMethods__getAdjacentAllDayActToFocus$$($clientId$$139_targetDayIndex$$1$$, $targetElement$$26$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_PREV_ALLDAY$) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$26$$);
        $isActivity$$4_isAllDayAct$$3$$ || null != $nextElement$$8$$ || ($nextElement$$8$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$, $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$.$_CAL_WEEK_FOCUS_LAST_ALLDAY$), null != $nextElement$$8$$ && ($retainOldActiveElement$$1_weekHeader$$1$$ = !0));
        if (null == $nextElement$$8$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$)) {
          for ($agent$$191_gridInfo$$7$$ = $AdfAgent$$.$AGENT$, $clientId$$139_targetDayIndex$$1$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.$getClientId$(), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$139_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $agent$$191_gridInfo$$7$$.getElementById($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), 
          $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfDomUtils$$.$getChildElements$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), $i$$248_keyCode$$44$$ = 0;$i$$248_keyCode$$44$$ < $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.length;$i$$248_keyCode$$44$$++) {
            if ($isRTL$$13_providerWrapperNode$$2$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$[$i$$248_keyCode$$44$$], $pid$$2_rowNum$$3_weekHeaderId$$1$$ = $agent$$191_gridInfo$$7$$.getAttribute($isRTL$$13_providerWrapperNode$$2$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$2_rowNum$$3_weekHeaderId$$1$$ == $isNextDay$$1_providerId$$15$$) {
              ($isRTL$$13_providerWrapperNode$$2$$ = $AdfDomUtils$$.$getPreviousElement$($isRTL$$13_providerWrapperNode$$2$$)) && ($nextElement$$8$$ = $isRTL$$13_providerWrapperNode$$2$$.childNodes[0]);
              break;
            }
          }
        }
        null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$));
      } else {
        if ($AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$248_keyCode$$44$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$248_keyCode$$44$$) {
          $nextElement$$8$$ = ($JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$ = $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$248_keyCode$$44$$ && !$isRTL$$13_providerWrapperNode$$2$$ || $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$248_keyCode$$44$$ && $isRTL$$13_providerWrapperNode$$2$$) ? $AdfDomUtils$$.$getNextElement$($targetElement$$26$$) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$26$$);
          if ($isActivity$$4_isAllDayAct$$3$$) {
            for ($pid$$2_rowNum$$3_weekHeaderId$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($targetElement$$26$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);null != $nextElement$$8$$;) {
              $diff$$5_nextIndex$$3_nextRowNum$$1$$ = $JSCompiler_StaticMethods__getDayIndexOfGridElem$$($agent$$191_gridInfo$$7$$, $nextElement$$8$$);
              $diff$$5_nextIndex$$3_nextRowNum$$1$$ = Math.abs($diff$$5_nextIndex$$3_nextRowNum$$1$$ - $currIndex$$3$$);
              if (1 == $diff$$5_nextIndex$$3_nextRowNum$$1$$) {
                $diff$$5_nextIndex$$3_nextRowNum$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($nextElement$$8$$, $AdfDhtmlCalendarPeer$$.$_CAL_ACT_ROW_NUM$);
                if (null == $diff$$5_nextIndex$$3_nextRowNum$$1$$) {
                  $nextElement$$8$$ = null;
                  break;
                }
                if ($pid$$2_rowNum$$3_weekHeaderId$$1$$ == $diff$$5_nextIndex$$3_nextRowNum$$1$$) {
                  break;
                }
              } else {
                if (1 < $diff$$5_nextIndex$$3_nextRowNum$$1$$) {
                  $nextElement$$8$$ = null;
                  break;
                }
              }
              $nextElement$$8$$ = $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$ ? $AdfDomUtils$$.$getNextElement$($nextElement$$8$$) : $AdfDomUtils$$.$getPreviousElement$($nextElement$$8$$);
            }
          } else {
            $nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$139_targetDayIndex$$1$$, $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$ ? $currIndex$$3$$ + 1 : $currIndex$$3$$ - 1, $isNextDay$$1_providerId$$15$$);
          }
          if (($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$248_keyCode$$44$$ && !$isRTL$$13_providerWrapperNode$$2$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$248_keyCode$$44$$ && $isRTL$$13_providerWrapperNode$$2$$) && $nextElement$$8$$ == $targetElement$$26$$ && null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$)) {
            for ($agent$$191_gridInfo$$7$$ = $AdfAgent$$.$AGENT$, $clientId$$139_targetDayIndex$$1$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.$getClientId$(), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$139_targetDayIndex$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_CONTAINER_SUB_ID$), $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $agent$$191_gridInfo$$7$$.getElementById($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), 
            $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$ = $AdfDomUtils$$.$getChildElements$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$), $i$$248_keyCode$$44$$ = 0;$i$$248_keyCode$$44$$ < $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$.length;$i$$248_keyCode$$44$$++) {
              $isRTL$$13_providerWrapperNode$$2$$ = $calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$[$i$$248_keyCode$$44$$], $pid$$2_rowNum$$3_weekHeaderId$$1$$ = $agent$$191_gridInfo$$7$$.getAttribute($isRTL$$13_providerWrapperNode$$2$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$), $pid$$2_rowNum$$3_weekHeaderId$$1$$ == $isNextDay$$1_providerId$$15$$ && ($nextElement$$8$$ = $isRTL$$13_providerWrapperNode$$2$$.childNodes[0]);
            }
          }
          null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getDayFocusInWeek$$($clientId$$139_targetDayIndex$$1$$, $JSCompiler_StaticMethods__handleKeyUpForWeek$self_isNext$$3$$ ? $currIndex$$3$$ + 1 : $currIndex$$3$$ - 1), $isActivity$$4_isAllDayAct$$3$$ || ($retainOldActiveElement$$1_weekHeader$$1$$ = !0));
        }
      }
    }
  } else {
    if ($targetElement$$26$$.parentNode.parentNode.id == $pid$$2_rowNum$$3_weekHeaderId$$1$$) {
      if ($AdfKeyStroke$$.$ARROWDOWN_KEY$ == $i$$248_keyCode$$44$$) {
        $nextElement$$8$$ = $JSCompiler_StaticMethods__getAllDayActFocus$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$, $AdfDhtmlCalendarPeer$$.$_CAL_WEEK_FOCUS_FIRST_ALLDAY$), null == $nextElement$$8$$ && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$139_targetDayIndex$$1$$, $currIndex$$3$$), null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$) && $nextElement$$8$$ && 
        ($nextElement$$8$$ = $nextElement$$8$$.firstElementChild));
      } else {
        if ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$248_keyCode$$44$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$248_keyCode$$44$$) {
          $clientId$$139_targetDayIndex$$1$$ = ($isNextDay$$1_providerId$$15$$ = $AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$248_keyCode$$44$$ && $isRTL$$13_providerWrapperNode$$2$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$248_keyCode$$44$$ && !$isRTL$$13_providerWrapperNode$$2$$) ? $currIndex$$3$$ + 1 : $currIndex$$3$$ - 1, 0 <= $clientId$$139_targetDayIndex$$1$$ && $clientId$$139_targetDayIndex$$1$$ < $agent$$191_gridInfo$$7$$.$numDaysInWeek$ && ($nextElement$$8$$ = $AdfDomUtils$$.$getFirstChildElement$($isNextDay$$1_providerId$$15$$ ? 
          $AdfDomUtils$$.$getNextElement$($targetElement$$26$$.parentNode) : $AdfDomUtils$$.$getPreviousElement$($targetElement$$26$$.parentNode)));
        }
      }
    } else {
      null != $JSCompiler_StaticMethods__getProviderGridElement$$($calendar$$12_providerWrapperNodes$$2_providersCntId$$2_providersContainer$$2$$) && ($AdfKeyStroke$$.$ARROWLEFT_KEY$ == $i$$248_keyCode$$44$$ && $isRTL$$13_providerWrapperNode$$2$$ || $AdfKeyStroke$$.$ARROWRIGHT_KEY$ == $i$$248_keyCode$$44$$ && !$isRTL$$13_providerWrapperNode$$2$$) && ($nextElement$$8$$ = $JSCompiler_StaticMethods__getTimedActFocusInHourGrid$$($clientId$$139_targetDayIndex$$1$$, 0, $isNextDay$$1_providerId$$15$$));
    }
  }
  return $nextElement$$8$$ ? ($JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($targetElement$$26$$, $nextElement$$8$$, $componentEvent$$120$$, $retainOldActiveElement$$1_weekHeader$$1$$), !0) : !1;
}
function $JSCompiler_StaticMethods__hideMonthGridActivity$$($actInfo$$1_activity$$9$$, $gridInfo$$8_j$$24$$, $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$$24$$);
  for ($gridInfo$$8_j$$24$$ = 0;$gridInfo$$8_j$$24$$ < $actInfo$$1_activity$$9$$.$activityLength$;$gridInfo$$8_j$$24$$++) {
    var $numOverflow$$1$$ = $overflowDeltaInfo$$[$actInfo$$1_activity$$9$$.$startDay$ + $gridInfo$$8_j$$24$$];
    $overflowDeltaInfo$$[$actInfo$$1_activity$$9$$.$startDay$ + $gridInfo$$8_j$$24$$] = ++$numOverflow$$1$$;
  }
}
function $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$($JSCompiler_StaticMethods__isActivityDraggableAcrossDays$self$$, $activityElement$$3$$) {
  return $JSCompiler_StaticMethods__isActivityDraggableAcrossDays$self$$.$getComponent$().getView() == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$ ? null == $AdfAgent$$.$AGENT$.getAttribute($activityElement$$3$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) : !1;
}
$JSCompiler_prototypeAlias$$ = $AdfDhtmlCalendarPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_restoreScrollPosition$ = function $$JSCompiler_prototypeAlias$$$$_restoreScrollPosition$$($component$$749$$) {
  var $clientId$$140$$ = $component$$749$$.$getClientId$(), $agent$$192$$ = $AdfAgent$$.$AGENT$, $scrollTop$$19_view$$16$$ = $component$$749$$.$getProperty$($AdfDhtmlCalendarPeer$$.$_VIEW_KEY$), $key$$56_scrollElem_scrollSubId$$ = null, $oldScrollHeight$$ = null;
  if ($scrollTop$$19_view$$16$$ != $AdfDhtmlCalendarPeer$$.$_VIEW_MONTH$) {
    if ($scrollTop$$19_view$$16$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_LIST$) {
      $key$$56_scrollElem_scrollSubId$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_LIST_KEY$;
    } else {
      if ($scrollTop$$19_view$$16$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$ || $scrollTop$$19_view$$16$$ == $AdfDhtmlCalendarPeer$$.$_VIEW_WEEK$) {
        $key$$56_scrollElem_scrollSubId$$ = $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$, $oldScrollHeight$$ = this.$_getPageProperty$($component$$749$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$), this.$_setPageProperty$($component$$749$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_HEIGHT$, null);
      }
    }
    $scrollTop$$19_view$$16$$ = this.$_getPageProperty$($component$$749$$, $key$$56_scrollElem_scrollSubId$$);
    this.$_setPageProperty$($component$$749$$, $key$$56_scrollElem_scrollSubId$$, null);
    if (null != $scrollTop$$19_view$$16$$) {
      if ($key$$56_scrollElem_scrollSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$140$$, $key$$56_scrollElem_scrollSubId$$), $key$$56_scrollElem_scrollSubId$$ = $agent$$192$$.getElementById($key$$56_scrollElem_scrollSubId$$)) {
        var $savedActiveDay$$ = this.$_getPageProperty$($component$$749$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$), $activeDay$$1$$ = $JSCompiler_StaticMethods__getActiveDayFromDom$$($component$$749$$);
        this.$_setPageProperty$($component$$749$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$, null);
        $activeDay$$1$$ === $savedActiveDay$$ ? ($oldScrollHeight$$ && ($scrollTop$$19_view$$16$$ = $key$$56_scrollElem_scrollSubId$$.scrollHeight * $scrollTop$$19_view$$16$$ / $oldScrollHeight$$), $key$$56_scrollElem_scrollSubId$$.scrollTop = $scrollTop$$19_view$$16$$) : $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$140$$, $agent$$192$$);
      }
    } else {
      $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$140$$, $agent$$192$$);
    }
  }
};
function $JSCompiler_StaticMethods__scrollToStartHour$$($clientId$$142$$, $agent$$194$$) {
  var $elem$$18_subId$$17$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$142$$, $AdfDhtmlCalendarPeer$$.$_START_HOUR_SUBID_KEY$), $elem$$18_subId$$17$$ = $agent$$194$$.getElementById($elem$$18_subId$$17$$), $dateTimeGridContainer_scrollSubId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$142$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$);
  ($dateTimeGridContainer_scrollSubId$$1$$ = $agent$$194$$.getElementById($dateTimeGridContainer_scrollSubId$$1$$)) && $elem$$18_subId$$17$$ && $agent$$194$$.$scrollToPos$($dateTimeGridContainer_scrollSubId$$1$$, null, $elem$$18_subId$$17$$.offsetTop);
}
$JSCompiler_prototypeAlias$$.$_getPageProperty$ = function $$JSCompiler_prototypeAlias$$$$_getPageProperty$$($component$$751$$, $propertyKey$$4$$) {
  var $clientId$$143_storedProperties$$ = $component$$751$$.$getClientId$(), $value$$175$$;
  ($clientId$$143_storedProperties$$ = $AdfPage$$.$PAGE$.$getPageProperty$($clientId$$143_storedProperties$$)) && ($value$$175$$ = $clientId$$143_storedProperties$$[$propertyKey$$4$$]);
  return $value$$175$$;
};
$JSCompiler_prototypeAlias$$.$_setPageProperty$ = function $$JSCompiler_prototypeAlias$$$$_setPageProperty$$($clientId$$144_component$$752$$, $propertyKey$$5$$, $propertyValue$$8$$) {
  $clientId$$144_component$$752$$ = $clientId$$144_component$$752$$.$getClientId$();
  var $page$$93$$ = $AdfPage$$.$PAGE$, $storedProperties$$1$$ = $page$$93$$.$getPageProperty$($clientId$$144_component$$752$$);
  $storedProperties$$1$$ || ($storedProperties$$1$$ = {}, $page$$93$$.$setPageProperty$($clientId$$144_component$$752$$, $storedProperties$$1$$));
  $storedProperties$$1$$[$propertyKey$$5$$] = $propertyValue$$8$$;
};
function $JSCompiler_StaticMethods__setTimeActDragInfo$$($JSCompiler_StaticMethods__setTimeActDragInfo$self$$, $timeAct$$, $height$$28$$) {
  var $agent$$195$$ = $AdfAgent$$.$AGENT$;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivity$ = $timeAct$$;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityContainer$ = $timeAct$$.firstChild.firstChild;
  $JSCompiler_StaticMethods__setTimeActDragInfo$self$$.$_resizedActivityInitHeight$ = $height$$28$$;
  $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$$195$$.$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$$195$$.$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$$25$$, $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$$25$$);
  for ($gridInfo$$9_j$$25$$ = 0;$gridInfo$$9_j$$25$$ < $actInfo$$2_activity$$10$$.$activityLength$;$gridInfo$$9_j$$25$$++) {
    var $numOverflow$$2$$ = $overflowDeltaInfo$$1$$[$actInfo$$2_activity$$10$$.$startDay$ + $gridInfo$$9_j$$25$$];
    $overflowDeltaInfo$$1$$[$actInfo$$2_activity$$10$$.$startDay$ + $gridInfo$$9_j$$25$$] = --$numOverflow$$2$$;
  }
}
$JSCompiler_prototypeAlias$$.$_isPopupVisible$ = function $$JSCompiler_prototypeAlias$$$$_isPopupVisible$$($component$$753$$, $id$$260$$) {
  var $popupId$$31$$ = $AdfAgent$$.$AGENT$.getAttribute(this.$getDomElement$(), $id$$260$$);
  return $popupId$$31$$ ? $component$$753$$.$findComponent$($popupId$$31$$).$isPopupVisible$() : !1;
};
function $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$, $component$$754$$, $hints$$64_id$$261$$) {
  if ($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$ = $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$.$getDomElement$(), $hints$$64_id$$261$$)) {
    $JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$ = $component$$754$$.$findComponent$($JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$), $hints$$64_id$$261$$ = {}, $hints$$64_id$$261$$[AdfRichPopup.$HINT_LAUNCH_ID$] = $component$$754$$.$getClientId$(), $JSCompiler_StaticMethods__launchPopupFacet$self_popup$$11_popupId$$32$$.show($hints$$64_id$$261$$);
  }
}
$JSCompiler_prototypeAlias$$.$_onMouseOverTimeout$ = function $$JSCompiler_prototypeAlias$$$$_onMouseOverTimeout$$($mousePos$$3_state$$28$$) {
  delete this.$_calendarActivityMouseTimeout$;
  var $activityRootBounds_componentId$$24$$ = $mousePos$$3_state$$28$$.$componentId$, $clientId$$145_timeGridSubId$$ = this.$getComponent$().$getClientId$(), $activityRootElement$$5_activityRootId$$ = $mousePos$$3_state$$28$$.$activityRootId$, $isInTimeRegion$$ = $mousePos$$3_state$$28$$.$isInTimeRegion$, $agent$$196_timeGridContainerBounds$$ = $AdfAgent$$.$AGENT$, $component$$755_popup$$12$$ = $AdfPage$$.$PAGE$.$findComponent$($activityRootBounds_componentId$$24$$), $activityRootElement$$5_activityRootId$$ = 
  $agent$$196_timeGridContainerBounds$$.getElementById($activityRootElement$$5_activityRootId$$);
  if ($component$$755_popup$$12$$ && $activityRootElement$$5_activityRootId$$ && !$JSCompiler_StaticMethods__isBusyWithDifferentActivity$$(this, $activityRootElement$$5_activityRootId$$)) {
    this.bind($component$$755_popup$$12$$);
    var $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ = this.$_isPopupVisible$($component$$755_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$), $activityDeleteVisible$$ = this.$_isPopupVisible$($component$$755_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DELETE$), $activityContextMenuVisible$$ = this.$_isPopupVisible$($component$$755_popup$$12$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_CONTEXT_MENU$);
    !($activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ || $activityDeleteVisible$$ || $activityContextMenuVisible$$) && ($JSCompiler_StaticMethods__queueCalendarActivityEvent$$(this, $component$$755_popup$$12$$, $activityRootElement$$5_activityRootId$$, null, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_HOVER$), $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$755_popup$$12$$), 
    $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ = $AdfAgent$$.$AGENT$.getAttribute($activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_HOVER$)) && ($component$$755_popup$$12$$ = $component$$755_popup$$12$$.$findComponent$($activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$), $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$ = {}, $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$[AdfRichPopup.$HINT_LAUNCH_ID$] = 
    $activityRootBounds_componentId$$24$$, $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.autodismiss = "autodismissMouseOut", $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.autodismissMouseOut = $activityRootElement$$5_activityRootId$$.id, $isInTimeRegion$$ ? ($activityRootBounds_componentId$$24$$ = $agent$$196_timeGridContainerBounds$$.$getElementPageBounds$($activityRootElement$$5_activityRootId$$), $clientId$$145_timeGridSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$145_timeGridSubId$$, 
    $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$), $agent$$196_timeGridContainerBounds$$ = $agent$$196_timeGridContainerBounds$$.$getElementPageBounds$($agent$$196_timeGridContainerBounds$$.getElementById($clientId$$145_timeGridSubId$$)), $activityRootBounds_componentId$$24$$.top < $agent$$196_timeGridContainerBounds$$.top ? ($mousePos$$3_state$$28$$ = $mousePos$$3_state$$28$$.$mousePosition$, $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.mousePosition = {x:$mousePos$$3_state$$28$$.x, 
    y:$mousePos$$3_state$$28$$.y}) : $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.alignElement = $activityRootElement$$5_activityRootId$$) : $activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$.alignElement = $activityRootElement$$5_activityRootId$$, $component$$755_popup$$12$$.show($activityDetailVisible_activityHoverId$$1_domElement$$86_hints$$65$$));
  }
};
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$$, $component$$756$$, $activityRootElement$$6$$, $keyStroke$$10$$, $clickCount$$6$$, $button$$9$$, $triggerType$$11$$) {
  $triggerType$$11$$ != $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_HOVER$ && $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarActivityEvent$self$$);
  var $activityId$$12_ids$$2$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$6$$), $providerId$$16$$ = $activityId$$12_ids$$2$$.$providerId$, $activityId$$12_ids$$2$$ = $activityId$$12_ids$$2$$.$activityId$;
  $AdfFocusUtils$$.$focusElement$($activityRootElement$$6$$);
  $JSCompiler_StaticMethods__queueCalendarActivityEvent$self$$.$_currentActivityId$ = $activityId$$12_ids$$2$$;
  $AdfCalendarActivityEvent$$.$queue$($component$$756$$, $providerId$$16$$, $activityId$$12_ids$$2$$, $keyStroke$$10$$, $clickCount$$6$$, $button$$9$$, $triggerType$$11$$);
}
$JSCompiler_prototypeAlias$$.$_setSplitterPositionCallback$ = function $$JSCompiler_prototypeAlias$$$$_setSplitterPositionCallback$$($splitterPosition$$) {
  this.$_splitterComponent$.setProperty(AdfRichPanelSplitter.SPLITTER_POSITION, $splitterPosition$$, !1, $AdfUIComponent$$.$PROPAGATE_LOCALLY$);
};
function $JSCompiler_StaticMethods__isBusyWithDifferentActivity$$($JSCompiler_StaticMethods__isBusyWithDifferentActivity$self$$, $activityRootElement$$7$$) {
  var $newActivityId$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityRootElement$$7$$).$activityId$;
  return null == $JSCompiler_StaticMethods__isBusyWithDifferentActivity$self$$.$_currentActivityId$ || $newActivityId$$ === $JSCompiler_StaticMethods__isBusyWithDifferentActivity$self$$.$_currentActivityId$ ? !1 : $JSCompiler_StaticMethods__isBusyWithDifferentActivity$self$$.$IsBusy$();
}
$JSCompiler_prototypeAlias$$.$_showContextMenu$ = function $$JSCompiler_prototypeAlias$$$$_showContextMenu$$($component$$757$$, $calendarRootElement$$11_contextMenuId$$, $componentEvent$$121$$, $id$$262$$, $alignElement$$15$$) {
  if ($calendarRootElement$$11_contextMenuId$$ = $AdfAgent$$.$AGENT$.getAttribute($calendarRootElement$$11_contextMenuId$$, $id$$262$$)) {
    $JSCompiler_StaticMethods__killCalendarActivityMouseTimeout$$(this), this.$showContextMenu$($componentEvent$$121$$.$getNativeEvent$(), $calendarRootElement$$11_contextMenuId$$, $component$$757$$, $alignElement$$15$$, null, $component$$757$$.$getClientId$()), $componentEvent$$121$$.cancel();
  }
};
function $JSCompiler_StaticMethods__handleActivityContextMenu$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $componentEvent$$122$$, $calendarRootElement$$12$$, $activityRootElement$$8$$, $isAlignedToActivity$$) {
  var $component$$758$$ = $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $componentEvent$$122$$);
  $JSCompiler_StaticMethods__queueCalendarActivityEvent$$($JSCompiler_StaticMethods__handleActivityContextMenu$self$$, $component$$758$$, $activityRootElement$$8$$, null, 0, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_NONE$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_CONTEXT_MENU$);
  var $alignElement$$16$$ = null;
  $isAlignedToActivity$$ && ($alignElement$$16$$ = $activityRootElement$$8$$);
  $JSCompiler_StaticMethods__handleActivityContextMenu$self$$.$_showContextMenu$($component$$758$$, $calendarRootElement$$12$$, $componentEvent$$122$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_CONTEXT_MENU$, $alignElement$$16$$);
}
function $JSCompiler_StaticMethods__handleClickEvents$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $componentEvent$$123$$, $clickCount$$7$$) {
  var $eventTarget$$40$$ = $componentEvent$$123$$.$getNativeEventTarget$();
  if ($componentEvent$$123$$.$isLeftButtonPressed$() && $eventTarget$$40$$) {
    var $component$$759$$ = $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $componentEvent$$123$$), $calendarRootElement$$13$$ = $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$.$getDomElement$(), $activityRootElement$$9_displayChangeElement$$1$$ = $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$13$$, $eventTarget$$40$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$);
    $activityRootElement$$9_displayChangeElement$$1$$ ? ($JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$), $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($activityRootElement$$9_displayChangeElement$$1$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_KEY$), $AdfCalendarDisplayChangeEvent$$.$queue$($component$$759$$, $JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $AdfDhtmlCalendarPeer$$.$_VIEW_DAY$)) : 
    ($activityRootElement$$9_displayChangeElement$$1$$ = $JSCompiler_StaticMethods__getParentActivity$$($calendarRootElement$$13$$, $eventTarget$$40$$)) && $calendarRootElement$$13$$ != $activityRootElement$$9_displayChangeElement$$1$$ ? $JSCompiler_StaticMethods__isBusyWithDifferentActivity$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $activityRootElement$$9_displayChangeElement$$1$$) || ($JSCompiler_StaticMethods__queueCalendarActivityEvent$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, 
    $component$$759$$, $activityRootElement$$9_displayChangeElement$$1$$, null, $clickCount$$7$$, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_LEFT$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_MOUSE$), $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$759$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_ACTIVITY_DETAIL$)) : $JSCompiler_StaticMethods__queueCalendarEvent$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$759$$, 
    $componentEvent$$123$$, $calendarRootElement$$13$$, $eventTarget$$40$$, $clickCount$$7$$, $AdfDhtmlCalendarPeer$$.$_EVENT_BUTTON_LEFT$, $AdfDhtmlCalendarPeer$$.$_EVENT_TRIGGER_MOUSE$) && $JSCompiler_StaticMethods__launchPopupFacet$$($JSCompiler_StaticMethods__handleClickEvents$self_newDate$$1$$, $component$$759$$, $AdfDhtmlCalendarPeer$$.$_FACET_ID_CREATE$);
  }
}
function $JSCompiler_StaticMethods__queueCalendarEvent$$($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$, $component$$760$$, $componentEvent$$124_dayInWeek_hour$$, $calendarRootElement$$14$$, $eventTarget$$41$$, $clickCount$$8$$, $button$$10$$, $triggerType$$12$$) {
  var $dateString$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$($calendarRootElement$$14$$, $eventTarget$$41$$), $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$;
  $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ = $JSCompiler_StaticMethods__getValueWithAttr$$($calendarRootElement$$14$$, $eventTarget$$41$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_TIME_SLOT_KEY$);
  $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ = null == $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ ? null : $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$;
  var $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $eventTarget$$41$$.parentNode, $attributeValue$$1_divPos$$1$$ = $AdfAgent$$.$AGENT$.$getElementPosition$($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$);
  if (null == $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ && null != $JSCompiler_StaticMethods__getParentWithAttr$$($calendarRootElement$$14$$, $eventTarget$$41$$, $AdfDhtmlCalendarPeer$$.$_TIME_ACTIVITY_COLUMN_KEY$)) {
    var $index$$125_mousePos$$4_timeSlotsPerDay$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($componentEvent$$124_dayInWeek_hour$$.$getNativeEvent$());
    $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ = $index$$125_mousePos$$4_timeSlotsPerDay$$.y;
    $index$$125_mousePos$$4_timeSlotsPerDay$$ = 24 * $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$);
    $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ = Math.round(Math.max($pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ - $attributeValue$$1_divPos$$1$$.y, 0) / ($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$.offsetHeight / $index$$125_mousePos$$4_timeSlotsPerDay$$) - .5);
  }
  $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ == $calendarRootElement$$14$$ && ($dateString$$ = $AdfAgent$$.$AGENT$.getAttribute($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVE_DATE_KEY$));
  if (null == $dateString$$) {
    for ($index$$125_mousePos$$4_timeSlotsPerDay$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($componentEvent$$124_dayInWeek_hour$$.$getNativeEvent$()), $componentEvent$$124_dayInWeek_hour$$ = Math.max($index$$125_mousePos$$4_timeSlotsPerDay$$.x - $attributeValue$$1_divPos$$1$$.x, 0) / ($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$.offsetWidth / 7), $componentEvent$$124_dayInWeek_hour$$ = Math.round($componentEvent$$124_dayInWeek_hour$$ - .5), 6 < $componentEvent$$124_dayInWeek_hour$$ && 
    ($componentEvent$$124_dayInWeek_hour$$ = 6), $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$.childNodes, $attributeValue$$1_divPos$$1$$ = null, $index$$125_mousePos$$4_timeSlotsPerDay$$ = 0;$index$$125_mousePos$$4_timeSlotsPerDay$$ < $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$.length;$index$$125_mousePos$$4_timeSlotsPerDay$$++) {
      var $node$$66$$ = $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$[$index$$125_mousePos$$4_timeSlotsPerDay$$];
      1 == $node$$66$$.nodeType && ($attributeValue$$1_divPos$$1$$ = $AdfAgent$$.$AGENT$.getAttribute($node$$66$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_DAY_CELL_KEY$));
      if ($attributeValue$$1_divPos$$1$$ && $index$$125_mousePos$$4_timeSlotsPerDay$$ == $componentEvent$$124_dayInWeek_hour$$) {
        $dateString$$ = $attributeValue$$1_divPos$$1$$;
        break;
      }
    }
  }
  return null != $dateString$$ && void 0 != $dateString$$ ? ($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $componentEvent$$124_dayInWeek_hour$$ = null, null != $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ && ($children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $JSCompiler_StaticMethods__getTimeSlotsPerHour$$($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$), $componentEvent$$124_dayInWeek_hour$$ = Math.round($pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ / 
  $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ - .5), $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ = $pageY$$44_timeSlot$$3_timeSlotValue$$inline_1476$$ % $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$ * (60 / $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$)), $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$), $JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$ = 
  null, null != $JSCompiler_StaticMethods__getProviderGridElement$$($component$$760$$) && ($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$ = $AdfDomUtils$$.$getParentWithAttr$($calendarRootElement$$14$$, $eventTarget$$41$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$)), $AdfCalendarEvent$$.$queue$($component$$760$$, $dateString$$, $componentEvent$$124_dayInWeek_hour$$, $children$$15_eventTargetParent_min$$2_timeSlotsPerHour$$2$$, null, $clickCount$$8$$, $button$$10$$, 
  $triggerType$$12$$, $JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$ ? $AdfAgent$$.$AGENT$.getAttribute($JSCompiler_StaticMethods__queueCalendarEvent$self_providerDom$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_PROVIDER_ID_EXPANDO$) : null), !0) : !1;
}
function $JSCompiler_StaticMethods__getActivityX$$($activityDom$$, $isRTL$$16$$) {
  var $agent$$201$$ = $AdfAgent$$.$AGENT$;
  return $isRTL$$16$$ ? $agent$$201$$.$getElementLeft$($activityDom$$) + resizedActivity.clientWidth : $agent$$201$$.$getElementLeft$($activityDom$$);
}
function $JSCompiler_StaticMethods__getClientActivityId$$($JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$, $providerId$$17$$, $activityId$$13$$, $suffix$$) {
  $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$ = $JSCompiler_StaticMethods__getClientActivityId$self_clientActivityId$$.$getComponent$().$getClientId$() + "::" + $providerId$$17$$ + "::" + $activityId$$13$$;
  null != $suffix$$ && ($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$$80_ids$$4_prevActivityDom_prevId$$) {
  var $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ = this.$_resizedActivity$, $topPos$$1$$ = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.offsetTop, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = this.$_resizedActivityContainer$, $resizedActivityInitHeight$$ = this.$_resizedActivityInitHeight$, $dGCRContainer$$1$$ = this.$_dayGridCellRowsContainer$, $minIncrementSize$$ = this.$_minIncrementSize$, $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ = 
  $AdfAgent$$.$AGENT$, $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ = this.$_dateTimeGridContainer$;
  if ($actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$.scrollHeight > $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$.offsetHeight) {
    var $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$ = $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$.$getMousePosition$($evt$$80_ids$$4_prevActivityDom_prevId$$), $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ = $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$.$getElementPosition$($actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$), $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$ = 
    Math.max($agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$.y - $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$.y, 0), $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ = $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$ > $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$.offsetHeight - $AdfDhtmlCalendarPeer$$.$_AUTOSCROLL_MARGIN$;
    if ($agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$ < $AdfDhtmlCalendarPeer$$.$_AUTOSCROLL_MARGIN$ || $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$) {
      $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$ = $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$.scrollTop + ($agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ ? this.$_minIncrementSize$ : -this.$_minIncrementSize$), 0 <= $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$ && $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$ < $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$.scrollHeight && 
      ($actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$.scrollTop = $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$);
    }
  }
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ = $evt$$80_ids$$4_prevActivityDom_prevId$$.clientY;
  if ($JSCompiler_StaticMethods__isActivityDraggableAcrossDays$$(this, $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$)) {
    var $activityClone$$1_isRTL$$18_maxHeight$$1$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$ = $AdfAgent$$.$AGENT$, $clientX$$5$$ = $evt$$80_ids$$4_prevActivityDom_prevId$$.clientX;
    if ($clientX$$5$$ >= this.$_parentDayLeftBoundary$ && $clientX$$5$$ <= this.$_parentDayRightBoundary$) {
      $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.style.width = Math.max(this.$_resizedActivityInitWidth$, $activityClone$$1_isRTL$$18_maxHeight$$1$$ ? this.$_activityRightBoundary$ - $clientX$$5$$ : $clientX$$5$$ - this.$_activityLeftBoundary$) + "px";
    } else {
      var $dayBounds$$ = $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$.$getElementPageBounds$(this.$_parentDay$);
      $evt$$80_ids$$4_prevActivityDom_prevId$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$);
      $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ = $evt$$80_ids$$4_prevActivityDom_prevId$$.$suffix$;
      if (!$activityClone$$1_isRTL$$18_maxHeight$$1$$ && $clientX$$5$$ < $dayBounds$$.left || $activityClone$$1_isRTL$$18_maxHeight$$1$$ && $clientX$$5$$ > $dayBounds$$.right) {
        null != $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ && 0 < $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$.length && (0 < $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ ? $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$-- : $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ = null, $evt$$80_ids$$4_prevActivityDom_prevId$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, 
        $evt$$80_ids$$4_prevActivityDom_prevId$$.$providerId$, $evt$$80_ids$$4_prevActivityDom_prevId$$.$activityId$, $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$), $evt$$80_ids$$4_prevActivityDom_prevId$$ = $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$.getElementById($evt$$80_ids$$4_prevActivityDom_prevId$$)) && (this.$_deltaDays$--, $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.parentNode.removeChild($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$), 
        $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $evt$$80_ids$$4_prevActivityDom_prevId$$.firstChild.firstChild, null != $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$ ? ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $evt$$80_ids$$4_prevActivityDom_prevId$$, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$), this.$_resizeStartY$ = $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_resizeStartY$) : 
        ($JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $evt$$80_ids$$4_prevActivityDom_prevId$$, $minIncrementSize$$), this.$_resizeStartY$ = $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$.$getElementTop$($evt$$80_ids$$4_prevActivityDom_prevId$$) + $minIncrementSize$$, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $minIncrementSize$$ + "px", $resizedActivityInitHeight$$ = $minIncrementSize$$));
      } else {
        if (!$activityClone$$1_isRTL$$18_maxHeight$$1$$ && $clientX$$5$$ > $dayBounds$$.right && $clientX$$5$$ < this.$_gridRightBoundary$ || $activityClone$$1_isRTL$$18_maxHeight$$1$$ && $clientX$$5$$ < $dayBounds$$.left && $clientX$$5$$ > this.$_gridLeftBoundary$) {
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_initHeight$ = this.$_resizedActivityInitHeight$;
          $activityClone$$1_isRTL$$18_maxHeight$$1$$ = $dGCRContainer$$1$$.scrollHeight - $topPos$$1$$;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $activityClone$$1_isRTL$$18_maxHeight$$1$$;
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $activityClone$$1_isRTL$$18_maxHeight$$1$$ + "px";
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_resizeStartY$ = this.$_resizeStartY$;
          $activityClone$$1_isRTL$$18_maxHeight$$1$$ = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$.cloneNode(!0);
          $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ ? $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$++ : $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$ = 0;
          $activityClone$$1_isRTL$$18_maxHeight$$1$$.id = $JSCompiler_StaticMethods__getClientActivityId$$(this, $evt$$80_ids$$4_prevActivityDom_prevId$$.$providerId$, $evt$$80_ids$$4_prevActivityDom_prevId$$.$activityId$, $agent$$inline_1480_divPos$$inline_1483_scrollDown$$inline_1485_suffix$$1$$);
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $activityClone$$1_isRTL$$18_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$$11_resizedActivity$$3$$.parentNode.parentNode);null != $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$;) {
            if (null != $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$.getAttribute($clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$, "arc")) {
              $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.firstChild.appendChild($activityClone$$1_isRTL$$18_maxHeight$$1$$);
              break;
            }
            $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $AdfDomUtils$$.$getNextElement$($clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$);
          }
          $agent$$202_divMouseY$$inline_1484_mousePos$$inline_1482_scrollToPos$$inline_1486$$.$elementsAdded$($activityClone$$1_isRTL$$18_maxHeight$$1$$);
          $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$ = $activityClone$$1_isRTL$$18_maxHeight$$1$$.firstChild.firstChild;
          $JSCompiler_StaticMethods__setTimeActDragInfo$$(this, $activityClone$$1_isRTL$$18_maxHeight$$1$$, 0);
          this.$_deltaDays$++;
          this.$_resizeStartY$ = this.$_gridTop$ - this.$_dateTimeGridContainer$.scrollTop;
        }
      }
    }
  }
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ -= this.$_resizeStartY$;
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ += this.$_dateTimeGridContainer$.scrollTop - this.$_scrollTopBeforeDrag$;
  $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ = Math.ceil($actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ / $minIncrementSize$$) * $minIncrementSize$$;
  $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ >= $minIncrementSize$$ && $topPos$$1$$ + $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ <= $dGCRContainer$$1$$.offsetHeight ? ($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ = $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ + 
  "px", $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$) : $topPos$$1$$ + $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ > $dGCRContainer$$1$$.offsetHeight && ($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ = null != $AdfAgent$$.$AGENT$.getAttribute($midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$) ? 
  $resizedActivityInitHeight$$ + $actDeltaY_clientY$$5_dtGridContainer$$inline_1481$$ : $dGCRContainer$$1$$.offsetHeight - $topPos$$1$$ - 2, $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.style.height = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$ + "px", $clonedActivityStyles_nextTimedActCell_resizedActivityContainer$$1$$.$_newHeight$ = $midnightHeight_modifiedHeight_newHeight$$11_resizedActivity$$3$$);
};
$JSCompiler_prototypeAlias$$.$_handleAlldayActivityResizeDrag$ = function $$JSCompiler_prototypeAlias$$$$_handleAlldayActivityResizeDrag$$($agent$$203_eventY_evt$$81$$) {
  var $prevRow$$2_resizedActivity$$4$$ = this.$_resizedActivity$, $alldayContainer$$1_newResizeWidth$$ = this.$_alldayContainer$, $dayWidth$$2$$ = this.$_dayWidth$, $activityEndPadding$$2$$ = this.$_activityEndPadding$, $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = this.$_maxX$, $activityClone$$2_minX$$ = this.$_minX$, $activityX$$2_prevId$$1$$ = this.$_activityX$, $isRTL$$19$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = 0, 
  $clientX$$6$$ = $agent$$203_eventY_evt$$81$$.clientX;
  $isRTL$$19$$ ? ($clientX$$6$$ < $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ ? $clientX$$6$$ = $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ : $clientX$$6$$ > $activityClone$$2_minX$$ && ($clientX$$6$$ = $activityClone$$2_minX$$), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $activityX$$2_prevId$$1$$ - $clientX$$6$$) : ($clientX$$6$$ > $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ ? $clientX$$6$$ = $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ : $clientX$$6$$ < 
  $activityClone$$2_minX$$ && ($clientX$$6$$ = $activityClone$$2_minX$$), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $clientX$$6$$ - $activityX$$2_prevId$$1$$);
  this.$_resizeNewX$ = $clientX$$6$$;
  $prevRow$$2_resizedActivity$$4$$.style.width = $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ + "px";
  if ($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = this.$_initMonthRowTop$) {
    if ($agent$$203_eventY_evt$$81$$ = $agent$$203_eventY_evt$$81$$.clientY, $agent$$203_eventY_evt$$81$$ > $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ + this.$_monthRowHeight$) {
      if ($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = $AdfDomUtils$$.$getNextElement$($alldayContainer$$1_newResizeWidth$$)) {
        this.$_deltaWeeks$ += 1;
        $agent$$203_eventY_evt$$81$$ = $AdfAgent$$.$AGENT$;
        var $activityClone$$2_minX$$ = $prevRow$$2_resizedActivity$$4$$.cloneNode(!0), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($prevRow$$2_resizedActivity$$4$$), $suffix$$2$$ = $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$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$$5_newWidth$$8$$.$providerId$, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$activityId$, $suffix$$2$$);
        $agent$$203_eventY_evt$$81$$.$copyStyle$($prevRow$$2_resizedActivity$$4$$, $activityClone$$2_minX$$);
        $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $activityClone$$2_minX$$.style;
        $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.zIndex = ++this.$_nextZIndex$;
        $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$.appendChild($activityClone$$2_minX$$);
        $agent$$203_eventY_evt$$81$$.$elementsAdded$($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$);
        $isRTL$$19$$ ? ($alldayContainer$$1_newResizeWidth$$ = $activityX$$2_prevId$$1$$ - this.$_alldayContainerX$ + $activityEndPadding$$2$$, $prevRow$$2_resizedActivity$$4$$.style.width = $alldayContainer$$1_newResizeWidth$$ + "px", $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.right = ".25%", $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($activityClone$$2_minX$$, $isRTL$$19$$), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.width = $activityX$$2_prevId$$1$$ - $clientX$$6$$ + 
        "px") : ($clonedActivityStyles$$1_ids$$5_newWidth$$8$$.left = ".25%", $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($activityClone$$2_minX$$, $isRTL$$19$$), $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.width = $clientX$$6$$ - $activityX$$2_prevId$$1$$ + "px", $alldayContainer$$1_newResizeWidth$$ = $alldayContainer$$1_newResizeWidth$$.clientWidth - $prevRow$$2_resizedActivity$$4$$.offsetLeft - $activityEndPadding$$2$$, $prevRow$$2_resizedActivity$$4$$.style.width = 
        $alldayContainer$$1_newResizeWidth$$ + "px");
        this.$_minX$ = $isRTL$$19$$ ? $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$$2_prevActivityDom$$1$$;
        this.$_resizedActivity$ = $activityClone$$2_minX$$;
        this.$_initMonthRowTop$ = $agent$$203_eventY_evt$$81$$.$getElementTop$($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$);
      }
    } else {
      $agent$$203_eventY_evt$$81$$ < $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ && ($agent$$203_eventY_evt$$81$$ = $AdfAgent$$.$AGENT$, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($prevRow$$2_resizedActivity$$4$$), $suffix$$2$$ = $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$suffix$, null != $suffix$$2$$ && ($suffix$$2$$--, $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$providerId$, 
      $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$activityId$, $suffix$$2$$), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = $agent$$203_eventY_evt$$81$$.getElementById($activityX$$2_prevId$$1$$), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ || 0 != $suffix$$2$$ || ($activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$providerId$, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$activityId$, null), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = 
      $agent$$203_eventY_evt$$81$$.getElementById($activityX$$2_prevId$$1$$), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ || ($activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getClientActivityId$$(this, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$providerId$, $clonedActivityStyles$$1_ids$$5_newWidth$$8$$.$activityId$, 52), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ = $agent$$203_eventY_evt$$81$$.getElementById($activityX$$2_prevId$$1$$))), $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$ && 
      $AdfDomUtils$$.$isVisible$($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$) && (--this.$_deltaWeeks$, $activityX$$2_prevId$$1$$ = $JSCompiler_StaticMethods__getActivityX$$($initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$, $isRTL$$19$$), this.$_minX$ = $isRTL$$19$$ ? $activityX$$2_prevId$$1$$ - $dayWidth$$2$$ + $activityEndPadding$$2$$ : $activityX$$2_prevId$$1$$ + $dayWidth$$2$$ - $activityEndPadding$$2$$, $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$.width = ($isRTL$$19$$ ? 
      $activityX$$2_prevId$$1$$ - $clientX$$6$$ : $clientX$$6$$ - $activityX$$2_prevId$$1$$) + "px", $alldayContainer$$1_newResizeWidth$$.removeChild($prevRow$$2_resizedActivity$$4$$), $prevRow$$2_resizedActivity$$4$$ = $AdfDomUtils$$.$getPreviousElement$($alldayContainer$$1_newResizeWidth$$), this.$_activityX$ = $activityX$$2_prevId$$1$$, this.$_alldayContainer$ = $prevRow$$2_resizedActivity$$4$$, this.$_resizedActivity$ = $initMonthRowTop_maxX_nextRow$$2_prevActivityDom$$1$$, this.$_initMonthRowTop$ = 
      $agent$$203_eventY_evt$$81$$.$getElementTop$($prevRow$$2_resizedActivity$$4$$))));
    }
  }
};
function $JSCompiler_StaticMethods__getDateTimeGridContainer$$($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$) {
  $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$ = $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$.$getComponent$().$getClientId$();
  $JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$, $AdfDhtmlCalendarPeer$$.$_SCROLL_DAY_KEY$);
  return $AdfAgent$$.$AGENT$.getElementById($JSCompiler_StaticMethods__getDateTimeGridContainer$self_clientId$$149_scrollSubId$$2$$);
}
$JSCompiler_prototypeAlias$$.$_handleTimeActivityResizeDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleTimeActivityResizeDrop$$($evt$$83$$) {
  var $agent$$205$$ = $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$$), null != $activity$$11_timeActCell$$ && null != $AdfAgent$$.$AGENT$.getAttribute($activity$$11_timeActCell$$, "arc") && this.$_deltaDays$--;
      }
      if (null != $activity$$11_timeActCell$$) {
        for (var $baseIds_firstDayTimeSlotDelta$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($resizedActivity$$5$$), $activity$$11_timeActCell$$ = $activity$$11_timeActCell$$.firstChild.firstChild;null != $activity$$11_timeActCell$$;) {
          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 (null != $agent$$205$$.getAttribute($resizedActivity$$5$$, $AdfDhtmlCalendarPeer$$.$_CALENDAR_ACTIVITY_DURATION_KEY$)) {
    var $dateString$$1$$ = $JSCompiler_StaticMethods__getDayCellAttrValue$$(this.$getDomElement$(), $resizedActivity$$5$$)
  }
  $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$$(this, $resizedActivity$$5$$, $deltaHour$$, $deltaMin_timeSlotDelta$$, $dateString$$1$$);
  $agent$$205$$.$eatEvent$($evt$$83$$);
};
$JSCompiler_prototypeAlias$$.$_handleAlldayActivityResizeDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleAlldayActivityResizeDrop$$($evt$$84$$) {
  var $agent$$206$$ = $AdfAgent$$.$AGENT$, $resizedActivity$$6$$ = this.$_resizedActivity$, $deltaHour$$1_deltaWeeks_endDay$$ = 0, $isRTL$$20$$ = $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$$20$$ ? ($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$$206$$.$eatEvent$($evt$$84$$);
};
function $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$, $activityDom$$1_providerId$$18$$, $deltaHour$$2$$, $deltaMin$$2$$, $dateString$$2$$) {
  if (0 != $deltaHour$$2$$ || 0 != $deltaMin$$2$$) {
    $JSCompiler_StaticMethods__hideActivityHoverPopup$$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$);
    var $activityId$$14_ids$$6$$ = $JSCompiler_StaticMethods__getProviderAndActivityIdFromElement$$($activityDom$$1_providerId$$18$$);
    $activityDom$$1_providerId$$18$$ = $activityId$$14_ids$$6$$.$providerId$;
    $activityId$$14_ids$$6$$ = $activityId$$14_ids$$6$$.$activityId$;
    $JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$.$_currentActivityId$ = $activityId$$14_ids$$6$$;
    $AdfCalendarActivityDurationChangeEvent$$.$queue$($JSCompiler_StaticMethods__queueCalendarActivityDurationChangeEvent$self$$.$getComponent$(), $activityDom$$1_providerId$$18$$, $activityId$$14_ids$$6$$, $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$ = null;
  $JSCompiler_StaticMethods__doActivityResizeCleanup$self$$.$_alldayContainer$ = 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$ = 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$$11_tokens$$18$$) {
  $activityRootElement$$11_tokens$$18$$ = $activityRootElement$$11_tokens$$18$$.id.split("::");
  var $providerId$$19$$ = "", $activityId$$15$$ = "", $suffix$$3$$ = "", $numTokens$$3$$ = $activityRootElement$$11_tokens$$18$$.length;
  3 <= $numTokens$$3$$ && ($providerId$$19$$ = $activityRootElement$$11_tokens$$18$$[1], $activityId$$15$$ = $activityRootElement$$11_tokens$$18$$[2], 3 < $numTokens$$3$$ && ($suffix$$3$$ = $activityRootElement$$11_tokens$$18$$[3]));
  return {$providerId$:$providerId$$19$$, $activityId$:$activityId$$15$$, $suffix$:$suffix$$3$$};
}
function $JSCompiler_StaticMethods__getComponentEventSource$$($JSCompiler_StaticMethods__getComponentEventSource$self$$, $componentEvent$$127$$) {
  var $calendar$$16$$ = $JSCompiler_StaticMethods__getComponentEventSource$self$$.$getComponent$(), $eventSource$$1$$ = $componentEvent$$127$$.getSource();
  return $eventSource$$1$$.$getClientId$() == $JSCompiler_StaticMethods__getComponentEventSource$self$$.$_splitterid$ ? $calendar$$16$$ : $eventSource$$1$$;
}
$AdfDhtmlCalendarPeer$$.$_initFlexListSizeBreakpoints$ = function $$AdfDhtmlCalendarPeer$$$$_initFlexListSizeBreakpoints$$() {
  var $laf$$59$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $small$$ = $laf$$59$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_SM_SKIN_PROPERTY$);
  void 0 === $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$ && void 0 != $small$$ && ($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$ = [], $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[0] = $small$$, $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[1] = $laf$$59$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_SKIN_PROPERTY$), $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[2] = $laf$$59$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_LG_SKIN_PROPERTY$));
};
$AdfDhtmlCalendarPeer$$.$_initProviderGroupingSizeBreakpoints$ = function $$AdfDhtmlCalendarPeer$$$$_initProviderGroupingSizeBreakpoints$$() {
  var $laf$$60$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $small$$1$$ = $laf$$60$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_SM_SKIN_PROPERTY$);
  void 0 === $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$ && void 0 != $small$$1$$ && ($AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$ = [], $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[0] = $small$$1$$, $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[1] = $laf$$60$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_MD_SKIN_PROPERTY$), $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[2] = $laf$$60$$.$getSkinProperty$($AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_LG_SKIN_PROPERTY$));
};
$AdfDhtmlCalendarPeer$$.$_addViewSizeStyleClass$ = function $$AdfDhtmlCalendarPeer$$$$_addViewSizeStyleClass$$($domElement$$88$$, $className$$18$$) {
  var $currentStyleClasses$$ = $domElement$$88$$.className;
  if (-1 == $currentStyleClasses$$.indexOf($className$$18$$)) {
    var $index$$126$$ = $currentStyleClasses$$.indexOf($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_STATE_PREFIX$);
    -1 != $index$$126$$ && $AdfDomUtils$$.$removeCSSClassName$($domElement$$88$$, $currentStyleClasses$$.substring($index$$126$$, $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_STATE_LENGTH$));
    $AdfDomUtils$$.$addCSSClassName$($domElement$$88$$, $className$$18$$);
  }
};
$AdfDhtmlCalendarPeer$$.$_adjustViewSizeState$ = function $$AdfDhtmlCalendarPeer$$$$_adjustViewSizeState$$($domElement$$89$$, $newWidth$$9$$) {
  if ($AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$) {
    var $className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_STATE$;
    void 0 !== $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$ && ($newWidth$$9$$ < $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[0] ? $className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_SM_STATE$ : $newWidth$$9$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[0] && $newWidth$$9$$ < $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[1] ? $className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_STATE$ : $newWidth$$9$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[1] && $newWidth$$9$$ < $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[2] ? 
    $className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_LG_STATE$ : $newWidth$$9$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_BREAKPOINTS$[2] && ($className$$19$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_XL_STATE$));
    $AdfDhtmlCalendarPeer$$.$_addViewSizeStyleClass$($domElement$$89$$, $className$$19$$);
  }
};
$AdfDhtmlCalendarPeer$$.$_adjustProviderGroupingViewSizeState$ = function $$AdfDhtmlCalendarPeer$$$$_adjustProviderGroupingViewSizeState$$($domElement$$90$$, $newWidth$$10$$) {
  var $className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_STATE$;
  void 0 !== $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$ && ($newWidth$$10$$ < $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[0] ? $className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_SM_STATE$ : $newWidth$$10$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[0] && $newWidth$$10$$ < $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[1] ? $className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_MD_STATE$ : $newWidth$$10$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[1] && 
  $newWidth$$10$$ < $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[2] ? $className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_LG_STATE$ : $newWidth$$10$$ >= $AdfDhtmlCalendarPeer$$.$_CAL_PROV_GRP_SIZE_BREAKPOINTS$[2] && ($className$$20$$ = $AdfDhtmlCalendarPeer$$.$_CAL_SIZE_XL_STATE$));
  $AdfDhtmlCalendarPeer$$.$_addViewSizeStyleClass$($domElement$$90$$, $className$$20$$);
};
function $JSCompiler_StaticMethods__switchfocusAndMarkActiveDescendant$$($fromElement$$, $toElement$$, $componentEvent$$128$$, $retainOldActiveElement$$2$$) {
  $AdfAssert$$.$assertDomElement$($fromElement$$);
  $AdfAssert$$.$assertDomElement$($toElement$$);
  $AdfFocusUtils$$.$focusElement$($toElement$$);
  $fromElement$$.setAttribute("tabIndex", $retainOldActiveElement$$2$$ ? "0" : "-1");
  $toElement$$.setAttribute("tabIndex", "0");
  $componentEvent$$128$$ && ($componentEvent$$128$$.cancel(), $componentEvent$$128$$.$stopBubbling$());
}
;