function $AdfDhtmlDnDContext$$() {
  this.Init();
}
$goog$exportSymbol$$("AdfDhtmlDnDContext", $AdfDhtmlDnDContext$$);
$goog$exportSymbol$$("AdfDhtmlDnDContext", $AdfDhtmlDnDContext$$);
$AdfObject$$.$createSubclass$($AdfDhtmlDnDContext$$, $AdfDnDContext$$);
$AdfDhtmlDnDContext$$.prototype.Init = function $$AdfDhtmlDnDContext$$$$Init$() {
  $AdfDhtmlDnDContext$$.$superclass$.Init.call(this);
  $JSCompiler_StaticMethods__clearDrag$$(this);
  this.$_dropTargetComponents$ = [];
  this.$_isAndroid$ = $AdfAgent$$.$AGENT$.$getOS$() == $AdfAgent$$.$ANDROID_OS$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.Init", {Init:$AdfDhtmlDnDContext$$.prototype.Init});
$AdfDhtmlDnDContext$$.$InitClass$ = function $$AdfDhtmlDnDContext$$$$InitClass$$() {
  var $agent$$282$$ = $AdfAgent$$.$AGENT$;
  this.$_NOT_ALLOWED_CURSOR$ = $agent$$282$$.getCursor("not-allowed");
  this.$_LINK_CURSOR$ = $agent$$282$$.getCursor("alias");
  this.$_COPY_CURSOR$ = $agent$$282$$.getCursor("copy");
  this.$_MOVE_CURSOR$ = $agent$$282$$.getCursor("default");
  $agent$$282$$.getCursor("inherit");
};
$goog$exportSymbol$$("AdfDhtmlDnDContext.InitClass", $AdfDhtmlDnDContext$$.$InitClass$);
$AdfDhtmlDnDContext$$.prototype.$__addComponentTarget$ = function $$AdfDhtmlDnDContext$$$$$__addComponentTarget$$($component$$1059$$) {
  $AdfAssert$$.$assertPrototype$($component$$1059$$, $AdfUIComponent$$);
  $AdfAssert$$.$assertPrototype$($component$$1059$$.$getDropTarget$(), $AdfDropTarget$$);
  this.$_dropTargetComponents$.push($component$$1059$$);
  $AdfLogger$$.$LOGGER$.finer("Add drop component", $component$$1059$$, " New count:", this.$_dropTargetComponents$.length);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.__addComponentTarget", {$__addComponentTarget$:$AdfDhtmlDnDContext$$.prototype.$__addComponentTarget$});
$AdfDhtmlDnDContext$$.prototype.$__removeComponentTarget$ = function $$AdfDhtmlDnDContext$$$$$__removeComponentTarget$$($component$$1060$$) {
  $AdfAssert$$.$assertPrototype$($component$$1060$$, $AdfUIComponent$$);
  var $lastDropTarget_removedIndex$$ = $AdfCollections$$.$removeArrayValue$(this.$_dropTargetComponents$, $component$$1060$$);
  $AdfLogger$$.$LOGGER$.finer("Remove drop component", $component$$1060$$, " New count:", this.$_dropTargetComponents$.length);
  $AdfAssert$$.assert(-1 != $lastDropTarget_removedIndex$$, "Could not find component in components array");
  ($lastDropTarget_removedIndex$$ = this.$_lastDropTarget$) && $lastDropTarget_removedIndex$$.$getComponent$() === $component$$1060$$ && (this.$_lastDropTarget$ = null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.__removeComponentTarget", {$__removeComponentTarget$:$AdfDhtmlDnDContext$$.prototype.$__removeComponentTarget$});
$AdfDhtmlDnDContext$$.prototype.$__removeDragSource$ = function $$AdfDhtmlDnDContext$$$$$__removeDragSource$$($component$$1061$$) {
  $AdfAssert$$.$assertPrototype$($component$$1061$$, $AdfUIComponent$$);
  var $dragSource$$9$$ = this.$_dragSource$;
  $dragSource$$9$$ && $dragSource$$9$$.$getComponent$() == $component$$1061$$ && (this.$_dragSource$ = null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.__removeDragSource", {$__removeDragSource$:$AdfDhtmlDnDContext$$.prototype.$__removeDragSource$});
$AdfDhtmlDnDContext$$.prototype.$isDragging$ = function $$AdfDhtmlDnDContext$$$$$isDragging$$() {
  return null != this.$_draggingContext$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.isDragging", {$isDragging$:$AdfDhtmlDnDContext$$.prototype.$isDragging$});
$AdfDhtmlDnDContext$$.prototype.$__isDragPrepped$ = function $$AdfDhtmlDnDContext$$$$$__isDragPrepped$$() {
  return null != this.$_prepContext$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.__isDragPrepped", {$__isDragPrepped$:$AdfDhtmlDnDContext$$.prototype.$__isDragPrepped$});
$AdfDhtmlDnDContext$$.prototype.$getDragSource$ = function $$AdfDhtmlDnDContext$$$$$getDragSource$$() {
  return this.$_dragSource$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.getDragSource", {$getDragSource$:$AdfDhtmlDnDContext$$.prototype.$getDragSource$});
$AdfDhtmlDnDContext$$.prototype.$getTransferable$ = function $$AdfDhtmlDnDContext$$$$$getTransferable$$() {
  var $draggingContext$$ = this.$_draggingContext$;
  return $draggingContext$$ ? $draggingContext$$.$_transferable$ : null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.getTransferable", {$getTransferable$:$AdfDhtmlDnDContext$$.prototype.$getTransferable$});
$AdfDhtmlDnDContext$$.prototype.$getSourceActions$ = function $$AdfDhtmlDnDContext$$$$$getSourceActions$$() {
  var $draggingContext$$1$$ = this.$_draggingContext$;
  return $draggingContext$$1$$ ? $draggingContext$$1$$.$_sourceActions$ : $AdfDnDContext$$.$ACTION_NONE$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.getSourceActions", {$getSourceActions$:$AdfDhtmlDnDContext$$.prototype.$getSourceActions$});
$AdfDhtmlDnDContext$$.prototype.$getUserAction$ = function $$AdfDhtmlDnDContext$$$$$getUserAction$$() {
  var $draggingContext$$2$$ = this.$_draggingContext$;
  return $draggingContext$$2$$ ? $draggingContext$$2$$.$_userAction$ : $AdfDnDContext$$.$ACTION_NONE$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.getUserAction", {$getUserAction$:$AdfDhtmlDnDContext$$.prototype.$getUserAction$});
$AdfDhtmlDnDContext$$.prototype.$setDropTargetProperty$ = function $$AdfDhtmlDnDContext$$$$$setDropTargetProperty$$($name$$94$$, $value$$189$$) {
  $AdfAssert$$.$assertString$($name$$94$$);
  var $currTargetProperties_draggingContext$$3$$ = this.$_draggingContext$;
  $AdfAssert$$.assert($currTargetProperties_draggingContext$$3$$, "setDropTargetProperty only allowed when dragging");
  $AdfAssert$$.$assertString$($name$$94$$);
  $currTargetProperties_draggingContext$$3$$ = $currTargetProperties_draggingContext$$3$$.$_currDropProperties$;
  $AdfAssert$$.assert($currTargetProperties_draggingContext$$3$$, "setAdfDropTargetProperty only allowed when we have a possible DropTarget");
  $currTargetProperties_draggingContext$$3$$[$name$$94$$] = $value$$189$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.setDropTargetProperty", {$setDropTargetProperty$:$AdfDhtmlDnDContext$$.prototype.$setDropTargetProperty$});
$AdfDhtmlDnDContext$$.prototype.$getDropTargetProperty$ = function $$AdfDhtmlDnDContext$$$$$getDropTargetProperty$$($name$$95$$) {
  $AdfAssert$$.$assertString$($name$$95$$);
  var $currTargetProperties$$1_draggingContext$$4$$ = this.$_draggingContext$;
  $AdfAssert$$.assert($currTargetProperties$$1_draggingContext$$4$$, "getDropTargetProperty only allowed when dragging");
  $currTargetProperties$$1_draggingContext$$4$$ = $currTargetProperties$$1_draggingContext$$4$$.$_currDropProperties$;
  $AdfAssert$$.assert($currTargetProperties$$1_draggingContext$$4$$, "getAdfDropTargetProperty only allowed when we have a possible DropTarget");
  return $currTargetProperties$$1_draggingContext$$4$$[$name$$95$$];
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.getDropTargetProperty", {$getDropTargetProperty$:$AdfDhtmlDnDContext$$.prototype.$getDropTargetProperty$});
$AdfDhtmlDnDContext$$.prototype.$getTriggerEvent$ = function $$AdfDhtmlDnDContext$$$$$getTriggerEvent$$() {
  var $draggingContext$$5$$ = this.$_draggingContext$;
  return $draggingContext$$5$$ ? $draggingContext$$5$$.$_triggerEvent$ : null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.getTriggerEvent", {$getTriggerEvent$:$AdfDhtmlDnDContext$$.prototype.$getTriggerEvent$});
$AdfDhtmlDnDContext$$.prototype.$startDrag$ = function $$AdfDhtmlDnDContext$$$$$startDrag$$($dragger_triggerEvent$$3$$, $dragWidth_richPage$$1_transferable$$10$$, $allowedActions$$18$$, $defaultAction$$10$$, $dragHeight_dragOverNode$$1$$, $cursorOffsetX$$1$$, $cursorOffsetY$$1$$, $cursor$$10$$) {
  $AdfAssert$$.$assertPrototype$($dragger_triggerEvent$$3$$, $AdfDomUIInputEvent$$);
  $AdfAssert$$.$assertPrototype$($dragWidth_richPage$$1_transferable$$10$$, $AdfTransferable$$);
  $AdfAssert$$.assert(null == this.$_draggingContext$, "Already dragging");
  $AdfAssert$$.$assertNumeric$($allowedActions$$18$$);
  $AdfAssert$$.assert($allowedActions$$18$$ != $AdfDnDContext$$.$ACTION_NONE$, "At least one action must be allowed");
  $AdfAssert$$.assert(0 == ($allowedActions$$18$$ & ~$AdfDnDContext$$.$ACTIONS_ALL$), "allowedActions includes an undefined action flag");
  this.$_dragSourceObj$ = this.$_dragSource$.$applyDragSourceState$($dragger_triggerEvent$$3$$);
  void 0 == $defaultAction$$10$$ && ($defaultAction$$10$$ = $allowedActions$$18$$ & $AdfDnDContext$$.$ACTION_MOVE$ ? $AdfDnDContext$$.$ACTION_MOVE$ : $allowedActions$$18$$ & $AdfDnDContext$$.$ACTION_COPY$ ? $AdfDnDContext$$.$ACTION_COPY$ : $AdfDnDContext$$.$ACTION_LINK$);
  $AdfAssert$$.assert($defaultAction$$10$$ == $AdfDnDContext$$.$ACTION_MOVE$ || $defaultAction$$10$$ == $AdfDnDContext$$.$ACTION_COPY$ || $defaultAction$$10$$ == $AdfDnDContext$$.$ACTION_LINK$, "defaultAction contains an invalid value");
  $AdfAssert$$.assert(0 != ($allowedActions$$18$$ & $defaultAction$$10$$), "Default action not an allowed action");
  $AdfAssert$$.$assertNumeric$($cursorOffsetX$$1$$);
  $AdfAssert$$.$assertNumeric$($cursorOffsetY$$1$$);
  "auto" == $cursor$$10$$ && ($cursor$$10$$ = null);
  var $draggingContext$$6$$ = {};
  $draggingContext$$6$$.$_triggerEvent$ = $dragger_triggerEvent$$3$$;
  $draggingContext$$6$$.$_transferable$ = $dragWidth_richPage$$1_transferable$$10$$;
  $draggingContext$$6$$.$_sourceActions$ = $allowedActions$$18$$;
  $draggingContext$$6$$.$_cursor$ = $cursor$$10$$;
  $draggingContext$$6$$.$_userAction$ = $AdfDnDContext$$.$ACTION_NONE$;
  $draggingContext$$6$$.$_defaultAction$ = $defaultAction$$10$$;
  $draggingContext$$6$$.$_autoscrollTimerID$ = null;
  $draggingContext$$6$$.$_dropTarget$ = null;
  $draggingContext$$6$$.$_lastDropTarget$ = null;
  $draggingContext$$6$$.$_dropProperties$ = {};
  $draggingContext$$6$$.$_currDropProperties$ = null;
  $draggingContext$$6$$.$_lastMousePage$ = null;
  this.$_draggingContext$ = $draggingContext$$6$$;
  $AdfAssert$$.assert(!this.$_pendingMouseUp$);
  this.$_pendingMouseUp$ = !1;
  $AdfLogger$$.$LOGGER$.finer("start drag: transferable:", $dragWidth_richPage$$1_transferable$$10$$);
  $dragHeight_dragOverNode$$1$$ ? ($dragger_triggerEvent$$3$$ = $JSCompiler_StaticMethods__getDragDiv$$(this), $dragWidth_richPage$$1_transferable$$10$$ = $AdfPage$$.$PAGE$, !$dragHeight_dragOverNode$$1$$.dir && $dragWidth_richPage$$1_transferable$$10$$.$getLocaleContext$().$isRightToLeft$() && ($dragHeight_dragOverNode$$1$$.dir = "rtl"), $dragWidth_richPage$$1_transferable$$10$$.$showFloatingDiv$($dragger_triggerEvent$$3$$, $dragHeight_dragOverNode$$1$$), $dragWidth_richPage$$1_transferable$$10$$ = 
  $dragHeight_dragOverNode$$1$$.offsetWidth, $dragHeight_dragOverNode$$1$$ = $dragHeight_dragOverNode$$1$$.offsetHeight, $draggingContext$$6$$.$_dragWidth$ = $dragWidth_richPage$$1_transferable$$10$$, $draggingContext$$6$$.$_dragHeight$ = $dragHeight_dragOverNode$$1$$, $draggingContext$$6$$.$_originX$ = 0 > $cursorOffsetX$$1$$ ? 0 : $dragWidth_richPage$$1_transferable$$10$$ < $cursorOffsetX$$1$$ ? $dragWidth_richPage$$1_transferable$$10$$ : $cursorOffsetX$$1$$, $draggingContext$$6$$.$_originY$ = 
  0 > $cursorOffsetY$$1$$ ? 0 : $dragHeight_dragOverNode$$1$$ < $cursorOffsetY$$1$$ ? $dragHeight_dragOverNode$$1$$ : $cursorOffsetY$$1$$) : ($dragger_triggerEvent$$3$$ = null, $draggingContext$$6$$.$_dragWidth$ = 0, $draggingContext$$6$$.$_dragHeight$ = 0, $draggingContext$$6$$.$_originX$ = 0, $draggingContext$$6$$.$_originY$ = 0);
  $draggingContext$$6$$.$_dragger$ = $dragger_triggerEvent$$3$$;
  $AdfPage$$.$PAGE$.$showGlassPane$($JSCompiler_StaticMethods__getCaptureMap$$(this), "no-drop");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.startDrag", {$startDrag$:$AdfDhtmlDnDContext$$.prototype.$startDrag$});
function $JSCompiler_StaticMethods__abortDrag$$($JSCompiler_StaticMethods__abortDrag$self$$) {
  $AdfAssert$$.assert($JSCompiler_StaticMethods__abortDrag$self$$.$_dragSource$, "Aborting drag from an invalid drag state");
  $AdfLogger$$.$LOGGER$.fine("Abort drag of:", $JSCompiler_StaticMethods__abortDrag$self$$.$_dragSource$);
  var $draggingContext$$7_dropTarget$$5$$ = $JSCompiler_StaticMethods__abortDrag$self$$.$_draggingContext$;
  if ($draggingContext$$7_dropTarget$$5$$) {
    $draggingContext$$7_dropTarget$$5$$.$_userAction$ = $AdfDnDContext$$.$ACTION_NONE$;
    if ($draggingContext$$7_dropTarget$$5$$ = $draggingContext$$7_dropTarget$$5$$.$_dropTarget$) {
      try {
        $draggingContext$$7_dropTarget$$5$$.$dragExit$($JSCompiler_StaticMethods__abortDrag$self$$);
      } catch ($e$$113$$) {
        $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$113$$, "DropTarget.dragExit() failed");
      }
      $JSCompiler_StaticMethods__changeActiveDropCSSClass$$($draggingContext$$7_dropTarget$$5$$, !1);
    }
    $JSCompiler_StaticMethods__dragComplete$$($JSCompiler_StaticMethods__abortDrag$self$$, !1);
  } else {
    $JSCompiler_StaticMethods__abortDrag$self$$.$_prepContext$ && $JSCompiler_StaticMethods__clearDrag$$($JSCompiler_StaticMethods__abortDrag$self$$);
  }
}
$AdfDhtmlDnDContext$$.prototype.$__handleInputEvent$ = function $$AdfDhtmlDnDContext$$$$$__handleInputEvent$$($inputEvent$$54_targetNode$$22$$) {
  $AdfAssert$$.$assertPrototype$($inputEvent$$54_targetNode$$22$$, $AdfUIInputEvent$$);
  var $logger$$15$$ = $AdfLogger$$.$LOGGER$;
  if (!this.$_draggingContext$) {
    if (!this.$_prepContext$ && $AdfAgent$$.$AGENT$.$isDragPrepEvent$($inputEvent$$54_targetNode$$22$$)) {
      var $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$;
      $AdfAssert$$.$assertPrototype$($inputEvent$$54_targetNode$$22$$, $AdfUIInputEvent$$);
      b: {
        $AdfAssert$$.$assertPrototype$($inputEvent$$54_targetNode$$22$$, $AdfUIInputEvent$$);
        var $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$ = $inputEvent$$54_targetNode$$22$$.getSource();
        for ($AdfAssert$$.$assertPrototype$($currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$, $AdfUIComponent$$);null != $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$ && "oracle.adf.RichPopup" !== $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$.getComponentType();) {
          var $dragSource$$inline_5809_prepContext$$9$$ = $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$.$getDragSource$();
          if ($dragSource$$inline_5809_prepContext$$9$$) {
            try {
              if ($dragSource$$inline_5809_prepContext$$9$$.$isAvailable$(this, $inputEvent$$54_targetNode$$22$$)) {
                $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$ = $dragSource$$inline_5809_prepContext$$9$$;
                break b;
              }
            } catch ($e$$inline_5810$$) {
              $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$inline_5810$$, "dragSource.isAvailable() failed");
            }
          }
          $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$ = $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$.getParent();
        }
        $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$ = null;
      }
      $AdfAssert$$.$assertPrototypeOrNull$($JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$, $AdfDragSource$$);
      $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$ = this.$_dragSource$;
      $AdfAssert$$.$assertPrototypeOrNull$($JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$, $AdfDragSource$$);
      $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$ != $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$ ? $AdfLogger$$.$LOGGER$.finest("Change drag source from:", $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$, " to ", $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$) : $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$ = $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$;
      this.$_dragSource$ = $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$;
    }
    if ($JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$ = this.$_dragSource$) {
      if ($currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$ = $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$.$getDragRecognizer$(), $dragSource$$inline_5809_prepContext$$9$$ = this.$_prepContext$) {
        $AdfPage$$.$PAGE$.$getGlassPane$();
        var $abort_triggerEvent$$4$$ = !0;
        try {
          $abort_triggerEvent$$4$$ = $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$.$abortPrep$($dragSource$$inline_5809_prepContext$$9$$, $inputEvent$$54_targetNode$$22$$);
        } catch ($e$$114$$) {
          $logger$$15$$.$logErrorAsWarning$($e$$114$$, "Recognizer abort prep failed");
        }
        if ($abort_triggerEvent$$4$$) {
          $JSCompiler_StaticMethods__abortDrag$$(this), $inputEvent$$54_targetNode$$22$$ = $dragSource$$inline_5809_prepContext$$9$$.$triggerEvent$.$getNativeEventTarget$(), $AdfFocusUtils$$.$isFocusable$($inputEvent$$54_targetNode$$22$$) && !$AdfFocusUtils$$.$containsFocus$() && $AdfFocusUtils$$.$focusElement$($inputEvent$$54_targetNode$$22$$);
        } else {
          $logger$$15$$.finest("recognize drag for ", $dragSource$$inline_5809_prepContext$$9$$, " ", $inputEvent$$54_targetNode$$22$$);
          $abort_triggerEvent$$4$$ = null;
          try {
            $abort_triggerEvent$$4$$ = $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$.$recognizeDrag$($dragSource$$inline_5809_prepContext$$9$$, $inputEvent$$54_targetNode$$22$$);
          } catch ($e$$115$$) {
            $logger$$15$$.$logErrorAsWarning$($e$$115$$, "Drag recognition failed");
          }
          if ($abort_triggerEvent$$4$$) {
            this.$_prepContext$ = null;
            $logger$$15$$.fine("initiate drag of ", $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$, " for event:", $abort_triggerEvent$$4$$);
            $AdfAgent$$.$AGENT$.$disableUserSelect$($AdfPage$$.$PAGE$.$_document$.body);
            try {
              $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$.$initiateDrag$(this, $abort_triggerEvent$$4$$);
            } catch ($e$$116$$) {
              throw $logger$$15$$.$logErrorAsWarning$($e$$116$$, "Drag initiation failed"), $e$$116$$;
            }
            null != this.$_draggingContext$ && $JSCompiler_StaticMethods__trackDrag$$(this, $inputEvent$$54_targetNode$$22$$.$getNativeEvent$());
          }
        }
      } else {
        $dragSource$$inline_5809_prepContext$$9$$ = null;
        try {
          $dragSource$$inline_5809_prepContext$$9$$ = $currComponent$$inline_5808_oldDragSource$$inline_1866_recognizer$$.$prepDrag$(this, $JSCompiler_inline_result$$104_dragSource$$11_newDragSource$$inline_1865$$, $inputEvent$$54_targetNode$$22$$);
        } catch ($e$$117$$) {
          $logger$$15$$.$logErrorAsWarning$($e$$117$$, "Drag prep failed");
        }
        $dragSource$$inline_5809_prepContext$$9$$ && ($logger$$15$$.finer("drag prep context:", $dragSource$$inline_5809_prepContext$$9$$), this.$_prepContext$ = $dragSource$$inline_5809_prepContext$$9$$);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.__handleInputEvent", {$__handleInputEvent$:$AdfDhtmlDnDContext$$.prototype.$__handleInputEvent$});
$AdfDhtmlDnDContext$$.prototype.$_setCursor$ = function $$AdfDhtmlDnDContext$$$$$_setCursor$$($newCursor$$) {
  $AdfAssert$$.$assertString$($newCursor$$);
  $AdfLogger$$.$LOGGER$.finer("Set cursor to:", $newCursor$$);
  $AdfAgent$$.$AGENT$.setCursor($AdfPage$$.$PAGE$.$getGlassPane$(), $newCursor$$);
};
$AdfDhtmlDnDContext$$.$_pointInDropTarget$ = function $$AdfDhtmlDnDContext$$$$_pointInDropTarget$$($component$$1062_domElement$$186$$, $pageX$$46$$, $pageY$$46$$) {
  return ($component$$1062_domElement$$186$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$1062_domElement$$186$$)) ? $AdfAgent$$.$AGENT$.$pointInElementOrChildBounds$($component$$1062_domElement$$186$$, $pageX$$46$$, $pageY$$46$$) : !1;
};
function $JSCompiler_StaticMethods__getDragDiv$$($JSCompiler_StaticMethods__getDragDiv$self$$) {
  if (!$JSCompiler_StaticMethods__getDragDiv$self$$.$_dragDiv$) {
    var $richPage$$2$$ = $AdfPage$$.$PAGE$;
    $JSCompiler_StaticMethods__getDragDiv$self$$.$_dragDiv$ = $richPage$$2$$.$createFloatingDiv$($richPage$$2$$.$_document$.body, $AdfDhtmlZOrderManager$$.$getMaxZIndex$(), "DragContent");
    $JSCompiler_StaticMethods__getDragDiv$self$$.$_dragDiv$.dir = "ltr";
  }
  return $JSCompiler_StaticMethods__getDragDiv$self$$.$_dragDiv$;
}
function $JSCompiler_StaticMethods__clearDrag$$($JSCompiler_StaticMethods__clearDrag$self$$) {
  $AdfAgent$$.$AGENT$.$enableUserSelect$($AdfPage$$.$PAGE$.$_document$.body);
  $JSCompiler_StaticMethods__clearDrag$self$$.$_dragSource$ = null;
  $JSCompiler_StaticMethods__clearDrag$self$$.$_prepContext$ = null;
  $JSCompiler_StaticMethods__clearDrag$self$$.$_draggingContext$ = null;
}
$AdfDhtmlDnDContext$$.prototype.$toDebugString$ = function $$AdfDhtmlDnDContext$$$$$toDebugString$$() {
  return $AdfDhtmlDnDContext$$.$superclass$.$toDebugString$.call(this) + "[ dragSource:" + this.$_dragSource$ + " prepContext:" + this.$_prepContext$ + " drag context:" + this.$_draggingContext$ + " drag div:" + this.$_dragDiv$ + "]";
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlDnDContext.prototype.toDebugString", {$toDebugString$:$AdfDhtmlDnDContext$$.prototype.$toDebugString$});
function $JSCompiler_StaticMethods__trackDrag$$($JSCompiler_StaticMethods__trackDrag$self$$, $event$$190$$) {
  if (!$JSCompiler_StaticMethods__trackDrag$self$$.$_pendingMouseUp$) {
    var $draggingContext$$9$$ = $JSCompiler_StaticMethods__trackDrag$self$$.$_draggingContext$;
    $AdfAssert$$.assert($draggingContext$$9$$, "Not in dragging state");
    var $agent$$283$$ = $AdfAgent$$.$AGENT$, $dragY_mousePage$$ = $agent$$283$$.$getMousePosition$($event$$190$$);
    $draggingContext$$9$$.$_lastMousePage$ = $dragY_mousePage$$;
    var $dragX_dropTargetID_oldDropTarget$$2$$ = $draggingContext$$9$$.$_dropTarget$, $draggerStyle_newDropTarget_pageX$$inline_1869$$;
    a: {
      $draggerStyle_newDropTarget_pageX$$inline_1869$$ = $dragY_mousePage$$.x;
      for (var $dragRight_dragSource$$13_pageY$$inline_1870$$ = $dragY_mousePage$$.y, $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$ = $JSCompiler_StaticMethods__trackDrag$self$$.$_dropTargetComponents$, $dropProperties_i$$inline_1872_window$$4$$ = $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$.length - 1;0 <= $dropProperties_i$$inline_1872_window$$4$$;$dropProperties_i$$inline_1872_window$$4$$--) {
        var $currComponent$$inline_1873_currDropProperties$$ = $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$[$dropProperties_i$$inline_1872_window$$4$$];
        if ($AdfDhtmlDnDContext$$.$_pointInDropTarget$($currComponent$$inline_1873_currDropProperties$$, $draggerStyle_newDropTarget_pageX$$inline_1869$$, $dragRight_dragSource$$13_pageY$$inline_1870$$)) {
          $draggerStyle_newDropTarget_pageX$$inline_1869$$ = $currComponent$$inline_1873_currDropProperties$$.$getDropTarget$();
          break a;
        }
      }
      $draggerStyle_newDropTarget_pageX$$inline_1869$$ = null;
    }
    $AdfAssert$$.$assertPrototypeOrNull$($draggerStyle_newDropTarget_pageX$$inline_1869$$, $AdfDropTarget$$);
    $dragRight_dragSource$$13_pageY$$inline_1870$$ = $JSCompiler_StaticMethods__trackDrag$self$$.$_dragSource$;
    $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$ = $AdfLogger$$.$LOGGER$;
    if ($draggerStyle_newDropTarget_pageX$$inline_1869$$ != $dragX_dropTargetID_oldDropTarget$$2$$) {
      if ($dragBottom_dropTargetComponents$$inline_1871_logger$$16$$.finest("Attempt to change drop target changed from:", $dragX_dropTargetID_oldDropTarget$$2$$, " to ", $draggerStyle_newDropTarget_pageX$$inline_1869$$), $dragX_dropTargetID_oldDropTarget$$2$$ && $JSCompiler_StaticMethods__setUserAction$$($JSCompiler_StaticMethods__trackDrag$self$$, $AdfDnDContext$$.$ACTION_NONE$, !1), $draggerStyle_newDropTarget_pageX$$inline_1869$$ && ($JSCompiler_StaticMethods__trackDrag$self$$.$_lastDropTarget$ = 
      $draggerStyle_newDropTarget_pageX$$inline_1869$$, $dragX_dropTargetID_oldDropTarget$$2$$ = $draggerStyle_newDropTarget_pageX$$inline_1869$$.$getComponent$().$getClientId$(), $dropProperties_i$$inline_1872_window$$4$$ = $draggingContext$$9$$.$_dropProperties$, $currComponent$$inline_1873_currDropProperties$$ = $dropProperties_i$$inline_1872_window$$4$$[$dragX_dropTargetID_oldDropTarget$$2$$], $currComponent$$inline_1873_currDropProperties$$ || ($currComponent$$inline_1873_currDropProperties$$ = 
      {}, $dropProperties_i$$inline_1872_window$$4$$[$dragX_dropTargetID_oldDropTarget$$2$$] = $currComponent$$inline_1873_currDropProperties$$), $draggingContext$$9$$.$_currDropProperties$ = $currComponent$$inline_1873_currDropProperties$$, $JSCompiler_StaticMethods__trackDrag$self$$.$_acceptDrag$($draggerStyle_newDropTarget_pageX$$inline_1869$$, $event$$190$$, "acceptDragEnter", $dragY_mousePage$$), $draggingContext$$9$$.$_userAction$ != $AdfDnDContext$$.$ACTION_NONE$)) {
        $AdfAssert$$.$DEBUG$ && $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$.finest("New drop target:", $draggerStyle_newDropTarget_pageX$$inline_1869$$);
        $draggingContext$$9$$.$_dropTarget$ = $draggerStyle_newDropTarget_pageX$$inline_1869$$;
        $JSCompiler_StaticMethods__changeActiveDropCSSClass$$($draggerStyle_newDropTarget_pageX$$inline_1869$$, !0);
        try {
          $dragRight_dragSource$$13_pageY$$inline_1870$$.$dragEnter$($JSCompiler_StaticMethods__trackDrag$self$$);
        } catch ($e$$119$$) {
          $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$.$logErrorAsWarning$($e$$119$$, "dragSource.isAvailable() failed");
        }
      }
    } else {
      if ($draggerStyle_newDropTarget_pageX$$inline_1869$$ && ($JSCompiler_StaticMethods__trackDrag$self$$.$_acceptDrag$($draggerStyle_newDropTarget_pageX$$inline_1869$$, $event$$190$$, "acceptDragOver", $dragY_mousePage$$), $draggingContext$$9$$.$_userAction$ != $AdfDnDContext$$.$ACTION_NONE$)) {
        try {
          $dragRight_dragSource$$13_pageY$$inline_1870$$.$dragOver$($JSCompiler_StaticMethods__trackDrag$self$$);
        } catch ($e$$120$$) {
          $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$.$logErrorAsWarning$($e$$120$$, "dragSource.dragOver() failed");
        }
      }
    }
    $dragX_dropTargetID_oldDropTarget$$2$$ = $dragY_mousePage$$.x - $draggingContext$$9$$.$_originX$;
    0 > $dragX_dropTargetID_oldDropTarget$$2$$ && ($dragX_dropTargetID_oldDropTarget$$2$$ = 0);
    $dragY_mousePage$$ = $dragY_mousePage$$.y - $draggingContext$$9$$.$_originY$;
    0 > $dragY_mousePage$$ && ($dragY_mousePage$$ = 0);
    $draggingContext$$9$$.$_dragger$ && ($draggerStyle_newDropTarget_pageX$$inline_1869$$ = $draggingContext$$9$$.$_dragger$.style, $dragRight_dragSource$$13_pageY$$inline_1870$$ = $dragX_dropTargetID_oldDropTarget$$2$$ + $draggingContext$$9$$.$_dragWidth$, $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$ = $dragY_mousePage$$ + $draggingContext$$9$$.$_dragHeight$, $dropProperties_i$$inline_1872_window$$4$$ = $agent$$283$$.$getDomWindow$(), $dragRight_dragSource$$13_pageY$$inline_1870$$ -= 
    $agent$$283$$.$getWindowScrollWidth$($dropProperties_i$$inline_1872_window$$4$$), $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$ -= $agent$$283$$.$getWindowScrollHeight$($dropProperties_i$$inline_1872_window$$4$$), 0 < $dragRight_dragSource$$13_pageY$$inline_1870$$ && ($dragX_dropTargetID_oldDropTarget$$2$$ -= $dragRight_dragSource$$13_pageY$$inline_1870$$), 0 < $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$ && ($dragY_mousePage$$ -= $dragBottom_dropTargetComponents$$inline_1871_logger$$16$$), 
    $draggerStyle_newDropTarget_pageX$$inline_1869$$.left = $dragX_dropTargetID_oldDropTarget$$2$$ + "px", $draggerStyle_newDropTarget_pageX$$inline_1869$$.top = $dragY_mousePage$$ + "px");
    $draggingContext$$9$$.$_dragPageX$ = $dragX_dropTargetID_oldDropTarget$$2$$;
    $draggingContext$$9$$.$_dragPageY$ = $dragY_mousePage$$;
  }
}
$AdfDhtmlDnDContext$$.prototype.$_acceptDrag$ = function $$AdfDhtmlDnDContext$$$$$_acceptDrag$$($dropTarget$$6$$, $event$$191_logger$$17$$, $dropTargetFuncName$$, $mousePage$$1$$) {
  $AdfAssert$$.$assertPrototype$($dropTarget$$6$$, $AdfDropTarget$$);
  null == $mousePage$$1$$ && ($mousePage$$1$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($event$$191_logger$$17$$));
  var $proposedAction$$20$$ = $AdfDnDContext$$.$ACTION_NONE$, $draggingContext$$10_userAction$$6$$ = this.$_draggingContext$;
  $AdfAssert$$.assert($draggingContext$$10_userAction$$6$$, "No dragging context");
  $event$$191_logger$$17$$.ctrlKey && $event$$191_logger$$17$$.shiftKey ? $proposedAction$$20$$ = $AdfDnDContext$$.$ACTION_LINK$ : $event$$191_logger$$17$$.ctrlKey ? $proposedAction$$20$$ = $AdfDnDContext$$.$ACTION_COPY$ : $event$$191_logger$$17$$.shiftKey && ($proposedAction$$20$$ = $AdfDnDContext$$.$ACTION_MOVE$);
  $proposedAction$$20$$ &= $draggingContext$$10_userAction$$6$$.$_sourceActions$;
  $proposedAction$$20$$ == $AdfDnDContext$$.$ACTION_NONE$ && ($proposedAction$$20$$ = $draggingContext$$10_userAction$$6$$.$_defaultAction$);
  $event$$191_logger$$17$$ = $AdfLogger$$.$LOGGER$;
  $event$$191_logger$$17$$.finest("Initial Proposed action:", $proposedAction$$20$$);
  $draggingContext$$10_userAction$$6$$ = $AdfDnDContext$$.$ACTION_NONE$;
  try {
    $draggingContext$$10_userAction$$6$$ = $dropTarget$$6$$[$dropTargetFuncName$$](this, $proposedAction$$20$$, $mousePage$$1$$.x, $mousePage$$1$$.y), $AdfAssert$$.$DEBUG$ && $AdfDnDContext$$.$assertUserAction$($draggingContext$$10_userAction$$6$$);
  } catch ($e$$121$$) {
    $event$$191_logger$$17$$.$logErrorAsWarning$($e$$121$$, "DropTarget." + $dropTargetFuncName$$ + "() failed");
  }
  $event$$191_logger$$17$$.finest("User action:", $draggingContext$$10_userAction$$6$$);
  $JSCompiler_StaticMethods__setUserAction$$(this, $draggingContext$$10_userAction$$6$$, "acceptDropActionChanged" == $dropTargetFuncName$$);
};
function $JSCompiler_StaticMethods__setUserAction$$($JSCompiler_StaticMethods__setUserAction$self$$, $dropTarget$$7_newUserAction$$, $deliverDropActionChanged$$) {
  $AdfAssert$$.$DEBUG$ && $AdfDnDContext$$.$assertUserAction$($dropTarget$$7_newUserAction$$);
  var $draggingContext$$11$$ = $JSCompiler_StaticMethods__setUserAction$self$$.$_draggingContext$, $oldUserAction$$ = $draggingContext$$11$$.$_userAction$;
  if ($dropTarget$$7_newUserAction$$ != $oldUserAction$$) {
    var $logger$$18$$ = $AdfLogger$$.$LOGGER$;
    $draggingContext$$11$$.$_userAction$ = $dropTarget$$7_newUserAction$$;
    var $newCursor$$1$$ = "auto";
    switch($dropTarget$$7_newUserAction$$) {
      case $AdfDnDContext$$.$ACTION_NONE$:
        $newCursor$$1$$ = $AdfDhtmlDnDContext$$.$_NOT_ALLOWED_CURSOR$;
        break;
      case $AdfDnDContext$$.$ACTION_LINK$:
        $newCursor$$1$$ = $AdfDhtmlDnDContext$$.$_LINK_CURSOR$;
        break;
      case $AdfDnDContext$$.$ACTION_COPY$:
        $newCursor$$1$$ = $AdfDhtmlDnDContext$$.$_COPY_CURSOR$;
        break;
      case $AdfDnDContext$$.$ACTION_MOVE$:
        $newCursor$$1$$ = $AdfDhtmlDnDContext$$.$_MOVE_CURSOR$;
    }
    $logger$$18$$.finer("New cursor:", $newCursor$$1$$);
    $JSCompiler_StaticMethods__setUserAction$self$$.$_setCursor$($newCursor$$1$$);
    if ($dropTarget$$7_newUserAction$$ != $AdfDnDContext$$.$ACTION_NONE$) {
      if ($deliverDropActionChanged$$) {
        try {
          $JSCompiler_StaticMethods__setUserAction$self$$.$_dragSource$.$dropActionChanged$($JSCompiler_StaticMethods__setUserAction$self$$);
        } catch ($e$$122$$) {
          $logger$$18$$.$logErrorAsWarning$($e$$122$$, "dragSource.dropActionChanged() failed");
        }
      }
    } else {
      if ($oldUserAction$$ != $AdfDnDContext$$.$ACTION_NONE$) {
        try {
          $JSCompiler_StaticMethods__setUserAction$self$$.$_dragSource$.$dragExit$($JSCompiler_StaticMethods__setUserAction$self$$);
        } catch ($e$$123$$) {
          $logger$$18$$.$logErrorAsWarning$($e$$123$$, "dragSource.dragExit() failed");
        }
        $dropTarget$$7_newUserAction$$ = $draggingContext$$11$$.$_dropTarget$;
        $AdfAssert$$.assert($dropTarget$$7_newUserAction$$, "Must have drop target if had user action");
        try {
          $dropTarget$$7_newUserAction$$.$dragExit$($JSCompiler_StaticMethods__setUserAction$self$$);
        } catch ($e$$124$$) {
          $logger$$18$$.$logErrorAsWarning$($e$$124$$, "dropTarget.dragExit() failed");
        }
        $logger$$18$$.finer("Clear out old dropTarget:", $dropTarget$$7_newUserAction$$);
        $JSCompiler_StaticMethods__changeActiveDropCSSClass$$($dropTarget$$7_newUserAction$$, !1);
        $draggingContext$$11$$.$_dropTarget$ = null;
        $draggingContext$$11$$.$_currDropProperties$ = null;
      }
    }
  }
}
function $JSCompiler_StaticMethods__changeActiveDropCSSClass$$($dropTarget$$8$$, $addClass$$) {
  $AdfAssert$$.$assertPrototype$($dropTarget$$8$$, $AdfDropTarget$$);
  var $targetComponent$$4$$ = $dropTarget$$8$$.$getComponent$(), $targetPeer$$ = $targetComponent$$4$$.$getPeer$();
  null != $targetPeer$$ ? ($targetPeer$$.bind($targetComponent$$4$$), ($addClass$$ ? $AdfDomUtils$$.$addCSSClassName$ : $AdfDomUtils$$.$removeCSSClassName$)($targetPeer$$.$getDomElement$(), $AdfRichUIPeer$$.$DROP_TARGET_STYLECLASS$)) : $AdfAssert$$.assert(!1 === $addClass$$, "Orphanned component when adding CSS style");
}
function $JSCompiler_StaticMethods__dragComplete$$($JSCompiler_StaticMethods__dragComplete$self$$, $mouseReleased$$) {
  $AdfAssert$$.assert($JSCompiler_StaticMethods__dragComplete$self$$.$_draggingContext$, "Not in dragging state");
  var $agent$$284_dragSource$$14$$ = $JSCompiler_StaticMethods__dragComplete$self$$.$_dragSource$;
  if (null != $agent$$284_dragSource$$14$$) {
    $agent$$284_dragSource$$14$$.$clearDragSourceState$($JSCompiler_StaticMethods__dragComplete$self$$.$_dragSourceObj$);
    delete $JSCompiler_StaticMethods__dragComplete$self$$.$_dragSourceObj$;
    try {
      $agent$$284_dragSource$$14$$.$dragDropEnd$($JSCompiler_StaticMethods__dragComplete$self$$, $JSCompiler_StaticMethods__dragComplete$self$$.$getUserAction$());
    } catch ($e$$126$$) {
      $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$126$$, "dragSource.dragDropEnd() failed");
    }
  }
  var $agent$$284_dragSource$$14$$ = $AdfAgent$$.$AGENT$, $richPage$$3$$ = $AdfPage$$.$PAGE$;
  $richPage$$3$$.$hideFloatingDiv$($JSCompiler_StaticMethods__getDragDiv$$($JSCompiler_StaticMethods__dragComplete$self$$));
  $JSCompiler_StaticMethods__clearDrag$$($JSCompiler_StaticMethods__dragComplete$self$$);
  $agent$$284_dragSource$$14$$.$getPlatform$() != $AdfAgent$$.$IE_PLATFORM$ || $mouseReleased$$ ? $richPage$$3$$.$hideGlassPane$($JSCompiler_StaticMethods__getCaptureMap$$($JSCompiler_StaticMethods__dragComplete$self$$)) : $JSCompiler_StaticMethods__dragComplete$self$$.$_pendingMouseUp$ = !0;
}
function $JSCompiler_StaticMethods__abortEvent$$($JSCompiler_StaticMethods__abortEvent$self$$, $event$$193$$) {
  $JSCompiler_StaticMethods__abortEvent$self$$.$_pendingMouseUp$ || ($JSCompiler_StaticMethods__abortDrag$$($JSCompiler_StaticMethods__abortEvent$self$$), $AdfAgent$$.$eatEventCallback$($event$$193$$));
}
$AdfDhtmlDnDContext$$.$_trackDragCallback$ = function $$AdfDhtmlDnDContext$$$$_trackDragCallback$$($event$$195$$) {
  $JSCompiler_StaticMethods__trackDrag$$($AdfPage$$.$PAGE$.$getDnDContext$(), $event$$195$$);
  $AdfAgent$$.$eatEventCallback$($event$$195$$);
  return !1;
};
$AdfDhtmlDnDContext$$.$_doDropCallback$ = function $$AdfDhtmlDnDContext$$$$_doDropCallback$$($event$$196$$) {
  var $JSCompiler_StaticMethods__doDrop$self$$inline_1875$$ = $AdfPage$$.$PAGE$.$getDnDContext$();
  if ($JSCompiler_StaticMethods__doDrop$self$$inline_1875$$.$_pendingMouseUp$) {
    $AdfPage$$.$PAGE$.$hideGlassPane$($JSCompiler_StaticMethods__getCaptureMap$$($JSCompiler_StaticMethods__doDrop$self$$inline_1875$$)), $JSCompiler_StaticMethods__doDrop$self$$inline_1875$$.$_pendingMouseUp$ = !1;
  } else {
    var $draggingContext$$inline_1877$$ = $JSCompiler_StaticMethods__doDrop$self$$inline_1875$$.$_draggingContext$;
    $AdfAssert$$.assert($draggingContext$$inline_1877$$, "Not in dragging state");
    if ($draggingContext$$inline_1877$$.$_userAction$ != $AdfDnDContext$$.$ACTION_NONE$) {
      var $dropTarget$$inline_1878$$ = $draggingContext$$inline_1877$$.$_dropTarget$;
      $AdfAssert$$.assert($dropTarget$$inline_1878$$, "Must have a valid drop target to drop");
      var $mousePage$$inline_1879$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($event$$196$$), $result$$inline_1880$$ = $AdfDnDContext$$.$ACTION_NONE$;
      try {
        $result$$inline_1880$$ = $dropTarget$$inline_1878$$.$drop$($JSCompiler_StaticMethods__doDrop$self$$inline_1875$$, $draggingContext$$inline_1877$$.$_userAction$, $mousePage$$inline_1879$$.x, $mousePage$$inline_1879$$.y), $JSCompiler_StaticMethods__changeActiveDropCSSClass$$($dropTarget$$inline_1878$$, !1), $AdfAssert$$.$DEBUG$ && $AdfDnDContext$$.$assertUserAction$($result$$inline_1880$$);
      } catch ($e$$inline_1881$$) {
        $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$inline_1881$$, "dropTarget.drop() failed");
      }
      $JSCompiler_StaticMethods__setUserAction$$($JSCompiler_StaticMethods__doDrop$self$$inline_1875$$, $result$$inline_1880$$, !1);
    }
    $JSCompiler_StaticMethods__dragComplete$$($JSCompiler_StaticMethods__doDrop$self$$inline_1875$$, !0);
  }
  $AdfAgent$$.$eatEventCallback$($event$$196$$);
  return !1;
};
$AdfDhtmlDnDContext$$.$_checkAbortCallback$ = function $$AdfDhtmlDnDContext$$$$_checkAbortCallback$$($event$$197$$) {
  var $JSCompiler_StaticMethods__checkAbort$self$$inline_1883$$ = $AdfPage$$.$PAGE$.$getDnDContext$();
  if (!$JSCompiler_StaticMethods__checkAbort$self$$inline_1883$$.$_pendingMouseUp$) {
    if ($AdfAssert$$.assert($JSCompiler_StaticMethods__checkAbort$self$$inline_1883$$.$_draggingContext$, "Not in dragging state"), 27 == $event$$197$$.keyCode) {
      $JSCompiler_StaticMethods__abortEvent$$($JSCompiler_StaticMethods__checkAbort$self$$inline_1883$$, $event$$197$$);
    } else {
      var $draggingContext$$inline_1885$$ = $JSCompiler_StaticMethods__checkAbort$self$$inline_1883$$.$_draggingContext$, $dropTarget$$inline_1886$$ = $draggingContext$$inline_1885$$.$_dropTarget$;
      $dropTarget$$inline_1886$$ && $JSCompiler_StaticMethods__checkAbort$self$$inline_1883$$.$_acceptDrag$($dropTarget$$inline_1886$$, $event$$197$$, "acceptDropActionChanged", $draggingContext$$inline_1885$$.$_lastMousePage$);
    }
  }
};
$AdfDhtmlDnDContext$$.$_abortCallback$ = function $$AdfDhtmlDnDContext$$$$_abortCallback$$($event$$198$$) {
  return $JSCompiler_StaticMethods__abortEvent$$($AdfPage$$.$PAGE$.$getDnDContext$(), $event$$198$$);
};
$AdfDhtmlDnDContext$$.$_updateDragOptionsCallback$ = function $$AdfDhtmlDnDContext$$$$_updateDragOptionsCallback$$($event$$199$$) {
  var $dndContext$$75$$ = $AdfPage$$.$PAGE$.$getDnDContext$(), $dropTarget$$11$$ = $dndContext$$75$$.$_dropTarget$;
  $dropTarget$$11$$ && $dndContext$$75$$.$_acceptDrag$($dropTarget$$11$$, $event$$199$$, "acceptDropActionChanged", this.$_lastMousePage$);
};
$AdfDhtmlDnDContext$$.$_autoscrollCallback$ = function $$AdfDhtmlDnDContext$$$$_autoscrollCallback$$() {
  $AdfPage$$.$PAGE$.$getDnDContext$().$_autoscroll$();
};
$AdfDhtmlDnDContext$$.$_abortIfOutsideWindowCallback$ = function $$AdfDhtmlDnDContext$$$$_abortIfOutsideWindowCallback$$($event$$200$$) {
  if (void 0 === $event$$200$$.pageX) {
    return !0;
  }
  var $docBoundsElement$$ = document.documentElement;
  0 == $docBoundsElement$$.offsetHeight && ($docBoundsElement$$ = document.body);
  if ($AdfAgent$$.$AGENT$.$pointInElementBounds$($docBoundsElement$$, $event$$200$$.clientX, $event$$200$$.clientY)) {
    return !0;
  }
  $JSCompiler_StaticMethods__abortEvent$$($AdfPage$$.$PAGE$.$getDnDContext$(), $event$$200$$);
  return !1;
};
function $JSCompiler_StaticMethods__getCaptureMap$$($JSCompiler_StaticMethods__getCaptureMap$self$$) {
  null == $AdfDhtmlDnDContext$$.$_CAPTURE_MAP$ && ($AdfDhtmlDnDContext$$.$_CAPTURE_MAP$ = $JSCompiler_StaticMethods__getCaptureMap$self$$.$_isAndroid$ ? {touchmove:$AdfDhtmlDnDContext$$.$_trackDragCallback$, touchend:$AdfDhtmlDnDContext$$.$_doDropCallback$, touchstart:$AdfDhtmlDnDContext$$.$_abortCallback$} : {mouseout:$AdfDhtmlDnDContext$$.$_abortIfOutsideWindowCallback$, mousemove:$AdfDhtmlDnDContext$$.$_trackDragCallback$, mouseup:$AdfDhtmlDnDContext$$.$_doDropCallback$, keydown:$AdfDhtmlDnDContext$$.$_checkAbortCallback$, 
  touchmove:$AdfDhtmlDnDContext$$.$_trackDragCallback$, touchend:$AdfDhtmlDnDContext$$.$_doDropCallback$, touchcancel:$AdfDhtmlDnDContext$$.$_abortCallback$, touchstart:$AdfDhtmlDnDContext$$.$_abortCallback$, keyup:$AdfDhtmlDnDContext$$.$_updateDragOptionsCallback$});
  return $AdfDhtmlDnDContext$$.$_CAPTURE_MAP$;
}
$AdfDhtmlDnDContext$$.$_CAPTURE_MAP$ = null;
$AdfPage$$.$PAGE$.$__clearDnDContext$();
