"use strict";

Liferay.Loader.define("frontend-js-components-web$dnd-core@11.1.3/dist/cjs/factories", ['module', 'exports', 'require', './DragDropManagerImpl'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.createDragDropManager = createDragDropManager;

    var _DragDropManagerImpl = require("./DragDropManagerImpl");

    function createDragDropManager(backendFactory, globalContext, backendOptions, debugMode) {
      var manager = new _DragDropManagerImpl.DragDropManagerImpl(debugMode);
      var backend = backendFactory(manager, globalContext, backendOptions);
      manager.receiveBackend(backend);
      return manager;
    }
  }
});
//# sourceMappingURL=factories.js.map