/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([["node_modules_jupyterlab_docprovider-extension_lib_index_js-_af8f1"],{

/***/ "../node_modules/@jupyterlab/docprovider-extension/lib/index.js":
/*!**********************************************************************!*\
  !*** ../node_modules/@jupyterlab/docprovider-extension/lib/index.js ***!
  \**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @jupyterlab/coreutils */ \"webpack/sharing/consume/default/@jupyterlab/coreutils/@jupyterlab/coreutils\");\n/* harmony import */ var _jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _jupyterlab_docprovider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @jupyterlab/docprovider */ \"webpack/sharing/consume/default/@jupyterlab/docprovider/@jupyterlab/docprovider\");\n/* harmony import */ var _jupyterlab_docprovider__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_jupyterlab_docprovider__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _jupyterlab_services__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @jupyterlab/services */ \"webpack/sharing/consume/default/@jupyterlab/services/@jupyterlab/services\");\n/* harmony import */ var _jupyterlab_services__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_jupyterlab_services__WEBPACK_IMPORTED_MODULE_2__);\n// Copyright (c) Jupyter Development Team.\n// Distributed under the terms of the Modified BSD License.\n/**\n * @packageDocumentation\n * @module docprovider-extension\n */\n\n\n\n/**\n * The default document provider plugin\n */\nconst docProviderPlugin = {\n    id: '@jupyterlab/docprovider-extension:plugin',\n    provides: _jupyterlab_docprovider__WEBPACK_IMPORTED_MODULE_1__.IDocumentProviderFactory,\n    activate: (app) => {\n        const server = _jupyterlab_services__WEBPACK_IMPORTED_MODULE_2__.ServerConnection.makeSettings();\n        const url = _jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0__.URLExt.join(server.wsUrl, 'api/yjs');\n        const collaborative = _jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0__.PageConfig.getOption('collaborative') == 'true' ? true : false;\n        const factory = (options) => {\n            return collaborative\n                ? new _jupyterlab_docprovider__WEBPACK_IMPORTED_MODULE_1__.WebSocketProviderWithLocks(Object.assign(Object.assign({}, options), { url }))\n                : new _jupyterlab_docprovider__WEBPACK_IMPORTED_MODULE_1__.ProviderMock();\n        };\n        return factory;\n    }\n};\n/**\n * Export the plugins as default.\n */\nconst plugins = [docProviderPlugin];\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (plugins);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://_JUPYTERLAB.CORE_OUTPUT/../node_modules/@jupyterlab/docprovider-extension/lib/index.js?");

/***/ })

}]);