var $AdfDhtmlMasonryLayoutPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlMasonryLayoutPeer", $JSCompiler_alias_FALSE$$);
$goog$exportSymbol$$("AdfDhtmlMasonryLayoutPeer", $AdfDhtmlMasonryLayoutPeer$$);
$AdfDhtmlMasonryLayoutPeer$$.$InitSubclass$ = function $$AdfDhtmlMasonryLayoutPeer$$$$InitSubclass$$() {
  this.$_MASONRY_LAYOUT_CLASS$ = "af|masonryLayout";
  this.$_MASONRY_LAYOUT_DROP_TARGET_CLASS$ = this.$_MASONRY_LAYOUT_CLASS$ + "::drop-target";
  this.$_MASONRY_LAYOUT_TRANSITION_RESIZE_TO_CLASS$ = "AFMasonryLayoutTransitionResizeTo";
  this.$_MASONRY_LAYOUT_TRANSITION_RESIZE_TO_FAST_CLASS$ = "AFMasonryLayoutTransitionResizeToFast";
  this.$_MAX_TILE_ROW_SPAN$ = this.$_MAX_TILE_COL_SPAN$ = 10;
  this.$_MASONRY_TILE_SIZE_CLASS_STEM$ = "AFMasonryTileSize";
  var $widthCount$$ = this.$_MAX_TILE_COL_SPAN$ + 1, $heightCount$$ = this.$_MAX_TILE_ROW_SPAN$ + 1, $sizeColumns$$ = [$JSCompiler_alias_NULL$$];
  this.$_UNCOMPRESSED_MASONRY_TILE_SIZE_CLASSES$ = $sizeColumns$$;
  for(var $col$$ = 1;$col$$ < $widthCount$$;$col$$++) {
    var $sizeColumn$$ = [$JSCompiler_alias_NULL$$];
    $sizeColumns$$.push($sizeColumn$$);
    for(var $row$$43$$ = 1;$row$$43$$ < $heightCount$$;$row$$43$$++) {
      $sizeColumn$$.push(this.$_MASONRY_TILE_SIZE_CLASS_STEM$ + $col$$ + "x" + $row$$43$$)
    }
  }
  this.$_MASONRY_TRANSITION_MOVE_TO_CLASS$ = "AFMasonryTileTransitionMoveTo";
  this.$_MASONRY_TRANSITION_MOVE_TO_FAST_CLASS$ = "AFMasonryTileTransitionMoveToFast";
  this.$_MASONRY_TRANSITION_RESIZE_TO_CLASS$ = "AFMasonryTileTransitionResizeTo";
  this.$_MASONRY_TRANSITION_HIDE_FROM_CLASS$ = "AFMasonryTileTransitionHideFrom";
  this.$_MASONRY_TRANSITION_HIDE_TO_CLASS$ = "AFMasonryTileTransitionHideTo";
  this.$_MASONRY_TRANSITION_SHOW_FROM_CLASS$ = "AFMasonryTileTransitionShowFrom";
  this.$_MASONRY_TRANSITION_SHOW_TO_CLASS$ = "AFMasonryTileTransitionShowTo";
  this.$_HAS_DELETE_LISTENER_KEY$ = "hasDeleteListener";
  this.$_HAS_REORDER_LISTENER_KEY$ = "hasReorderListener"
};
$goog$exportSymbol$$("AdfDhtmlMasonryLayoutPeer.InitSubclass", $AdfDhtmlMasonryLayoutPeer$$.$InitSubclass$);
$AdfDhtmlMasonryLayoutPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$InitDomElement$$($component$$1065$$, $domElement$$291$$) {
  $AdfDhtmlMasonryLayoutPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1065$$, $domElement$$291$$);
  var $adfPage$$1_callbackInfo$$2_laf$$56$$ = $AdfPage$$.$PAGE$, $mlCommon_rtl$$4$$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.$getLocaleContext$().$isRightToLeft$();
  this.$_rtl$ = $mlCommon_rtl$$4$$;
  var $automationEnabled$$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.$isAutomationEnabled$(), $adfPage$$1_callbackInfo$$2_laf$$56$$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.$getLookAndFeel$(), $tileSelectors_uncompressedSizeColumns$$ = $AdfDhtmlMasonryLayoutPeer$$.$_UNCOMPRESSED_MASONRY_TILE_SIZE_CLASSES$, $selectors$$8_widthCount$$1$$ = $AdfDhtmlMasonryLayoutPeer$$.$_MAX_TILE_COL_SPAN$ + 1, $heightCount$$1_styles$$2$$ = $AdfDhtmlMasonryLayoutPeer$$.$_MAX_TILE_ROW_SPAN$ + 1, $arTiles$$inline_1965_compressedSizeColumns$$ = 
  [$JSCompiler_alias_NULL$$];
  this.$_compressedMasonryTileSizeClasses$ = $arTiles$$inline_1965_compressedSizeColumns$$;
  for(var $col$$1_i$$inline_1966$$ = 1;$col$$1_i$$inline_1966$$ < $selectors$$8_widthCount$$1$$;$col$$1_i$$inline_1966$$++) {
    var $uncompressedSizeColumn$$ = $tileSelectors_uncompressedSizeColumns$$[$col$$1_i$$inline_1966$$], $compressedSizeColumn$$ = [$JSCompiler_alias_NULL$$];
    $arTiles$$inline_1965_compressedSizeColumns$$.push($compressedSizeColumn$$);
    for(var $row$$44$$ = 1;$row$$44$$ < $heightCount$$1_styles$$2$$;$row$$44$$++) {
      var $compressedName$$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($uncompressedSizeColumn$$[$row$$44$$]);
      $compressedSizeColumn$$.push($compressedName$$)
    }
  }
  $tileSelectors_uncompressedSizeColumns$$ = "";
  for($col$$1_i$$inline_1966$$ = 1;$col$$1_i$$inline_1966$$ < $selectors$$8_widthCount$$1$$;$col$$1_i$$inline_1966$$++) {
    $compressedSizeColumn$$ = $arTiles$$inline_1965_compressedSizeColumns$$[$col$$1_i$$inline_1966$$];
    for($row$$44$$ = 1;$row$$44$$ < $heightCount$$1_styles$$2$$;$row$$44$$++) {
      if($compressedName$$ = $compressedSizeColumn$$[$row$$44$$]) {
        0 < $tileSelectors_uncompressedSizeColumns$$.length && ($tileSelectors_uncompressedSizeColumns$$ += ", "), $tileSelectors_uncompressedSizeColumns$$ += "." + $compressedName$$
      }
    }
  }
  $selectors$$8_widthCount$$1$$ = {};
  $selectors$$8_widthCount$$1$$.$tiles$ = $tileSelectors_uncompressedSizeColumns$$;
  $heightCount$$1_styles$$2$$ = {};
  $heightCount$$1_styles$$2$$.$transitionComponentResizeToStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_LAYOUT_TRANSITION_RESIZE_TO_CLASS$);
  $heightCount$$1_styles$$2$$.$transitionComponentResizeToFastStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_LAYOUT_TRANSITION_RESIZE_TO_FAST_CLASS$);
  $heightCount$$1_styles$$2$$.$transitionMoveToStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TRANSITION_MOVE_TO_CLASS$);
  $heightCount$$1_styles$$2$$.$transitionMoveToFastStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TRANSITION_MOVE_TO_FAST_CLASS$);
  $heightCount$$1_styles$$2$$.$transitionResizeToStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TRANSITION_RESIZE_TO_CLASS$);
  $heightCount$$1_styles$$2$$.$transitionHideFromStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TRANSITION_HIDE_FROM_CLASS$);
  $heightCount$$1_styles$$2$$.$transitionHideToStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TRANSITION_HIDE_TO_CLASS$);
  $heightCount$$1_styles$$2$$.$transitionShowFromStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TRANSITION_SHOW_FROM_CLASS$);
  $heightCount$$1_styles$$2$$.$transitionShowToStyleClass$ = $adfPage$$1_callbackInfo$$2_laf$$56$$.getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TRANSITION_SHOW_TO_CLASS$);
  $adfPage$$1_callbackInfo$$2_laf$$56$$ = {};
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$addStyleClassName$ = $AdfDomUtils$$.$addCSSClassName$;
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$removeStyleClassName$ = $AdfDomUtils$$.$removeCSSClassName$;
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$getSizeStyleClassName$ = this.$createCallback$(this.$_getSizeStyleClassName$);
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$getTileSpan$ = this.$createCallback$(this.$_getTileSpan$);
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$hideTileOnEndFunc$ = this.$createCallback$(this.$_hideTileOnEndFunc$);
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$layoutOnEndFunc$ = this.$createCallback$(this.$_layoutOnEndFunc$);
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$layoutCycleOnStartFunc$ = this.$createCallback$(this.$_layoutCycleOnStartFunc$);
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$layoutCycleOnEndFunc$ = this.$createCallback$(this.$_layoutCycleOnEndFunc$);
  $adfPage$$1_callbackInfo$$2_laf$$56$$.$sortTilesOriginalOrderFunc$ = $AdfDhtmlMasonryLayoutPeer$$.$_sortTilesOriginalOrder$;
  if($arTiles$$inline_1965_compressedSizeColumns$$ = this.$_getChildElements$($domElement$$291$$)) {
    for($col$$1_i$$inline_1966$$ = 0;$col$$1_i$$inline_1966$$ < $arTiles$$inline_1965_compressedSizeColumns$$.length;$col$$1_i$$inline_1966$$++) {
      $arTiles$$inline_1965_compressedSizeColumns$$[$col$$1_i$$inline_1966$$].$_afrMasonryOriginalOrder$ = $col$$1_i$$inline_1966$$ + 1
    }
  }
  this.$_mlCommon$ = $mlCommon_rtl$$4$$ = new window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$($domElement$$291$$, $mlCommon_rtl$$4$$, $automationEnabled$$, $selectors$$8_widthCount$$1$$, $heightCount$$1_styles$$2$$, $adfPage$$1_callbackInfo$$2_laf$$56$$);
  $mlCommon_rtl$$4$$.$setup$($JSCompiler_alias_TRUE$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$InitDomElement$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$needsResizeNotify$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$ResizeNotify$$($component$$1067_mlCommon$$1_oldWidth$$14$$, $dropTarget$$12_oldHeight$$16$$, $newWidth$$16$$, $newHeight$$18$$) {
  $AdfDhtmlMasonryLayoutPeer$$.$superclass$.$ResizeNotify$.call(this, $component$$1067_mlCommon$$1_oldWidth$$14$$, $dropTarget$$12_oldHeight$$16$$, $newWidth$$16$$, $newHeight$$18$$);
  this.$_dropTargetInitialized$ || (this.$_dropTargetInitialized$ = $JSCompiler_alias_TRUE$$, $component$$1067_mlCommon$$1_oldWidth$$14$$ = this.$getComponent$(), ($dropTarget$$12_oldHeight$$16$$ = $component$$1067_mlCommon$$1_oldWidth$$14$$.$getDropTarget$()) && $component$$1067_mlCommon$$1_oldWidth$$14$$.$setDropTarget$(new $AdfMasonryLayoutDropTarget$$($dropTarget$$12_oldHeight$$16$$)));
  if($component$$1067_mlCommon$$1_oldWidth$$14$$ = this.$_mlCommon$) {
    this.$_handledFirstResize$ ? $component$$1067_mlCommon$$1_oldWidth$$14$$.$resizeNotify$() : (this.$_handledFirstResize$ = $JSCompiler_alias_TRUE$$, $component$$1067_mlCommon$$1_oldWidth$$14$$.$setup$($JSCompiler_alias_TRUE$$), this.$getDomElement$().style.visibility = "")
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$ResizeNotify$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$ReplaceDomElement$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$ReplaceDomElement$$($newElement$$17$$, $oldElement$$8$$) {
  if(0 <= $newElement$$17$$.id.indexOf("optRnd")) {
    for(var $arChildren$$ = $oldElement$$8$$.childNodes, $i$$263$$ = $arChildren$$.length - 1;0 <= $i$$263$$;$i$$263$$--) {
      var $child$$15$$ = $arChildren$$[$i$$263$$];
      if(1 == $child$$15$$.nodeType) {
        var $childId$$3$$ = $child$$15$$.id;
        $childId$$3$$ && 0 < $childId$$3$$.length && ($newElement$$17$$.querySelector("#" + $AdfDhtmlMasonryLayoutPeer$$.$_encodeSelector$($childId$$3$$)) || $newElement$$17$$.appendChild($child$$15$$))
      }
    }
  }
  $AdfDhtmlMasonryLayoutPeer$$.$superclass$.$ReplaceDomElement$.call(this, $newElement$$17$$, $oldElement$$8$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.ReplaceDomElement", {$ReplaceDomElement$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$ReplaceDomElement$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$DomReplaceNotify$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$DomReplaceNotify$$($domNode$$47$$) {
  if(0 <= $domNode$$47$$.id.indexOf("optRnd")) {
    if(this.$_mlCommon$.$isAnimationEnabled$()) {
      for(var $agent$$inline_1970$$ = $AdfAgent$$.$AGENT$, $transitionShowFromStyleClass$$inline_1971$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TRANSITION_SHOW_FROM_CLASS$), $arChildren$$inline_1972$$ = $domNode$$47$$.childNodes, $i$$inline_1973$$ = 0;$i$$inline_1973$$ < $arChildren$$inline_1972$$.length;$i$$inline_1973$$++) {
        var $child$$inline_1974$$ = $arChildren$$inline_1972$$[$i$$inline_1973$$];
        1 == $child$$inline_1974$$.nodeType && $agent$$inline_1970$$.getAttribute($child$$inline_1974$$, "data-insert") && $AdfDomUtils$$.$addCSSClassName$($child$$inline_1974$$.firstChild, $transitionShowFromStyleClass$$inline_1971$$)
      }
    }
    this.$_processOptimizedRenderTimer$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_processOptimizedRender$, $domNode$$47$$, 0)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.DomReplaceNotify", {$DomReplaceNotify$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$DomReplaceNotify$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$ComponentRemoved$$() {
  this.$_processOptimizedRenderTimer$ && ($AdfPage$$.$PAGE$.$cancelTimer$(this.$_processOptimizedRenderTimer$), this.$_processOptimizedRenderTimer$ = $JSCompiler_alias_NULL$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$resizeTile$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$resizeTile$$($tileClientId$$3$$, $styleClass$$6$$) {
  var $mlCommon$$2$$ = this.$_mlCommon$;
  $mlCommon$$2$$.$_layoutPhase$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_finishLayoutCycle$$($mlCommon$$2$$);
  var $laf$$57_newStyleClass$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $evt$$95_infolet$$ = document.getElementById($tileClientId$$3$$), $agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$ = $JSCompiler_StaticMethods__getUncompressedSizeStyleClassName$$(this, $evt$$95_infolet$$), $cloneInfolet_oldCompressedSizeStyleClass$$ = $laf$$57_newStyleClass$$.getStyleClass($agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$);
  if($styleClass$$6$$ == $agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$ || $styleClass$$6$$ == $cloneInfolet_oldCompressedSizeStyleClass$$) {
    $AdfLogger$$.$LOGGER$.warning("Unable to resize masonryLayout child ", $tileClientId$$3$$, " to style class ", $styleClass$$6$$, " because ", $styleClass$$6$$, " is already applied.")
  }else {
    this.$_arResizeClientIds$ || (this.$_arResizeClientIds$ = []);
    this.$_arResizeClientIds$.push($tileClientId$$3$$);
    $AdfFocusUtils$$.$containsFocus$($evt$$95_infolet$$) && (this.$_resizingTileWithFocusId$ = $evt$$95_infolet$$.id);
    var $agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$ = $AdfAgent$$.$AGENT$, $component$$1069$$ = this.$getComponent$(), $clientId$$205$$ = $component$$1069$$.$getClientId$(), $cloneInfolet_oldCompressedSizeStyleClass$$ = $agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$.cloneNode($evt$$95_infolet$$);
    1 == $cloneInfolet_oldCompressedSizeStyleClass$$.nodeType && $agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$.$clearSubtreeIds$($cloneInfolet_oldCompressedSizeStyleClass$$);
    $cloneInfolet_oldCompressedSizeStyleClass$$.id = $AdfRichUIPeer$$.$createSubId$($clientId$$205$$, $tileClientId$$3$$ + "_resizePlaceholder");
    $cloneInfolet_oldCompressedSizeStyleClass$$.$_afrMasonryOriginalOrder$ = $evt$$95_infolet$$.$_afrMasonryOriginalOrder$;
    this.$getDomElement$().replaceChild($cloneInfolet_oldCompressedSizeStyleClass$$, $evt$$95_infolet$$);
    $agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$205$$, "optRnd");
    document.getElementById($agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$).appendChild($evt$$95_infolet$$);
    this.$_arResizeEventsToFire$ || (this.$_arResizeEventsToFire$ = []);
    $agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$ = $JSCompiler_StaticMethods__getUncompressedSizeStyleClassName$$(this, $evt$$95_infolet$$);
    $evt$$95_infolet$$ = new $AdfMasonryResizeEvent$$($component$$1069$$, $tileClientId$$3$$, $agent$$311_oldSizeStyleClass$$3_optRndSubId$$1$$, $styleClass$$6$$);
    this.$_arResizeEventsToFire$.push($evt$$95_infolet$$);
    $laf$$57_newStyleClass$$ = $laf$$57_newStyleClass$$.getStyleClass($styleClass$$6$$);
    $mlCommon$$2$$.$resizeTile$("#" + $AdfDhtmlMasonryLayoutPeer$$.$_encodeSelector$($cloneInfolet_oldCompressedSizeStyleClass$$.id), $laf$$57_newStyleClass$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.resizeTile", {$resizeTile$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$resizeTile$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$insertTile$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$insertTile$$($sizeStyleClass$$6$$, $index$$113$$) {
  var $mlCommon$$3$$ = this.$_mlCommon$;
  $mlCommon$$3$$.$_layoutPhase$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_finishLayoutCycle$$($mlCommon$$3$$);
  var $arChildren$$inline_1979_style$$22_styleClass$$7$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($sizeStyleClass$$6$$);
  isNaN($index$$113$$) && ($index$$113$$ = -1);
  var $placeholderDiv$$ = document.createElement("div"), $component$$1070_evt$$96_index$$inline_1978$$ = this.$getComponent$(), $clientId$$206_currChildAtIndex$$inline_1980_subId$$17$$ = $component$$1070_evt$$96_index$$inline_1978$$.$getClientId$(), $clientId$$206_currChildAtIndex$$inline_1980_subId$$17$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$206_currChildAtIndex$$inline_1980_subId$$17$$, "placeholder" + $index$$113$$);
  $placeholderDiv$$.id = $clientId$$206_currChildAtIndex$$inline_1980_subId$$17$$;
  $AdfDomUtils$$.$addCSSClassName$($placeholderDiv$$, $arChildren$$inline_1979_style$$22_styleClass$$7$$);
  $arChildren$$inline_1979_style$$22_styleClass$$7$$ = $placeholderDiv$$.style;
  $arChildren$$inline_1979_style$$22_styleClass$$7$$.top = "-1px";
  this.$_rtl$ ? $arChildren$$inline_1979_style$$22_styleClass$$7$$.right = "-1px" : $arChildren$$inline_1979_style$$22_styleClass$$7$$.left = "-1px";
  this.$_arInsertEventsToFire$ || (this.$_arInsertEventsToFire$ = []);
  $component$$1070_evt$$96_index$$inline_1978$$ = new $AdfMasonryInsertEvent$$($component$$1070_evt$$96_index$$inline_1978$$, $index$$113$$, $sizeStyleClass$$6$$);
  this.$_arInsertEventsToFire$.push($component$$1070_evt$$96_index$$inline_1978$$);
  $JSCompiler_StaticMethods__insertTileOriginalOrder$$(this, $placeholderDiv$$, $index$$113$$);
  $component$$1070_evt$$96_index$$inline_1978$$ = $index$$113$$;
  $arChildren$$inline_1979_style$$22_styleClass$$7$$ = $JSCompiler_StaticMethods__getTileChildren$$($mlCommon$$3$$);
  $mlCommon$$3$$.$_sortTilesOriginalOrderFunc$ && $mlCommon$$3$$.$_sortTilesOriginalOrderFunc$($arChildren$$inline_1979_style$$22_styleClass$$7$$);
  $clientId$$206_currChildAtIndex$$inline_1980_subId$$17$$ = $JSCompiler_alias_NULL$$;
  0 <= $component$$1070_evt$$96_index$$inline_1978$$ && $component$$1070_evt$$96_index$$inline_1978$$ < $arChildren$$inline_1979_style$$22_styleClass$$7$$.length && ($clientId$$206_currChildAtIndex$$inline_1980_subId$$17$$ = $arChildren$$inline_1979_style$$22_styleClass$$7$$[$component$$1070_evt$$96_index$$inline_1978$$]);
  $mlCommon$$3$$.$_elem$.insertBefore($placeholderDiv$$, $clientId$$206_currChildAtIndex$$inline_1980_subId$$17$$);
  $JSCompiler_StaticMethods__queueRelayout$$($mlCommon$$3$$);
  this.$_inserting$ = $JSCompiler_alias_TRUE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.insertTile", {$insertTile$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$insertTile$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$deleteTile$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$deleteTile$$($infolet$$inline_1984_selector$$inline_1983_tileClientId$$4$$) {
  var $mlCommon$$4$$ = this.$_mlCommon$;
  $mlCommon$$4$$.$_layoutPhase$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_finishLayoutCycle$$($mlCommon$$4$$);
  var $index$$114_infolet$$1$$ = document.getElementById($infolet$$inline_1984_selector$$inline_1983_tileClientId$$4$$);
  if($AdfFocusUtils$$.$containsFocus$($index$$114_infolet$$1$$)) {
    var $children$$17_evt$$97$$ = this.$_getChildElements$(this.$getDomElement$(), $JSCompiler_alias_TRUE$$), $index$$114_infolet$$1$$ = $AdfCollections$$.indexOf($children$$17_evt$$97$$, $index$$114_infolet$$1$$);
    0 < $index$$114_infolet$$1$$ && (this.$_deletingTileWithFocusPrevId$ = $children$$17_evt$$97$$[$index$$114_infolet$$1$$ - 1].id)
  }
  this.$_arDeleteEventsToFire$ || (this.$_arDeleteEventsToFire$ = []);
  $children$$17_evt$$97$$ = new $AdfMasonryDeleteEvent$$(this.$getComponent$(), $infolet$$inline_1984_selector$$inline_1983_tileClientId$$4$$);
  $children$$17_evt$$97$$.$setPropagatesToServer$(this.$getComponent$().$getProperty$($AdfDhtmlMasonryLayoutPeer$$.$_HAS_DELETE_LISTENER_KEY$) != $JSCompiler_alias_NULL$$);
  this.$_arDeleteEventsToFire$.push($children$$17_evt$$97$$);
  $infolet$$inline_1984_selector$$inline_1983_tileClientId$$4$$ = "#" + $AdfDhtmlMasonryLayoutPeer$$.$_encodeSelector$($infolet$$inline_1984_selector$$inline_1983_tileClientId$$4$$);
  if($infolet$$inline_1984_selector$$inline_1983_tileClientId$$4$$ = $mlCommon$$4$$.$_elem$.querySelector($infolet$$inline_1984_selector$$inline_1983_tileClientId$$4$$)) {
    $mlCommon$$4$$.$_arInfoletsToHide$ || ($mlCommon$$4$$.$_arInfoletsToHide$ = []), $mlCommon$$4$$.$_arInfoletsToHide$.push($infolet$$inline_1984_selector$$inline_1983_tileClientId$$4$$), $mlCommon$$4$$.$_hidingInfolets$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__queueRelayout$$($mlCommon$$4$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.deleteTile", {$deleteTile$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$deleteTile$});
$AdfDhtmlMasonryLayoutPeer$$.$_encodeSelector$ = function $$AdfDhtmlMasonryLayoutPeer$$$$_encodeSelector$$($encodedSelector_selector$$5$$) {
  $encodedSelector_selector$$5$$ = $encodedSelector_selector$$5$$.concat("");
  return $encodedSelector_selector$$5$$ = $encodedSelector_selector$$5$$.replace(/:/g, "\\:")
};
$AdfDhtmlMasonryLayoutPeer$$.$_sortTilesOriginalOrder$ = function $$AdfDhtmlMasonryLayoutPeer$$$$_sortTilesOriginalOrder$$($arTiles$$) {
  $arTiles$$ && $arTiles$$.sort($AdfDhtmlMasonryLayoutPeer$$.$_compareTilesOriginalOrder$);
  return $arTiles$$
};
$AdfDhtmlMasonryLayoutPeer$$.$_compareTilesOriginalOrder$ = function $$AdfDhtmlMasonryLayoutPeer$$$$_compareTilesOriginalOrder$$($tile1$$, $tile2$$) {
  return $tile2$$.$_afrMasonryOriginalOrder$ < $tile1$$.$_afrMasonryOriginalOrder$ ? 1 : $tile1$$.$_afrMasonryOriginalOrder$ < $tile2$$.$_afrMasonryOriginalOrder$ ? -1 : 0
};
function $JSCompiler_StaticMethods__deferFunction$$($JSCompiler_StaticMethods__deferFunction$self$$, $deferredFunc$$) {
  $JSCompiler_StaticMethods__deferFunction$self$$.$_deferredFunctions$ || ($JSCompiler_StaticMethods__deferFunction$self$$.$_deferredFunctions$ = []);
  $JSCompiler_StaticMethods__deferFunction$self$$.$_deferredFunctions$.push($deferredFunc$$)
}
function $JSCompiler_StaticMethods__fireEvents$$($arEvents$$) {
  if($arEvents$$) {
    for(var $i$$264$$ = 0;$i$$264$$ < $arEvents$$.length;$i$$264$$++) {
      $arEvents$$[$i$$264$$].$queue$()
    }
  }
}
function $JSCompiler_StaticMethods__getUncompressedSizeStyleClassName$$($JSCompiler_StaticMethods__getUncompressedSizeStyleClassName$self$$, $elem$$24$$) {
  for(var $str$$13$$, $compressedSizeColumns$$1$$ = $JSCompiler_StaticMethods__getUncompressedSizeStyleClassName$self$$.$_compressedMasonryTileSizeClasses$, $col$$2$$ = 1;$col$$2$$ < $compressedSizeColumns$$1$$.length;$col$$2$$++) {
    for(var $compressedSizeColumn$$1$$ = $compressedSizeColumns$$1$$[$col$$2$$], $row$$45$$ = 1;$row$$45$$ < $compressedSizeColumn$$1$$.length;$row$$45$$++) {
      if($AdfDomUtils$$.$containsCSSClassName$($elem$$24$$, $compressedSizeColumn$$1$$[$row$$45$$])) {
        $str$$13$$ = $AdfDhtmlMasonryLayoutPeer$$.$_UNCOMPRESSED_MASONRY_TILE_SIZE_CLASSES$[$col$$2$$][$row$$45$$];
        break
      }
    }
  }
  return $str$$13$$
}
$JSCompiler_prototypeAlias$$ = $AdfDhtmlMasonryLayoutPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_getSizeStyleClassName$ = function $$JSCompiler_prototypeAlias$$$$_getSizeStyleClassName$$($elem$$25$$) {
  for(var $str$$14$$, $compressedSizeColumns$$2$$ = this.$_compressedMasonryTileSizeClasses$, $col$$3$$ = 1;$col$$3$$ < $compressedSizeColumns$$2$$.length;$col$$3$$++) {
    for(var $compressedSizeColumn$$2$$ = $compressedSizeColumns$$2$$[$col$$3$$], $row$$46$$ = 1;$row$$46$$ < $compressedSizeColumn$$2$$.length;$row$$46$$++) {
      var $compressedName$$2$$ = $compressedSizeColumn$$2$$[$row$$46$$];
      if($AdfDomUtils$$.$containsCSSClassName$($elem$$25$$, $compressedName$$2$$)) {
        $str$$14$$ = $compressedName$$2$$;
        break
      }
    }
  }
  return $str$$14$$
};
$JSCompiler_prototypeAlias$$.$_getTileSpan$ = function $$JSCompiler_prototypeAlias$$$$_getTileSpan$$($elem$$26_sizeSubstring$$) {
  var $stem_xIndex$$ = $AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_TILE_SIZE_CLASS_STEM$;
  $elem$$26_sizeSubstring$$ = $JSCompiler_StaticMethods__getUncompressedSizeStyleClassName$$(this, $elem$$26_sizeSubstring$$).substring($stem_xIndex$$.length);
  $stem_xIndex$$ = $elem$$26_sizeSubstring$$.indexOf("x");
  return{colSpan:parseInt($elem$$26_sizeSubstring$$.substring(0, $stem_xIndex$$), 10), rowSpan:parseInt($elem$$26_sizeSubstring$$.substring($stem_xIndex$$ + 1), 10)}
};
$JSCompiler_prototypeAlias$$.$_processOptimizedRender$ = function $$JSCompiler_prototypeAlias$$$$_processOptimizedRender$$($domNode$$49$$) {
  var $agent$$313$$ = $AdfAgent$$.$AGENT$;
  this.$_processOptimizedRenderTimer$ = $JSCompiler_alias_NULL$$;
  for(var $arChildren$$2$$ = $domNode$$49$$.childNodes, $numChildren$$ = $arChildren$$2$$.length, $arChildrenToRemove$$ = [], $i$$267$$ = 0;$i$$267$$ < $numChildren$$;$i$$267$$++) {
    var $child$$17$$ = $arChildren$$2$$[$i$$267$$];
    1 == $child$$17$$.nodeType && ($agent$$313$$.getAttribute($child$$17$$, "data-insert") ? ($JSCompiler_StaticMethods__processInsertTile$$(this, $child$$17$$), $arChildrenToRemove$$.push($child$$17$$)) : $agent$$313$$.getAttribute($child$$17$$, "data-resize") && ($JSCompiler_StaticMethods__processResizeTile$$(this, $child$$17$$), $arChildrenToRemove$$.push($child$$17$$)))
  }
  for(;0 < $arChildrenToRemove$$.length;) {
    $child$$17$$ = $arChildrenToRemove$$.pop(), $domNode$$49$$.removeChild($child$$17$$)
  }
  return-1
};
function $JSCompiler_StaticMethods__processInsertTile$$($JSCompiler_StaticMethods__processInsertTile$self$$, $domNode$$50$$) {
  if($JSCompiler_StaticMethods__processInsertTile$self$$.$_mlCommon$.$_layoutPhase$ != $JSCompiler_alias_NULL$$) {
    $JSCompiler_StaticMethods__deferFunction$$($JSCompiler_StaticMethods__processInsertTile$self$$, function() {
      $JSCompiler_StaticMethods__processInsertTile$$($JSCompiler_StaticMethods__processInsertTile$self$$, $domNode$$50$$)
    })
  }else {
    var $infolet$$3$$ = $domNode$$50$$.firstChild;
    $JSCompiler_StaticMethods__processInsertTile$self$$.$_inserting$ ? ($JSCompiler_StaticMethods__processInsertTile$self$$.$_mapReadyToInsert$ || ($JSCompiler_StaticMethods__processInsertTile$self$$.$_mapReadyToInsert$ = {}), $JSCompiler_StaticMethods__processInsertTile$self$$.$_mapReadyToInsert$[$infolet$$3$$.id] = $domNode$$50$$) : $JSCompiler_StaticMethods__finishInsertTile$$($JSCompiler_StaticMethods__processInsertTile$self$$, $domNode$$50$$)
  }
}
function $JSCompiler_StaticMethods__processResizeTile$$($JSCompiler_StaticMethods__processResizeTile$self$$, $domNode$$51$$) {
  if($JSCompiler_StaticMethods__processResizeTile$self$$.$_mlCommon$.$_layoutPhase$ != $JSCompiler_alias_NULL$$) {
    $JSCompiler_StaticMethods__deferFunction$$($JSCompiler_StaticMethods__processResizeTile$self$$, function() {
      $JSCompiler_StaticMethods__processResizeTile$$($JSCompiler_StaticMethods__processResizeTile$self$$, $domNode$$51$$)
    })
  }else {
    var $clientId$$207$$ = $domNode$$51$$.firstChild.id, $arResizeClientIds$$1$$ = $JSCompiler_StaticMethods__processResizeTile$self$$.$_arResizeClientIds$;
    $arResizeClientIds$$1$$ && -1 < $AdfCollections$$.indexOf($arResizeClientIds$$1$$, $clientId$$207$$) ? ($JSCompiler_StaticMethods__processResizeTile$self$$.$_mapReadyToResize$ || ($JSCompiler_StaticMethods__processResizeTile$self$$.$_mapReadyToResize$ = {}), $JSCompiler_StaticMethods__processResizeTile$self$$.$_mapReadyToResize$[$clientId$$207$$] = $domNode$$51$$) : $JSCompiler_StaticMethods__replaceResizedTile$$($JSCompiler_StaticMethods__processResizeTile$self$$, $domNode$$51$$)
  }
}
function $JSCompiler_StaticMethods__finishInsertTile$$($JSCompiler_StaticMethods__finishInsertTile$self$$, $domNode$$52$$) {
  var $infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$ = $domNode$$52$$.firstChild, $clientId$$208_rootDomElem$$4$$ = $JSCompiler_StaticMethods__finishInsertTile$self$$.$getComponent$().$getClientId$(), $mlCommon$$8_sizeStyleClass$$7$$ = $JSCompiler_StaticMethods__finishInsertTile$self$$.$_mlCommon$, $sInsertIndex_style$$23$$ = $AdfAgent$$.$AGENT$.getAttribute($domNode$$52$$, "data-insert"), $placeholderStyle$$1_placeholders_subId$$18$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$208_rootDomElem$$4$$, 
  "placeholder" + $sInsertIndex_style$$23$$), $clientId$$208_rootDomElem$$4$$ = $JSCompiler_StaticMethods__finishInsertTile$self$$.$getDomElement$(), $placeholder$$1$$ = $JSCompiler_alias_NULL$$;
  "-1" == $sInsertIndex_style$$23$$ ? $placeholder$$1$$ = document.getElementById($placeholderStyle$$1_placeholders_subId$$18$$) : ($placeholderStyle$$1_placeholders_subId$$18$$ = $clientId$$208_rootDomElem$$4$$.querySelectorAll("#" + $AdfDhtmlMasonryLayoutPeer$$.$_encodeSelector$($placeholderStyle$$1_placeholders_subId$$18$$))) && 0 < $placeholderStyle$$1_placeholders_subId$$18$$.length && ($placeholder$$1$$ = $placeholderStyle$$1_placeholders_subId$$18$$[$placeholderStyle$$1_placeholders_subId$$18$$.length - 
  1]);
  if($placeholder$$1$$) {
    if($sInsertIndex_style$$23$$ = $infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$.style, $placeholderStyle$$1_placeholders_subId$$18$$ = $placeholder$$1$$.style, $sInsertIndex_style$$23$$.top = $placeholderStyle$$1_placeholders_subId$$18$$.top, $JSCompiler_StaticMethods__finishInsertTile$self$$.$_rtl$ ? $sInsertIndex_style$$23$$.right = $placeholderStyle$$1_placeholders_subId$$18$$.right : $sInsertIndex_style$$23$$.left = $placeholderStyle$$1_placeholders_subId$$18$$.left, 
    $infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$.$_afrMasonryOriginalOrder$ = $placeholder$$1$$.$_afrMasonryOriginalOrder$, $clientId$$208_rootDomElem$$4$$.replaceChild($infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$, $placeholder$$1$$), $AdfPage$$.$PAGE$.$doResizeNotifyDom$($infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$, $JSCompiler_alias_TRUE$$), $infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$ = 
    "#" + $AdfDhtmlMasonryLayoutPeer$$.$_encodeSelector$($infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$.id), $infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$ = $mlCommon$$8_sizeStyleClass$$7$$.$_elem$.querySelector($infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$)) {
      $mlCommon$$8_sizeStyleClass$$7$$.$_arInfoletsToShow$ || ($mlCommon$$8_sizeStyleClass$$7$$.$_arInfoletsToShow$ = []), $mlCommon$$8_sizeStyleClass$$7$$.$_arInfoletsToShow$.push($infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$), $mlCommon$$8_sizeStyleClass$$7$$.$_showingInfolets$ = $JSCompiler_alias_TRUE$$, $infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$ = window.adf.$shared$.$impl$.$masonryLayout$.$MasonryLayoutCommon$, $mlCommon$$8_sizeStyleClass$$7$$.$_layoutPhase$ !== 
      $infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$.$_PHASE_HIDE$ && $mlCommon$$8_sizeStyleClass$$7$$.$_layoutPhase$ !== $infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$.$_PHASE_LAYOUT$ ? $JSCompiler_StaticMethods__queueRelayout$$($mlCommon$$8_sizeStyleClass$$7$$) : $mlCommon$$8_sizeStyleClass$$7$$.$_showingInfolets$ = $JSCompiler_alias_FALSE$$
    }
  }else {
    $mlCommon$$8_sizeStyleClass$$7$$ = $JSCompiler_StaticMethods__finishInsertTile$self$$.$_getSizeStyleClassName$($infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$), $JSCompiler_StaticMethods__finishInsertTile$self$$.$insertTile$($mlCommon$$8_sizeStyleClass$$7$$, parseInt($sInsertIndex_style$$23$$, 10)), $JSCompiler_StaticMethods__finishInsertTile$self$$.$_mapReadyToInsert$ || ($JSCompiler_StaticMethods__finishInsertTile$self$$.$_mapReadyToInsert$ = {}), $JSCompiler_StaticMethods__finishInsertTile$self$$.$_mapReadyToInsert$[$infolet$$5_infolet$$inline_1988_mlcClass$$inline_1989_selector$$inline_1987$$.id] = 
    $domNode$$52$$
  }
}
function $JSCompiler_StaticMethods__replaceResizedTile$$($JSCompiler_StaticMethods__replaceResizedTile$self$$, $newNode$$4$$) {
  var $infolet$$6$$ = $newNode$$4$$.firstChild, $cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$ = $infolet$$6$$.id, $clientId$$209_oldStyle$$ = $JSCompiler_StaticMethods__replaceResizedTile$self$$.$getComponent$().$getClientId$(), $cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$209_oldStyle$$, $cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$ + "_resizePlaceholder"), $cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$ = 
  document.getElementById($cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$), $clientId$$209_oldStyle$$ = $cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$.style, $newStyle$$ = $infolet$$6$$.style;
  $newStyle$$.top = $clientId$$209_oldStyle$$.top;
  $JSCompiler_StaticMethods__replaceResizedTile$self$$.$_rtl$ ? $newStyle$$.right = $clientId$$209_oldStyle$$.right : $newStyle$$.left = $clientId$$209_oldStyle$$.left;
  $infolet$$6$$.$_afrMasonryOriginalOrder$ = $cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$.$_afrMasonryOriginalOrder$;
  $JSCompiler_StaticMethods__replaceResizedTile$self$$.$getDomElement$().replaceChild($infolet$$6$$, $cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$);
  $AdfPage$$.$PAGE$.$doResizeNotifyDom$($infolet$$6$$, $JSCompiler_alias_TRUE$$);
  $JSCompiler_StaticMethods__replaceResizedTile$self$$.$_resizingTileWithFocusId$ && ($cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$ = document.getElementById($JSCompiler_StaticMethods__replaceResizedTile$self$$.$_resizingTileWithFocusId$), $cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$ == $infolet$$6$$ && ($AdfFocusUtils$$.$focusFirstTabStop$($cloneSubId_oldNode_resizingTileWithFocus_tileClientId$$5$$), $JSCompiler_StaticMethods__replaceResizedTile$self$$.$_resizingTileWithFocusId$ = 
  $JSCompiler_alias_NULL$$))
}
$JSCompiler_prototypeAlias$$.$_hideTileOnEndFunc$ = function $$JSCompiler_prototypeAlias$$$$_hideTileOnEndFunc$$($elem$$27$$) {
  var $agent$$315$$ = $AdfAgent$$.$AGENT$;
  $AdfPage$$.$PAGE$.$removeComponentsInSubtree$($elem$$27$$);
  $agent$$315$$.$elementsRemoved$($elem$$27$$);
  $elem$$27$$.parentNode.removeChild($elem$$27$$);
  $JSCompiler_StaticMethods__deleteTileOriginalOrder$$(this, $elem$$27$$);
  $JSCompiler_StaticMethods__fireEvents$$(this.$_arDeleteEventsToFire$);
  this.$_arDeleteEventsToFire$ = $JSCompiler_alias_NULL$$
};
$JSCompiler_prototypeAlias$$.$_layoutOnEndFunc$ = function $$JSCompiler_prototypeAlias$$$$_layoutOnEndFunc$$() {
  var $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$ = this.$_arResizeClientIds$;
  if($arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$ && 0 < $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$.length) {
    for(;0 < $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$.length;) {
      var $clientId$$210_domNode$$53_lastEvent$$inline_1995$$ = $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$.pop(), $i$$inline_1996_mapReadyToResize$$1$$ = this.$_mapReadyToResize$;
      if($i$$inline_1996_mapReadyToResize$$1$$) {
        var $event$$inline_1997_newElem$$ = $i$$inline_1996_mapReadyToResize$$1$$[$clientId$$210_domNode$$53_lastEvent$$inline_1995$$];
        $event$$inline_1997_newElem$$ && (delete $i$$inline_1996_mapReadyToResize$$1$$[$clientId$$210_domNode$$53_lastEvent$$inline_1995$$], $JSCompiler_StaticMethods__replaceResizedTile$$(this, $event$$inline_1997_newElem$$))
      }
    }
    if(this.$_arResizeEventsToFire$) {
      $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$ = this.$_arResizeEventsToFire$;
      $clientId$$210_domNode$$53_lastEvent$$inline_1995$$ = $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$[$arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$.length - 1];
      for($i$$inline_1996_mapReadyToResize$$1$$ = 0;$i$$inline_1996_mapReadyToResize$$1$$ < $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$.length - 1;$i$$inline_1996_mapReadyToResize$$1$$++) {
        $event$$inline_1997_newElem$$ = $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$[$i$$inline_1996_mapReadyToResize$$1$$], $clientId$$210_domNode$$53_lastEvent$$inline_1995$$.$addPriorResizeEvent$($event$$inline_1997_newElem$$.$getChildClientId$(), $event$$inline_1997_newElem$$.$getOldSizeStyleClass$(), $event$$inline_1997_newElem$$.$getNewSizeStyleClass$())
      }
    }
    $JSCompiler_StaticMethods__fireEvents$$(this.$_arResizeEventsToFire$);
    this.$_arResizeEventsToFire$ = $JSCompiler_alias_NULL$$
  }
  if(this.$_inserting$) {
    this.$_inserting$ = $JSCompiler_alias_FALSE$$;
    if($arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$ = this.$_mapReadyToInsert$) {
      for(var $key$$64$$ in $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$) {
        $clientId$$210_domNode$$53_lastEvent$$inline_1995$$ = $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$[$key$$64$$], delete $arResizeClientIds$$2_mapReadyToInsert$$2_resizeEvents$$inline_1994$$[$key$$64$$], $JSCompiler_StaticMethods__finishInsertTile$$(this, $clientId$$210_domNode$$53_lastEvent$$inline_1995$$)
      }
    }
    $JSCompiler_StaticMethods__fireEvents$$(this.$_arInsertEventsToFire$);
    this.$_arInsertEventsToFire$ = $JSCompiler_alias_NULL$$
  }
};
$JSCompiler_prototypeAlias$$.$_layoutCycleOnStartFunc$ = function $$JSCompiler_prototypeAlias$$$$_layoutCycleOnStartFunc$$() {
  this.$_layoutStartActiveDomElem$ = $JSCompiler_alias_NULL$$;
  var $activeDomElem$$ = $AdfPage$$.$PAGE$.$_activeDomNode$;
  if($activeDomElem$$) {
    var $domElem$$3$$ = this.$getDomElement$();
    $domElem$$3$$ && $AdfDomUtils$$.$isAncestor$($domElem$$3$$, $activeDomElem$$) && (this.$_layoutStartActiveDomElem$ = $activeDomElem$$)
  }
};
$JSCompiler_prototypeAlias$$.$_layoutCycleOnEndFunc$ = function $$JSCompiler_prototypeAlias$$$$_layoutCycleOnEndFunc$$() {
  var $children$$18_deferredFunctions$$1_domElem$$4$$ = this.$getDomElement$();
  if($children$$18_deferredFunctions$$1_domElem$$4$$ && this.$_layoutStartActiveDomElem$) {
    var $i$$268_layoutStartActiveDomElem_tile$$ = this.$_layoutStartActiveDomElem$;
    this.$_layoutStartActiveDomElem$ = $JSCompiler_alias_NULL$$;
    var $activeDomElem$$1_deferredOp_index$$116$$ = $AdfPage$$.$PAGE$.$_activeDomNode$;
    this.$_deletingTileWithFocusPrevId$ ? ($i$$268_layoutStartActiveDomElem_tile$$ = document.getElementById(this.$_deletingTileWithFocusPrevId$), this.$_deletingTileWithFocusPrevId$ = $JSCompiler_alias_NULL$$, $i$$268_layoutStartActiveDomElem_tile$$ && $AdfDomUtils$$.$isAncestor$($children$$18_deferredFunctions$$1_domElem$$4$$, $i$$268_layoutStartActiveDomElem_tile$$) && ($children$$18_deferredFunctions$$1_domElem$$4$$ = this.$_getChildElements$($children$$18_deferredFunctions$$1_domElem$$4$$, $JSCompiler_alias_TRUE$$), 
    $activeDomElem$$1_deferredOp_index$$116$$ = $AdfCollections$$.indexOf($children$$18_deferredFunctions$$1_domElem$$4$$, $i$$268_layoutStartActiveDomElem_tile$$), 0 <= $activeDomElem$$1_deferredOp_index$$116$$ && $activeDomElem$$1_deferredOp_index$$116$$ < $children$$18_deferredFunctions$$1_domElem$$4$$.length - 1 ? $AdfFocusUtils$$.$focusFirstTabStop$($children$$18_deferredFunctions$$1_domElem$$4$$[$activeDomElem$$1_deferredOp_index$$116$$ + 1]) : $AdfFocusUtils$$.$focusFirstTabStop$($i$$268_layoutStartActiveDomElem_tile$$))) : 
    $activeDomElem$$1_deferredOp_index$$116$$ ? $AdfDomUtils$$.$isAncestor$($children$$18_deferredFunctions$$1_domElem$$4$$, $activeDomElem$$1_deferredOp_index$$116$$) && $AdfFocusUtils$$.$focusElement$($activeDomElem$$1_deferredOp_index$$116$$) : $AdfDomUtils$$.$isAncestor$($children$$18_deferredFunctions$$1_domElem$$4$$, $i$$268_layoutStartActiveDomElem_tile$$) ? $AdfFocusUtils$$.$focusElement$($i$$268_layoutStartActiveDomElem_tile$$) : $AdfFocusUtils$$.$focusFirstTabStop$($children$$18_deferredFunctions$$1_domElem$$4$$)
  }
  if(this.$_deferredFunctions$) {
    $children$$18_deferredFunctions$$1_domElem$$4$$ = this.$_deferredFunctions$;
    this.$_deferredFunctions$ = $JSCompiler_alias_NULL$$;
    for($i$$268_layoutStartActiveDomElem_tile$$ = 0;$i$$268_layoutStartActiveDomElem_tile$$ < $children$$18_deferredFunctions$$1_domElem$$4$$.length;$i$$268_layoutStartActiveDomElem_tile$$++) {
      $activeDomElem$$1_deferredOp_index$$116$$ = $children$$18_deferredFunctions$$1_domElem$$4$$[$i$$268_layoutStartActiveDomElem_tile$$], $children$$18_deferredFunctions$$1_domElem$$4$$[$i$$268_layoutStartActiveDomElem_tile$$] = $JSCompiler_alias_NULL$$, $activeDomElem$$1_deferredOp_index$$116$$()
    }
  }
};
$JSCompiler_prototypeAlias$$.$_getChildElements$ = function $$JSCompiler_prototypeAlias$$$$_getChildElements$$($parentElem$$1$$, $excludeDropSite$$) {
  for(var $children$$19$$ = $AdfDomUtils$$.$getChildElements$($parentElem$$1$$), $numChildren$$1$$ = $children$$19$$.length, $arChildren$$3$$ = [], $i$$269$$ = 0;$i$$269$$ < $numChildren$$1$$;$i$$269$$++) {
    var $child$$18$$ = $children$$19$$[$i$$269$$];
    if(!$excludeDropSite$$ || $excludeDropSite$$ && $child$$18$$ !== this.$_dropSite$) {
      var $style$$24$$ = $child$$18$$.style;
      "hidden" !== $style$$24$$.visibility && "none" !== $style$$24$$.display && $arChildren$$3$$.push($child$$18$$)
    }
  }
  return $arChildren$$3$$
};
function $JSCompiler_StaticMethods__insertTileOriginalOrder$$($JSCompiler_StaticMethods__insertTileOriginalOrder$self_arTiles$$2$$, $insertedTile$$, $index$$117$$) {
  $JSCompiler_StaticMethods__insertTileOriginalOrder$self_arTiles$$2$$ = $JSCompiler_StaticMethods__insertTileOriginalOrder$self_arTiles$$2$$.$_getChildElements$($JSCompiler_StaticMethods__insertTileOriginalOrder$self_arTiles$$2$$.$getDomElement$());
  0 > $index$$117$$ && ($index$$117$$ = $JSCompiler_StaticMethods__insertTileOriginalOrder$self_arTiles$$2$$.length);
  if($JSCompiler_StaticMethods__insertTileOriginalOrder$self_arTiles$$2$$) {
    for(var $i$$271$$ = 0;$i$$271$$ < $JSCompiler_StaticMethods__insertTileOriginalOrder$self_arTiles$$2$$.length;$i$$271$$++) {
      var $tile$$2$$ = $JSCompiler_StaticMethods__insertTileOriginalOrder$self_arTiles$$2$$[$i$$271$$];
      $tile$$2$$.$_afrMasonryOriginalOrder$ && $tile$$2$$.$_afrMasonryOriginalOrder$ >= $index$$117$$ + 1 && $tile$$2$$.$_afrMasonryOriginalOrder$++
    }
  }
  $insertedTile$$.$_afrMasonryOriginalOrder$ = $index$$117$$ + 1
}
function $JSCompiler_StaticMethods__deleteTileOriginalOrder$$($JSCompiler_StaticMethods__deleteTileOriginalOrder$self$$, $deletedTile$$) {
  if($deletedTile$$.$_afrMasonryOriginalOrder$) {
    var $arTiles$$3$$ = $JSCompiler_StaticMethods__deleteTileOriginalOrder$self$$.$_getChildElements$($JSCompiler_StaticMethods__deleteTileOriginalOrder$self$$.$getDomElement$());
    if($arTiles$$3$$) {
      for(var $i$$272$$ = 0;$i$$272$$ < $arTiles$$3$$.length;$i$$272$$++) {
        var $tile$$3$$ = $arTiles$$3$$[$i$$272$$];
        $tile$$3$$.$_afrMasonryOriginalOrder$ && $tile$$3$$.$_afrMasonryOriginalOrder$ > $deletedTile$$.$_afrMasonryOriginalOrder$ && $tile$$3$$.$_afrMasonryOriginalOrder$--
      }
    }
    delete $deletedTile$$.$_afrMasonryOriginalOrder$
  }
}
$JSCompiler_prototypeAlias$$.$dropOnRowKey$ = function $$JSCompiler_prototypeAlias$$$$dropOnRowKey$$($dndContext$$78_dropsiteStyle_fromIndex$$4$$) {
  var $isExternalDragSource_toIndex$$4$$ = $JSCompiler_alias_TRUE$$, $dragSourceClientId_dragSourceComponent$$4$$ = $JSCompiler_alias_NULL$$, $component$$1073_evt$$99$$ = this.$getComponent$();
  $dndContext$$78_dropsiteStyle_fromIndex$$4$$ && ($dragSourceClientId_dragSourceComponent$$4$$ = $dndContext$$78_dropsiteStyle_fromIndex$$4$$.$getDragSource$().$getComponent$(), $isExternalDragSource_toIndex$$4$$ = $JSCompiler_StaticMethods__isExternalDragSource$$(this, $dragSourceClientId_dragSourceComponent$$4$$));
  var $domElem$$5$$ = this.$getDomElement$();
  $dndContext$$78_dropsiteStyle_fromIndex$$4$$ = -1;
  var $dragSourceElem$$ = $JSCompiler_alias_NULL$$;
  if(!$isExternalDragSource_toIndex$$4$$ && $dragSourceClientId_dragSourceComponent$$4$$) {
    var $dragSourceElem$$ = $dragSourceClientId_dragSourceComponent$$4$$.$getPeer$().$getDomElement$(), $dragSourceStyle$$ = $dragSourceElem$$.style;
    $dragSourceStyle$$.display = "";
    if(this.$_dropSite$) {
      var $dropSite$$8$$ = this.$_dropSite$;
      $dndContext$$78_dropsiteStyle_fromIndex$$4$$ = $dropSite$$8$$.style;
      this.$_rtl$ ? $dragSourceStyle$$.right = $dndContext$$78_dropsiteStyle_fromIndex$$4$$.right : $dragSourceStyle$$.left = $dndContext$$78_dropsiteStyle_fromIndex$$4$$.left;
      $dragSourceStyle$$.top = $dndContext$$78_dropsiteStyle_fromIndex$$4$$.top;
      $domElem$$5$$.insertBefore($dragSourceElem$$, $dropSite$$8$$);
      $dndContext$$78_dropsiteStyle_fromIndex$$4$$ = $dropSite$$8$$.$_afrMasonryDragSourceIndex$;
      $JSCompiler_StaticMethods__insertTileOriginalOrder$$(this, $dragSourceElem$$, $dropSite$$8$$.$_afrMasonryOriginalOrder$ - 1)
    }
  }
  this.$_dropSite$ && ($JSCompiler_StaticMethods__deleteTileOriginalOrder$$(this, this.$_dropSite$), $domElem$$5$$.removeChild(this.$_dropSite$), this.$_dropSite$ = $JSCompiler_alias_NULL$$);
  !$isExternalDragSource_toIndex$$4$$ && $dragSourceClientId_dragSourceComponent$$4$$ && ($isExternalDragSource_toIndex$$4$$ = $JSCompiler_StaticMethods__getChildIndex$$(this, $domElem$$5$$, $dragSourceElem$$), $dndContext$$78_dropsiteStyle_fromIndex$$4$$ != $isExternalDragSource_toIndex$$4$$ && ($dragSourceClientId_dragSourceComponent$$4$$ = $dragSourceClientId_dragSourceComponent$$4$$.$getClientId$(), $component$$1073_evt$$99$$ = new $AdfMasonryReorderEvent$$($component$$1073_evt$$99$$, $dragSourceClientId_dragSourceComponent$$4$$, 
  $dndContext$$78_dropsiteStyle_fromIndex$$4$$, $isExternalDragSource_toIndex$$4$$), $component$$1073_evt$$99$$.$setPropagatesToServer$(this.$getComponent$().$getProperty$($AdfDhtmlMasonryLayoutPeer$$.$_HAS_REORDER_LISTENER_KEY$) != $JSCompiler_alias_NULL$$), $component$$1073_evt$$99$$.$queue$()))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.dropOnRowKey", {$dropOnRowKey$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$dropOnRowKey$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$showDragFeedback$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$showDragFeedback$$($dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$, $desiredDropIndexString$$3_isExternalDragSource$$1_origOrder$$, $dragSourceComponent$$5_userAction$$8$$, $lastDesiredDropIndexString$$, $pageX$$50$$, $pageY$$50$$, $dragExit$$4$$) {
  $AdfAssert$$.$assertPrototype$($dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$, $AdfDnDContext$$);
  $AdfAssert$$.$assertStringOrNull$($desiredDropIndexString$$3_isExternalDragSource$$1_origOrder$$);
  $AdfAssert$$.$assertNumber$($dragSourceComponent$$5_userAction$$8$$);
  $AdfAssert$$.$assertStringOrNull$($lastDesiredDropIndexString$$);
  $dragExit$$4$$ && ($desiredDropIndexString$$3_isExternalDragSource$$1_origOrder$$ = $JSCompiler_alias_TRUE$$, $dragSourceComponent$$5_userAction$$8$$ = $JSCompiler_alias_NULL$$, $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$ && ($dragSourceComponent$$5_userAction$$8$$ = $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$.$getDragSource$().$getComponent$(), $desiredDropIndexString$$3_isExternalDragSource$$1_origOrder$$ = $JSCompiler_StaticMethods__isExternalDragSource$$(this, 
  $dragSourceComponent$$5_userAction$$8$$)), $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$ = $JSCompiler_alias_FALSE$$, this.$_dropSite$ && ($dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$ = this.$getDomElement$(), $JSCompiler_StaticMethods__deleteTileOriginalOrder$$(this, this.$_dropSite$), $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$.removeChild(this.$_dropSite$), this.$_dropSite$ = $JSCompiler_alias_NULL$$, $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$ = 
  $JSCompiler_alias_TRUE$$), !$desiredDropIndexString$$3_isExternalDragSource$$1_origOrder$$ && $dragSourceComponent$$5_userAction$$8$$ && ($dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$ = $dragSourceComponent$$5_userAction$$8$$.$getPeer$().$getDomElement$(), $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$.style.display = "", $desiredDropIndexString$$3_isExternalDragSource$$1_origOrder$$ = $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$.$_afrMasonryOriginalOrder$, 
  delete $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$.$_afrMasonryOriginalOrder$, $JSCompiler_StaticMethods__insertTileOriginalOrder$$(this, $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$, $desiredDropIndexString$$3_isExternalDragSource$$1_origOrder$$ - 1), $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$ = $JSCompiler_alias_TRUE$$), $dndContext$$79_domElem$$6_dragSourceElem$$1_needsLayout$$ && this.$_mlCommon$.$setup$($JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.showDragFeedback", {$showDragFeedback$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$showDragFeedback$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$getRowKeyBounds$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$getRowKeyBounds$$($desiredDropIndexString$$4_domElem$$7$$) {
  if(!$desiredDropIndexString$$4_domElem$$7$$) {
    return $JSCompiler_alias_NULL$$
  }
  $desiredDropIndexString$$4_domElem$$7$$ = this.$getDomElement$();
  var $span$$4$$ = this.$_getTileSpan$(this.$_dropSite$), $cellSize$$ = this.$_mlCommon$.$_cellSize$, $dropSiteStyle_offsetY$$1$$ = this.$_dropSite$.style, $tileWidth$$ = $span$$4$$.colSpan * $cellSize$$.$w$, $agent$$316_pageBounds$$ = $AdfAgent$$.$AGENT$, $offsetX$$1$$ = 0, $offsetX$$1$$ = this.$_rtl$ ? $desiredDropIndexString$$4_domElem$$7$$.offsetWidth - parseInt($dropSiteStyle_offsetY$$1$$.right, 10) - $tileWidth$$ : parseInt($dropSiteStyle_offsetY$$1$$.left, 10), $dropSiteStyle_offsetY$$1$$ = 
  parseInt($dropSiteStyle_offsetY$$1$$.top, 10), $agent$$316_pageBounds$$ = $agent$$316_pageBounds$$.$getElementPageBounds$($desiredDropIndexString$$4_domElem$$7$$);
  $agent$$316_pageBounds$$.left += $offsetX$$1$$ - $desiredDropIndexString$$4_domElem$$7$$.scrollLeft;
  $agent$$316_pageBounds$$.right = $agent$$316_pageBounds$$.left + $tileWidth$$;
  $agent$$316_pageBounds$$.top += $dropSiteStyle_offsetY$$1$$ - $desiredDropIndexString$$4_domElem$$7$$.scrollTop;
  $agent$$316_pageBounds$$.bottom = $agent$$316_pageBounds$$.top + $span$$4$$.rowSpan * $cellSize$$.$h$;
  return $agent$$316_pageBounds$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.getRowKeyBounds", {$getRowKeyBounds$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$getRowKeyBounds$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$getDraggedSourceChildIndex$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$getDraggedSourceChildIndex$$($dragSourceComponent$$6$$, $ignoreCachedValue$$) {
  var $draggedSourceClientId$$ = $dragSourceComponent$$6$$.$getClientId$();
  if(!$ignoreCachedValue$$ && this.$_draggedSourceClientId$ == $draggedSourceClientId$$) {
    return this.$_draggedSourceIndex$
  }
  this.$_draggedSourceClientId$ = $draggedSourceClientId$$;
  return this.$_draggedSourceIndex$ = this.$_dropSite$.$_afrMasonryDragSourceIndex$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.getDraggedSourceChildIndex", {$getDraggedSourceChildIndex$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$getDraggedSourceChildIndex$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$getRowKeyAndOrientationFromHints$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$getRowKeyAndOrientationFromHints$$($child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$, $pageY$$51$$, $domElem$$8_hints$$74$$) {
  $AdfAssert$$.$assertNumber$($child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$);
  $AdfAssert$$.$assertNumber$($pageY$$51$$);
  $AdfAssert$$.assert($domElem$$8_hints$$74$$ != $JSCompiler_alias_NULL$$);
  var $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$ = $domElem$$8_hints$$74$$[$AdfStampedDropTarget$$.$HINT_LAST_ROWKEY$], $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ = $domElem$$8_hints$$74$$[$AdfStampedDropTarget$$.$HINT_LAST_ROWKEY_BOUNDS$], $dropsiteStyleClass_hintDropOrientation$$1$$ = $domElem$$8_hints$$74$$[$AdfStampedDropTarget$$.$HINT_LAST_DROP_ORIENTATION$];
  if($dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$ && $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ && ($AdfAssert$$.$assertString$($dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$), $AdfAssert$$.$assertObject$($children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$), $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$ >= $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$.left && 
  $pageY$$51$$ >= $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$.top && $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$ <= $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$.right && $pageY$$51$$ <= $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$.bottom)) {
    $domElem$$8_hints$$74$$[$AdfStampedDropTarget$$.$ROW_KEY$] = $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$;
    $domElem$$8_hints$$74$$[$AdfStampedDropTarget$$.$DROP_ORIENTATION$] = $dropsiteStyleClass_hintDropOrientation$$1$$;
    return
  }
  var $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ = $JSCompiler_alias_TRUE$$, $adfPage$$7_sizeStyleClass$$8$$ = $AdfPage$$.$PAGE$, $dndContext$$80$$ = $adfPage$$7_sizeStyleClass$$8$$.$getDnDContext$(), $dragSourceComponent$$7_dropSite$$11$$ = $JSCompiler_alias_NULL$$;
  $dndContext$$80$$ && ($dragSourceComponent$$7_dropSite$$11$$ = $dndContext$$80$$.$getDragSource$().$getComponent$(), $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ = $JSCompiler_StaticMethods__isExternalDragSource$$(this, $dragSourceComponent$$7_dropSite$$11$$));
  this.$_getRowKeyAndOrientationForPosition$($child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$, $pageY$$51$$, $domElem$$8_hints$$74$$, $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$, $dragSourceComponent$$7_dropSite$$11$$);
  $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$ = $domElem$$8_hints$$74$$[$AdfStampedDropTarget$$.$ROW_KEY$];
  $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$ && (!$child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$ || $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$ === $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$) ? ($domElem$$8_hints$$74$$[$AdfStampedDropTarget$$.$ROW_KEY$] = $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$, $domElem$$8_hints$$74$$[$AdfStampedDropTarget$$.$DROP_ORIENTATION$] = 
  $dropsiteStyleClass_hintDropOrientation$$1$$) : ($domElem$$8_hints$$74$$ = this.$getDomElement$(), !this.$_dropSite$ && $dragSourceComponent$$7_dropSite$$11$$ ? $dragSourceComponent$$7_dropSite$$11$$ && ($dropsiteStyleClass_hintDropOrientation$$1$$ = $adfPage$$7_sizeStyleClass$$8$$.$getLookAndFeel$().getStyleClass($AdfDhtmlMasonryLayoutPeer$$.$_MASONRY_LAYOUT_DROP_TARGET_CLASS$), $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$ = $dragSourceComponent$$7_dropSite$$11$$.$getPeer$().$getDomElement$(), 
  this.$_draggedSourceIndex$ = this.$_draggedSourceClientId$ = $JSCompiler_alias_NULL$$, $dragSourceComponent$$7_dropSite$$11$$ = this.$_dropSite$ = document.createElement("div"), $adfPage$$7_sizeStyleClass$$8$$ = this.$_getSizeStyleClassName$($dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$), $AdfDomUtils$$.$addCSSClassName$($dragSourceComponent$$7_dropSite$$11$$, $dropsiteStyleClass_hintDropOrientation$$1$$), $adfPage$$7_sizeStyleClass$$8$$ || ($adfPage$$7_sizeStyleClass$$8$$ = this.$_masonryTile1x1Class$), 
  $AdfDomUtils$$.$addCSSClassName$($dragSourceComponent$$7_dropSite$$11$$, $adfPage$$7_sizeStyleClass$$8$$), $AdfDomUtils$$.$addCSSClassName$($dragSourceComponent$$7_dropSite$$11$$, "p_AFDropTarget"), $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ ? $JSCompiler_StaticMethods__insertTileOriginalOrder$$(this, $dragSourceComponent$$7_dropSite$$11$$, parseInt($child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$, 
  10)) : ($children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ = $JSCompiler_StaticMethods__getChildIndex$$(this, $domElem$$8_hints$$74$$, $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$), $dragSourceComponent$$7_dropSite$$11$$.$_afrMasonryDragSourceIndex$ = $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$, $dragSourceComponent$$7_dropSite$$11$$.$_afrMasonryOriginalOrder$ = $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$.$_afrMasonryOriginalOrder$, 
  $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ = $dragSourceComponent$$7_dropSite$$11$$.style, $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$ = $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$.style, this.$_rtl$ ? $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$.right = $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$.right : 
  $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$.left = $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$.left, $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$.top = $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$.top, $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$.display = 
  "none"), $domElem$$8_hints$$74$$.insertBefore($dragSourceComponent$$7_dropSite$$11$$, $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$)) : ($dragSourceComponent$$7_dropSite$$11$$ = this.$_dropSite$, $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$ ? ($children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ = parseInt($child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$, 
  10), $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$ = this.$_getChildElements$($domElem$$8_hints$$74$$, $JSCompiler_alias_TRUE$$), $AdfDhtmlMasonryLayoutPeer$$.$_sortTilesOriginalOrder$($child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$), $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$ = $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$.length, $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$ = 
  0 <= $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ && $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ < $dragSourceElem$$2_hintRowKey$$1_numChildren$$inline_2005$$ ? $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$[$children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$] : $JSCompiler_alias_NULL$$, 
  $JSCompiler_StaticMethods__deleteTileOriginalOrder$$(this, $dragSourceComponent$$7_dropSite$$11$$), $JSCompiler_StaticMethods__insertTileOriginalOrder$$(this, $dragSourceComponent$$7_dropSite$$11$$, $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$), $domElem$$8_hints$$74$$.insertBefore($dragSourceComponent$$7_dropSite$$11$$, $child$$19_children$$inline_2004_desiredDropIndexString$$5_dragSourceStyle$$2_pageX$$51$$)) : ($children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$ = 
  this.$_getChildElements$($domElem$$8_hints$$74$$, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__deleteTileOriginalOrder$$(this, $dragSourceComponent$$7_dropSite$$11$$), $JSCompiler_StaticMethods__insertTileOriginalOrder$$(this, $dragSourceComponent$$7_dropSite$$11$$, $children$$20_draggedSourceIndex_dropIndex_dropsiteStyle$$1_hintRowKeyBounds$$1_isExternalDragSource$$2$$.length), $domElem$$8_hints$$74$$.appendChild($dragSourceComponent$$7_dropSite$$11$$))), this.$_mlCommon$.$setup$($JSCompiler_alias_FALSE$$, 
  $JSCompiler_alias_TRUE$$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlMasonryLayoutPeer.prototype.getRowKeyAndOrientationFromHints", {$getRowKeyAndOrientationFromHints$:$AdfDhtmlMasonryLayoutPeer$$.prototype.$getRowKeyAndOrientationFromHints$});
$AdfDhtmlMasonryLayoutPeer$$.prototype.$_getRowKeyAndOrientationForPosition$ = function $$AdfDhtmlMasonryLayoutPeer$$$$$_getRowKeyAndOrientationForPosition$$($pageX$$52_rightSide$$inline_2015$$, $infoletUnderPoint$$inline_2014_pageY$$52$$, $hints$$75$$, $desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$, $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$) {
  $AdfAssert$$.$assertNumber$($pageX$$52_rightSide$$inline_2015$$);
  $AdfAssert$$.$assertNumber$($infoletUnderPoint$$inline_2014_pageY$$52$$);
  a: {
    this.$getComponent$();
    $desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$ = this.$getDomElement$();
    var $agent$$inline_2013_rtl$$inline_2016$$ = $AdfAgent$$.$AGENT$;
    if($agent$$inline_2013_rtl$$inline_2016$$.$pointInElementBounds$($desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$, $pageX$$52_rightSide$$inline_2015$$, $infoletUnderPoint$$inline_2014_pageY$$52$$)) {
      b: {
        for(var $children$$inline_5331$$ = this.$_getChildElements$($desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$, $JSCompiler_alias_TRUE$$), $numChildren$$inline_5332$$ = $children$$inline_5331$$.length, $agent$$inline_5333$$ = $AdfAgent$$.$AGENT$, $i$$inline_5334$$ = 0;$i$$inline_5334$$ < $numChildren$$inline_5332$$;$i$$inline_5334$$++) {
          var $child$$inline_5335$$ = $children$$inline_5331$$[$i$$inline_5334$$];
          if($agent$$inline_5333$$.$pointInElementBounds$($child$$inline_5335$$, $pageX$$52_rightSide$$inline_2015$$, $infoletUnderPoint$$inline_2014_pageY$$52$$)) {
            $infoletUnderPoint$$inline_2014_pageY$$52$$ = $child$$inline_5335$$;
            break b
          }
        }
        $infoletUnderPoint$$inline_2014_pageY$$52$$ = $JSCompiler_alias_NULL$$
      }
      if($infoletUnderPoint$$inline_2014_pageY$$52$$) {
        $pageX$$52_rightSide$$inline_2015$$ = $pageX$$52_rightSide$$inline_2015$$ - document.documentElement.scrollLeft - $agent$$inline_2013_rtl$$inline_2016$$.$getElementLeft$($desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$) + $desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$.scrollLeft >= $infoletUnderPoint$$inline_2014_pageY$$52$$.offsetLeft + 0.5 * $infoletUnderPoint$$inline_2014_pageY$$52$$.offsetWidth;
        $agent$$inline_2013_rtl$$inline_2016$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
        $desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$ = $JSCompiler_StaticMethods__getChildIndex$$(this, $desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$, $infoletUnderPoint$$inline_2014_pageY$$52$$);
        $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$ = $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$.$getPeer$().$getDomElement$();
        $infoletUnderPoint$$inline_2014_pageY$$52$$ !== $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$ && $infoletUnderPoint$$inline_2014_pageY$$52$$ !== this.$_dropSite$ && ($pageX$$52_rightSide$$inline_2015$$ && !$agent$$inline_2013_rtl$$inline_2016$$ || !$pageX$$52_rightSide$$inline_2015$$ && $agent$$inline_2013_rtl$$inline_2016$$) && $desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$++;
        $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$ = "" + $desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$;
        break a
      }
      if(!this.$_dropSite$) {
        $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$ = ($children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$ = this.$_getChildElements$($desiredDropIndex$$inline_2017_domElem$$inline_2009_isExternalDragSource$$3$$, $JSCompiler_alias_TRUE$$)) && 0 < $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$.length ? "" + $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$.length : 
        "0";
        break a
      }
    }
    $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$ = $JSCompiler_alias_NULL$$
  }
  $hints$$75$$[$AdfStampedDropTarget$$.$ROW_KEY$] = $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$ ? $children$$inline_2019_desiredDropIndex_dragSourceComponent$$8_dragSourceElem$$inline_2018$$ : $JSCompiler_alias_NULL$$;
  $hints$$75$$[$AdfStampedDropTarget$$.$DROP_ORIENTATION$] = $AdfDropEvent$$.$DROP_ORIENTATION_INSIDE$
};
function $JSCompiler_StaticMethods__getChildIndex$$($JSCompiler_StaticMethods__getChildIndex$self_children$$23$$, $numChildren$$3_parentElem$$3$$, $childElem$$) {
  $JSCompiler_StaticMethods__getChildIndex$self_children$$23$$ = $JSCompiler_StaticMethods__getChildIndex$self_children$$23$$.$_getChildElements$($numChildren$$3_parentElem$$3$$, $JSCompiler_alias_TRUE$$);
  $AdfDhtmlMasonryLayoutPeer$$.$_sortTilesOriginalOrder$($JSCompiler_StaticMethods__getChildIndex$self_children$$23$$);
  $numChildren$$3_parentElem$$3$$ = $JSCompiler_StaticMethods__getChildIndex$self_children$$23$$.length;
  for(var $i$$274$$ = 0;$i$$274$$ < $numChildren$$3_parentElem$$3$$;$i$$274$$++) {
    if($JSCompiler_StaticMethods__getChildIndex$self_children$$23$$[$i$$274$$] === $childElem$$) {
      return $i$$274$$
    }
  }
  return-1
}
function $JSCompiler_StaticMethods__isExternalDragSource$$($JSCompiler_StaticMethods__isExternalDragSource$self$$, $dragSourceComponent$$10$$) {
  return $dragSourceComponent$$10$$.$getPeer$().$getDomElement$().parentNode == $JSCompiler_StaticMethods__isExternalDragSource$self$$.$getDomElement$() ? $JSCompiler_alias_FALSE$$ : $JSCompiler_alias_TRUE$$
}
;