diff --git a/.codedoc/config.ts b/.codedoc/config.ts index 29a4f18..29cba2a 100644 --- a/.codedoc/config.ts +++ b/.codedoc/config.ts @@ -16,7 +16,7 @@ export const config = /*#__PURE__*/configuration({ }, misc: { github: { - user: 'matmar10', // --> your github username (where your repo is hosted) + user: 'blossomfinance', // --> your github username (where your repo is hosted) repo: 'rest-ez', // --> your github repo name } }, diff --git a/docs/assets/codedoc-bundle.entry.js b/docs/assets/codedoc-bundle.entry.js index bc8cb43..73cc62f 100644 --- a/docs/assets/codedoc-bundle.entry.js +++ b/docs/assets/codedoc-bundle.entry.js @@ -14,7 +14,6 @@ import { tocHighlight } from '/Users/matmar10/Projects/OpenSource/rest-ez/.coded import { postNavSearch } from '/Users/matmar10/Projects/OpenSource/rest-ez/.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/index.js';postNavSearch(); import { copyLineLinks } from '/Users/matmar10/Projects/OpenSource/rest-ez/.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-links/copy-line-link.js';copyLineLinks(); import { gatherFootnotes } from '/Users/matmar10/Projects/OpenSource/rest-ez/.codedoc/node_modules/@codedoc/core/dist/es6/components/footnote/gather-footnotes.js';gatherFootnotes(); -import { reloadOnChange } from '/Users/matmar10/Projects/OpenSource/rest-ez/.codedoc/node_modules/@codedoc/core/dist/es6/serve/reload.js';reloadOnChange(); import { ToCPrevNext } from '/Users/matmar10/Projects/OpenSource/rest-ez/.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/prevnext/index.js'; import { CollapseControl } from '/Users/matmar10/Projects/OpenSource/rest-ez/.codedoc/node_modules/@codedoc/core/dist/es6/components/collapse/collapse-control.js'; import { GithubSearch } from '/Users/matmar10/Projects/OpenSource/rest-ez/.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/search.js'; diff --git a/docs/assets/codedoc-bundle.js b/docs/assets/codedoc-bundle.js index 9a3a13f..f678160 100644 --- a/docs/assets/codedoc-bundle.js +++ b/docs/assets/codedoc-bundle.js @@ -1,7587 +1,34 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./docs/assets/codedoc-bundle.entry.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./.codedoc/content/theme.ts": -/*!***********************************!*\ - !*** ./.codedoc/content/theme.ts ***! - \***********************************/ -/*! exports provided: installTheme, installTheme$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"installTheme\", function() { return installTheme; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"installTheme$\", function() { return installTheme$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _codedoc_core_transport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @codedoc/core/transport */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/index.js\");\n/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../theme */ \"./.codedoc/theme.ts\");\n\n\n\nfunction installTheme() { Object(_codedoc_core_transport__WEBPACK_IMPORTED_MODULE_1__[\"useTheme\"])(_theme__WEBPACK_IMPORTED_MODULE_2__[\"theme\"]); }\nconst installTheme$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(installTheme);\n\n\n//# sourceURL=webpack:///./.codedoc/content/theme.ts?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***! - \******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _arrayLikeToArray; });\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _arrayWithoutHoles; });\n/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(arr);\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***! - \***********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _assertThisInitialized; });\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/createClass.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/createClass.js ***! - \*************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _createClass; });\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/createClass.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/extends.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/extends.js ***! - \*********************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _extends; });\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/extends.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js ***! - \***************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _inheritsLoose; });\n/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js\");\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n Object(_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(subClass, superClass);\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/iterableToArray.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***! - \*****************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _iterableToArray; });\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/iterableToArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _nonIterableSpread; });\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***! - \******************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _objectWithoutPropertiesLoose; });\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***! - \****************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _setPrototypeOf; });\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _toConsumableArray; });\n/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles.js */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js\");\n/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/iterableToArray.js\");\n/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js\");\n/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js\");\n\n\n\n\nfunction _toConsumableArray(arr) {\n return Object(_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(arr) || Object(_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(arr) || Object(_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(arr) || Object(_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js": -/*!****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***! - \****************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return _unsupportedIterableToArray; });\n/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(o, minLen);\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/copy-confirm.js": -/*!**************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/copy-confirm.js ***! - \**************************************************************************************/ -/*! exports provided: copyConfirm */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"copyConfirm\", function() { return copyConfirm; });\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony import */ var _util_overlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/overlay */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/overlay/index.js\");\n/* harmony import */ var _util_toast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/toast */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/index.js\");\n\n\n\nfunction copyConfirm(...lines) {\n var _a;\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_0__[\"getRenderer\"])();\n if (lines.length > 0) {\n const code$ = (_a = lines[0].parentElement) === null || _a === void 0 ? void 0 : _a.cloneNode(false);\n code$.classList.remove('has-selection');\n code$.style.width = '75vw';\n code$.style.maxWidth = '768px';\n code$.style.maxHeight = '50vh';\n code$.style.overflow = 'auto';\n lines.forEach(line$ => {\n const copy$ = line$.cloneNode(true);\n copy$.classList.remove('selected');\n renderer.render(renderer.create(\"fragment\", null,\n copy$,\n renderer.create(\"br\", null))).on(code$);\n });\n renderer.render(renderer.create(_util_toast__WEBPACK_IMPORTED_MODULE_2__[\"Toast\"], { actions: renderer.create(\"button\", { style: \"min-width: 64px\", onclick: () => {\n renderer.render(renderer.create(_util_overlay__WEBPACK_IMPORTED_MODULE_1__[\"Overlay\"], null,\n \"Copied code:\",\n renderer.create(\"div\", { style: 'font-size: 12px;text-align: left' },\n renderer.create(\"pre\", null, code$)))).on(document.body);\n } }, \"Review\") }, \"Code Copied!\")).on(document.body);\n }\n}\n//# sourceMappingURL=copy-confirm.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/copy-confirm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/component.js": -/*!*********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/component.js ***! - \*********************************************************************************************/ -/*! exports provided: HintBox, HintBoxStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HintBox\", function() { return HintBox; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/style.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"HintBoxStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_3__[\"HintBoxStyle\"]; });\n\n\n\n\n\nfunction HintBox(_, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_3__[\"HintBoxStyle\"]);\n const target$ = this.expose.in('target', new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]());\n const active$ = target$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(el => !!el));\n const top$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"combineLatest\"])(target$\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(el => el ? el.getBoundingClientRect().top : undefined)), Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(document, 'mousemove')\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(e => e.clientY))).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(([top, mouseY]) => (top || mouseY) + 24));\n const left$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(document, 'mousemove').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(e => e.clientX + 24));\n return renderer.create(\"div\", { class: _connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"rl\"] `${classes.hintbox} ${Object(_connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"toggleList\"])({ 'active': active$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"startWith\"])(false)) })}`, style: _connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"rl\"] `top: ${top$}px;left: ${left$}px` },\n renderer.create(\"span\", { class: \"icon-font outline\" }, \"wb_incandescent\"),\n target$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(el => !!el), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(el => el === null || el === void 0 ? void 0 : el.getAttribute('data-hint'))));\n}\n\n//# sourceMappingURL=component.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/component.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/index.js": -/*!*****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/index.js ***! - \*****************************************************************************************/ -/*! exports provided: initHintBox, codeLineHints$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initHintBox\", function() { return initHintBox; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"codeLineHints$\", function() { return codeLineHints$; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony import */ var _component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./component */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/component.js\");\n\n\n\n\n\nconst commentRegex = new RegExp([\n /\\/\\/\\s?\\-\\-\\>\\s*(.*[^\\s])\\s*$/,\n /\\/\\*\\s?\\-\\-\\>\\s*(.*[^\\s])\\s*\\*\\/$/,\n /\\#\\s?\\-\\-\\>\\s*(.*[^\\s])\\s*$/,\n /\\<\\!\\-\\-\\s?\\>\\s*(.*[^\\s])\\s*\\-\\-\\>$/,\n].map(r => `(?:${r.source})`).join('|'));\nfunction initHintBox() {\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__[\"onReady\"])(() => {\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_3__[\"getRenderer\"])();\n const target = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n renderer.render(renderer.create(_component__WEBPACK_IMPORTED_MODULE_4__[\"HintBox\"], { target: target })).on(document.body);\n const _exec = () => {\n document.querySelectorAll('pre>code>div').forEach(line$ => {\n let hint = '';\n let hint$;\n line$.querySelectorAll('.token.comment').forEach(comment$ => {\n const match = commentRegex.exec(comment$.textContent || '');\n if (match) {\n hint = match.slice(1).find(_ => _) || hint;\n if (hint)\n hint$ = comment$;\n }\n });\n if (hint.length > 0 && hint$) {\n hint$.style.opacity = '.5';\n line$.setAttribute('data-hint', hint);\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(line$, 'mouseenter').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mapTo\"])(line$)).subscribe(target);\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(line$, 'mouseleave').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mapTo\"])(undefined)).subscribe(target);\n }\n });\n };\n _exec();\n window.addEventListener('navigation', _exec);\n });\n}\nconst codeLineHints$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__[\"funcTransport\"])(initHintBox);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/style.js": -/*!*****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/style.js ***! - \*****************************************************************************************/ -/*! exports provided: HintBoxStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HintBoxStyle\", function() { return HintBoxStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst HintBoxStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n hintbox: {\n position: 'fixed',\n background: theme.light.background,\n borderRadius: 8,\n boxShadow: '0 2px 6px rgba(0, 0, 0, .12)',\n maxWidth: 256,\n fontSize: 13,\n zIndex: 100,\n top: '100vh',\n padding: 8,\n transition: 'top .15s, opacity .3s',\n opacity: 0,\n 'body.dark &': {\n background: theme.dark.background,\n boxShadow: '0 2px 6px rgba(0, 0, 0, .5)',\n },\n '&.active': { opacity: 1 },\n '& .icon-font': {\n verticalAlign: 'middle',\n marginRight: 8,\n transform: 'rotate(180deg)',\n },\n }\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-hint/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-links/copy-line-link.js": -/*!***************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-links/copy-line-link.js ***! - \***************************************************************************************************/ -/*! exports provided: copyLineLinks, copyLineLiks$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"copyLineLinks\", function() { return copyLineLinks; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"copyLineLiks$\", function() { return copyLineLiks$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony import */ var _transport_clipboard__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../transport/clipboard */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/clipboard.js\");\n/* harmony import */ var _util_toast__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/toast */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/index.js\");\n/* harmony import */ var _line_link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./line-link */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-links/line-link.js\");\n\n\n\n\n\nfunction copyLineLinks() {\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_1__[\"getRenderer\"])();\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => {\n const _exec = () => {\n document.querySelectorAll('pre>code>.-codedoc-code-line').forEach(line$ => {\n const counter$ = line$.querySelector('.-codedoc-line-counter');\n counter$ === null || counter$ === void 0 ? void 0 : counter$.addEventListener('click', event => {\n event.stopPropagation();\n const link = Object(_line_link__WEBPACK_IMPORTED_MODULE_4__[\"lineLink\"])(line$);\n Object(_transport_clipboard__WEBPACK_IMPORTED_MODULE_2__[\"copyToClipboard\"])(link, () => renderer.render(renderer.create(_util_toast__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"], null,\n \"Link Copied to Clipboard!\",\n renderer.create(\"br\", null),\n renderer.create(\"a\", { href: link, style: \"font-size: 12px; color: white\" }, link))).on(document.body));\n });\n counter$ === null || counter$ === void 0 ? void 0 : counter$.addEventListener('mousedown', event => event.stopPropagation());\n counter$ === null || counter$ === void 0 ? void 0 : counter$.addEventListener('mouseup', event => event.stopPropagation());\n });\n };\n const _detect = () => {\n var _a;\n const linked = Object(_line_link__WEBPACK_IMPORTED_MODULE_4__[\"linkedLines\"])();\n if (linked.length > 0) {\n (_a = linked[0].parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.selected').forEach(el => el.classList.remove('selected'));\n }\n linked.forEach(line$ => {\n var _a;\n line$ === null || line$ === void 0 ? void 0 : line$.classList.add('selected');\n (_a = line$ === null || line$ === void 0 ? void 0 : line$.parentElement) === null || _a === void 0 ? void 0 : _a.classList.add('has-selection');\n });\n if (linked.length > 0)\n setTimeout(() => { var _a; return (_a = linked[0]) === null || _a === void 0 ? void 0 : _a.scrollIntoView({ block: 'center' }); }, 300);\n };\n _exec();\n _detect();\n window.addEventListener('navigation', () => { _exec(); _detect(); });\n window.addEventListener('hashchange', _detect);\n });\n}\nconst copyLineLiks$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(copyLineLinks);\n//# sourceMappingURL=copy-line-link.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-links/copy-line-link.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-links/line-link.js": -/*!**********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-links/line-link.js ***! - \**********************************************************************************************/ -/*! exports provided: lineLink, linkedLines */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lineLink\", function() { return lineLink; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"linkedLines\", function() { return linkedLines; });\nfunction lineLink(line$) {\n var _a, _b;\n if (line$.getAttribute('id')) {\n if (line$.classList.contains('selected')) {\n const ranges = [];\n let current = undefined;\n (_a = line$.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.-codedoc-code-line').forEach((line$, index) => {\n if (line$.classList.contains('selected')) {\n if (!current) {\n current = [index, index];\n }\n else {\n current[1] = index;\n }\n }\n else {\n if (current) {\n ranges.push(current);\n current = undefined;\n }\n }\n });\n if (current) {\n ranges.push(current);\n current = undefined;\n }\n return window.location.toString().split('#')[0] + '#'\n + ((_b = line$.getAttribute('id')) === null || _b === void 0 ? void 0 : _b.split('-')[0]) + '-'\n + ranges.map(range => range[0] === range[1] ? `l${range[0] + 1}` : `l${range[0] + 1}:l${range[1] + 1}`).join('-');\n }\n else\n return window.location.toString().split('#')[0] + '#' + line$.getAttribute('id');\n }\n}\nfunction linkedLines() {\n const segment = window.location.toString().split('#')[1];\n if (segment && segment.startsWith('code')) {\n const parts = segment.split('-');\n const lines = [];\n parts.slice(1).forEach(part => {\n const range = part.split(':').map(tag => parseInt(tag.substr(1)));\n if (range.length === 2) {\n for (let i = range[0]; i <= range[1]; i++) {\n const candidate = document.querySelector(`#${parts[0]}-l${i}`);\n if (candidate)\n lines.push(candidate);\n }\n }\n else {\n const candidate = document.querySelector(`#${parts[0]}-l${range[0]}`);\n if (candidate)\n lines.push(candidate);\n }\n });\n return lines;\n }\n return [];\n}\n//# sourceMappingURL=line-link.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-links/line-link.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/component.js": -/*!********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/component.js ***! - \********************************************************************************************/ -/*! exports provided: RefBox, RefBoxStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RefBox\", function() { return RefBox; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/style.js\");\n/* harmony import */ var _transport_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../transport/config */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/config.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RefBoxStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_3__[\"RefBoxStyle\"]; });\n\n\n\n\n\n\nfunction RefBox(_, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_3__[\"RefBoxStyle\"]);\n const target$ = this.expose.in('target', new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]());\n const latest$ = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"BehaviorSubject\"](undefined);\n target$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(el => !!el)).subscribe(latest$);\n const box = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])();\n const active$ = target$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"debounceTime\"])(10), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(el => !!el));\n let hover = false;\n const top$ = target$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"switchMap\"])(el => el ? Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(el) : Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(el).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"delay\"])(300))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(() => !hover), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mergeMap\"])(el => el ?\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(el.getBoundingClientRect().top + 18) :\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(-1000)));\n const left$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(document, 'mousemove').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(() => !hover), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(e => e.clientX + 12), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"sample\"])(active$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(_ => _))));\n const link$ = target$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(el => !!el), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(el => (el === null || el === void 0 ? void 0 : el.getAttribute('data-ref')) || ''), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(l => {\n if (l.startsWith('/')) {\n const conf = Object(_transport_config__WEBPACK_IMPORTED_MODULE_4__[\"getConfig\"])();\n if (conf)\n return conf.namespace + l;\n }\n return l;\n }));\n const text$ = target$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(el => !!el), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(el => {\n if (el === null || el === void 0 ? void 0 : el.hasAttribute('data-ref-text'))\n return el.getAttribute('data-ref-text') || '';\n else {\n const _text = (el === null || el === void 0 ? void 0 : el.getAttribute('data-ref')) || '';\n if (_text.startsWith('tab:'))\n return _text.substr(4);\n else\n return _text;\n }\n }));\n return renderer.create(\"div\", { _ref: box, class: _connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"rl\"] `${classes.refbox} ${Object(_connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"toggleList\"])({ active: active$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"startWith\"])(false)) })}`, style: _connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"rl\"] `top: ${top$}px;left: ${left$}px`, onmouseenter: () => hover = true, onmouseleave: () => { hover = false; target$.next(undefined); }, onclick: event => {\n var _a, _b;\n let ref = (_a = latest$.value) === null || _a === void 0 ? void 0 : _a.getAttribute('data-ref');\n if (ref === null || ref === void 0 ? void 0 : ref.startsWith('tab:')) {\n ref = ref.substr(4);\n let tab$ = latest$.value;\n while (tab$ && !(tab$ === null || tab$ === void 0 ? void 0 : tab$.hasAttribute('data-tab-id')))\n tab$ = (tab$ === null || tab$ === void 0 ? void 0 : tab$.parentElement) || undefined;\n if (tab$) {\n const btn$ = (_b = tab$.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector(`.selector>button[data-tab-id=\"${ref}\"]`);\n if (btn$) {\n btn$.click();\n event.stopPropagation();\n event.preventDefault();\n }\n }\n }\n hover = false;\n target$.next(undefined);\n box.$.style.top = '-1000px';\n } },\n renderer.create(\"span\", { class: \"icon-font\" }, \"touch_app\"),\n renderer.create(\"a\", { href: link$, target: \"_blank\" },\n \"See \",\n text$));\n}\n\n//# sourceMappingURL=component.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/component.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/index.js": -/*!****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/index.js ***! - \****************************************************************************************/ -/*! exports provided: initCodeLineRef, codeLineRef$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initCodeLineRef\", function() { return initCodeLineRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"codeLineRef$\", function() { return codeLineRef$; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony import */ var _component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./component */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/component.js\");\n\n\n\n\n\nconst commentRegex = new RegExp([\n /\\/\\/\\s?\\@see\\s(.*[^\\s])\\s*$/,\n /\\/\\*\\s?\\@see\\s(.*[^\\s])\\s*\\*\\/$/,\n /\\#\\@see\\s(.*[^\\s])\\s*$/,\n /\\<\\!\\-\\-\\s?\\@see\\s(.*[^\\s])\\s*\\-\\-\\>$/,\n].map(r => `(?:${r.source})`).join('|'));\nconst mdlinkRegex = /\\[(.*)\\]\\((.*)\\)$/;\nfunction initCodeLineRef() {\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__[\"onReady\"])(() => {\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_3__[\"getRenderer\"])();\n const target = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n renderer.render(renderer.create(_component__WEBPACK_IMPORTED_MODULE_4__[\"RefBox\"], { target: target })).on(document.body);\n const _exec = () => {\n document.querySelectorAll('pre>code>div').forEach(line$ => {\n let ref = '';\n let ref$;\n line$.querySelectorAll('.token.comment').forEach(comment$ => {\n const match = commentRegex.exec(comment$.textContent || '');\n if (match) {\n ref = match.slice(1).find(_ => _) || ref;\n if (ref)\n ref$ = comment$;\n }\n });\n if (ref.length > 0 && ref$) {\n ref$.remove();\n const match = mdlinkRegex.exec(ref);\n if (match) {\n line$.setAttribute('data-ref', match[2] || '');\n line$.setAttribute('data-ref-text', match[1] || '');\n }\n else\n line$.setAttribute('data-ref', ref);\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(line$, 'mouseenter').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mapTo\"])(line$)).subscribe(target);\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(line$, 'mouseleave').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mapTo\"])(undefined)).subscribe(target);\n }\n });\n };\n _exec();\n window.addEventListener('navigation', _exec);\n });\n}\nconst codeLineRef$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__[\"funcTransport\"])(initCodeLineRef);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/style.js": -/*!****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/style.js ***! - \****************************************************************************************/ -/*! exports provided: RefBoxStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RefBoxStyle\", function() { return RefBoxStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst RefBoxStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n refbox: {\n position: 'fixed',\n cursor: 'pointer',\n background: theme.light.background,\n borderRadius: 8,\n overflow: 'hidden',\n wordBreak: 'break-word',\n top: '100vh',\n boxShadow: '0 2px 6px rgba(0, 0, 0, .12)',\n maxWidth: 256,\n fontSize: 13,\n zIndex: 100,\n padding: 8,\n transition: 'opacity .15s',\n opacity: 0,\n 'body.dark &': {\n background: theme.dark.background,\n boxShadow: '0 2px 6px rgba(0, 0, 0, .5)',\n },\n '&.active, &:hover': { opacity: 1 },\n '& .icon-font': {\n verticalAlign: 'middle',\n marginRight: 8,\n },\n '& a': {\n textDecoration: 'none',\n '&:hover': { textDecoration: 'underline ' },\n },\n }\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/line-ref/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/same-line-length.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/same-line-length.js ***! - \******************************************************************************************/ -/*! exports provided: sameLineLengthInCodes, sameLineLengthInCodes$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sameLineLengthInCodes\", function() { return sameLineLengthInCodes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sameLineLengthInCodes$\", function() { return sameLineLengthInCodes$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n\nfunction sameLineLengthInCodes() {\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => {\n const _exec = () => {\n document.querySelectorAll('pre>code').forEach(code$ => {\n let max = 0;\n code$.querySelectorAll('div').forEach(line$ => {\n if (max < line$.offsetWidth)\n max = line$.offsetWidth;\n });\n code$.querySelectorAll('div').forEach(line$ => {\n line$.style.width = `${max}px`;\n });\n });\n };\n _exec();\n window.addEventListener('navigation', _exec);\n });\n}\nconst sameLineLengthInCodes$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(sameLineLengthInCodes);\n//# sourceMappingURL=same-line-length.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/same-line-length.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/selection.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/selection.js ***! - \***********************************************************************************/ -/*! exports provided: codeSelection, codeSelection$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"codeSelection\", function() { return codeSelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"codeSelection$\", function() { return codeSelection$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _transport_clipboard__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../transport/clipboard */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/clipboard.js\");\n/* harmony import */ var _copy_confirm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./copy-confirm */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/copy-confirm.js\");\n/* harmony import */ var _smart_copy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./smart-copy */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/smart-copy.js\");\n\n\n\n\nfunction codeSelection() {\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => {\n const _exec = () => {\n document.querySelectorAll('pre>code').forEach(code$ => {\n code$.querySelectorAll('div').forEach(line$ => {\n line$.addEventListener('mouseenter', event => {\n if (event.buttons === 1) {\n line$.classList.add('selected');\n line$.setAttribute('data-just-selected', 'true');\n }\n });\n line$.addEventListener('mousedown', event => {\n if (!event.shiftKey) {\n code$.childNodes.forEach(child => {\n if (child !== line$)\n child.classList.remove('selected');\n });\n }\n line$.classList.toggle('selected');\n if (line$.classList.contains('selected'))\n line$.setAttribute('data-just-selected', 'true');\n });\n line$.addEventListener('click', event => {\n if (!event.shiftKey) {\n line$.classList.remove('selected');\n line$.removeAttribute('data-just-selected');\n if (!code$.classList.contains('has-selection')) {\n const copyContent = line$.getAttribute('data-content') || '';\n if (copyContent.trim().length > 0)\n Object(_transport_clipboard__WEBPACK_IMPORTED_MODULE_1__[\"copyToClipboard\"])(copyContent, () => Object(_copy_confirm__WEBPACK_IMPORTED_MODULE_2__[\"copyConfirm\"])(line$));\n }\n }\n });\n });\n code$.addEventListener('mouseup', () => {\n setTimeout(() => {\n if (code$.querySelectorAll('.selected').length > 0) {\n document.querySelectorAll('pre>code').forEach(c$ => {\n if (c$ === code$)\n return;\n c$.classList.remove('has-selection');\n c$.querySelectorAll('.selected').forEach(l$ => l$.classList.remove('selected'));\n });\n code$.classList.add('has-selection');\n let start = -1;\n let end = -1;\n code$.querySelectorAll('div').forEach((line$, index) => {\n if (line$.hasAttribute('data-just-selected')) {\n if (start === -1)\n start = end = index;\n else\n end = index;\n }\n });\n code$.querySelectorAll('div').forEach((line$, index) => {\n if (index >= start && index <= end) {\n line$.classList.add('selected');\n line$.removeAttribute('data-just-selected');\n }\n });\n }\n else\n code$.classList.remove('has-selection');\n }, 5);\n });\n code$.addEventListener('mouseleave', () => {\n let start = -1;\n let end = -1;\n code$.querySelectorAll('div').forEach((line$, index) => {\n if (line$.hasAttribute('data-just-selected')) {\n if (start === -1)\n start = end = index;\n else\n end = index;\n }\n });\n code$.querySelectorAll('div').forEach((line$, index) => {\n if (index >= start && index <= end) {\n line$.classList.add('selected');\n line$.removeAttribute('data-just-selected');\n }\n });\n });\n code$.addEventListener('keydown', (ev) => {\n const event = ev;\n if (event.key === 'c' && (event.metaKey || event.ctrlKey)) {\n if (code$.classList.contains('has-selection')) {\n Object(_smart_copy__WEBPACK_IMPORTED_MODULE_3__[\"smartCopy\"])(code$, true);\n }\n }\n });\n });\n };\n _exec();\n window.addEventListener('navigation', _exec);\n });\n}\nconst codeSelection$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(codeSelection);\n//# sourceMappingURL=selection.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/selection.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/smart-copy.js": -/*!************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/smart-copy.js ***! - \************************************************************************************/ -/*! exports provided: smartCopy, initSmartCopy, smartCopy$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"smartCopy\", function() { return smartCopy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initSmartCopy\", function() { return initSmartCopy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"smartCopy$\", function() { return smartCopy$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _transport_clipboard__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../transport/clipboard */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/clipboard.js\");\n/* harmony import */ var _copy_confirm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./copy-confirm */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/copy-confirm.js\");\n\n\n\nfunction _findTarget(anchor$) {\n if (anchor$.previousElementSibling) {\n const nephew$ = anchor$.previousElementSibling.querySelector('pre>code');\n if (nephew$)\n return nephew$;\n const target$ = _findTarget(anchor$.previousElementSibling);\n if (target$)\n return target$;\n else if (anchor$.parentElement)\n return _findTarget(anchor$.parentElement);\n }\n if (anchor$.parentElement)\n return _findTarget(anchor$.parentElement);\n}\nfunction smartCopy(el$, self = false) {\n const target$ = self ? el$ : _findTarget(el$);\n if (target$) {\n const lines$ = [];\n if (target$.classList.contains('has-selection'))\n target$.querySelectorAll('div').forEach((line$ => {\n if (line$.classList.contains('selected'))\n lines$.push(line$);\n }));\n else\n target$.querySelectorAll('div').forEach(line$ => lines$.push(line$));\n Object(_transport_clipboard__WEBPACK_IMPORTED_MODULE_1__[\"copyToClipboard\"])(lines$.map(line$ => line$.getAttribute('data-content')).join('\\n'), () => Object(_copy_confirm__WEBPACK_IMPORTED_MODULE_2__[\"copyConfirm\"])(...lines$));\n }\n}\nfunction initSmartCopy() {\n window.smartCopy = smartCopy;\n}\nconst smartCopy$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(initSmartCopy);\n//# sourceMappingURL=smart-copy.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/code/smart-copy.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/collapse/collapse-control.js": -/*!**********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/collapse/collapse-control.js ***! - \**********************************************************************************************/ -/*! exports provided: CollapseControl, CollapseControl$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CollapseControl\", function() { return CollapseControl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CollapseControl$\", function() { return CollapseControl$; });\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n\n\nfunction CollapseControl(_, renderer) {\n const marker = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_0__[\"ref\"])();\n this.track({\n bind() {\n const parent = marker.$.parentElement;\n if (parent) {\n parent.addEventListener('collapse-open', () => parent.classList.add('open'));\n parent.addEventListener('collapse-close', () => parent.classList.remove('open'));\n parent.addEventListener('collapse-toggle', () => parent.classList.toggle('open'));\n }\n }\n });\n return renderer.create(\"span\", { hidden: true, _ref: marker });\n}\nconst CollapseControl$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_1__[\"transport\"])(CollapseControl);\n//# sourceMappingURL=collapse-control.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/collapse/collapse-control.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/darklight/index.js": -/*!*********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/darklight/index.js ***! - \*********************************************************************************************/ -/*! exports provided: DarkLightStyle, InLight, InDark, DarkLight */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DarkLightStyle\", function() { return DarkLightStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InLight\", function() { return InLight; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InDark\", function() { return InDark; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DarkLight\", function() { return DarkLight; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst DarkLightStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n darklight: {\n position: 'relative',\n overflow: 'hidden',\n 'body.dark-mode-animate &>.light, &>.dark': {\n transition: 'opacity .3s, z-index .3s',\n },\n '&>.light': {\n 'body.dark &': {\n opacity: 0,\n },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': {\n opacity: 0,\n }\n },\n },\n '&>.dark': {\n position: 'absolute',\n opacity: 0,\n top: 0, left: 0, right: 0,\n zIndex: -1,\n 'body.dark &': {\n opacity: 1,\n zIndex: 1,\n },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': {\n opacity: 1,\n zIndex: 1,\n }\n },\n },\n },\n}));\nfunction InLight(_, renderer, content) {\n return renderer.create(\"div\", { class: \"light\" }, content);\n}\nfunction InDark(_, renderer, content) {\n return renderer.create(\"div\", { class: \"dark\" }, content);\n}\nfunction DarkLight(_, renderer, content) {\n const classes = this.theme.classes(DarkLightStyle);\n return renderer.create(\"div\", { class: classes.darklight }, content);\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/darklight/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/index.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/index.js ***! - \***********************************************************************************/ -/*! exports provided: DarkModeSwitch, DarkModeSwitch$, DarkLightStyle, InLight, InDark, DarkLight, DarkModeSwitchStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DarkModeSwitch\", function() { return DarkModeSwitch; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DarkModeSwitch$\", function() { return DarkModeSwitch$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/style.js\");\n/* harmony import */ var _mode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./mode */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/mode.js\");\n/* harmony import */ var _system__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./system */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/system.js\");\n/* harmony import */ var _darklight__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./darklight */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/darklight/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DarkLightStyle\", function() { return _darklight__WEBPACK_IMPORTED_MODULE_5__[\"DarkLightStyle\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InLight\", function() { return _darklight__WEBPACK_IMPORTED_MODULE_5__[\"InLight\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InDark\", function() { return _darklight__WEBPACK_IMPORTED_MODULE_5__[\"InDark\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DarkLight\", function() { return _darklight__WEBPACK_IMPORTED_MODULE_5__[\"DarkLight\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DarkModeSwitchStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_2__[\"DarkModeSwitchStyle\"]; });\n\n\n\n\n\n\nfunction DarkModeSwitch(_, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_2__[\"DarkModeSwitchStyle\"]);\n const sysMode = Object(_system__WEBPACK_IMPORTED_MODULE_4__[\"systemMode\"])();\n const runningMode = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_1__[\"state\"])();\n let storageLoaded = false;\n sysMode.to(runningMode);\n this.track(runningMode.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_1__[\"sink\"])(mode => {\n if (mode === _mode__WEBPACK_IMPORTED_MODULE_3__[\"Mode\"].Light)\n document.body.classList.remove('dark');\n else\n document.body.classList.add('dark');\n if (storageLoaded) {\n if (mode !== sysMode.value)\n localStorage.setItem('dark-mode', (mode === _mode__WEBPACK_IMPORTED_MODULE_3__[\"Mode\"].Light) ? 'false' : 'true');\n else\n localStorage.removeItem('dark-mode');\n }\n })));\n this.track({\n bind() {\n if (localStorage.getItem('dark-mode'))\n runningMode.value = localStorage.getItem('dark-mode') === 'true' ? _mode__WEBPACK_IMPORTED_MODULE_3__[\"Mode\"].Dark : _mode__WEBPACK_IMPORTED_MODULE_3__[\"Mode\"].Light;\n document.body.classList.add('dark-mode-animate');\n storageLoaded = true;\n }\n });\n return renderer.create(\"div\", { class: classes.dmSwitch, onclick: () => runningMode.value = Object(_mode__WEBPACK_IMPORTED_MODULE_3__[\"switchMode\"])(runningMode.value) },\n renderer.create(\"div\", { class: \"arc\" }),\n renderer.create(\"div\", { class: \"darc\" }),\n renderer.create(\"div\", { class: \"ray one\" }),\n renderer.create(\"div\", { class: \"ray two\" }),\n renderer.create(\"div\", { class: \"ray three\" }),\n renderer.create(\"div\", { class: \"ray four\" }),\n renderer.create(\"div\", { class: \"ray five\" }),\n renderer.create(\"div\", { class: \"ray six\" }),\n renderer.create(\"div\", { class: \"ray seven\" }),\n renderer.create(\"div\", { class: \"ray eight\" }));\n}\nconst DarkModeSwitch$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"transport\"])(DarkModeSwitch);\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/mode.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/mode.js ***! - \**********************************************************************************/ -/*! exports provided: Mode, switchMode */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Mode\", function() { return Mode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"switchMode\", function() { return switchMode; });\nvar Mode;\n(function (Mode) {\n Mode[Mode[\"Dark\"] = 0] = \"Dark\";\n Mode[Mode[\"Light\"] = 1] = \"Light\";\n})(Mode || (Mode = {}));\nfunction switchMode(mode) {\n if (mode === Mode.Light)\n return Mode.Dark;\n else\n return Mode.Light;\n}\n//# sourceMappingURL=mode.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/mode.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/style.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/style.js ***! - \***********************************************************************************/ -/*! exports provided: DarkModeSwitchStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DarkModeSwitchStyle\", function() { return DarkModeSwitchStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst DarkModeSwitchStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n dmSwitch: {\n overflow: 'hidden',\n display: 'inline-flex',\n width: 48, height: 48,\n cursor: 'pointer',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n opacity: .25,\n '&:hover': { opacity: 1, },\n 'body.dark-mode-animate &': {\n transition: 'opacity .1s, transform .3s',\n },\n '& div': {\n position: 'absolute',\n background: theme.light.text,\n 'body.dark-mode-animate &': {\n transition: 'transform .3s, background .3s, opacity .3s',\n },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': { background: theme.dark.text },\n },\n 'body.dark &': { background: theme.dark.text },\n },\n '& .arc, & .darc': { width: 16, height: 16, borderRadius: 16, },\n '& .darc': {\n background: theme.light.background,\n transform: 'translateX(24px)',\n opacity: 0,\n },\n '& .ray': { width: 6, height: 2, borderRadius: 2, },\n '& .ray.one': { transform: 'rotate(0deg) translateX(14px)', },\n '& .ray.two': { transform: 'rotate(45deg) translateX(14px)', },\n '& .ray.three': { transform: 'rotate(90deg) translateX(14px)', },\n '& .ray.four': { transform: 'rotate(135deg) translateX(14px)', },\n '& .ray.five': { transform: 'rotate(180deg) translateX(14px)', },\n '& .ray.six': { transform: 'rotate(225deg) translateX(14px)', },\n '& .ray.seven': { transform: 'rotate(270deg) translateX(14px)', },\n '& .ray.eight': { transform: 'rotate(315deg) translateX(14px)', },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': {\n transform: 'rotate(-45deg)',\n '& .arc': { transform: 'scale(1.2)' },\n '& .darc': { transform: 'translateX(6px)', background: theme.dark.background, opacity: 1, },\n '& .ray': { transform: 'scale(0.001)', opacity: 0 },\n }\n },\n 'body.dark &': {\n transform: 'rotate(-45deg)',\n '& .arc': { transform: 'scale(1.2)' },\n '& .darc': { transform: 'translateX(6px)', background: theme.dark.background, opacity: 1, },\n '& .ray': { transform: 'scale(0.001)', opacity: 0 },\n },\n }\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/system.js": -/*!************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/system.js ***! - \************************************************************************************/ -/*! exports provided: systemMode */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"systemMode\", function() { return systemMode; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _mode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mode */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/mode.js\");\n\n\nfunction systemMode() {\n const mode = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"state\"])(_mode__WEBPACK_IMPORTED_MODULE_1__[\"Mode\"].Light).bind();\n if (window.matchMedia) {\n const query = window.matchMedia('(prefers-color-scheme: dark)');\n if (query.matches) {\n mode.value = _mode__WEBPACK_IMPORTED_MODULE_1__[\"Mode\"].Dark;\n }\n query.addListener(() => {\n if (query.matches)\n mode.value = _mode__WEBPACK_IMPORTED_MODULE_1__[\"Mode\"].Dark;\n else\n mode.value = _mode__WEBPACK_IMPORTED_MODULE_1__[\"Mode\"].Light;\n });\n }\n return mode;\n}\n//# sourceMappingURL=system.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/darkmode/system.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/footnote/gather-footnotes.js": -/*!**********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/footnote/gather-footnotes.js ***! - \**********************************************************************************************/ -/*! exports provided: gatherFootnotes, gatherFootnotes$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"gatherFootnotes\", function() { return gatherFootnotes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"gatherFootnotes$\", function() { return gatherFootnotes$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n\n\nfunction gatherFootnotes() {\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_1__[\"getRenderer\"])();\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => {\n const _exec = () => {\n let counter = 1;\n let collected = [];\n const countermap = {};\n document.querySelectorAll('[data-footnote], [data-footnotes]').forEach(child => {\n if (child.hasAttribute('data-footnote')) {\n const id = `--codedoc-footnote-${child.getAttribute('data-footnote-id') || counter}`;\n const index = (id in countermap) ? countermap[id] : (countermap[id] = counter++);\n if (child.childNodes.length > 0) {\n child.setAttribute('id', id);\n child.setAttribute('data-footnote-index', `${index}`);\n collected.push({ index, $: child });\n }\n if (!child.hasAttribute('data-footnote-block')) {\n renderer.render(renderer.create(\"sup\", null,\n renderer.create(\"a\", { href: `#${id}`, style: \"text-decoration: none\" },\n renderer.create(\"b\", null, index)))).before(child);\n }\n child.remove();\n }\n else {\n collected.sort((a, b) => a.index - b.index).forEach(_ => {\n renderer.render(renderer.create(\"div\", null,\n renderer.create(\"span\", null,\n renderer.create(\"a\", null,\n renderer.create(\"b\", null, _.index))),\n \" \",\n _.$)).on(child);\n });\n collected = [];\n }\n });\n };\n _exec();\n window.addEventListener('navigation', _exec);\n });\n}\nconst gatherFootnotes$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(gatherFootnotes);\n//# sourceMappingURL=gather-footnotes.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/footnote/gather-footnotes.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/heading/copy-headings.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/heading/copy-headings.js ***! - \******************************************************************************************/ -/*! exports provided: copyHeadings, copyHeadings$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"copyHeadings\", function() { return copyHeadings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"copyHeadings$\", function() { return copyHeadings$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony import */ var _transport_clipboard__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../transport/clipboard */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/clipboard.js\");\n/* harmony import */ var _util_toast__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/toast */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/index.js\");\n/* harmony import */ var _heading_link__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./heading-link */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/heading/heading-link.js\");\n\n\n\n\n\n\n\nfunction copyHeadings() {\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_3__[\"getRenderer\"])();\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => {\n let sub;\n const _exec = () => {\n if (sub)\n sub.unsubscribe();\n sub = new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n document.querySelectorAll('h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]').forEach(heading$ => {\n const link = Object(_heading_link__WEBPACK_IMPORTED_MODULE_6__[\"headingLink\"])(heading$);\n if (link) {\n const click$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"fromEvent\"])(heading$, 'mousedown').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"filter\"])(event => event.button === 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"concatMap\"])(start => Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"fromEvent\"])(heading$, 'mouseup').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"take\"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(end => [start, end]))));\n sub.add(click$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"buffer\"])(click$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"debounceTime\"])(200))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"filter\"])(buffer => buffer.length === 1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(buffer => buffer[0]))\n .subscribe(([start, end]) => {\n const [ms, me] = [start, end];\n const dx = ms.clientX - me.clientX;\n const dy = ms.clientY - me.clientY;\n if (Math.sqrt(dx * dx + dy * dy) < 10) {\n Object(_transport_clipboard__WEBPACK_IMPORTED_MODULE_4__[\"copyToClipboard\"])(link, () => renderer.render(renderer.create(_util_toast__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"], null, \"Link Copied to Clipboard!\")).on(document.body));\n }\n ;\n }));\n }\n });\n };\n _exec();\n window.addEventListener('navigation', _exec);\n });\n}\nconst copyHeadings$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(copyHeadings);\n//# sourceMappingURL=copy-headings.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/heading/copy-headings.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/heading/heading-link.js": -/*!*****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/heading/heading-link.js ***! - \*****************************************************************************************/ -/*! exports provided: headingLink */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"headingLink\", function() { return headingLink; });\nfunction headingLink(heading$) {\n if (heading$.getAttribute('id')) {\n return window.location.toString().split('#')[0] + '#' + heading$.getAttribute('id');\n }\n}\n//# sourceMappingURL=heading-link.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/heading/heading-link.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/defaults.js": -/*!*****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/defaults.js ***! - \*****************************************************************************************/ -/*! exports provided: defaults */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaults\", function() { return defaults; });\nfunction defaults(options) {\n switch (options.action) {\n case 'Follow': return {\n ariaLabel: `Follow @${options.user} on GitHub`,\n label: `Follow @${options.user}`,\n link: `https://github.com/${options.user}`,\n icon: '',\n };\n case 'Sponsor': return {\n ariaLabel: `Sponsor @${options.user} on GitHub`,\n label: 'Sponsor',\n link: `https://github.com/sponsors/${options.user}`,\n icon: 'octicon-heart',\n };\n case 'Watch': return {\n ariaLabel: `Watch ${options.user}/${options.repo} on GitHub`,\n label: 'Watch',\n link: `https://github.com/${options.user}/${options.repo}/subscription`,\n icon: 'octicon-eye',\n };\n case 'Star': return {\n ariaLabel: `Star ${options.user}/${options.repo} on GitHub`,\n label: 'Star',\n link: `https://github.com/${options.user}/${options.repo}/`,\n icon: 'octicon-star',\n };\n case 'Fork': return {\n ariaLabel: `Fork ${options.user}/${options.repo} on GitHub`,\n label: 'Fork',\n link: `https://github.com/${options.user}/${options.repo}/fork`,\n icon: 'octicon-repo-forked',\n };\n case 'UseThisTemplate': return {\n ariaLabel: `Use this template ${options.user}/${options.repo} on GitHub`,\n label: 'Use this template',\n link: `https://github.com/${options.user}/${options.repo}/generate`,\n icon: 'octicon-repo-template',\n };\n case 'Issue': return {\n ariaLabel: `Issue ${options.user}/${options.repo} on GitHub`,\n label: 'Issue',\n link: `https://github.com/${options.user}/${options.repo}/issues`,\n icon: 'octicon-issue-opened',\n };\n case 'Download': return {\n ariaLabel: `Download ${options.user}/${options.repo} on GitHub`,\n label: 'Download',\n link: `https://github.com/${options.user}/${options.repo}/archive/master.zip`,\n icon: 'octicon-cloud-download',\n };\n }\n}\n//# sourceMappingURL=defaults.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/defaults.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/index.js": -/*!**************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/index.js ***! - \**************************************************************************************/ -/*! exports provided: GithubButton, isCountable, GithubSearch, GithubSearch$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GithubButton\", function() { return GithubButton; });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./types */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/types.js\");\n/* harmony import */ var _defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaults */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/defaults.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCountable\", function() { return _types__WEBPACK_IMPORTED_MODULE_0__[\"isCountable\"]; });\n\n/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./search */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/search.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GithubSearch\", function() { return _search__WEBPACK_IMPORTED_MODULE_2__[\"GithubSearch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GithubSearch$\", function() { return _search__WEBPACK_IMPORTED_MODULE_2__[\"GithubSearch$\"]; });\n\n\n\nfunction schemeString(options) {\n return `no-preference: ${options.color === 'Dark' ? 'dark' : 'light'};` +\n ` light: ${options.colorLight === 'Dark' ? 'dark' : 'light'};` +\n ` dark: ${options.colorDark === 'Light' ? 'light' : 'dark'};`;\n}\nfunction isTrue(val) { return val === true || val === 'true'; }\nfunction GithubButton(options, renderer) {\n const _defaults = Object(_defaults__WEBPACK_IMPORTED_MODULE_1__[\"defaults\"])(options);\n return renderer.create(\"fragment\", null,\n renderer.create(\"script\", { async: true, defer: true, src: \"https://buttons.github.io/buttons.js\" }),\n renderer.create(\"a\", { class: \"github-button\", \"data-color-scheme\": schemeString(options), \"data-icon\": isTrue(options.standardIcon) ? false : (options.icon || _defaults.icon || false), \"data-show-count\": Object(_types__WEBPACK_IMPORTED_MODULE_0__[\"isCountable\"])(options) ? (isTrue(options.count) ? 'true' : false) : false, \"data-size\": isTrue(options.large) ? 'large' : false, href: options.link || _defaults.link }, options.label || _defaults.label));\n}\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/search.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/search.js ***! - \***************************************************************************************/ -/*! exports provided: GithubSearch, GithubSearch$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GithubSearch\", function() { return GithubSearch; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GithubSearch$\", function() { return GithubSearch$; });\n/* harmony import */ var rxjs_ajax__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/ajax */ \"./.codedoc/node_modules/rxjs/_esm5/ajax/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _page_toc_search_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../page/toc/search/button */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/button/index.js\");\n\n\n\n\n\nfunction isCached(res) {\n return res.result !== undefined;\n}\nfunction GithubSearch(options, renderer) {\n const query = new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n const pick = new RegExp(options.pick);\n const drop = new RegExp(options.drop);\n const cache = {};\n const results = query.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"switchMap\"])(q => (q in cache) ? Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"of\"])({ result: cache[q] }) : // --> respond from cache if query in cache\n rxjs_ajax__WEBPACK_IMPORTED_MODULE_0__[\"ajax\"].getJSON(`https://api.github.com/search/code?q=${encodeURIComponent(q)}`\n + `+in:file` // --> search in files\n + `+path:${options.root}` // --> search in root directory\n + `+extension:md` // --> search in `.md` files\n + `+repo:${options.user}/${options.repo}` // --> search in given repo of given user\n ).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"catchError\"])(() => Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"of\"])(undefined))) // --> no sweat in case of error\n ), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(res => res ?\n (isCached(res) ? res.result : // --> if cached result, no need to process\n res.items\n .map(item => item.path)\n .filter(x => pick.test(x)) // --> check if it should be picked\n .filter(x => !drop.test(x)) // --> check if it shouldn't be dropped\n .map(x => x.substr(0, x.length - 3)) // --> remove the extension `.md`\n .map(x => x.substr(options.root.length)) // --> remove the root path part\n .map(x => x === '/index' ? '/' : x) // --> turn `/index` to `/`\n ) : []), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"share\"])());\n Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"zip\"])(query, results).pipe(// --> for pairs of query and result...\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"tap\"])(([query, results]) => {\n if (results.length > 0) // --> ...if the result is valid...\n cache[query] = results; // --> ...cache it.\n })).subscribe();\n return renderer.create(_page_toc_search_button__WEBPACK_IMPORTED_MODULE_4__[\"ToCSearchBtn\"], { label: options.label, query: query, results: results });\n}\nconst GithubSearch$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_3__[\"transport\"])(GithubSearch);\n//# sourceMappingURL=search.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/search.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/types.js": -/*!**************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/types.js ***! - \**************************************************************************************/ -/*! exports provided: isCountable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCountable\", function() { return isCountable; });\nfunction isCountable(options) {\n return options.action === 'Watch'\n || options.action === 'Star'\n || options.action === 'Fork'\n || options.action === 'Issue';\n}\n//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/types.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/holder.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/holder.js ***! - \***************************************************************************************/ -/*! exports provided: GitterHolder */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GitterHolder\", function() { return GitterHolder; });\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/style.js\");\n\nfunction GitterHolder({ state, room }, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_0__[\"GitterStyle\"]);\n return renderer.create(\"div\", { class: `${classes.holder} is-collapsed` },\n renderer.create(\"div\", { class: \"toolbar\" },\n renderer.create(\"a\", { class: \"icon-font\", href: `https://gitter.im/${room}`, target: \"_blank\" }, \"open_in_new\"),\n renderer.create(\"a\", { class: \"icon-font\", onclick: () => state.value = !state.value }, \"close\")));\n}\n//# sourceMappingURL=holder.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/holder.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/index.js": -/*!**************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/index.js ***! - \**************************************************************************************/ -/*! exports provided: GitterToggle, GitterToggle$, GitterStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GitterToggle\", function() { return GitterToggle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GitterToggle$\", function() { return GitterToggle$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/style.js\");\n/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./init */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/init.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GitterStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_1__[\"GitterStyle\"]; });\n\n\n\n\nfunction GitterToggle(options, renderer) {\n Object(_init__WEBPACK_IMPORTED_MODULE_2__[\"initGitter\"])(options.room);\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_1__[\"GitterStyle\"]);\n return renderer.create(\"a\", { class: `${classes.toggle} ${options.icon ? 'icon-font' : ''}`, onclick: () => {\n const state = Object(_init__WEBPACK_IMPORTED_MODULE_2__[\"gitterState\"])();\n if (state)\n state.value = !state.value;\n } }, options.label || 'Community');\n}\nconst GitterToggle$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"transport\"])(GitterToggle);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/init.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/init.js ***! - \*************************************************************************************/ -/*! exports provided: initGitter, gitterInstance, gitterState */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initGitter\", function() { return initGitter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"gitterInstance\", function() { return gitterInstance; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"gitterState\", function() { return gitterState; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony import */ var _holder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./holder */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/holder.js\");\n\n\n\nfunction initGitter(room) {\n if (!window.gitter) {\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_1__[\"getRenderer\"])();\n const _state = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"state\"])(false);\n const host$ = renderer.create(_holder__WEBPACK_IMPORTED_MODULE_2__[\"GitterHolder\"], { state: _state, room: room });\n ((window.gitter = {}).chat = {}).options = {\n room,\n activationElement: false,\n targetElement: host$,\n };\n window.gitterState = _state;\n _state.subscribe(open => { var _a; return (_a = gitterInstance()) === null || _a === void 0 ? void 0 : _a.toggleChat(open); });\n renderer.render(host$).on(document.body);\n renderer.render(renderer.create(\"script\", { src: \"https://sidecar.gitter.im/dist/sidecar.v1.js\", async: true, defer: true })).on(document.head);\n }\n}\nfunction gitterInstance() {\n var _a;\n return (_a = window.gitter.chat) === null || _a === void 0 ? void 0 : _a.defaultChat;\n}\nfunction gitterState() {\n if (gitterInstance())\n return window.gitterState;\n}\n//# sourceMappingURL=init.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/init.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/style.js": -/*!**************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/style.js ***! - \**************************************************************************************/ -/*! exports provided: GitterStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GitterStyle\", function() { return GitterStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst GitterStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n toggle: {\n cursor: 'pointer',\n },\n holder: {\n position: 'fixed',\n right: 32,\n bottom: 32,\n width: 480,\n maxWidth: 'calc(100vw - 64px)',\n height: 640,\n maxHeight: 'calc(100vh - 64px)',\n background: 'white',\n zIndex: 200,\n borderRadius: 8,\n boxShadow: '0 2px 6px rgba(0, 0, 0, .2)',\n overflow: 'hidden',\n transition: 'transform .3s, opacity .3s',\n '@media screen and (max-width: 600px)': {\n right: 16,\n bottom: 16,\n maxWidth: 'calc(100vw - 32px)',\n maxHeight: 'calc(100vh - 32px)'\n },\n '& iframe': {\n marginTop: 56,\n width: '100%',\n height: 'calc(100% - 56px)',\n },\n '&.is-collapsed': {\n transform: 'translateX(480px)',\n opacity: 0,\n },\n '& .gitter-chat-embed-action-bar': {\n display: 'none',\n },\n '& .toolbar': {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n background: 'white',\n zIndex: 6,\n padding: 16,\n textAlign: 'right',\n '& a': {\n textDecoration: 'none',\n cursor: 'pointer',\n color: '#424242',\n marginLeft: '16px',\n opacity: .25,\n transition: 'opacity .15s',\n '&:hover': { opacity: 1 },\n }\n },\n },\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/icon/index.js": -/*!************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/icon/index.js ***! - \************************************************************************************/ -/*! exports provided: Icon */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Icon\", function() { return Icon; });\nfunction Icon(options, renderer, content) {\n return renderer.create(\"span\", { class: \"icon-font\", \"data-ignore-text\": true, style: `vertical-align: ${options.align || 'sub'}` }, content);\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/icon/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/index.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/index.js ***! - \*******************************************************************************/ -/*! exports provided: GithubButton, isCountable, GithubSearch, GithubSearch$, GitterToggle, GitterToggle$, GitterStyle, Watermark, WatermarkStyle, Icon */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _github__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./github */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/github/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GithubButton\", function() { return _github__WEBPACK_IMPORTED_MODULE_0__[\"GithubButton\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCountable\", function() { return _github__WEBPACK_IMPORTED_MODULE_0__[\"isCountable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GithubSearch\", function() { return _github__WEBPACK_IMPORTED_MODULE_0__[\"GithubSearch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GithubSearch$\", function() { return _github__WEBPACK_IMPORTED_MODULE_0__[\"GithubSearch$\"]; });\n\n/* harmony import */ var _gitter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./gitter */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/gitter/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GitterToggle\", function() { return _gitter__WEBPACK_IMPORTED_MODULE_1__[\"GitterToggle\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GitterToggle$\", function() { return _gitter__WEBPACK_IMPORTED_MODULE_1__[\"GitterToggle$\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GitterStyle\", function() { return _gitter__WEBPACK_IMPORTED_MODULE_1__[\"GitterStyle\"]; });\n\n/* harmony import */ var _watermark__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./watermark */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/watermark/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Watermark\", function() { return _watermark__WEBPACK_IMPORTED_MODULE_2__[\"Watermark\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WatermarkStyle\", function() { return _watermark__WEBPACK_IMPORTED_MODULE_2__[\"WatermarkStyle\"]; });\n\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./icon */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/icon/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Icon\", function() { return _icon__WEBPACK_IMPORTED_MODULE_3__[\"Icon\"]; });\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/watermark/index.js": -/*!*****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/watermark/index.js ***! - \*****************************************************************************************/ -/*! exports provided: Watermark, WatermarkStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Watermark\", function() { return Watermark; });\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/watermark/style.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WatermarkStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_0__[\"WatermarkStyle\"]; });\n\n\nfunction Watermark(_, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_0__[\"WatermarkStyle\"]);\n return renderer.create(\"a\", { class: classes.watermark, href: \"https://github.com/CONNECT-platform/codedoc\", target: \"_blank\" },\n \"Created With\",\n renderer.create(\"svg\", { viewBox: \"0 0 536 296\", version: \"1.1\", xmlns: \"http://www.w3.org/2000/svg\" },\n renderer.create(\"g\", { id: \"codedoc\", transform: \"translate(-244.000000, -364.000000)\", \"fill-rule\": \"nonzero\" },\n renderer.create(\"path\", { d: \"M580,532 C615.346224,532 644,560.653776 644,596 C644,631.346224 615.346224,660 580,660 C544.653776,660 516,631.346224 516,596 C516,560.653776 544.653776,532 580,532 Z M716,532 C751.346224,532 780,560.653776 780,596 C780,631.346224 751.346224,660 716,660 L692,660 C687.581722,660 684,656.418278 684,652 C684,647.581722 687.581722,644 692,644 L716,644 C742.509668,644 764,622.509668 764,596 C764,569.490332 742.509668,548 716,548 L692,548 C687.581722,548 684,544.418278 684,540 C684,535.581722 687.581722,532 692,532 L716,532 Z M468,532 C472.418278,532 476,535.581722 476,540 L476,652 C476,656.418278 472.418278,660 468,660 L444,660 C408.653776,660 380,631.346224 380,596 C380,560.653776 408.653776,532 444,532 L468,532 Z M332,532 C336.418278,532 340,535.581722 340,540 L340,652 C340,656.418278 336.418278,660 332,660 L252,660 C247.581722,660 244,656.418278 244,652 L244,540 C244,535.581722 247.581722,532 252,532 L332,532 Z M580,548 C553.490332,548 532,569.490332 532,596 C532,622.509668 553.490332,644 580,644 C606.509668,644 628,622.509668 628,596 C628,569.490332 606.509668,548 580,548 Z M461,548 L444,548 C417.490332,548 396,569.490332 396,596 C396,622.509668 417.490332,644 444,644 L461,644 L461,548 Z M444,364 C479.346224,364 508,392.653776 508,428 C508,463.346224 479.346224,492 444,492 C408.653776,492 380,463.346224 380,428 C380,392.653776 408.653776,364 444,364 Z M332,364 C336.418278,364 340,367.581722 340,372 C340,376.418278 336.418278,380 332,380 L308,380 C281.490332,380 260,401.490332 260,428 C260,454.509668 281.490332,476 308,476 L332,476 C336.418278,476 340,479.581722 340,484 C340,488.418278 336.418278,492 332,492 L308,492 C272.653776,492 244,463.346224 244,428 C244,392.653776 272.653776,364 308,364 L332,364 Z M580,364 C615.346224,364 644,392.653776 644,428 C644,463.346224 615.346224,492 580,492 L556,492 C551.581722,492 548,488.418278 548,484 L548,372 C548,367.581722 551.581722,364 556,364 L580,364 Z M772,364 C776.418278,364 780,367.581722 780,372 C780,376.418278 776.418278,380 772,380 L700,380 L700,420 L772,420 C776.418278,420 780,423.581722 780,428 C780,432.418278 776.418278,436 772,436 L700,436 L700,476 L772,476 C776.418278,476 780,479.581722 780,484 C780,488.418278 776.418278,492 772,492 L692,492 C687.581722,492 684,488.418278 684,484 L684,372 C684,367.581722 687.581722,364 692,364 L772,364 Z M444,380 C417.490332,380 396,401.490332 396,428 C396,454.509668 417.490332,476 444,476 C470.509668,476 492,454.509668 492,428 C492,401.490332 470.509668,380 444,380 Z M580,380 L563,380 L563,476 L580,476 C606.509668,476 628,454.509668 628,428 C628,401.490332 606.509668,380 580,380 Z\" }))));\n}\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/watermark/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/watermark/style.js": -/*!*****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/watermark/style.js ***! - \*****************************************************************************************/ -/*! exports provided: WatermarkStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WatermarkStyle\", function() { return WatermarkStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst WatermarkStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n watermark: {\n fontSize: 8,\n cursor: 'pointer',\n opacity: .2,\n display: 'inline-block',\n color: theme.light.text,\n textDecoration: 'none !important',\n transition: 'opacity .15s',\n 'body.dark-mode-animate &': {\n transition: 'opacity .15s, color .3s',\n },\n '&:hover': {\n opacity: 1,\n textDecoration: 'none',\n },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': {\n color: theme.dark.text,\n },\n },\n 'body.dark &': {\n color: theme.dark.text,\n },\n '& svg': {\n display: 'block',\n marginTop: '.25rem',\n width: '2.8rem',\n '& g': {\n fill: theme.light.text,\n 'body.dark-mode-animate &': {\n transition: 'fill .3s',\n },\n 'body.dark &': {\n fill: theme.dark.text,\n },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': {\n fill: theme.dark.text,\n },\n },\n }\n }\n }\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/watermark/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/contentnav/highlight.js": -/*!**********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/contentnav/highlight.js ***! - \**********************************************************************************************/ -/*! exports provided: contentNavHighlight, contentNavHighlight$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"contentNavHighlight\", function() { return contentNavHighlight; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"contentNavHighlight$\", function() { return contentNavHighlight$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n\nfunction contentNavHighlight() {\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => {\n let links = [];\n const _exec = () => {\n links = [];\n document.querySelectorAll('a[data-content-highlight]').forEach(_a$ => {\n let a$ = _a$;\n const id = a$.getAttribute('data-content-highlight');\n if (id) {\n const ref$ = document.getElementById(id);\n if (ref$) {\n links.push({ a$, ref$ });\n }\n }\n });\n };\n _exec();\n window.addEventListener('navigation', _exec);\n function update() {\n var _a;\n let noactive = true;\n let latest;\n links.forEach(({ a$, ref$ }) => {\n const top = ref$.getBoundingClientRect().top;\n if (top < window.innerHeight - 96 && top > 0) {\n noactive = false;\n a$.classList.add('active');\n }\n else {\n if (top < 0)\n latest = a$;\n a$.classList.remove('active');\n }\n });\n if (noactive)\n latest === null || latest === void 0 ? void 0 : latest.classList.add('active');\n const target = (_a = links.find(l => l.a$.classList.contains('active'))) === null || _a === void 0 ? void 0 : _a.a$;\n if (target) {\n const parent = target.parentElement;\n if (parent.scrollHeight != parent.offsetHeight) {\n parent.scrollTop = target.offsetTop - parent.offsetHeight / 3;\n }\n }\n }\n if (links.length > 0) {\n update();\n document.addEventListener('scroll', () => setTimeout(update, 1));\n window.addEventListener('navigation', update);\n }\n });\n}\nconst contentNavHighlight$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(contentNavHighlight);\n//# sourceMappingURL=highlight.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/contentnav/highlight.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/prevnext/index.js": -/*!********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/prevnext/index.js ***! - \********************************************************************************************/ -/*! exports provided: ToCPrevNext, ToCPrevNext$, ToCPrevNextStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCPrevNext\", function() { return ToCPrevNext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCPrevNext$\", function() { return ToCPrevNext$; });\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/prevnext/style.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ToCPrevNextStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_2__[\"ToCPrevNextStyle\"]; });\n\n\n\n\nfunction ToCPrevNext(options, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_2__[\"ToCPrevNextStyle\"]);\n const holder = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_0__[\"ref\"])();\n this.track({\n bind() {\n setTimeout(() => {\n const toc = document.getElementById('-codedoc-toc');\n if (toc) {\n let prev$;\n let curr$;\n let next$;\n toc.querySelectorAll('a').forEach(a$ => {\n const href = a$.getAttribute('href') || '';\n if (href === location.pathname && !curr$)\n curr$ = a$;\n else if (curr$ && href.startsWith('/') && !next$)\n next$ = a$;\n else if (!curr$ && href.startsWith('/'))\n prev$ = a$;\n });\n if (prev$ && options.prev !== 'false') {\n renderer.render(renderer.create(\"a\", { class: `${classes.button} prev`, href: prev$.getAttribute('href') || '' },\n renderer.create(\"div\", null,\n renderer.create(\"span\", { class: classes.label }, options['prev-label'] || 'Previous'),\n renderer.create(\"span\", { class: classes.title }, prev$.textContent)),\n renderer.create(\"span\", { class: \"icon-font\" }, options[\"prev-icon\"] || 'arrow_back_ios'))).on(holder.$);\n }\n if (next$ && options.next !== 'false') {\n renderer.render(renderer.create(\"a\", { class: `${classes.button} next`, href: next$.getAttribute('href') || '' },\n renderer.create(\"div\", null,\n renderer.create(\"span\", { class: classes.label }, options['next-label'] || 'Next'),\n renderer.create(\"span\", { class: classes.title }, next$.textContent)),\n renderer.create(\"span\", { class: \"icon-font\" }, options[\"next-icon\"] || 'arrow_forward_ios'))).on(holder.$);\n }\n }\n }, 10);\n }\n });\n return renderer.create(\"div\", { class: classes.prevnext, _ref: holder });\n}\nconst ToCPrevNext$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_1__[\"transport\"])(ToCPrevNext);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/prevnext/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/prevnext/style.js": -/*!********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/prevnext/style.js ***! - \********************************************************************************************/ -/*! exports provided: ToCPrevNextStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCPrevNextStyle\", function() { return ToCPrevNextStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst ToCPrevNextStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n prevnext: {\n display: 'flex',\n margin: '64px 0',\n '@media screen and (max-width: 1200px)': {\n display: 'block'\n },\n },\n label: {\n opacity: .75,\n fontSize: 12,\n },\n title: {\n fontSize: 20,\n },\n button: {\n flexGrow: 1,\n flexBasis: 0,\n display: 'flex',\n padding: 16,\n cursor: 'pointer',\n alignItems: 'center',\n borderRadius: 8,\n opacity: .5,\n boxShadow: '0 1px 3px rgba(0, 0, 0, .1)',\n transition: 'box-shadow .15s, transform .15s, opacity .15s !important',\n 'body.dark &': { boxShadow: '0 1px 3px rgba(0, 0, 0, .25)', },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': { boxShadow: '0 1px 3px rgba(0, 0, 0, .25)', },\n },\n '&:hover': {\n opacity: 1,\n boxShadow: '0 2px 6px rgba(0, 0, 0, .1)',\n 'body.dark &': { boxShadow: '0 2px 6px rgba(0, 0, 0, .25)', },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': { boxShadow: '0 2px 6px rgba(0, 0, 0, .25)', },\n },\n transform: 'translateY(-4px)',\n },\n '& $label, & $title': {\n 'body.dark-mode-animate &': { transition: 'color .3s' },\n color: theme.light.text,\n 'body.dark &': { color: theme.dark.text, },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': { color: theme.dark.text, },\n },\n },\n '&:hover $label, &:hover $title': {\n color: theme.light.primary,\n 'body.dark &': { color: theme.dark.primary, },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': { color: theme.dark.primary, },\n },\n },\n '&:not(:last-child)': {\n marginRight: 16,\n '@media screen and (max-width: 1200px)': {\n marginRight: 0\n },\n },\n textDecoration: 'none !important',\n '& span': { display: 'block' },\n '&>div': { flexGrow: 1, },\n '&.prev': {\n flexDirection: 'row-reverse',\n '&>div': { textAlign: 'right' },\n }\n },\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/prevnext/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/button/index.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/button/index.js ***! - \*************************************************************************************************/ -/*! exports provided: ToCSearchBtn, ToCSearchBtnStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCSearchBtn\", function() { return ToCSearchBtn; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/button/style.js\");\n/* harmony import */ var _overlay__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../overlay */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/overlay/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ToCSearchBtnStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_2__[\"ToCSearchBtnStyle\"]; });\n\n\n\n\n\nfunction ToCSearchBtn(options, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_2__[\"ToCSearchBtnStyle\"]);\n const results = this.expose.in('results');\n const query = this.expose.out('query', Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"source\"])());\n const holder = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"ref\"])();\n const keyhandler = (event) => {\n if (event.key === 'f' && (event.ctrlKey || event.metaKey)) {\n event.preventDefault();\n holder.$.click();\n }\n };\n this.track({\n bind() {\n document.addEventListener('keydown', keyhandler);\n },\n clear() {\n document.removeEventListener('keydown', keyhandler);\n }\n });\n return renderer.create(\"div\", { _ref: holder, class: classes.holder, id: \"-codedoc-search-btn\", onclick: () => {\n renderer.render(renderer.create(_overlay__WEBPACK_IMPORTED_MODULE_3__[\"ToCSearchOverlay\"], { placeholder: options.label || 'Search the docs...', query: (q) => query.send(q), results: results })).on(document.body);\n } },\n renderer.create(\"span\", { class: \"label\" }, options.label || 'Search the docs...'),\n renderer.create(\"span\", { class: \"icon-font\" }, \"search\"));\n}\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/button/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/button/style.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/button/style.js ***! - \*************************************************************************************************/ -/*! exports provided: ToCSearchBtnStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCSearchBtnStyle\", function() { return ToCSearchBtnStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst ToCSearchBtnStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n holder: {\n display: 'flex',\n alignItems: 'center',\n padding: '16px 32px',\n userSelect: 'none',\n opacity: .35,\n cursor: 'pointer',\n transition: 'opacity .15s, background .15s',\n '& .label': {\n fontSize: 14,\n flexGrow: 1,\n display: 'block',\n },\n '&:hover': {\n opacity: 1,\n background: theme.quote.light.background,\n 'body.dark &': {\n background: theme.quote.dark.background,\n },\n '@media (prefers-color-scheme: dark)': {\n 'body:not(.dark-mode-animate) &': {\n background: theme.quote.dark.background,\n }\n },\n },\n }\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/button/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/overlay/index.js": -/*!**************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/overlay/index.js ***! - \**************************************************************************************************/ -/*! exports provided: ToCSearchOverlay, ToCSearchOverlayStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCSearchOverlay\", function() { return ToCSearchOverlay; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/overlay/style.js\");\n/* harmony import */ var _util_loading__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../util/loading */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/loading/index.js\");\n/* harmony import */ var _transport_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../transport/config */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/config.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ToCSearchOverlayStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_3__[\"ToCSearchOverlayStyle\"]; });\n\n\n\n\n\n\n\nfunction ToCSearchOverlay(options, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_3__[\"ToCSearchOverlayStyle\"]);\n const holder = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])();\n const input = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])();\n const toc = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"ref\"])();\n const findFocus = () => {\n let focused = undefined;\n let prev = undefined;\n let next = undefined;\n let first = undefined;\n let last = undefined;\n holder.$.querySelectorAll('a[tabindex]').forEach(a$ => {\n if (!first)\n first = a$;\n if (a$ === document.activeElement)\n focused = a$;\n else {\n if (!focused)\n prev = a$;\n else if (!next)\n next = a$;\n }\n last = a$;\n });\n const res = {};\n res.next = next || first;\n res.prev = prev || last;\n return res;\n };\n this.track({\n bind() {\n input.$.focus();\n holder.$.classList.add('active');\n toc.resolve(document.getElementById('-codedoc-toc') || renderer.create(\"fragment\", null));\n if (!('backdropFilter' in holder.$.style) && !('-webkit-backdrop-filter' in holder.$.style)) {\n holder.$.style.background = 'rgba(64, 64, 64, .95)';\n }\n }\n });\n const query = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"state\"])(localStorage.getItem('-codedoc-search-query') || '');\n const loading = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"state\"])(false);\n const queryOut = this.expose.out('query');\n const results = this.expose.in('results', Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"pin\"])())\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"pipe\"])(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"share\"])()))\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"map\"])((links) => {\n const res = links.map(l => {\n const conf = Object(_transport_config__WEBPACK_IMPORTED_MODULE_5__[\"getConfig\"])();\n if (conf)\n l = conf.namespace + l;\n return { link: l, title: tocLinkTitle(l) };\n });\n if (query.value.length > 0) {\n toc.$.querySelectorAll('a').forEach(a$ => {\n var _a;\n if (((_a = a$.textContent) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(query.value.toLowerCase())) && a$.getAttribute('href')\n && !links.includes(a$.getAttribute('href') || ''))\n res.push({ link: a$.getAttribute('href') || '',\n title: a$.textContent });\n });\n }\n return res;\n }))\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(res => {\n if (res.length > 0) {\n localStorage.setItem('-codedoc-search-query', query.value);\n localStorage.setItem('-codedoc-search-res', JSON.stringify(res));\n }\n }))\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"pipe\"])(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"startWith\"])(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"emission\"])(JSON.parse(localStorage.getItem('-codedoc-search-res') || '[]')))));\n query\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"filter\"])((q) => q && q.trim().length > 0))\n .to(loading.from(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(() => true)), queryOut.from(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"pipe\"])(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"debounceTime\"])(1000))));\n results.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(() => false)).to(loading);\n const hideEmpty = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"pack\"])(query, results, loading)\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(([_query, _results, _loading]) => {\n if (_loading)\n return true;\n else\n return !_query || _query.trim().length == 0 || _results.length > 0;\n }));\n const tocLinkTitle = (link) => { var _a; return ((_a = toc.$.querySelector(`a[href=\"${link}\"]`)) === null || _a === void 0 ? void 0 : _a.textContent) || link; };\n const close = (clean = true) => {\n holder.$.remove();\n if (clean) {\n localStorage.removeItem('-codedoc-search-query');\n }\n };\n return renderer.create(\"div\", { class: classes.overlay, _ref: holder, onkeydown: event => {\n const key = event.key;\n if (key === 'Escape') {\n event.preventDefault();\n event.stopPropagation();\n close();\n }\n if (key === 'ArrowDown') {\n const focus = findFocus();\n if (focus.next) {\n focus.next.focus();\n event.preventDefault();\n event.stopPropagation();\n }\n }\n if (key === 'ArrowUp') {\n const focus = findFocus();\n if (focus.prev) {\n focus.prev.focus();\n event.preventDefault();\n event.stopPropagation();\n }\n }\n if (key === 'ArrowLeft' || key === 'ArrowRight')\n event.stopPropagation();\n } },\n renderer.create(\"div\", { class: classes.content },\n renderer.create(\"div\", { class: \"top\" },\n renderer.create(\"input\", { placeholder: options.placeholder, type: \"text\", _ref: input, _state: query }),\n renderer.create(\"div\", { class: classes.close, onclick: () => {\n if (query.value.length > 0)\n query.value = '';\n else\n close();\n } })),\n renderer.create(\"div\", { class: classes.results },\n renderer.create(\"div\", { class: \"loading\", hidden: loading.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"map\"])((_) => !_)) },\n renderer.create(_util_loading__WEBPACK_IMPORTED_MODULE_4__[\"Loading\"], null)),\n renderer.create(\"div\", { class: \"empty\", hidden: hideEmpty }, \"No Results!\"),\n renderer.create(\"div\", { hidden: loading },\n renderer.create(_connectv_html__WEBPACK_IMPORTED_MODULE_2__[\"List\"], { of: results, each: result => renderer.create(\"a\", { href: result.sub('link'), tabindex: \"0\", onclick: () => {\n close(false);\n window.dispatchEvent(new CustomEvent('on-navigation-search', { detail: { query: query.value } }));\n } },\n renderer.create(\"span\", { class: \"title\" }, result.sub('title')),\n renderer.create(\"span\", { class: \"current\", hidden: result.sub('link').to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"map\"])((l) => l !== location.pathname)) }, \"Search on Current Page\")) })))));\n}\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/overlay/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/overlay/style.js": -/*!**************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/overlay/style.js ***! - \**************************************************************************************************/ -/*! exports provided: ToCSearchOverlayStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCSearchOverlayStyle\", function() { return ToCSearchOverlayStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst ToCSearchOverlayStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n overlay: {\n zIndex: 1000,\n position: 'fixed',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n top: 0, left: 0, bottom: 0, right: 0,\n background: 'rgba(64, 64, 64, .65)',\n backdropFilter: 'blur(16px)',\n WebkitBackdropFilter: 'blur(16px)',\n opacity: 0,\n transition: 'opacity .15s',\n '&.active': { opacity: 1 },\n },\n content: {\n width: 'calc(50vw - 32px)',\n height: 'calc(75vh - 32px)',\n overflow: 'auto',\n padding: 16,\n '@media screen and (max-width: 1200px)': {\n width: 'calc(100vw - 64px)',\n height: 'calc(100vh - 64px)',\n padding: 32,\n },\n '& .top': {\n display: 'flex',\n alignItems: 'center',\n '& input': {\n background: 'none',\n border: 'none',\n outline: 'none',\n fontSize: 24,\n display: 'block',\n flexGrow: 1,\n color: 'white',\n '&::placeholder': {\n color: 'rgba(255, 255, 255, .25)',\n }\n },\n },\n color: '#e0e0e0',\n },\n results: {\n '& .loading': {\n textAlign: 'center',\n marginTop: 128,\n fontSize: 24,\n },\n '& .empty': {\n fontSize: 24,\n fontStyle: 'italic',\n opacity: .25,\n },\n '& a': {\n display: 'flex',\n alignItems: 'center',\n color: 'white !important',\n textDecoration: 'none !important',\n padding: 16,\n fontSize: 24,\n margin: '0 -16',\n borderRadius: 3,\n opacity: .75,\n outline: 'none',\n background: 'transparent',\n borderBottom: '1px solid rgba(255, 255, 255, .05)',\n cursor: 'pointer',\n transition: 'background .15s, opacity .15s, border-color .15s !important',\n '&:hover, &:focus': {\n opacity: 1,\n background: 'rgba(156, 156, 156, .25)',\n borderColor: 'transparent',\n },\n '& .title': {\n flexGrow: 1,\n },\n '& .current': {\n fontSize: 12,\n color: theme.light.primary,\n 'body.dark &': {\n color: theme.dark.primary,\n }\n },\n },\n },\n close: {\n position: 'relative',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n cursor: 'pointer',\n opacity: .25,\n width: 64,\n height: 64,\n borderRadius: 3,\n transition: 'opacity .15s',\n '&:hover': { opacity: 1 },\n '&:before, &:after': {\n content: '\" \"',\n background: 'white',\n borderRadius: 2,\n width: 48,\n height: 2,\n position: 'absolute',\n transformOrigin: 'center',\n },\n '&:before': { transform: 'rotate(45deg)' },\n '&:after': { transform: 'rotate(-45deg)' },\n },\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/overlay/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/index.js": -/*!***************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/index.js ***! - \***************************************************************************************************/ -/*! exports provided: postNavSearch, postNavSearch$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"postNavSearch\", function() { return postNavSearch; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"postNavSearch$\", function() { return postNavSearch$; });\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! color */ \"./.codedoc/node_modules/color/index.js\");\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(color__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony import */ var _switcher__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./switcher */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/switcher.js\");\n\n\n\n\nfunction postNavSearch() {\n let query = undefined;\n let switcher$;\n window.addEventListener('on-navigation-search', (event) => {\n query = event.detail.query;\n });\n window.addEventListener('navigation', () => {\n if (query)\n setTimeout(() => {\n search(query || '');\n query = undefined;\n }, 300);\n });\n window.addEventListener('same-page-navigation', () => {\n if (query)\n search(query);\n query = undefined;\n });\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_2__[\"getRenderer\"])();\n function search(query) {\n const q = query.toLowerCase();\n const highlights$ = [];\n const container$ = document.getElementById('-codedoc-container');\n if (container$) {\n const _scan = (el$, query) => {\n if (el$ instanceof Text) {\n const text = el$.textContent;\n const _match = query.exec((text === null || text === void 0 ? void 0 : text.toLowerCase()) || '');\n if (text && _match) {\n const matched = _match[0];\n const before = text.substr(0, _match.index);\n const match = text.substr(_match.index, matched.length);\n const after = text.substr(_match.index + matched.length);\n let color = color__WEBPACK_IMPORTED_MODULE_0___default()(window.getComputedStyle(el$.parentElement).color);\n if (color.saturationv() < .2) {\n color = color.isLight() ? 'teal' : 'yellow';\n }\n else\n color = color.rotate(90).alpha(.35);\n el$.textContent = after;\n const before$ = document.createTextNode(before);\n const match$ = renderer.create(\"span\", { \"data-no-search\": true, style: `\n background: ${color.toString()}; \n display: inline-block; \n vertical-align: middle;\n transform-origin: center;\n transition: transform .15s\n ` }, match);\n highlights$.push(match$);\n renderer.render(renderer.create(\"fragment\", null,\n before$,\n match$)).before(el$);\n _scan(before$, query);\n _scan(el$, query);\n }\n }\n else {\n if (el$ instanceof HTMLElement && (el$.hasAttribute('data-no-search') || el$.classList.contains('icon-font')))\n return;\n el$.childNodes.forEach(n => _scan(n, query));\n }\n };\n _scan(container$, new RegExp(q));\n if (highlights$.length == 0) {\n const split = q.split(' ');\n if (split.length > 0) {\n _scan(container$, new RegExp(split.join('\\\\s+.*\\\\s+')));\n if (highlights$.length == 0) {\n split.forEach(part => _scan(container$, new RegExp(part)));\n }\n }\n }\n }\n if (switcher$)\n switcher$.remove();\n switcher$ = renderer.create(_switcher__WEBPACK_IMPORTED_MODULE_3__[\"SearchSwitcher\"], { elements: highlights$, query: query });\n renderer.render(switcher$).on(document.body);\n }\n window._find = search;\n}\nconst postNavSearch$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_1__[\"funcTransport\"])(postNavSearch);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/styles.js": -/*!****************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/styles.js ***! - \****************************************************************************************************/ -/*! exports provided: SearchSwitcherStyles */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SearchSwitcherStyles\", function() { return SearchSwitcherStyles; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst SearchSwitcherStyles = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n holder: {\n position: 'fixed',\n display: 'flex',\n alignItems: 'center',\n zIndex: 800,\n bottom: 96,\n height: 48,\n width: 384,\n padding: 8,\n borderRadius: 8,\n left: 'calc(50vw - 192px)',\n background: 'rgba(64, 64, 64, .65)',\n backdropFilter: 'blur(12px)',\n color: 'white',\n WebkitBackdropFilter: 'blur(12px)',\n '@media screen and (max-width: 448px)': {\n width: 'calc(100vw - 48px)',\n left: 16,\n },\n '& .icon-font': {\n userSelect: 'none',\n width: 48,\n height: 48,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n cursor: 'pointer',\n opacity: .35,\n transition: 'background .15s, opacity .15s',\n borderRadius: 3,\n '&:hover': {\n opacity: 1,\n background: 'rgba(156, 156, 156, .5)',\n },\n },\n },\n content: {\n flexGrow: 1,\n textAlign: 'center',\n }\n}));\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/styles.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/switcher.js": -/*!******************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/switcher.js ***! - \******************************************************************************************************/ -/*! exports provided: SearchSwitcher */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SearchSwitcher\", function() { return SearchSwitcher; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./styles */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/styles.js\");\n\n\n\nfunction SearchSwitcher(options, renderer) {\n const classes = this.theme.classes(_styles__WEBPACK_IMPORTED_MODULE_2__[\"SearchSwitcherStyles\"]);\n const holder = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"ref\"])();\n const index = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"state\"])(1);\n let focused = undefined;\n const focus = (element) => {\n var _a;\n if (focused)\n focused.style.transform = '';\n element.style.transform = 'scale(1.15)';\n focused = element;\n let delay = 1;\n let parent = focused.parentElement;\n while (parent) {\n if (parent.hasAttribute('data-tab-title')) {\n if (!parent.classList.contains('selected')) {\n const ref = parent.getAttribute('data-tab-title');\n const btn$ = (_a = parent\n .parentElement) === null || _a === void 0 ? void 0 : _a.querySelector(`.selector>button[data-tab-title=\"${ref}\"]`);\n if (btn$) {\n btn$.click();\n delay = 300;\n }\n }\n }\n parent = parent.parentElement;\n }\n setTimeout(() => focused === null || focused === void 0 ? void 0 : focused.scrollIntoView({ block: 'center' }), delay);\n };\n const next = () => {\n if (index.value >= options.elements.length)\n index.value = 1;\n else\n index.value++;\n focus(options.elements[index.value - 1]);\n };\n const prev = () => {\n if (index.value <= 1)\n index.value = options.elements.length;\n else\n index.value--;\n focus(options.elements[index.value - 1]);\n };\n const keyhandler = (event) => {\n if (event.key === 'ArrowLeft' || event.key === 'ArrowUp')\n prev();\n if (event.key === 'ArrowRight' || event.key === 'ArrowDown')\n next();\n if (event.key === 'Escape') {\n holder.$.remove();\n event.preventDefault();\n }\n };\n this.track({\n bind() {\n document.addEventListener('keydown', keyhandler);\n focus(options.elements[0]);\n },\n clear() {\n document.removeEventListener('keydown', keyhandler);\n options.elements.forEach(element => {\n renderer.render(renderer.create(\"fragment\", null, element.textContent)).before(element);\n element.remove();\n });\n }\n });\n return renderer.create(\"div\", { class: classes.holder, _ref: holder },\n renderer.create(\"span\", { class: \"icon-font\", onclick: () => holder.$.remove() }, \"close\"),\n renderer.create(\"span\", { class: \"icon-font\", onclick: () => {\n var _a;\n localStorage.setItem('-codedoc-search-query', options.query);\n (_a = document.getElementById('-codedoc-search-btn')) === null || _a === void 0 ? void 0 : _a.click();\n } }, \"list\"),\n renderer.create(\"span\", { class: classes.content }, options.elements.length > 0 ?\n renderer.create(\"fragment\", null,\n index,\n \"/\",\n options.elements.length) :\n 'No Exact Match'),\n renderer.create(\"span\", { class: \"icon-font\", onclick: prev }, \"chevron_left\"),\n renderer.create(\"span\", { class: \"icon-font\", onclick: next }, \"chevron_right\"));\n}\n//# sourceMappingURL=switcher.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/search/post-nav/switcher.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toc-highlight.js": -/*!*******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toc-highlight.js ***! - \*******************************************************************************************/ -/*! exports provided: tocHighlight, tocHighlight$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tocHighlight\", function() { return tocHighlight; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tocHighlight$\", function() { return tocHighlight$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _transport_custom_event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../transport/custom-event */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/custom-event.js\");\n\n\nfunction tocHighlight() {\n Object(_transport_custom_event__WEBPACK_IMPORTED_MODULE_1__[\"polyfillCustomEvent\"])();\n let current$;\n function highlightCurrentToCLink(url) {\n const toc = document.getElementById('-codedoc-toc');\n if (toc) {\n let curr$;\n toc.querySelectorAll('a').forEach(a$ => {\n if (a$.getAttribute('href') === url) {\n if (!curr$)\n curr$ = a$;\n a$.classList.add('current');\n }\n else\n a$.classList.remove('current');\n });\n if (curr$) {\n if (curr$ !== current$)\n current$ === null || current$ === void 0 ? void 0 : current$.dispatchEvent(new CustomEvent('collapse-close', { bubbles: true }));\n curr$.dispatchEvent(new CustomEvent('collapse-open', { bubbles: true }));\n current$ = curr$;\n }\n }\n }\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => setTimeout(() => highlightCurrentToCLink(location.pathname), 200));\n window.addEventListener('navigation-start', event => highlightCurrentToCLink(event.detail.url));\n}\nconst tocHighlight$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(tocHighlight);\n//# sourceMappingURL=toc-highlight.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toc-highlight.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toggle/index.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toggle/index.js ***! - \******************************************************************************************/ -/*! exports provided: ToCToggle, ToCToggle$, ToCToggleStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCToggle\", function() { return ToCToggle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCToggle$\", function() { return ToCToggle$; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toggle/style.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ToCToggleStyle\", function() { return _style__WEBPACK_IMPORTED_MODULE_3__[\"ToCToggleStyle\"]; });\n\n\n\n\n\nfunction ToCToggle(_, renderer) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_3__[\"ToCToggleStyle\"]);\n const holder = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"ref\"])();\n const active = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"state\"])(false);\n this.track({\n bind() {\n const el = document.getElementById('-codedoc-toc');\n if (el) {\n holder.resolve(el);\n if (localStorage.getItem('-codedoc-toc-active') === 'true') {\n active.value = true;\n }\n setTimeout(() => el.classList.add('animated'), 1);\n }\n window.codedocToggleToC = (v) => {\n if (v !== undefined)\n active.value = v;\n else\n active.value = !active.value;\n };\n }\n });\n this.track(active.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(active => {\n if (holder.resolved) {\n if (active)\n holder.$.classList.add('active');\n else\n holder.$.classList.remove('active');\n }\n localStorage.setItem('-codedoc-toc-active', active === true ? 'true' : 'false');\n })));\n return renderer.create(\"div\", { class: _connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"rl\"] `${classes.tocToggle} ${Object(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"toggleList\"])({ active })}`, onclick: () => active.value = !active.value },\n renderer.create(\"div\", { class: classes.bar }),\n renderer.create(\"div\", { class: classes.bar }),\n renderer.create(\"div\", { class: classes.bar }));\n}\nconst ToCToggle$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__[\"transport\"])(ToCToggle);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toggle/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toggle/style.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toggle/style.js ***! - \******************************************************************************************/ -/*! exports provided: ToCToggleStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToCToggleStyle\", function() { return ToCToggleStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst ToCToggleStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n tocToggle: {\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n width: 48, height: 48,\n cursor: 'pointer',\n opacity: .25,\n overflow: 'hidden',\n position: 'relative',\n transition: 'opacity .15s',\n '&:hover': { opacity: 1 },\n },\n bar: {\n width: 24,\n height: 2,\n borderRadius: 2,\n position: 'absolute',\n background: theme.light.text,\n transformOrigin: 'center',\n transition: 'transform .15s, opacity .15s',\n '&:first-child': { transform: 'translateY(-6px)' },\n '&:last-child': { transform: 'translateY(6px)' },\n 'body.dark &': {\n background: theme.dark.text,\n },\n '.active>&': {\n opacity: 0,\n '&:first-child': { transform: 'translateY(0) rotate(45deg)', opacity: 1 },\n '&:last-child': { transform: 'translateY(0) rotate(-45deg)', opacity: 1 },\n },\n },\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/page/toc/toggle/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/tabs/selector.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/tabs/selector.js ***! - \**********************************************************************************/ -/*! exports provided: TabSelector, TabSelector$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TabSelector\", function() { return TabSelector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TabSelector$\", function() { return TabSelector$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n\n\n\nfunction TabSelector(_, renderer) {\n const tabs = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"state\"])([]);\n const selected = Object(_connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"state\"])();\n const holder = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"ref\"])();\n this.track({\n bind() {\n var _a;\n selected.bind();\n const _tabs = [];\n (_a = holder.$.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.tab').forEach(tab$ => {\n _tabs.push({\n title: tab$.getAttribute('data-tab-title') || '',\n id: tab$.getAttribute('data-tab-id') || '',\n el$: tab$,\n icon: tab$.getAttribute('data-tab-icon') || undefined,\n });\n if (tab$.classList.contains('selected'))\n selected.value = tab$.getAttribute('data-tab-title');\n });\n tabs.bind();\n tabs.value = _tabs;\n }\n });\n return renderer.create(\"div\", { class: \"selector\", _ref: holder },\n renderer.create(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"List\"], { of: tabs, each: tab => renderer.create(\"button\", { class: Object(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"toggleList\"])({ selected: selected.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((s) => s === tab.value.id)) }), \"data-tab-title\": tab.value.title, \"data-tab-id\": tab.value.id, onclick: () => {\n tabs.value.forEach((tab) => {\n tab.el$.classList.remove('selected');\n });\n tab.value.el$.classList.add('selected');\n selected.value = tab.value.id;\n } },\n tab.value.title,\n tab.value.icon ? renderer.create(\"span\", { class: \"icon-font\" }, tab.value.icon) : '') }));\n}\nconst TabSelector$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"transport\"])(TabSelector);\n//# sourceMappingURL=selector.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/tabs/selector.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/loading/index.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/loading/index.js ***! - \***************************************************************************************/ -/*! exports provided: LoadingStyle, Loading */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LoadingStyle\", function() { return LoadingStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Loading\", function() { return Loading; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst Duration = 1;\nconst Offset = 200;\nconst LoadingStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n holder: {\n position: 'relative',\n display: 'inline-flex',\n verticalAlign: 'middle',\n alignItems: 'center',\n justifyContent: 'center',\n width: '1.5em', height: '1.5em',\n },\n spinner: {\n width: '100%',\n height: '100%',\n animation: `$rotate ${Duration * 1.17}s linear infinite`,\n },\n '@keyframes rotate': {\n '0%': { transform: 'rotate(0deg)' },\n '100%': { transform: 'rotate(360deg)' }\n },\n path: {\n strokeDasharray: Offset,\n strokeDashoffset: 0,\n transformOrigin: '33px 33px !important',\n fill: 'none',\n strokeWidth: 3,\n strokeLinecap: 'round',\n cx: '33px', cy: '33px', r: '30px',\n animation: `$dash ${Duration}s ease-in-out infinite`,\n stroke: 'white',\n '&.black': { stroke: 'black' },\n 'body.dark-mode-animate &': { transition: 'color .3s', },\n '&.primary': {\n stroke: theme.light.primary,\n 'body.dark &': { stroke: theme.dark.primary },\n '@media (prefers-color-scheme: dark)': { 'body:not(.dark-mode-animate)': { stroke: theme.dark.primary } },\n },\n '&.primary-contrast': {\n stroke: theme.light.primaryContrast,\n 'body.dark &': { stroke: theme.dark.primaryContrast },\n '@media (prefers-color-scheme: dark)': { 'body:not(.dark-mode-animate)': { stroke: theme.dark.primaryContrast } },\n },\n '&.background': {\n stroke: theme.light.background,\n 'body.dark &': { stroke: theme.dark.background },\n '@media (prefers-color-scheme: dark)': { 'body:not(.dark-mode-animate)': { stroke: theme.dark.background } },\n },\n '&.text': {\n stroke: theme.light.text,\n 'body.dark &': { stroke: theme.dark.text },\n '@media (prefers-color-scheme: dark)': { 'body:not(.dark-mode-animate)': { stroke: theme.dark.text } },\n },\n },\n '@keyframes dash': {\n '0%': { strokeDashoffset: Offset },\n '50%': {\n strokeDashoffset: Offset / 4,\n transform: 'rotate(45deg)',\n },\n '100%': {\n strokeDashoffset: Offset,\n transform: 'rotate(360deg)',\n }\n },\n}));\nfunction Loading(options, renderer) {\n const classes = this.theme.classes(LoadingStyle);\n return renderer.create(\"div\", { class: classes.holder },\n renderer.create(\"svg\", { class: classes.spinner, viewBox: \"0 0 66 66\", xmlns: \"http://www.w3.org/2000/svg\" },\n renderer.create(\"circle\", { class: `${classes.path} ${options.color || ''}`, xmlns: \"http://www.w3.org/2000/svg\" })));\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/loading/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/overlay/index.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/overlay/index.js ***! - \***************************************************************************************/ -/*! exports provided: Overlay */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Overlay\", function() { return Overlay; });\nconst style = /*#__PURE__*/ `\n position: fixed;\n z-index: 1000;\n left: 0; right: 0; top: 0; bottom: 0;\n cursor: pointer;\n background: rgba(64, 64, 64, .65);\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 48px;\n color: white;\n opacity: 0;\n transition: opacity .1s;\n backdrop-filter: blur(16px);\n -webkit-backdrop-filter: blur(16px);\n`;\nfunction Overlay(options, renderer, content) {\n const container$ = renderer.create(\"div\", { style: style, onclick: () => { if (!(options === null || options === void 0 ? void 0 : options.sticky))\n hide(); } },\n renderer.create(\"div\", { style: 'text-align: center; max-width: calc(75vw - 32px);max-height: calc(75vh - 32px); overflow: auto; padding: 16px' }, content));\n const show = () => container$.style.opacity = '1';\n const hide = () => {\n container$.style.opacity = '0';\n setTimeout(() => container$.remove(), 100);\n };\n this.track({\n bind() {\n setTimeout(show, 10);\n if (!('backdropFilter' in container$.style) && !('-webkit-backdrop-filter' in container$.style)) {\n container$.style.background = 'rgba(64, 64, 64, .95)';\n }\n }\n });\n return container$;\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/overlay/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/index.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/index.js ***! - \*************************************************************************************/ -/*! exports provided: Toast */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Toast\", function() { return Toast; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/style.js\");\n/* harmony import */ var _swipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./swipe */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/swipe.js\");\n/* harmony import */ var _misc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../misc */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/misc/index.js\");\n\n\n\n\nfunction Toast(options, renderer, content) {\n const classes = this.theme.classes(_style__WEBPACK_IMPORTED_MODULE_1__[\"ToastStyle\"]);\n const visible = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"BehaviorSubject\"](false);\n const container$ = renderer.create(\"div\", { class: classes.container, \"data-visible\": visible },\n renderer.create(\"div\", { class: classes.toast },\n renderer.create(\"div\", { class: classes.content }, content),\n renderer.create(\"div\", { class: classes.actions },\n options.actions || '',\n renderer.create(\"button\", { onclick: () => hide() },\n renderer.create(_misc__WEBPACK_IMPORTED_MODULE_3__[\"Icon\"], null, \"close\")))));\n const show = () => visible.next(true);\n const hide = () => {\n visible.next(false);\n remove();\n };\n const remove = () => setTimeout(() => container$.remove(), 150);\n const swipe = new _swipe__WEBPACK_IMPORTED_MODULE_2__[\"ToastSwipe\"](container$, remove);\n this.track({\n bind() {\n setTimeout(show, 10);\n if (!('backdropFilter' in container$.style) && !('-webkit-backdrop-filter' in container$.style)) {\n container$.classList.add('no-blur');\n }\n const timeout = options.timeout || 3000;\n if (timeout !== -1) {\n setTimeout(() => {\n if (!swipe.active())\n hide();\n }, timeout);\n }\n }\n });\n return container$;\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/style.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/style.js ***! - \*************************************************************************************/ -/*! exports provided: ToastStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToastStyle\", function() { return ToastStyle; });\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\nconst ToastStyle = /*#__PURE__*/ Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_0__[\"themedStyle\"])(theme => ({\n container: {\n userSelect: 'none',\n position: 'fixed',\n zIndex: 1000,\n top: 32, left: 0, right: 0,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n transform: 'translateY(-64px)',\n opacity: 0,\n transition: 'transform .15s, opacity .15s',\n '&.moving': {\n transition: 'none',\n },\n '&[data-visible]': {\n transform: 'translateY(0)',\n opacity: 1,\n }\n },\n toast: {\n display: 'flex',\n alignItems: 'center',\n color: 'white',\n background: 'rgba(64, 64, 64, .65)',\n margin: '0 auto',\n padding: 16,\n minWidth: 384,\n maxWidth: 768,\n borderRadius: 8,\n backdropFilter: 'blur(16px)',\n WebkitBackdropFilter: 'blur(16px)',\n '$container.no-blur &': {\n background: 'rgba(64, 64, 64, .97)',\n },\n '&>a': {\n color: 'white',\n },\n '@media screen and (max-width: 1200px)': {\n minWidth: '0',\n width: 'calc(100vw - 64px)',\n },\n },\n content: {\n flexGrow: 1,\n },\n actions: {\n flexShrink: 0,\n display: 'flex',\n '& > button, & > a': {\n padding: 4,\n background: 'rgba(192, 192, 192, .15)',\n transition: 'background .15s',\n '&:hover': {\n background: 'rgba(192, 192, 192, .35)',\n },\n color: 'white',\n borderRadius: 3,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n minWidth: 32,\n height: 32,\n marginLeft: 8,\n border: 'none',\n outline: 'none',\n cursor: 'pointer',\n }\n }\n}));\n//# sourceMappingURL=style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/swipe.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/swipe.js ***! - \*************************************************************************************/ -/*! exports provided: ToastSwipe */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ToastSwipe\", function() { return ToastSwipe; });\nfunction isTouch(event) {\n return window.TouchEvent && event instanceof TouchEvent;\n}\nclass ToastSwipe {\n constructor(container, remove) {\n this.container = container;\n this.remove = remove;\n this.anchor = undefined;\n this.last = undefined;\n this.direction = undefined;\n container.addEventListener('mousedown', event => this.start(event));\n container.addEventListener('touchstart', event => this.start(event));\n document.addEventListener('mousemove', event => this.move(event));\n container.addEventListener('touchmove', event => this.move(event));\n document.addEventListener('mouseup', () => this.release());\n container.addEventListener('touchend', () => this.release());\n }\n getPos(event) {\n if (isTouch(event)) {\n return { x: event.touches[0].clientX, y: event.touches[0].clientY };\n }\n else {\n return { x: event.clientX, y: event.clientY };\n }\n }\n start(event) {\n this.anchor = this.getPos(event);\n this.last = this.anchor;\n }\n move(event) {\n if (this.anchor) {\n event.stopPropagation();\n event.preventDefault();\n const pos = this.getPos(event);\n this.last = pos;\n const dx = pos.x - this.anchor.x;\n const dy = pos.y - this.anchor.y;\n if (!this.direction) {\n if (Math.sqrt(dx * dx + dy * dy) > 16) {\n if (Math.abs(dx) > Math.abs(dy)) {\n this.direction = 'horizontal';\n }\n else {\n this.direction = 'vertical';\n }\n }\n }\n if (this.direction) {\n this.container.classList.add('moving');\n if (this.direction === 'horizontal') {\n this.container.style.transform = `translateX(${dx}px)`;\n }\n else {\n this.container.style.transform = `translateY(${dy}px)`;\n }\n }\n }\n }\n release() {\n if (this.anchor && this.last) {\n this.container.classList.remove('moving');\n const dx = this.last.x - this.anchor.x;\n const dy = this.last.y - this.anchor.y;\n if (Math.sqrt(dx * dx + dy * dy) > 128) {\n if (this.direction === 'horizontal') {\n this.container.style.transform = `translateX(${2 * dx}px)`;\n }\n else {\n this.container.style.transform = `translateY(${2 * dy}px)`;\n }\n this.container.style.opacity = '0';\n this.remove();\n }\n else {\n this.container.style.transform = '';\n }\n this.anchor = undefined;\n this.last = undefined;\n this.direction = undefined;\n }\n }\n active() {\n return this.anchor !== undefined;\n }\n}\n//# sourceMappingURL=swipe.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/toast/swipe.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/serve/config.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/serve/config.js ***! - \**********************************************************************/ -/*! exports provided: StatusCheckURL, StatusBuildingResponse, StatusReadyResponse, StatusErrorResponse */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StatusCheckURL\", function() { return StatusCheckURL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StatusBuildingResponse\", function() { return StatusBuildingResponse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StatusReadyResponse\", function() { return StatusReadyResponse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StatusErrorResponse\", function() { return StatusErrorResponse; });\nconst StatusCheckURL = '/__codedoc_dev_status';\nconst StatusBuildingResponse = 'BUILDING';\nconst StatusReadyResponse = 'READY';\nconst StatusErrorResponse = 'ERROR';\n//# sourceMappingURL=config.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/serve/config.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/serve/reload.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/serve/reload.js ***! - \**********************************************************************/ -/*! exports provided: Toast, reloadOnChange, reloadOnChange$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Toast\", function() { return Toast; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reloadOnChange\", function() { return reloadOnChange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reloadOnChange$\", function() { return reloadOnChange$; });\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_ajax__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/ajax */ \"./.codedoc/node_modules/rxjs/_esm5/ajax/index.js\");\n/* harmony import */ var rxjs_webSocket__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/webSocket */ \"./.codedoc/node_modules/rxjs/_esm5/webSocket/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var ansi_up__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ansi_up */ \"./.codedoc/node_modules/ansi_up/ansi_up.js\");\n/* harmony import */ var ansi_up__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(ansi_up__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./config */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/serve/config.js\");\n/* harmony import */ var _transport_renderer__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../transport/renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony import */ var _components_util_loading__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components/util/loading */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/loading/index.js\");\n/* harmony import */ var _components_util_overlay__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../components/util/overlay */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/components/util/overlay/index.js\");\n\n\n\n\n\n\n\n\n\n\n\nfunction Toast(_, renderer) {\n const holder = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_0__[\"ref\"])();\n this.track({\n bind() {\n setTimeout(() => holder.$.style.transform = '', 10);\n }\n });\n return renderer.create(\"div\", { _ref: holder, style: `\n position: fixed;\n bottom: 32px; right: 32px;\n z-index: 10000;\n background: rgba(64, 64, 64, .65);\n color: white;\n padding: 24px;\n border-radius: 8px;\n transform: translateY(200px);\n backdrop-filter: blur(12px);\n -webkit-backdrop-filter: blur(12px);\n transition: transform .3s;\n ` },\n renderer.create(_components_util_loading__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"], null),\n \" \\u2002Rebuilding documents ...\");\n}\nfunction reloadOnChange() {\n let building = false;\n let error = false;\n let errorMsg;\n const renderer = Object(_transport_renderer__WEBPACK_IMPORTED_MODULE_8__[\"getRenderer\"])();\n let toast;\n let overlay;\n const ansiUp = new ansi_up__WEBPACK_IMPORTED_MODULE_6___default.a();\n const buildingMode = () => {\n if (!building) {\n building = true;\n error = false;\n errorMsg = '';\n if (toast)\n toast.remove();\n if (overlay)\n overlay.remove();\n toast = renderer.render(renderer.create(Toast, null)).on(document.body);\n }\n };\n const showError = (err) => {\n console.log(error);\n if (!error || errorMsg !== err) {\n error = true;\n errorMsg = err;\n building = false;\n if (toast)\n toast.remove();\n if (overlay)\n overlay.remove();\n const html = ansiUp.ansi_to_html(errorMsg)\n .replace(/(https:\\/\\/[-A-Z0-9+&@#\\/%?=~_|!:,.;]*[-A-Z0-9+&@#\\/%=~_|])/igm, '$1');\n overlay = renderer.render(renderer.create(_components_util_overlay__WEBPACK_IMPORTED_MODULE_10__[\"Overlay\"], { sticky: true },\n renderer.create(\"pre\", { style: \"text-align: left; font-size: 14px; background: rgba(0, 0, 0, .35); padding: 8px; border-radius: 8px;\", _innerHTML: html }))).on(document.body);\n }\n };\n Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"merge\"])(Object(rxjs_webSocket__WEBPACK_IMPORTED_MODULE_3__[\"webSocket\"])({\n url: (window.location.protocol === 'https') ? 'wss://' : 'ws://'\n + window.location.host\n + _config__WEBPACK_IMPORTED_MODULE_7__[\"StatusCheckURL\"],\n closeObserver: { next: () => buildingMode() }\n }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(() => Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"of\"])())), Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"interval\"])(500).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"switchMap\"])(() => Object(rxjs_ajax__WEBPACK_IMPORTED_MODULE_2__[\"ajax\"])({\n url: _config__WEBPACK_IMPORTED_MODULE_7__[\"StatusCheckURL\"],\n responseType: 'json',\n timeout: 200,\n })\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(() => Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"of\"])(buildingMode())))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"map\"])(result => result ? result.response : undefined))).subscribe(state => {\n if (state) {\n if (state.status === _config__WEBPACK_IMPORTED_MODULE_7__[\"StatusBuildingResponse\"])\n buildingMode();\n else if (state.status === _config__WEBPACK_IMPORTED_MODULE_7__[\"StatusErrorResponse\"])\n showError(state.error);\n else if (state.status === _config__WEBPACK_IMPORTED_MODULE_7__[\"StatusReadyResponse\"] && building) {\n location.reload();\n }\n }\n });\n}\nconst reloadOnChange$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_5__[\"funcTransport\"])(reloadOnChange);\n//# sourceMappingURL=reload.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/serve/reload.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/theme.js": -/*!***************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/theme.js ***! - \***************************************************************/ -/*! exports provided: DefaultCodeTheme, DefaultCodeThemeLight, DefaultTheme, createTheme */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultCodeTheme\", function() { return DefaultCodeTheme; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultCodeThemeLight\", function() { return DefaultCodeThemeLight; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultTheme\", function() { return DefaultTheme; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createTheme\", function() { return createTheme; });\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! color */ \"./.codedoc/node_modules/color/index.js\");\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(color__WEBPACK_IMPORTED_MODULE_0__);\n\nconst DefaultCodeTheme = {\n background: '#212121',\n text: '#e0e0e0',\n shadow: '0 6px 12px rgba(0, 0, 0, .25)',\n keyword: '#7187ff',\n string: '#69f0ae',\n boolean: '#ffc400',\n number: '#ffc400',\n operator: '#18ffff',\n function: '#e0e0e0',\n parameter: '#e0e0e0',\n comment: '#757575',\n builtin: '#e0e0e0',\n punctuation: '#fcf7bb',\n tag: '#ffa372',\n className: '#e0e0e0',\n attrName: '#f6d186',\n attrValue: '#69f0ae',\n plainText: '#bdbdbd',\n script: '#e0e0e0',\n placeholder: '#18ffff',\n selector: '#ffa372',\n property: '#f6d186',\n important: '#be79df',\n cssfunc: '#9aceff',\n key: '#f6d186',\n lineHover: '#3b3b3b',\n lineHighlight: 'rgb(40, 46, 73)',\n lineHighlightAdded: '#002d2d',\n lineHighlightAddedIndicator: '#44e08a',\n lineHighlightRemoved: '#3e0c1b',\n lineHighlightRemovedIndicator: '#ff0000',\n lineHighlightText: '#ffffff',\n lineCounter: '#616161',\n lineCounterBorder: 'rgba(255, 255, 255, .015)',\n lineCounterBorderHover: 'rgba(255, 255, 255, .1)',\n lineCounterHighlight: '#7187ff',\n errorUnderline: '#e8505b',\n warningUnderline: '#ffa931ee',\n terminalPrefix: '#616161',\n terminalOutput: '#757575',\n terminalOutputBackground: 'rgba(255, 255, 255, .06)',\n};\nconst DefaultCodeThemeLight = {\n background: '#eeeeee',\n text: '#616161',\n shadow: '0 6px 12px #e0e0e0',\n keyword: '#7187ff',\n string: '#639a67',\n boolean: '#d45079',\n number: '#d45079',\n operator: '#3282b8',\n function: '#616161',\n parameter: '#616161',\n comment: '#bdbdbd',\n builtin: '#616161',\n punctuation: '#3282b8',\n tag: '#be79df',\n className: '#616161',\n attrName: '#ef962d',\n attrValue: '#639a67',\n plainText: '#bdbdbd',\n script: '#616161',\n placeholder: '#3282b8',\n selector: '#be79df',\n property: '#ef962d',\n important: '#be79df',\n cssfunc: '#3282b8',\n key: '#ef962d',\n lineHover: '#e7e7e7',\n lineHighlight: '#d7e4ff',\n lineHighlightAdded: '#d1f5d3',\n lineHighlightAddedIndicator: '#1cc36b',\n lineHighlightRemoved: '#fdced9',\n lineHighlightRemovedIndicator: '#ff0000',\n lineHighlightText: '#212121',\n lineCounter: '#bdbdbd',\n lineCounterBorder: 'rgba(255, 255, 255, .015)',\n lineCounterBorderHover: 'rgba(255, 255, 255, .1)',\n lineCounterHighlight: '#7187ff',\n errorUnderline: '#fa1616',\n warningUnderline: '#f37121',\n terminalPrefix: '#bdbdbd',\n terminalOutput: '#9e9e9e',\n terminalOutputBackground: 'rgba(0, 0, 0, .03)',\n};\nconst DefaultTheme = {\n light: {\n primary: '#4A90E2',\n primaryContrast: 'deduce',\n background: '#f5f5f5',\n text: '#424242',\n border: '#e0e0e0',\n code: '#616161',\n },\n dark: {\n primary: '#4A90E2',\n primaryContrast: 'deduce',\n background: '#212121',\n text: '#eeeeee',\n border: '#313131',\n code: '#e0e0e0',\n },\n code: {\n wmbar: true,\n light: DefaultCodeTheme,\n dark: Object.assign(Object.assign({}, DefaultCodeTheme), { background: '#000000', shadow: '0 6px 12px #121212', lineHover: '#1a1a1a', lineHighlight: 'rgb(28, 29, 48)' })\n },\n quote: {\n light: {\n background: '#eeeeee',\n border: '#e0e0e0',\n text: '#757575',\n },\n dark: {\n background: '#282828',\n border: '#363636',\n text: '#cacaca',\n }\n },\n toc: {\n light: {\n background: '#f1f1f1',\n border: '#e7e7e7',\n },\n dark: {\n background: '#1f1f1f',\n border: '#282828',\n },\n },\n formula: {\n light: {\n background: '#eeeeee',\n text: '#757575',\n highlight: '#e8e8e8',\n },\n dark: {\n background: '#282828',\n text: '#cacaca',\n highlight: '#323232'\n },\n },\n};\nfunction createTheme(extension) {\n const res = Object.assign({}, DefaultTheme);\n if (extension.light)\n Object.assign(res.light, extension.light);\n if (res.light.primaryContrast === 'deduce')\n res.light.primaryContrast = color__WEBPACK_IMPORTED_MODULE_0___default()(res.light.primary).darken(.05).isLight() ? 'black' : 'white';\n if (extension.dark)\n Object.assign(res.dark, extension.dark);\n if (res.dark.primaryContrast === 'deduce')\n res.dark.primaryContrast = color__WEBPACK_IMPORTED_MODULE_0___default()(res.dark.primary).darken(.05).isDark() ? 'white' : 'black';\n if (extension.code) {\n if (extension.code.wmbar !== undefined)\n res.code.wmbar = extension.code.wmbar;\n if (extension.code.light)\n Object.assign(res.code.light, extension.code.light);\n if (extension.code.dark)\n Object.assign(res.code.dark, extension.code.dark);\n }\n if (extension.quote) {\n if (extension.quote.light)\n Object.assign(res.quote.light, extension.quote.light);\n if (extension.quote.dark)\n Object.assign(res.quote.dark, extension.quote.dark);\n }\n if (extension.toc) {\n if (extension.toc.light)\n Object.assign(res.toc.light, extension.toc.light);\n if (extension.toc.dark)\n Object.assign(res.toc.dark, extension.toc.dark);\n }\n if (extension.formula) {\n if (extension.formula.light)\n Object.assign(res.formula.light, extension.formula.light);\n if (extension.formula.dark)\n Object.assign(res.formula.dark, extension.formula.dark);\n }\n return res;\n}\n//# sourceMappingURL=theme.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/theme.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/clipboard.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/clipboard.js ***! - \*****************************************************************************/ -/*! exports provided: copyToClipboard */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"copyToClipboard\", function() { return copyToClipboard; });\n/* harmony import */ var _renderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n\nconst select = /*#__PURE__*/ __webpack_require__(/*! select */ \"./.codedoc/node_modules/select/src/select.js\");\nfunction copyToClipboard(text, callback) {\n const renderer = Object(_renderer__WEBPACK_IMPORTED_MODULE_0__[\"getRenderer\"])();\n const el$ = renderer.create(\"textarea\", { readonly: true, style: 'position: fixed; top: -1000vw;' }, text);\n renderer.render(el$).on(document.body);\n select(el$);\n document.execCommand('copy');\n el$.remove();\n if (callback)\n callback();\n}\n//# sourceMappingURL=clipboard.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/clipboard.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/config.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/config.js ***! - \**************************************************************************/ -/*! exports provided: ConfigTransport, getConfig, ConfigTransport$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConfigTransport\", function() { return ConfigTransport; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getConfig\", function() { return getConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConfigTransport$\", function() { return ConfigTransport$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n\nfunction ConfigTransport(conf, renderer) {\n window.__codedoc_conf = conf;\n return renderer.create(\"fragment\", null);\n}\nfunction getConfig() {\n return window.__codedoc_conf;\n}\nconst ConfigTransport$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"transport\"])(ConfigTransport);\n//# sourceMappingURL=config.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/config.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/custom-event.js": -/*!********************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/custom-event.js ***! - \********************************************************************************/ -/*! exports provided: polyfillCustomEvent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"polyfillCustomEvent\", function() { return polyfillCustomEvent; });\nfunction polyfillCustomEvent() {\n if (typeof window.CustomEvent === \"function\")\n return false; //If not IE\n function CustomEvent(event, params) {\n params = params || { bubbles: false, cancelable: false, detail: undefined };\n var evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n }\n CustomEvent.prototype = window.Event.prototype;\n window.CustomEvent = CustomEvent;\n}\n//# sourceMappingURL=custom-event.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/custom-event.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/deferred-iframe.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/deferred-iframe.js ***! - \***********************************************************************************/ -/*! exports provided: loadDeferredIFrames, deferredIframes$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"loadDeferredIFrames\", function() { return loadDeferredIFrames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"deferredIframes$\", function() { return deferredIframes$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n\nfunction loadDeferredIFrames() {\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => {\n const _exec = () => {\n setTimeout(() => {\n document.querySelectorAll('iframe[deferred-src]').forEach(frame$ => {\n frame$.src = frame$.getAttribute('deferred-src') || '';\n });\n }, 100);\n };\n _exec();\n window.addEventListener('navigation', _exec);\n });\n}\nconst deferredIframes$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(loadDeferredIFrames);\n//# sourceMappingURL=deferred-iframe.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/deferred-iframe.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/guess-title.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/guess-title.js ***! - \*******************************************************************************/ -/*! exports provided: guessTitle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"guessTitle\", function() { return guessTitle; });\nfunction guessTitle(content, base, connector = ' | ') {\n for (let i = 0; i < content.children.length; i++) {\n const target$ = content.children.item(i);\n if (target$ instanceof HTMLHeadingElement) {\n let text = '';\n if (target$.childElementCount > 0) {\n target$.childNodes.forEach(child => {\n if (!(child instanceof HTMLElement && child.hasAttribute('data-ignore-text')))\n text += child.textContent || '';\n });\n }\n else\n text = target$.textContent || '';\n text = text.trim();\n if (base) {\n if (text.length > 0)\n return base + connector + text;\n else\n return base;\n }\n else\n return text;\n }\n if (!(target$ === null || target$ === void 0 ? void 0 : target$.textContent) || target$.textContent.trim().length === 0)\n continue;\n return base || '';\n }\n return base || '';\n}\n//# sourceMappingURL=guess-title.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/guess-title.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/index.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/index.js ***! - \*************************************************************************/ -/*! exports provided: copyToClipboard, polyfillCustomEvent, loadDeferredIFrames, deferredIframes$, guessTitle, getRenderer, getRenderer$, initJss, initJssCs, initJss$, smoothLoading, smoothLoading$, useTheme, DefaultCodeTheme, DefaultCodeThemeLight, DefaultTheme, createTheme */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _clipboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clipboard */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/clipboard.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"copyToClipboard\", function() { return _clipboard__WEBPACK_IMPORTED_MODULE_0__[\"copyToClipboard\"]; });\n\n/* harmony import */ var _custom_event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./custom-event */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/custom-event.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"polyfillCustomEvent\", function() { return _custom_event__WEBPACK_IMPORTED_MODULE_1__[\"polyfillCustomEvent\"]; });\n\n/* harmony import */ var _deferred_iframe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./deferred-iframe */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/deferred-iframe.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"loadDeferredIFrames\", function() { return _deferred_iframe__WEBPACK_IMPORTED_MODULE_2__[\"loadDeferredIFrames\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"deferredIframes$\", function() { return _deferred_iframe__WEBPACK_IMPORTED_MODULE_2__[\"deferredIframes$\"]; });\n\n/* harmony import */ var _guess_title__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./guess-title */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/guess-title.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"guessTitle\", function() { return _guess_title__WEBPACK_IMPORTED_MODULE_3__[\"guessTitle\"]; });\n\n/* harmony import */ var _renderer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./renderer */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getRenderer\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_4__[\"getRenderer\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getRenderer$\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_4__[\"getRenderer$\"]; });\n\n/* harmony import */ var _setup_jss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./setup-jss */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/setup-jss.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"initJss\", function() { return _setup_jss__WEBPACK_IMPORTED_MODULE_5__[\"initJss\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"initJssCs\", function() { return _setup_jss__WEBPACK_IMPORTED_MODULE_5__[\"initJssCs\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"initJss$\", function() { return _setup_jss__WEBPACK_IMPORTED_MODULE_5__[\"initJss$\"]; });\n\n/* harmony import */ var _smooth_loading__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./smooth-loading */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/smooth-loading.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"smoothLoading\", function() { return _smooth_loading__WEBPACK_IMPORTED_MODULE_6__[\"smoothLoading\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"smoothLoading$\", function() { return _smooth_loading__WEBPACK_IMPORTED_MODULE_6__[\"smoothLoading$\"]; });\n\n/* harmony import */ var _use_theme__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./use-theme */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/use-theme.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"useTheme\", function() { return _use_theme__WEBPACK_IMPORTED_MODULE_7__[\"useTheme\"]; });\n\n/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../theme */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/theme.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultCodeTheme\", function() { return _theme__WEBPACK_IMPORTED_MODULE_8__[\"DefaultCodeTheme\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultCodeThemeLight\", function() { return _theme__WEBPACK_IMPORTED_MODULE_8__[\"DefaultCodeThemeLight\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultTheme\", function() { return _theme__WEBPACK_IMPORTED_MODULE_8__[\"DefaultTheme\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createTheme\", function() { return _theme__WEBPACK_IMPORTED_MODULE_8__[\"createTheme\"]; });\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js ***! - \****************************************************************************/ -/*! exports provided: getRenderer, getRenderer$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getRenderer\", function() { return getRenderer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getRenderer$\", function() { return getRenderer$; });\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _connectv_jss_theme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/jss-theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js\");\n\n\n\nlet renderer;\nfunction getRenderer() {\n if (!renderer) {\n if (!window.theme) {\n throw new Error('Theme not specified!');\n }\n renderer = new _connectv_html__WEBPACK_IMPORTED_MODULE_0__[\"Renderer\"]().plug(Object(_connectv_jss_theme__WEBPACK_IMPORTED_MODULE_2__[\"theme\"])(window.theme));\n }\n return renderer;\n}\nconst getRenderer$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_1__[\"funcTransport\"])(getRenderer);\n//# sourceMappingURL=renderer.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/renderer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/setup-jss.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/setup-jss.js ***! - \*****************************************************************************/ -/*! exports provided: initJss, initJssCs, initJss$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initJss\", function() { return initJss; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initJssCs\", function() { return initJssCs; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initJss$\", function() { return initJss$; });\n/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss */ \"./.codedoc/node_modules/jss/dist/jss.esm.js\");\n/* harmony import */ var jss_preset_default__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss-preset-default */ \"./.codedoc/node_modules/jss-preset-default/dist/jss-preset-default.esm.js\");\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n\n\n\nfunction initJss() { jss__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setup(Object(jss_preset_default__WEBPACK_IMPORTED_MODULE_1__[\"default\"])()); }\nfunction initJssCs() {\n initJss();\n jss__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setup({\n createGenerateId: () => {\n let count = 0;\n return rule => `cs--${rule.key}-${count++}`;\n }\n });\n}\nconst initJss$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_2__[\"funcTransport\"])(initJssCs);\n//# sourceMappingURL=setup-jss.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/setup-jss.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/smooth-loading.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/smooth-loading.js ***! - \**********************************************************************************/ -/*! exports provided: smoothLoading, smoothLoading$ */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"smoothLoading\", function() { return smoothLoading; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"smoothLoading$\", function() { return smoothLoading$; });\n/* harmony import */ var _connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/sdh/transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js\");\n/* harmony import */ var _custom_event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./custom-event */ \"./.codedoc/node_modules/@codedoc/core/dist/es6/transport/custom-event.js\");\n\n\nlet lastpath = undefined;\nfunction navigate(url, push = true) {\n let container = document.getElementById('-codedoc-container');\n if (container) {\n if (window.innerWidth <= 1200 && window.codedocToggleToC)\n window.codedocToggleToC(false);\n if (push && url === location.pathname) {\n window.dispatchEvent(new CustomEvent('same-page-navigation', { detail: { url } }));\n return;\n }\n container.style.opacity = '0';\n if (push) {\n history.pushState(url, '', url);\n lastpath = location.pathname;\n }\n window.dispatchEvent(new CustomEvent('navigation-start', { detail: { url } }));\n fetch(url)\n .then(response => response.text())\n .then(html => {\n var _a;\n const parser = new DOMParser();\n const dom = parser.parseFromString(html, 'text/html');\n const title = document.head.querySelector('title');\n if (title)\n title.innerHTML = ((_a = dom.head.querySelector('title')) === null || _a === void 0 ? void 0 : _a.innerHTML) || title.innerHTML;\n setTimeout(() => {\n var _a;\n container.innerHTML = '';\n const _newc = dom.getElementById('-codedoc-container');\n if (_newc) {\n (_a = container.parentElement) === null || _a === void 0 ? void 0 : _a.insertBefore(_newc, container);\n container.remove();\n container = _newc;\n container.style.transition = 'none';\n container.style.opacity = '0';\n container.querySelectorAll('script').forEach(s => {\n var _a;\n const _s = document.createElement('script');\n s.getAttributeNames().forEach(attr => _s.setAttribute(attr, s.getAttribute(attr)));\n _s.text = s.text;\n (_a = s.parentElement) === null || _a === void 0 ? void 0 : _a.insertBefore(_s, s);\n s.remove();\n });\n }\n if (push) {\n document.documentElement.style.scrollBehavior = 'auto';\n }\n setTimeout(() => {\n if (push) {\n window.scroll(0, 0);\n setTimeout(() => {\n var _a;\n document.documentElement.style.scrollBehavior = '';\n if (window.location.hash) {\n (_a = document.querySelector(window.location.hash)) === null || _a === void 0 ? void 0 : _a.scrollIntoView();\n }\n }, 10);\n }\n container.style.transition = '';\n container.style.opacity = '1';\n }, 50);\n window.dispatchEvent(new CustomEvent('navigation', { detail: { url } }));\n }, 150);\n });\n }\n else {\n window.location.href = url;\n lastpath = location.pathname;\n }\n}\nfunction smoothLoading() {\n Object(_custom_event__WEBPACK_IMPORTED_MODULE_1__[\"polyfillCustomEvent\"])();\n Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"onReady\"])(() => {\n lastpath = location.pathname;\n if (!window.__smooth_loading_plugged) {\n window.__smooth_loading_plugged = true;\n document.addEventListener('click', event => {\n var _a;\n let target = event.target;\n while (target && !target.href) {\n target = target.parentNode;\n }\n if (target && ((_a = target.getAttribute('href')) === null || _a === void 0 ? void 0 : _a.startsWith('/')) && target.getAttribute('target') !== '_blank') {\n const url = target.getAttribute('href') || '';\n event.preventDefault();\n navigate(url);\n return;\n }\n });\n const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n window.addEventListener('popstate', event => {\n if (location.pathname === lastpath)\n return;\n lastpath = location.pathname;\n if (isSafari)\n window.location.href = event.state || window.location.href;\n else\n navigate(event.state || window.location.href, false);\n });\n }\n });\n}\nconst smoothLoading$ = /*#__PURE__*/ Object(_connectv_sdh_transport__WEBPACK_IMPORTED_MODULE_0__[\"funcTransport\"])(smoothLoading);\n//# sourceMappingURL=smooth-loading.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/smooth-loading.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@codedoc/core/dist/es6/transport/use-theme.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/@codedoc/core/dist/es6/transport/use-theme.js ***! - \*****************************************************************************/ -/*! exports provided: useTheme */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useTheme\", function() { return useTheme; });\nfunction useTheme(theme) {\n window.theme = theme;\n}\n//# sourceMappingURL=use-theme.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@codedoc/core/dist/es6/transport/use-theme.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent-like.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent-like.js ***! - \***************************************************************************/ -/*! exports provided: isAgentLike */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isAgentLike\", function() { return isAgentLike; });\n/* harmony import */ var _pin_pin_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pin/pin-map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-map.js\");\n/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./signature */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/signature.js\");\n\n\n/**\n *\n *\n * @param whatever\n * @returns `true` if `whatever` satisfies `AgentLike` interface.\n *\n */\nfunction isAgentLike(whatever) {\n return whatever !== undefined && (typeof whatever.in == 'function') && (typeof whatever.out == 'function')\n && whatever.inputs instanceof _pin_pin_map__WEBPACK_IMPORTED_MODULE_0__[\"PinMap\"] && whatever.outputs instanceof _pin_pin_map__WEBPACK_IMPORTED_MODULE_0__[\"PinMap\"] &&\n whatever.signature !== undefined && Object(_signature__WEBPACK_IMPORTED_MODULE_1__[\"isSignature\"])(whatever.signature);\n}\n//# sourceMappingURL=agent-like.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent-like.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js ***! - \**********************************************************************/ -/*! exports provided: Agent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Agent\", function() { return Agent; });\n/* harmony import */ var _pin_partial_flow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pin/partial-flow */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/partial-flow.js\");\n/* harmony import */ var _pin_group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pin/group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _pin_pin_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/pin-map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-map.js\");\n/* harmony import */ var _pin_pin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n/* harmony import */ var _errors_signature_mismatch_error__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./errors/signature-mismatch.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/signature-mismatch.error.js\");\n/* harmony import */ var _errors_improper_partial_flow_error__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./errors/improper-partial-flow.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/improper-partial-flow.error.js\");\n\n\n\n\n\n\n/**\n *\n * The parent class for [agents](https://connective.dev/docs/agent).\n *\n */\nclass Agent extends _pin_partial_flow__WEBPACK_IMPORTED_MODULE_0__[\"PartialFlow\"] {\n /**\n *\n * @param signature the [signature](https://connective.dev/docs/agent#signature)\n * of the agent. Must be determined either by instantiators or sub-classes.\n *\n */\n constructor(signature) {\n super();\n this.signature = signature;\n this._inputs = new _pin_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"PinMap\"](label => this.createInput(label));\n this._outputs = new _pin_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"PinMap\"](label => this.createOutput(label));\n }\n /**\n *\n * @param label\n * @returns the input pin corresponding to given label\n * @throws an error if given label is not allowed by the agent's\n * [signature](https://connective.dev/docs/agent#signature).\n *\n */\n in(label) { return this._inputs.get(label.toString()); }\n /**\n *\n * @param label\n * @returns the output pin corresponding to given label\n * @throws an error if given label is not allowed by the agent's\n * [signature](https://connective.dev/docs/agent#signature).\n *\n */\n out(label) { return this._outputs.get(label.toString()); }\n /**\n *\n * @returns the entry pins for this agent for it to behave as a partial flow.\n * You can read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection).\n *\n */\n get entries() {\n if (!this._entries) {\n let entries = this.createEntries();\n this._entries = (entries instanceof _pin_group__WEBPACK_IMPORTED_MODULE_1__[\"Group\"]) ? entries : Object(_pin_group__WEBPACK_IMPORTED_MODULE_1__[\"group\"])(...entries);\n }\n return this._entries;\n }\n /**\n *\n * @returns the exit pins for this agent for it to behave as a partial flow.\n * You can read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection).\n *\n */\n get exits() {\n if (!this._exits) {\n let exits = this.createExits();\n this._exits = (exits instanceof _pin_group__WEBPACK_IMPORTED_MODULE_1__[\"Group\"]) ? exits : Object(_pin_group__WEBPACK_IMPORTED_MODULE_1__[\"group\"])(...exits);\n }\n return this._exits;\n }\n get inputs() { return this._inputs; }\n get outputs() { return this._outputs; }\n /**\n *\n * @note an Agent's `.clear()` also clears up\n * input and output pins.\n *\n */\n clear() {\n this._inputs.clear();\n this._outputs.clear();\n return super.clear();\n }\n /**\n *\n * Checks if given input label matches the agent's\n * [signature](https://connective.dev/docs/agent#signature).\n *\n * Override this to change how validation of input labels occurs.\n *\n * @param label the input label to be validated\n *\n */\n checkInput(label) {\n if (!this.signature.inputs || !this.signature.inputs.includes(label))\n throw new _errors_signature_mismatch_error__WEBPACK_IMPORTED_MODULE_4__[\"InputNotInSignature\"](label, this.signature);\n }\n /**\n *\n * Checks if given output label matches the agent's\n * [signature](https://connective.dev/docs/agent#signature).\n *\n * Override this to change how validation of output labels occurs.\n *\n */\n checkOutput(label) {\n if (!this.signature.outputs.includes(label))\n throw new _errors_signature_mismatch_error__WEBPACK_IMPORTED_MODULE_4__[\"OutputNotInSignature\"](label, this.signature);\n }\n /**\n *\n * Validates given label and creates the corresponding input pin.\n *\n * Override this to change how an input pin is created.\n *\n * @param label\n * @returns the corresponding input pin.\n *\n */\n createInput(label) {\n this.checkInput(label);\n return new _pin_pin__WEBPACK_IMPORTED_MODULE_3__[\"Pin\"]();\n }\n /**\n *\n * Validates given label and creates the corresponding output pin.\n *\n * Override this to change how an output pin is created.\n *\n * @param label\n * @returns the corresponding output pin.\n *\n */\n createOutput(label) {\n this.checkOutput(label);\n return new _pin_pin__WEBPACK_IMPORTED_MODULE_3__[\"Pin\"]();\n }\n /**\n *\n * Override this to specify which pins should be considered as entries of this agent as a `PartialFlow`.\n * You can read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection).\n * If not overriden, the agent will be considered an improper patial flow and an error will be thrown\n * when used as one.\n *\n */\n createEntries() {\n throw new _errors_improper_partial_flow_error__WEBPACK_IMPORTED_MODULE_5__[\"ImproperPartialFlow\"](this);\n }\n /**\n *\n * Override this to specify which pins should be considered as exits of this agent as a `PartialFlow`.\n * You can read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection).\n * If not overriden, the agent will be considered an improper patial flow and an error will be thrown\n * when used as one.\n *\n */\n createExits() {\n throw new _errors_improper_partial_flow_error__WEBPACK_IMPORTED_MODULE_5__[\"ImproperPartialFlow\"](this);\n }\n}\n//# sourceMappingURL=agent.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/call.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/call.js ***! - \*********************************************************************/ -/*! exports provided: exec, call, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"exec\", function() { return exec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"call\", function() { return call; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _pin_value__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/value */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/value.js\");\n/* harmony import */ var _pin_source__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pin/source */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js\");\n\n\n\n\n\n/**\n *\n * Creates a [map](https://connective.dev/docs/map) pin. This map pin will\n * expect objects whose keys matches agents that will be created by given factory.\n * For each such object, the factory will be called and a new instance of the agent\n * will be created, the provided inputs (key-values of the incoming object) will\n * be fed to its inputs, and its first ouput will be passed on.\n *\n * @param factory the agent factory to create new instances per incoming object\n * @param sub a callback to handle the subscription object holding the reference to all\n * subscriptions created in response to each incoming object\n * @param unsub a callback to handle when the created subscriptions of each incoming\n * object are unsubscribed from\n * @param outs an optional function to be used to determine possible outputs instead of utilizing\n * each created agent's signature.\n *\n */\nfunction exec(factory, sub, unsub, outs) {\n return Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((data, done, error, context) => {\n let _agent = factory();\n let _sources = {};\n let _subs = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n let _cleanup = () => {\n Object.values(_sources).forEach(s => s.clear());\n _agent.clear();\n _subs.unsubscribe();\n if (unsub)\n unsub(_subs);\n };\n if (data)\n Object.keys(data).forEach((input) => _agent.in(input).from(_sources[input] = Object(_pin_source__WEBPACK_IMPORTED_MODULE_4__[\"default\"])()));\n let _outs = _agent.signature.outputs || [];\n if (outs)\n _outs = outs();\n _outs.forEach((label) => {\n _subs.add(_agent.out(label).subscribe(value => { _cleanup(); done({ label, value }); }, err => { _cleanup(); error(err); }));\n });\n if (sub)\n sub(_subs);\n if (data)\n Object.entries(data).forEach(([input, value]) => _sources[input].emit(Object(_shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(value, context)));\n });\n}\n/**\n *\n * Creates an agent using given agent factory, feed its inputs based on key-value\n * pairs of given data, and return a pin who will emit the first output of the created agent.\n *\n * @param factory\n * @param data\n *\n */\nfunction call(factory, data) { return Object(_pin_value__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(data).to(exec(factory)); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (call);\n//# sourceMappingURL=call.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/call.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/check.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/check.js ***! - \**********************************************************************/ -/*! exports provided: Check, check, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Check\", function() { return Check; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"check\", function() { return check; });\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\n\n/**\n *\n * Represents [check](https://connective.dev/docs/check) agents.\n *\n */\nclass Check extends _agent__WEBPACK_IMPORTED_MODULE_2__[\"Agent\"] {\n /**\n *\n * @param predicate the predicate function to pass or fail incoming values against.\n *\n */\n constructor(predicate) {\n super({\n inputs: ['value'],\n outputs: ['pass', 'fail']\n });\n this.predicate = predicate;\n if (predicate.length <= 1)\n this.core = this.input.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])((v) => [v, predicate(v)]));\n else\n this.core = this.input.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])((v, done, error, context) => predicate(v, res => done([v, res]), error, context)));\n }\n /**\n *\n * Shortcut for `.in('value')`, the main value input for this check.\n * [Read this](https://connective.dev/docs/check#signature) for more details.\n *\n */\n get input() { return this.in('value'); }\n /**\n *\n * Shortcut for `.out('pass')`, the output for values passing the criteria outline by given predicate.\n * [Read this](https://connective.dev/docs/check#signature) for more details.\n *\n */\n get pass() { return this.out('pass'); }\n /**\n *\n * Shortcut for `.out('fail')`, the output for values failing the criteria outline by given predicate.\n * [Read this](https://connective.dev/docs/check#signature) for more details.\n *\n */\n get fail() { return this.out('fail'); }\n createOutput(label) {\n this.checkOutput(label);\n if (label == 'pass') {\n return this.core\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_0__[\"filter\"])(([_, v]) => v))\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(([v, _]) => v));\n }\n else {\n return this.core\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_0__[\"filter\"])(([_, v]) => !v))\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(([v, _]) => v));\n }\n }\n createEntries() { return [this.input]; }\n createExits() { return [this.pass, this.fail]; }\n}\n/**\n *\n * Creates a [check](https://connective.dev/docs/check) agent. A check agent\n * will pass or fail incoming values based on given predicate, passing them through\n * the corresponding outputs.\n * [Checkout the docs](https://connective.dev/docs/check) for examples and further information.\n *\n * @param func the predicate to test incoming values against\n *\n */\nfunction check(func) { return new Check(func); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (check);\n//# sourceMappingURL=check.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/check.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/composition.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/composition.js ***! - \****************************************************************************/ -/*! exports provided: Composition */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Composition\", function() { return Composition; });\n/* harmony import */ var _shared_bindable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shared/bindable */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/bindable.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n/* harmony import */ var _errors_child_not_defined_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./errors/child-not-defined.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-not-defined.error.js\");\n/* harmony import */ var _errors_child_type_mismatch_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./errors/child-type-mismatch.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-type-mismatch.error.js\");\n\n\n\n\n/**\n *\n * Represents [compositions](https://connective.dev/docs/composition). This class\n * is to be used directly if you want to create class-based compositions, otherwise\n * utilize [`composition()`](https://connective.dev/docs/composition) method.\n *\n */\nclass Composition extends _agent__WEBPACK_IMPORTED_MODULE_1__[\"Agent\"] {\n /**\n *\n * @param signature the signature of the composition\n *\n */\n constructor(signature) {\n super(signature);\n this.init();\n }\n /**\n *\n * Override this to modify the initialization process of a composition.\n * This function is called by parent's constructor, so if you want to\n * invoke `.build()` and `.wire()` after some child-class properties have been\n * initialized as well, you would need to override this function. This is a typical\n * scenario in case of parametric class-based compositions.\n *\n */\n init() {\n this.build();\n this.wire();\n }\n /**\n *\n * Adds a child (pin or agent) to the composition. You can provide a name. If not,\n * the child will be named numerically based on the length of the children already added:\n *\n * ```typescript\n * build() {\n * this.add('myState', state());\n * this.add(expr((x, y) => x * y));\n * }\n *\n * wire() {\n * this.agent('myState'); // --> this is the defined state\n * this.agent(1); // --> this is the defined expr\n * }\n * ```\n *\n * @param nameOrChild\n * @param child\n *\n */\n add(nameOrChild, child) {\n if (!this._children)\n this._children = {};\n if (!child)\n return this.add(`${Object.keys(this._children).length}`, nameOrChild);\n let _name = nameOrChild;\n this._children[_name] = child;\n if (Object(_shared_bindable__WEBPACK_IMPORTED_MODULE_0__[\"isBindable\"])(child))\n this.toBind(child);\n return child;\n }\n /**\n *\n * @param name\n * @returns the child with given name.\n * @throws an error if no child with given name is defined.\n *\n */\n child(name) {\n if (typeof name !== 'string')\n return this.child(name.toString());\n if (this._children && name in this._children)\n return this._children[name];\n throw new _errors_child_not_defined_error__WEBPACK_IMPORTED_MODULE_2__[\"ChildNotDefined\"](name);\n }\n /**\n *\n * @param name\n * @returns the pin child with given name.\n * @throws an error if no child with given name is defined or if it is not a pin.\n *\n */\n pin(name) {\n let _child = this.child(name);\n if (_child instanceof _agent__WEBPACK_IMPORTED_MODULE_1__[\"Agent\"])\n throw new _errors_child_type_mismatch_error__WEBPACK_IMPORTED_MODULE_3__[\"ChildIsNotPin\"](name.toString());\n return _child;\n }\n /**\n *\n * @param name\n * @returns the child agent with given name.\n * @throws an error if no child with given name is defined or if it is not an agent.\n *\n */\n agent(name) {\n let _child = this.child(name);\n if (!(_child instanceof _agent__WEBPACK_IMPORTED_MODULE_1__[\"Agent\"]))\n throw new _errors_child_type_mismatch_error__WEBPACK_IMPORTED_MODULE_3__[\"ChildIsNotAgent\"](name.toString());\n return _child;\n }\n /**\n *\n * Registers a `Bindable` that will be bound when `.bind()` is called on this composition.\n *\n * @param bindable\n *\n */\n toBind(bindable) {\n if (!this._bindables)\n this._bindables = [];\n this._bindables.push(bindable);\n return this;\n }\n /**\n *\n * Binds all registered `Bindable`s, including bindable children like\n * [states](https://connective.dev/docs/state) and\n * [sinks](https://connective.dev/docs/sink).\n *\n */\n bind() {\n if (this._bindables)\n this._bindables.forEach(bindable => bindable.bind());\n return this;\n }\n /**\n *\n * @note `.clear()` on `Composition` also clears all registered children.\n *\n */\n clear() {\n if (this._children) {\n Object.values(this._children).forEach(child => child.clear());\n this._children = undefined;\n }\n if (this._bindables)\n this._bindables = undefined;\n return super.clear();\n }\n}\n//# sourceMappingURL=composition.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/composition.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/deep.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/deep.js ***! - \*********************************************************************/ -/*! exports provided: deep, keyed, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"deep\", function() { return deep; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"keyed\", function() { return keyed; });\n/* harmony import */ var _simple_deep__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./simple-deep */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/simple-deep.js\");\n/* harmony import */ var _keyed_deep__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./keyed-deep */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/keyed-deep.js\");\n\n\n/**\n *\n * Creates a [deep state](https://connective.dev/docs/deep) from given state.\n * You can track indexes, properties and keyed entities on deep states as bound\n * reactive states.\n * [Checkout the docs](https://connective.dev/docs/deep) for examples and further information.\n *\n * @param state the state to be used as the basis of the returned deep state\n * @param key the key function to be used to track entities in the deep state\n *\n */\nfunction deep(state, key) {\n if (key)\n return new _keyed_deep__WEBPACK_IMPORTED_MODULE_1__[\"KeyedDeep\"](state, key);\n else\n return new _simple_deep__WEBPACK_IMPORTED_MODULE_0__[\"SimpleDeep\"](state);\n}\n/**\n *\n * Returns a deep child factory that creates [keyed deep](https://connective.dev/docs/deep#keyed-deep) sub-states\n * with given key function. Pass this to `.sub()` or `.key()` on [deep states](https://connective.dev/docs/deep)\n * to have keyed sub-states.\n *\n * @param keyfunc the key function to be used\n *\n */\nfunction keyed(keyfunc) {\n return (accessor, compare) => new _keyed_deep__WEBPACK_IMPORTED_MODULE_1__[\"KeyedDeep\"](accessor, keyfunc, compare);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (deep);\n//# sourceMappingURL=deep.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/deep.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-not-defined.error.js": -/*!***********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-not-defined.error.js ***! - \***********************************************************************************************/ -/*! exports provided: ChildNotDefined */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ChildNotDefined\", function() { return ChildNotDefined; });\n/**\n *\n * This error is thrown when a non-defined child of a composition\n * is accessed.\n *\n */\nclass ChildNotDefined extends Error {\n constructor(name) {\n super(`No child with name ${name} is defined.`);\n }\n}\n//# sourceMappingURL=child-not-defined.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-not-defined.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-type-mismatch.error.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-type-mismatch.error.js ***! - \*************************************************************************************************/ -/*! exports provided: ChildIsNotAgent, ChildIsNotPin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ChildIsNotAgent\", function() { return ChildIsNotAgent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ChildIsNotPin\", function() { return ChildIsNotPin; });\n/**\n *\n * This error is thrown when a child of a composition is not an agent\n * but is accessed as one.\n *\n */\nclass ChildIsNotAgent extends Error {\n constructor(name) {\n super(`Child ${name} is not an Agent.`);\n }\n}\n/**\n *\n * This error is thrown when a child of a composition is not a pin\n * but is accessed as one.\n *\n */\nclass ChildIsNotPin extends Error {\n constructor(name) {\n super(`Child ${name} is not a Pin.`);\n }\n}\n//# sourceMappingURL=child-type-mismatch.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-type-mismatch.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/improper-partial-flow.error.js": -/*!***************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/improper-partial-flow.error.js ***! - \***************************************************************************************************/ -/*! exports provided: ImproperPartialFlow */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImproperPartialFlow\", function() { return ImproperPartialFlow; });\n/**\n *\n * This error is thrown when an agent which has no explicit specification\n * of its entry and exit pins is used as a partial flow.\n * [Read this](https://connective.dev/docs/agent#implicit-connection) for more\n * information on partial flows.\n *\n */\nclass ImproperPartialFlow extends Error {\n constructor(object) {\n super(`${object.constructor ? object.constructor.name : object} is not a properly defined PartialFlow.\nFor more information, follow this link:\nhttps://connective.dev/docs/agent#implicit-connection`);\n }\n}\n//# sourceMappingURL=improper-partial-flow.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/improper-partial-flow.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/insufficient-input.error.js": -/*!************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/insufficient-input.error.js ***! - \************************************************************************************************/ -/*! exports provided: InsufficientInputs */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsufficientInputs\", function() { return InsufficientInputs; });\n/**\n *\n * This error is thrown when a node is not provided with its\n * required inputs.\n *\n */\nclass InsufficientInputs extends Error {\n constructor(missing) {\n super(`Following inputs are missing from provided data: ${missing}.\nRead this for more information:\nhttps://connective.dev/docs/node#optional`);\n this.missing = missing;\n }\n}\n//# sourceMappingURL=insufficient-input.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/insufficient-input.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/signature-mismatch.error.js": -/*!************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/signature-mismatch.error.js ***! - \************************************************************************************************/ -/*! exports provided: InputNotInSignature, OutputNotInSignature */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InputNotInSignature\", function() { return InputNotInSignature; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OutputNotInSignature\", function() { return OutputNotInSignature; });\n/**\n *\n * This error is thrown when a not matching input on a [signature](https://connective.dev/docs/agent#signature)\n * is accessed.\n *\n */\nclass InputNotInSignature extends Error {\n constructor(input, signature) {\n super(`Input ${input} not in signature {inputs: ${signature.inputs}}.\nRead this for more information:\nhttps://connective.dev/docs/agent#signature`);\n this.input = input;\n this.signature = signature;\n }\n}\n/**\n *\n * This error is thrown when a not matching output on a [signature](https://connective.dev/docs/agent#signature)\n * is accessed.\n *\n */\nclass OutputNotInSignature extends Error {\n constructor(output, signature) {\n super(`Output ${output} not in signature {outputs: ${signature.outputs}}.\nRead this for more information:\nhttps://connective.dev/docs/agent#signature`);\n this.output = output;\n this.signature = signature;\n }\n}\n//# sourceMappingURL=signature-mismatch.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/signature-mismatch.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/expr.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/expr.js ***! - \*********************************************************************/ -/*! exports provided: Expr, expr, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Expr\", function() { return Expr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"expr\", function() { return expr; });\n/* harmony import */ var _node__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/node.js\");\n\n/**\n *\n * Represents [expression](https://connective.dev/docs/expr) agents.\n *\n */\nclass Expr extends _node__WEBPACK_IMPORTED_MODULE_0__[\"Node\"] {\n /**\n *\n * @param inputsOrFunc either a list of names for the inputs of the\n * [signature](https://connective.dev/docs/agent#signature) or the expr function\n * @param func the expr function (if this is provided, the first parameter must be alist of string)\n *\n */\n constructor(inputsOrFunc, func) {\n super({\n inputs: (typeof inputsOrFunc === 'function') ? [] : inputsOrFunc,\n required: (typeof inputsOrFunc === 'function') ? [] : inputsOrFunc,\n outputs: ['result']\n });\n this.func = func ? func : inputsOrFunc;\n }\n run(inputs, output, error, context) {\n let _ilist = this.signature.inputs ? this.signature.inputs.map(i => inputs[i]) : [];\n try {\n let val = this.func.apply(undefined, _ilist.concat(context));\n if (typeof val === 'function')\n val.apply(undefined, [(out) => output('result', out), error]);\n else\n output('result', val);\n }\n catch (err) {\n error(err);\n }\n }\n /**\n *\n * Shortcut for `.out('result')`. The result of the evaluation of the\n * expression will be emitted via this output.\n *\n */\n get result() { return this.out('result'); }\n}\n/**\n *\n * Creates an [expr](https://connective.dev/docs/expr) agent.\n * Expr agents turn a function into an agent.\n * [Checkout the docs](https://connective.dev/docs/expr) for examples and further information.\n *\n * @param inputsOrFunc either a list of names for the inputs of the signature or the function to convert\n * @param func the function to convert (if provided, the first argument must be a list of strings)\n *\n */\nfunction expr(inputsOrFunc, func) {\n if (func)\n return new Expr(inputsOrFunc, func);\n else {\n let func = inputsOrFunc;\n return new Expr(Array.apply(0, { length: func.length }).map((_, i) => i.toString()), func);\n }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (expr);\n//# sourceMappingURL=expr.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/expr.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/gate.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/gate.js ***! - \*********************************************************************/ -/*! exports provided: Gate, gate, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Gate\", function() { return Gate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"gate\", function() { return gate; });\n/* harmony import */ var _pin_control__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pin/control */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _pin_group__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\n\n\n\n/**\n *\n * Represents [gate](https://connective.dev/docs/gate) agents.\n *\n */\nclass Gate extends _agent__WEBPACK_IMPORTED_MODULE_4__[\"Agent\"] {\n constructor() {\n super({ inputs: ['value'], outputs: ['value'] });\n this._control = new _pin_control__WEBPACK_IMPORTED_MODULE_0__[\"Control\"]();\n }\n /**\n *\n * Shortcut for `.in('value')`, the input pin receiving values.\n * [Read this](https://connective.dev/docs/gate#signature) for more details.\n *\n */\n get input() { return this.in('value'); }\n /**\n *\n * Shortcut for `.out('value')`, the output emitting allowed values.\n * [Read this](https://connective.dev/docs/gate#signature) for more details.\n *\n */\n get output() { return this.out('value'); }\n /**\n *\n * Each pin connected to this pin should emit a boolean value for each\n * value sent to `.input`, and if all are true, the value is emitted via `.output`.\n * [Read this](https://connective.dev/docs/gate) for more details.\n *\n */\n get control() { return this._control; }\n createOutput(label) {\n this.checkOutput(label);\n return Object(_pin_group__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this.control, this.input)\n .to(new _pin_control__WEBPACK_IMPORTED_MODULE_0__[\"Control\"]())\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(([ctrl, _]) => ctrl.every(signal => !!signal)))\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(([_, input]) => input));\n }\n createEntries() { return [this.input]; }\n createExits() { return [this.output]; }\n clear() {\n this.control.clear();\n return super.clear();\n }\n}\n/**\n *\n * Creates a [gate](https://connective.dev/docs/gate) agent.\n * Gate agents await a control signal for each incoming value and either pass it along\n * or drop it based on the boolean value of the control signal.\n * [Checkout the docs](https://connective.dev/docs/gate) for examples and further information.\n *\n */\nfunction gate() { return new Gate(); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (gate);\n//# sourceMappingURL=gate.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/gate.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/handle-error.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/handle-error.js ***! - \*****************************************************************************/ -/*! exports provided: HandleError, handleError, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HandleError\", function() { return HandleError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"handleError\", function() { return handleError; });\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/errors/emission-error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/errors/emission-error.js\");\n/* harmony import */ var _pin_pin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n/* harmony import */ var _pin_group__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pin/group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _pin_source__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../pin/source */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js\");\n/* harmony import */ var _pin_pipe__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../pin/pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\n\n\n\n\n\n\n\n/**\n *\n * Represents [handle error](https://connective.dev/docs/handle-error) agents.\n *\n */\nclass HandleError extends _agent__WEBPACK_IMPORTED_MODULE_8__[\"Agent\"] {\n constructor() {\n super({\n inputs: ['input'],\n outputs: ['output', 'error'],\n });\n this._err = Object(_pin_source__WEBPACK_IMPORTED_MODULE_5__[\"default\"])();\n this._gate = this.input.to(Object(_pin_pipe__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"tap\"])(null, error => {\n if (Object(_shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_2__[\"isEmissionError\"])(error))\n this._err.emit(Object(_shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(error, error.emission.context));\n else\n this._err.send(error);\n }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"retry\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"share\"])()));\n }\n createOutput(label) {\n this.checkOutput(label);\n if (label == 'error')\n return Object(_pin_group__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this._err, this._gate.to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_7__[\"block\"])())).to(Object(_pin_pin__WEBPACK_IMPORTED_MODULE_3__[\"default\"])());\n else\n return this._gate;\n }\n createEntries() { return [this.input]; }\n createExits() { return [this.output, this.error]; }\n clear() {\n this._err.clear();\n return super.clear();\n }\n /**\n *\n * Shortcut for `.in('input')`, the input pin receiving values.\n * [Read this](https://connective.dev/docs/handle-error#signature) for more details.\n *\n */\n get input() { return this.in('input'); }\n /**\n *\n * Shortcut for `.out('output')`, which will emit error-free values.\n * [Read this](https://connective.dev/docs/handle-error#signature) for more details.\n *\n */\n get output() { return this.out('output'); }\n /**\n *\n * Shortcut for `.out('error')`, which will emit errors.\n * [Read this](https://connective.dev/docs/handle-error#signature) for more details.\n *\n */\n get error() { return this.out('error'); }\n}\n/**\n *\n * Creates a [handle error](https://connective.dev/docs/handle-error) agent.\n * Handle error agents will pass on incoming values, but also will catch errors\n * occuring upstream and pass them along, stopping the flow from closing in resposne to such errors.\n * [Checkout the docs](https://connective.dev/docs/handle-error) for examples and further information.\n *\n */\nfunction handleError() { return new HandleError(); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (handleError);\n//# sourceMappingURL=handle-error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/handle-error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/index.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/index.js ***! - \**********************************************************************/ -/*! exports provided: expr, gate, nodeWrap, proxy, state, check, _switch, handleError, sequence, join, peekJoin, invoke, node, Expr, Gate, NodeWrap, Proxy, State, Check, Switch, HandleError, Sequence, Join, Invoke, Node, Agent, isAgentLike, Composition, composition, isNodeLike, isSignature, exec, call, singleton, sampler, ChildIsNotAgent, ChildIsNotPin, ChildNotDefined, InsufficientInputs, InputNotInSignature, OutputNotInSignature, deep, keyed, SimpleDeep, KeyedDeep */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _agent_like__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./agent-like */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent-like.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isAgentLike\", function() { return _agent_like__WEBPACK_IMPORTED_MODULE_0__[\"isAgentLike\"]; });\n\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Agent\", function() { return _agent__WEBPACK_IMPORTED_MODULE_1__[\"Agent\"]; });\n\n/* harmony import */ var _composition__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./composition */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/composition.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Composition\", function() { return _composition__WEBPACK_IMPORTED_MODULE_2__[\"Composition\"]; });\n\n/* harmony import */ var _expr__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./expr */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/expr.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"expr\", function() { return _expr__WEBPACK_IMPORTED_MODULE_3__[\"expr\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Expr\", function() { return _expr__WEBPACK_IMPORTED_MODULE_3__[\"Expr\"]; });\n\n/* harmony import */ var _gate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gate */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/gate.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"gate\", function() { return _gate__WEBPACK_IMPORTED_MODULE_4__[\"gate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Gate\", function() { return _gate__WEBPACK_IMPORTED_MODULE_4__[\"Gate\"]; });\n\n/* harmony import */ var _node_like__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node-like */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/node-like.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isNodeLike\", function() { return _node_like__WEBPACK_IMPORTED_MODULE_5__[\"isNodeLike\"]; });\n\n/* harmony import */ var _node_wrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node-wrap */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/node-wrap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"nodeWrap\", function() { return _node_wrap__WEBPACK_IMPORTED_MODULE_6__[\"nodeWrap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"NodeWrap\", function() { return _node_wrap__WEBPACK_IMPORTED_MODULE_6__[\"NodeWrap\"]; });\n\n/* harmony import */ var _node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./node */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/node.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"node\", function() { return _node__WEBPACK_IMPORTED_MODULE_7__[\"node\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Node\", function() { return _node__WEBPACK_IMPORTED_MODULE_7__[\"Node\"]; });\n\n/* harmony import */ var _proxy__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./proxy */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/proxy.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"proxy\", function() { return _proxy__WEBPACK_IMPORTED_MODULE_8__[\"proxy\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Proxy\", function() { return _proxy__WEBPACK_IMPORTED_MODULE_8__[\"Proxy\"]; });\n\n/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./signature */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/signature.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isSignature\", function() { return _signature__WEBPACK_IMPORTED_MODULE_9__[\"isSignature\"]; });\n\n/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./state */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/state.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"state\", function() { return _state__WEBPACK_IMPORTED_MODULE_10__[\"state\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"State\", function() { return _state__WEBPACK_IMPORTED_MODULE_10__[\"State\"]; });\n\n/* harmony import */ var _switch__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./switch */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/switch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"_switch\", function() { return _switch__WEBPACK_IMPORTED_MODULE_11__[\"_switch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Switch\", function() { return _switch__WEBPACK_IMPORTED_MODULE_11__[\"Switch\"]; });\n\n/* harmony import */ var _handle_error__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./handle-error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/handle-error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"handleError\", function() { return _handle_error__WEBPACK_IMPORTED_MODULE_12__[\"handleError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"HandleError\", function() { return _handle_error__WEBPACK_IMPORTED_MODULE_12__[\"HandleError\"]; });\n\n/* harmony import */ var _sequence__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./sequence */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/sequence.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sequence\", function() { return _sequence__WEBPACK_IMPORTED_MODULE_13__[\"sequence\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Sequence\", function() { return _sequence__WEBPACK_IMPORTED_MODULE_13__[\"Sequence\"]; });\n\n/* harmony import */ var _join__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./join */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/join.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"join\", function() { return _join__WEBPACK_IMPORTED_MODULE_14__[\"join\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"peekJoin\", function() { return _join__WEBPACK_IMPORTED_MODULE_14__[\"peekJoin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Join\", function() { return _join__WEBPACK_IMPORTED_MODULE_14__[\"Join\"]; });\n\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./invoke */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/invoke.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"invoke\", function() { return _invoke__WEBPACK_IMPORTED_MODULE_15__[\"invoke\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Invoke\", function() { return _invoke__WEBPACK_IMPORTED_MODULE_15__[\"Invoke\"]; });\n\n/* harmony import */ var _check__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./check */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/check.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"check\", function() { return _check__WEBPACK_IMPORTED_MODULE_16__[\"check\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Check\", function() { return _check__WEBPACK_IMPORTED_MODULE_16__[\"Check\"]; });\n\n/* harmony import */ var _call__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./call */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/call.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"exec\", function() { return _call__WEBPACK_IMPORTED_MODULE_17__[\"exec\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"call\", function() { return _call__WEBPACK_IMPORTED_MODULE_17__[\"call\"]; });\n\n/* harmony import */ var _singleton__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./singleton */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/singleton.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"singleton\", function() { return _singleton__WEBPACK_IMPORTED_MODULE_18__[\"singleton\"]; });\n\n/* harmony import */ var _sampler__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./sampler */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/sampler.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sampler\", function() { return _sampler__WEBPACK_IMPORTED_MODULE_19__[\"sampler\"]; });\n\n/* harmony import */ var _inline_composition__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./inline-composition */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/inline-composition.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"composition\", function() { return _inline_composition__WEBPACK_IMPORTED_MODULE_20__[\"composition\"]; });\n\n/* harmony import */ var _keyed_deep__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./keyed-deep */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/keyed-deep.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"KeyedDeep\", function() { return _keyed_deep__WEBPACK_IMPORTED_MODULE_21__[\"KeyedDeep\"]; });\n\n/* harmony import */ var _simple_deep__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./simple-deep */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/simple-deep.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SimpleDeep\", function() { return _simple_deep__WEBPACK_IMPORTED_MODULE_22__[\"SimpleDeep\"]; });\n\n/* harmony import */ var _deep__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./deep */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/deep.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"deep\", function() { return _deep__WEBPACK_IMPORTED_MODULE_23__[\"deep\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"keyed\", function() { return _deep__WEBPACK_IMPORTED_MODULE_23__[\"keyed\"]; });\n\n/* harmony import */ var _errors_child_not_defined_error__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./errors/child-not-defined.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-not-defined.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChildNotDefined\", function() { return _errors_child_not_defined_error__WEBPACK_IMPORTED_MODULE_24__[\"ChildNotDefined\"]; });\n\n/* harmony import */ var _errors_child_type_mismatch_error__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./errors/child-type-mismatch.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/child-type-mismatch.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChildIsNotAgent\", function() { return _errors_child_type_mismatch_error__WEBPACK_IMPORTED_MODULE_25__[\"ChildIsNotAgent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChildIsNotPin\", function() { return _errors_child_type_mismatch_error__WEBPACK_IMPORTED_MODULE_25__[\"ChildIsNotPin\"]; });\n\n/* harmony import */ var _errors_insufficient_input_error__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./errors/insufficient-input.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/insufficient-input.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InsufficientInputs\", function() { return _errors_insufficient_input_error__WEBPACK_IMPORTED_MODULE_26__[\"InsufficientInputs\"]; });\n\n/* harmony import */ var _errors_signature_mismatch_error__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./errors/signature-mismatch.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/signature-mismatch.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputNotInSignature\", function() { return _errors_signature_mismatch_error__WEBPACK_IMPORTED_MODULE_27__[\"InputNotInSignature\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"OutputNotInSignature\", function() { return _errors_signature_mismatch_error__WEBPACK_IMPORTED_MODULE_27__[\"OutputNotInSignature\"]; });\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/inline-composition.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/inline-composition.js ***! - \***********************************************************************************/ -/*! exports provided: composition, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"composition\", function() { return composition; });\n/* harmony import */ var _composition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./composition */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/composition.js\");\n\nclass InlineComposition extends _composition__WEBPACK_IMPORTED_MODULE_0__[\"Composition\"] {\n constructor(factory, signature) {\n super(signature);\n this.factory = factory;\n [this.inpins, this.outpins] = this.factory((...children) => children.forEach(child => this.add(child)));\n }\n init() { }\n wire() { }\n build() { }\n createInput(label) { return this.inpins[label]; }\n createOutput(label) { return this.outpins[label]; }\n createEntries() { return Object.values(this.inpins); }\n createExits() { return Object.values(this.outpins); }\n}\n/**\n *\n * Creates a [composition](https://connective.dev/docs/composition) using given factory function.\n * [Checkout the docs](https://connective.dev/docs/composition) for examples and further information.\n *\n * @param factoryOrSignature either the [signature](https://connective.dev/docs/agent#signature) of\n * the composition or the factory function creating it. If signature is not provided, the factory function\n * will be invoked once to deduce the signature.\n * @param factory the factory function for creating the composition. If provided, the first parameter must\n * be a signature.\n *\n */\nfunction composition(factoryOrSignature, factory) {\n let signature;\n if (!factory) {\n factory = factoryOrSignature;\n let tracked = [];\n let s = factory((...children) => { tracked = tracked.concat(children); });\n signature = { inputs: Object.keys(s[0]), outputs: Object.keys(s[1]) };\n tracked.forEach(thing => thing.clear());\n }\n else {\n signature = factoryOrSignature;\n }\n let func = () => new InlineComposition(factory, signature);\n func.signature = signature;\n return func;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (composition);\n//# sourceMappingURL=inline-composition.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/inline-composition.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/invoke.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/invoke.js ***! - \***********************************************************************/ -/*! exports provided: Invoke, invoke, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Invoke\", function() { return Invoke; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"invoke\", function() { return invoke; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _pin_control__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pin/control */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _pin_pack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pin/pack */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pack.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n/* harmony import */ var _call__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./call */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/call.js\");\n\n\n\n\n\n\n\n/**\n *\n * Represents [invoke](https://connective.dev/docs/invoke) agents.\n *\n */\nclass Invoke extends _agent__WEBPACK_IMPORTED_MODULE_5__[\"Agent\"] {\n /**\n *\n * @param ref the agent factory to be used in response to each set of incoming data\n * @param signature an optional signature denoting the signature of the agents that\n * are to be created. If not provided and not directly deducable from the factory function itself,\n * the factory function will be invoked once to deduce the signature.\n *\n */\n constructor(ref, signature) {\n super(signature || ref.signature || ref().clear().signature);\n this.ref = ref;\n this._all_subs = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n this._control_required = true;\n this._control = new _pin_control__WEBPACK_IMPORTED_MODULE_1__[\"Control\"]();\n this._relay = Object(_pin_pack__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(Object(_pin_control__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this.inputs), this._control.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(() => this._control_required = false)))\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(() => !this._control_required))\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((_) => {\n if (this._control.connected)\n this._control_required = true;\n return _[0];\n }))\n .to(Object(_call__WEBPACK_IMPORTED_MODULE_6__[\"exec\"])(this.ref, s => this._all_subs.add(s), s => this._all_subs.remove(s), () => this.outputs.entries.map(([label, _]) => label)));\n }\n createOutput(label) {\n this.checkOutput(label);\n return this._relay\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((data) => data.label == label))\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((data) => data.value));\n }\n createEntries() { return (this.signature.inputs || []).map(i => this.in(i)); }\n createExits() { return this.signature.outputs.map(o => this.out(o)); }\n /**\n *\n * You can control when the agent creates the inner-agent and runs it on latest set of\n * incoming values by emitting to `.control`.\n *\n */\n get control() { return this._control; }\n clear() {\n this._relay.clear();\n this._control.clear();\n this._all_subs.unsubscribe();\n return super.clear();\n }\n}\n/**\n *\n * Creates an [invoke](https://connective.dev/docs/invoke) agent. Invoke\n * agents create an inner-agent using the given factory in response to each set of incoming inputs\n * and emit the first output of the inner-agent in response.\n * [Checkout the docs](https://connective.dev/docs/invoke) for examples and further information.\n *\n * @param ref the agent factory to be used to create inner-agents\n * @param signature the signature of the inner-agents. If not provided and not deducable from\n * the factory function, the factory function will be invoked once to deduce this.\n *\n */\nfunction invoke(ref, signature) { return new Invoke(ref, signature); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (invoke);\n//# sourceMappingURL=invoke.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/invoke.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/join.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/join.js ***! - \*********************************************************************/ -/*! exports provided: Join, join, peekJoin, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Join\", function() { return Join; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"join\", function() { return join; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"peekJoin\", function() { return peekJoin; });\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _pin_group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _pin_pin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n/* harmony import */ var _pin_source__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pin/source */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _pin_pipe__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../pin/pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\n\n\n\n\n\n\n/**\n *\n * Represents [join](https://connective.dev/docs/join) agents.\n *\n */\nclass Join extends _agent__WEBPACK_IMPORTED_MODULE_7__[\"Agent\"] {\n /**\n *\n * @param keys the keys of the joined object\n * @param pop should it pop the fork tag or not? Default is `true`\n *\n */\n constructor(keys, pop = true) {\n super({\n inputs: keys,\n outputs: ['output']\n });\n this.keys = keys;\n this.pop = pop;\n this._cache = {};\n this._inject = new _pin_source__WEBPACK_IMPORTED_MODULE_4__[\"Source\"]();\n }\n _receive(key, emission) {\n if (emission.context.__fork) {\n if (emission.context.__fork instanceof _shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"MergedEmissionContextVal\"])\n emission.context.__fork.values.forEach(v => this._fill(v, key, emission));\n else\n this._fill(emission.context.__fork, key, emission);\n }\n else\n this._fill([], key, emission);\n }\n _cache_key(fork) { return fork.join(';'); }\n _fill(fork, key, emission) {\n let _fork = this._cache_key(fork);\n let _cache = this._cache[_fork] = this._cache[_fork] || {};\n _cache[key] = emission;\n if (this._complete(_cache))\n this._emit(_cache, fork);\n }\n _emit(cache, fork) {\n delete this._cache[this._cache_key(fork)];\n let emission = _shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"Emission\"].from(Object.values(cache), Object.entries(cache).reduce((obj, entry) => {\n obj[entry[0]] = entry[1].value;\n return obj;\n }, {}));\n emission.context.__fork = this.pop ? fork.slice(0, -1) : [...fork];\n this._inject.emit(emission);\n }\n _complete(cache) {\n return Object.values(cache).length == this.keys.length;\n }\n createOutput(label) {\n this.checkOutput(label);\n return Object(_pin_group__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(Object(_pin_group__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(...this.keys.map(key => this.in(key).to(Object(_pin_pipe__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"tap\"])(e => this._receive(key, e)))))).to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_5__[\"block\"])()), this._inject).to(Object(_pin_pin__WEBPACK_IMPORTED_MODULE_3__[\"default\"])());\n }\n createEntries() { return this.keys.map(key => this.in(key)); }\n createExits() { return [this.output]; }\n /**\n *\n * Shortcut for `.out('output')`, which will emit the joined object.\n * [Read this](https://connective.dev/docs/handle-error#signature) for more details.\n *\n */\n get output() { return this.out('output'); }\n clear() {\n this._inject.clear();\n this._cache = {};\n return this;\n }\n}\n/**\n *\n * Creates a [join](https://connective.dev/docs/join) agent. Join agents\n * will re-join values created from the same forked emission in parallel, creating\n * a joined object with given keys.\n * [Checkout the docs](https://connective.dev/docs/join) for examples and further information.\n *\n * @param keys the keys of the joined object. An input will be created per key.\n *\n */\nfunction join(...keys) { return new Join(keys); }\n/**\n *\n * Creates a [join](https://connective.dev/join) agent that does not pop\n * the fork tag upon joining.\n * [Checkout the docs](https://connective.dev/docs/join) for examples and further information.\n *\n * @param keys the keys of the joined object. An input will be created per key.\n */\nfunction peekJoin(...keys) { return new Join(keys, false); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (join);\n//# sourceMappingURL=join.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/join.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/keyed-deep.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/keyed-deep.js ***! - \***************************************************************************/ -/*! exports provided: KeyedDeep */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KeyedDeep\", function() { return KeyedDeep; });\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _util_keyed_array_diff__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/keyed-array-diff */ \"./.codedoc/node_modules/@connectv/core/dist/es6/util/keyed-array-diff.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _pin_sink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pin/sink */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/sink.js\");\n/* harmony import */ var _pin_group__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../pin/group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _pin_value__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../pin/value */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/value.js\");\n/* harmony import */ var _pin_pipe__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../pin/pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n/* harmony import */ var _simple_deep__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./simple-deep */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/simple-deep.js\");\n\n\n\n\n\n\n\n\n\n/**\n *\n * Represents a [keyed deep state](https://connective.dev/docs/deep#keyed-deep).\n *\n */\nclass KeyedDeep extends _simple_deep__WEBPACK_IMPORTED_MODULE_8__[\"SimpleDeep\"] {\n /**\n *\n * @param stateOrAccessor underlying state of this deep state or a state tree accessor (for sub-states)\n * @param keyfunc key function to be used to track entities within the state's value\n * @param compare equality function used to detect changes. If state is passed as first argument this is ignored.\n *\n */\n constructor(stateOrAccessor, keyfunc, compare) {\n super(stateOrAccessor, compare, {\n inputs: ['value'],\n outputs: ['value', 'changes']\n });\n this.keyfunc = keyfunc;\n this._keyMap = {};\n }\n /**\n *\n * Creates a sub-state bound to entity identified by given key. Entity `x` is\n * said to be identified by key `k` if `state.keyfunc(x) === k`.\n *\n * @param key the identifier of the entity to track\n * @param factory the factory function to be used to construct the sub-state\n *\n */\n key(key, factory) {\n let initialized = false;\n let _this = this;\n let _factory = factory || ((accessor, compare) => new _simple_deep__WEBPACK_IMPORTED_MODULE_8__[\"SimpleDeep\"](accessor, compare));\n return _factory({\n initial: (_this._keyMap[key] || { item: undefined }).item\n || (Object.values(this.value) || []).find((i) => this.keyfunc(i) == key),\n get: Object(_pin_group__WEBPACK_IMPORTED_MODULE_5__[\"group\"])(_this.changes, _this.reemit).to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(() => (_this._keyMap[key] || { item: undefined }).item)),\n set: Object(_pin_sink__WEBPACK_IMPORTED_MODULE_4__[\"sink\"])((v, context) => {\n try {\n let _entry = _this._keyMap[key];\n if (_entry) {\n _entry.item = v;\n if (_this.accessor) {\n _this.value = (Array.isArray(_this.value)) ?\n Object.assign([], _this.value, { [_entry.index]: v }) :\n Object.assign({}, _this.value, { [_entry.index]: v });\n }\n else {\n _this.value[_entry.index] = v;\n if (initialized)\n this.reemit.emit(Object(_shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"emission\"])(v, context));\n else\n initialized = true;\n }\n }\n }\n catch (err) { }\n }),\n bind(track) { return track(this.set.subscribe()); },\n }, this.state.compare);\n }\n /**\n *\n * Returns a [pin](https://connective.dev/docs/pin) that reflects the reactive value of\n * the index of entity identified by given key in the state's value. Entity `x` is said\n * to be identified by key `k` if `state.keyfunc(x) === k`.\n *\n * @param key the key to identify target entity with\n *\n */\n index(key) {\n let initial;\n if (this._keyMap[key])\n initial = this._keyMap[key].index;\n else\n initial = ((Object.entries(this.value) || []).find(([index, item]) => this.keyfunc(item) == key)\n || [-1, undefined])[0];\n return Object(_pin_group__WEBPACK_IMPORTED_MODULE_5__[\"group\"])(Object(_pin_value__WEBPACK_IMPORTED_MODULE_6__[\"value\"])(initial), Object(_pin_group__WEBPACK_IMPORTED_MODULE_5__[\"group\"])(this.changes, this.reemit).to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(() => (this._keyMap[key] || { index: -1 }).index))).to(Object(_pin_pipe__WEBPACK_IMPORTED_MODULE_7__[\"pipe\"])(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"distinctUntilKeyChanged\"])('value')));\n }\n /**\n *\n * Will bind the underlying state, and cause deep change-detection to happen upon\n * changes of the state value. [Read this](https://connective.dev/docs/deep#change-detection)\n * for more information on deep change-detection.\n *\n * If this is a sub-state, also enables up-propagation\n * of state value, causing the parent state to pick up changes made to the value of this\n * sub-state. [Read this](https://connective.dev/docs/deep#two-way-keyed) for more details\n * and examples.\n *\n */\n bind() {\n super.bind();\n this.track(this.changes.subscribe());\n return this;\n }\n /**\n *\n * Keys that entities within the value of the state are identified with. Entity\n * `x` is said to be indetified with key `k` if `state.keyfunc(x) === k`.\n *\n * **WARNING** the keys will not be calculcated unless deep change-detection is active.\n * You can ensure deep change-detection is active by subscribing on `.changes` or\n * calling `.bind()`. [Read this](https://connective.dev/docs/deep#change-detection)\n * for more information on deep change-detection.\n *\n */\n get keys() {\n return Object.keys(this._keyMap);\n }\n /**\n *\n * A [pin](https://connective.dev/docs/pin) that emits changes to this deep state's list value.\n * These changes include entities being added to the list, removed from it or moved around in it.\n * [Read this](https://connective.dev/docs/deep#change-detection) for more information on\n * deep change-detection.\n *\n */\n get changes() { return this.out('changes'); }\n createOutput(label) {\n if (label === 'changes') {\n this.output; // --> wire output before hand\n let initial = true;\n return this.state.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((value, done) => {\n const result = Object(_util_keyed_array_diff__WEBPACK_IMPORTED_MODULE_2__[\"diff\"])(value, this._keyMap, this.keyfunc);\n this._keyMap = result.newKeyMap;\n let changes = Object.assign({}, result.changes, { initial });\n initial = false;\n done(changes);\n }));\n }\n else\n return super.createOutput(label);\n }\n}\n//# sourceMappingURL=keyed-deep.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/keyed-deep.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/node-like.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/node-like.js ***! - \**************************************************************************/ -/*! exports provided: isNodeLike */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNodeLike\", function() { return isNodeLike; });\n/* harmony import */ var _pin_control__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pin/control */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js\");\n/* harmony import */ var _agent_like__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./agent-like */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent-like.js\");\n\n\n/**\n *\n * @param whatever\n * @returns `true` if `whatever` is `NodeLike`\n *\n */\nfunction isNodeLike(whatever) {\n return whatever !== undefined && whatever.control instanceof _pin_control__WEBPACK_IMPORTED_MODULE_0__[\"Control\"] && Object(_agent_like__WEBPACK_IMPORTED_MODULE_1__[\"isAgentLike\"])(whatever);\n}\n//# sourceMappingURL=node-like.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/node-like.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/node-wrap.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/node-wrap.js ***! - \**************************************************************************/ -/*! exports provided: NodeWrap, nodeWrap, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NodeWrap\", function() { return NodeWrap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nodeWrap\", function() { return nodeWrap; });\n/* harmony import */ var _pin_control__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pin/control */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js\");\n/* harmony import */ var _pin_pack__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pin/pack */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pack.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n/* harmony import */ var _node__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/node.js\");\n\n\n\n\n\n\n/**\n *\n * A class to wrap an agent so that it behaves like a [node](https://connective.dev/docs/node).\n *\n */\nclass NodeWrap extends _agent__WEBPACK_IMPORTED_MODULE_4__[\"Agent\"] {\n /**\n *\n * @param core the original agent to be wrapped.\n *\n */\n constructor(core) {\n super(core.signature);\n this.core = core;\n this._control_required = true;\n this._control = Object(_pin_control__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n this._pack = Object(_pin_pack__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this.inputs, this._control.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(() => this._control_required = false)))\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(() => !this._control_required))\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((all) => {\n if (this._control.connected)\n this._control_required = true;\n return all[0];\n }));\n this.track(core.inputs.subscribe((label, pin) => {\n this._pack.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((all) => all[label])).to(pin);\n }));\n this.track(core.outputs.subscribe((label, pin) => {\n pin.to(this.out(label));\n }));\n }\n get control() { return this._control; }\n createInput(label) {\n this.core.in(label);\n return super.createInput(label);\n }\n createOutput(label) {\n this.core.out(label);\n return super.createOutput(label);\n }\n clear() {\n this._control.clear();\n this._pack.clear();\n this.core.clear();\n return super.clear();\n }\n}\n/**\n *\n * Wraps given agent in a `NodeWrap`, making it behave like a\n * [node](https://connective.dev/docs/node):\n *\n * - It will wait for all of its inputs to emit at least once before first execution\n * - Re-executes any time a new value is emitted from any of the inputs\n * - Waits for its `.control` if its connected before each execution\n * - Responds with the first output of the wrapped agent for each execution\n *\n * @param agent\n *\n */\nfunction nodeWrap(agent) {\n if (agent instanceof _node__WEBPACK_IMPORTED_MODULE_5__[\"Node\"])\n return agent;\n return new NodeWrap(agent);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (nodeWrap);\n//# sourceMappingURL=node-wrap.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/node-wrap.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/node.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/node.js ***! - \*********************************************************************/ -/*! exports provided: Node, node, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Node\", function() { return Node; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"node\", function() { return node; });\n/* harmony import */ var _pin_control__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pin/control */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js\");\n/* harmony import */ var _pin_pack__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pin/pack */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pack.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _errors_signature_mismatch_error__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./errors/signature-mismatch.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/signature-mismatch.error.js\");\n/* harmony import */ var _errors_insufficient_input_error__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./errors/insufficient-input.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/errors/insufficient-input.error.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\n\n\n\n\n\n/**\n *\n * Represents a [node](https://connective.dev/docs/node).\n *\n */\nclass Node extends _agent__WEBPACK_IMPORTED_MODULE_6__[\"Agent\"] {\n /**\n *\n * @param signature the [signature](https://connective.dev/docs/agent#signature) of the node.\n *\n */\n constructor(signature) {\n super(signature);\n this._control_required = true;\n this._control = Object(_pin_control__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n this._res =\n Object(_pin_pack__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this.inputs, this.control.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(() => this._control_required = false)))\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(() => !this._control_required))\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((all, callback, error, context) => {\n if (this._control.connected)\n this._control_required = true;\n if (signature.required && signature.required.some(label => !(all && all[0] && label in all[0])))\n error(new _errors_insufficient_input_error__WEBPACK_IMPORTED_MODULE_5__[\"InsufficientInputs\"](signature.required.filter(label => !(all && all[0] && label in all[0]))));\n else {\n this.run(all[0], (out, data) => {\n if (!this.signature.outputs.includes(out)) {\n error(new _errors_signature_mismatch_error__WEBPACK_IMPORTED_MODULE_4__[\"OutputNotInSignature\"](out, this.signature));\n }\n else {\n callback({ out, data });\n }\n }, error, context);\n }\n }));\n }\n /**\n *\n * A node waits for its `.control` before each execution, if any pins are\n * connected to `.control`.\n *\n */\n get control() { return this._control; }\n createOutput(label) {\n this.checkOutput(label);\n return this._res\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((res) => res.out == label))\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((res) => res.data));\n }\n createEntries() { return (this.signature.inputs || []).map(i => this.in(i)); }\n createExits() { return this.signature.outputs.map(o => this.out(o)); }\n clear() {\n this.control.clear();\n return super.clear();\n }\n}\nclass _CodeNode extends Node {\n constructor(signature, _run) {\n super(signature);\n this._run = _run;\n }\n run(inputs, output, error, context) { this._run.apply(this, [inputs, output, error, context]); }\n ;\n}\n/**\n *\n * Creates a [node](https://connective.dev/docs/node).\n * [Checkout the docs](https://connective.dev/docs/node) for examples and further information.\n *\n * @param signature the signature of the node\n * @param run the execution function of the node\n *\n */\nfunction node(signature, run) { return () => new _CodeNode(signature, run); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (node);\n//# sourceMappingURL=node.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/node.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/proxy.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/proxy.js ***! - \**********************************************************************/ -/*! exports provided: Proxy, proxy, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Proxy\", function() { return Proxy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"proxy\", function() { return proxy; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _pin_source__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pin/source */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\n\n/**\n *\n * Represents [proxy](https://connective.dev/docs/proxy) agents.\n *\n */\nclass Proxy extends _agent__WEBPACK_IMPORTED_MODULE_2__[\"Agent\"] {\n /**\n *\n * Proxies given agent, connecting it to the rest of the flow\n * that the proxy itself is connected to.\n *\n * @param agent\n * @returns a [subscription](https://rxjs-dev.firebaseapp.com/guide/subscription) object\n * that can be unsubscribed (call `.unsubscribe()`) to unproxy given agent.\n *\n */\n proxy(agent) {\n let subs = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"](() => {\n this.untrack(subs);\n });\n this.inputs.entries.forEach(entry => agent.in(entry[0]).from(entry[1]));\n this.outputs.entries.forEach(entry => {\n subs.add(agent.out(entry[0]).observable.subscribe((emission) => {\n entry[1].emit(emission);\n }));\n });\n return this.track(subs);\n }\n createOutput(label) {\n this.checkOutput(label);\n return new _pin_source__WEBPACK_IMPORTED_MODULE_1__[\"Source\"]();\n }\n}\n/**\n *\n * Creates a [proxy](https://connective.dev/docs/proxy) agent.\n * [Checkout the docs](https://connective.dev/docs/proxy) for examples and further information.\n *\n * @param signature the signature of the proxied agent (or a projection of the signature that needs\n * to be proxied).\n *\n */\nfunction proxy(signature) { return new Proxy(signature); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (proxy);\n//# sourceMappingURL=proxy.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/proxy.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/sampler.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/sampler.js ***! - \************************************************************************/ -/*! exports provided: sampler */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sampler\", function() { return sampler; });\n/* harmony import */ var _expr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./expr */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/expr.js\");\n\n/**\n *\n * Creates a [sampler](https://connective.dev/docs/sampler).\n * A sampler passes on the last received value when receiving\n * a signal on its `.control`.\n * [Checkout the docs](https://connective.dev/docs/sampler) for examples and further information.\n *\n */\nfunction sampler() { return Object(_expr__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((x) => x); }\n//# sourceMappingURL=sampler.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/sampler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/sequence.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/sequence.js ***! - \*************************************************************************/ -/*! exports provided: range, count, maybesome, some, Sequence, sequence, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"range\", function() { return range; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"count\", function() { return count; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"maybesome\", function() { return maybesome; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"some\", function() { return some; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Sequence\", function() { return Sequence; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sequence\", function() { return sequence; });\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _pin_control__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/control */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js\");\n/* harmony import */ var _pin_pin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n/* harmony import */ var _pin_group__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pin/group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _pin_pipe__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../pin/pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\n\n\n\n\n\n\n\n/**\n *\n * Creates a sequence token that denotes events happening between `min` and\n * `max` number of times.\n *\n * @param min the minimum number of times the event should happen\n * @param max the maximum number of times the event should happen\n *\n */\nfunction range(min, max) {\n return {\n accepts(_, list) { return max === undefined || list.length < max; },\n complete(list) { return list.length >= min; }\n };\n}\n/**\n *\n * Creates a sequence token that denotes events happening a\n * specified number of times exactly\n *\n * @param c the number of times the event should happen.\n *\n */\nfunction count(c) { return range(c, c); }\n/**\n *\n * Sequence token denoting an event that may or may not happen (multiple times).\n *\n */\nconst maybesome = range(0);\n/**\n *\n * Sequence token denoting an event that happens at least once.\n *\n */\nconst some = range(1);\n/**\n *\n * Represents [sequence](https://connective.dev/docs/sequence) agents.\n *\n */\nclass Sequence extends _agent__WEBPACK_IMPORTED_MODULE_8__[\"Agent\"] {\n /**\n *\n * @param tokens the tokens denoting the sequence of desired events. Each token must be\n * - A `SequenceToken`,\n * - A number, meaning that an event should happen that number of times exactly,\n * - `'+'` meaning the event should happen at least once,\n * - `'*'` meaning the event may or may not happen one or multiple times.\n *\n */\n constructor(tokens) {\n super({ inputs: tokens.map((_, index) => index.toString()), outputs: ['out'] });\n this._head = 0;\n this._control = new _pin_control__WEBPACK_IMPORTED_MODULE_2__[\"Control\"]();\n this._relay = new _pin_pin__WEBPACK_IMPORTED_MODULE_3__[\"Pin\"]();\n this.tokens = tokens.map(t => {\n if (typeof t == 'number')\n return count(t);\n if (t === '+')\n return some;\n if (t === '*')\n return maybesome;\n return t;\n });\n tokens.forEach((_, index) => {\n this.in(index).to(Object(_pin_pipe__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(e => {\n this._take(e, index, true);\n return e;\n }))).to(this._relay);\n });\n this.reset();\n }\n _take(emission, index, retry = false) {\n if (index == this._head) {\n if (this.tokens[index].accepts(emission, this._seq[index]))\n this._seq[index].push(emission);\n else {\n this.reset();\n if (retry)\n this._take(emission, index);\n }\n }\n else {\n if (index < this._head) {\n this.reset();\n this._take(emission, index);\n }\n else {\n if (this._seek(index))\n this._take(emission, index, retry);\n else {\n this.reset();\n if (this._seek(index))\n this._take(emission, index, retry);\n }\n }\n }\n }\n _seek(index) {\n for (let i = this._head; i < index; i++)\n if (!this.tokens[i].complete(this._seq[i]))\n return false;\n this._head = index;\n return true;\n }\n get _complete() {\n return this._seq.every((e, index) => this.tokens[index].complete(e));\n }\n reset() {\n this._seq = this.tokens.map(_ => []);\n this._head = 0;\n return this;\n }\n createOutput(label) {\n this.checkOutput(label);\n return Object(_pin_group__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this._control.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(() => this.reset())).to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_6__[\"block\"])()), this._relay.to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(() => this._complete))).to(Object(_pin_pipe__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(() => {\n let _vals = this._seq.map(_comp => (_comp.length == 1) ? (_comp[0].value) : (_comp.map(_ => _.value)));\n let _emission = _shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"Emission\"].from(this._seq.reduce((all, list) => all.concat(list), []), (this.tokens.length == 1) ? _vals[0] : _vals);\n return _emission;\n }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"share\"])()));\n }\n createEntries() { return (this.signature.inputs || []).map(i => this.in(i)); }\n createExits() { return [this.output]; }\n clear() {\n this.reset();\n this._control.clear();\n this._relay.clear();\n return super.clear();\n }\n /**\n *\n * Resets the sequence being tracked when receiving emissions\n * on `.control`.\n *\n */\n get control() { return this._control; }\n /**\n *\n * Shortcut for `.out('out')`, which will emit completed sequences.\n * [Read this](https://connective.dev/docs/sequence#signature) for more details.\n *\n */\n get output() { return this.out('out'); }\n}\n/**\n *\n * Creates a [sequence](https://connective.dev/docs/sequence) agent.\n * Sequence agents can determine if a specific sequence of events has occured.\n * [Checkout the docs](https://connective.dev/docs/sequence) for examples and further information.\n *\n * @param tokens the tokens denoting the sequence of desired events. Each token must be\n * - A `SequenceToken`,\n * - A number, meaning that an event should happen that number of times exactly,\n * - `'+'` meaning the event should happen at least once,\n * - `'*'` meaning the event may or may not happen one or multiple times.\n *\n */\nfunction sequence(...tokens) { return new Sequence(tokens); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (sequence);\n//# sourceMappingURL=sequence.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/sequence.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/signature.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/signature.js ***! - \**************************************************************************/ -/*! exports provided: isSignature */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isSignature\", function() { return isSignature; });\n/**\n *\n * @param whatever\n * @returns `true` if `whatever` is a `Signature`.\n *\n */\nfunction isSignature(whatever) {\n return whatever !== undefined && whatever.outputs !== undefined && whatever.outputs.length !== undefined &&\n (whatever.inputs === undefined || whatever.inputs.length !== undefined);\n}\n//# sourceMappingURL=signature.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/signature.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/simple-deep.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/simple-deep.js ***! - \****************************************************************************/ -/*! exports provided: SimpleDeep */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SimpleDeep\", function() { return SimpleDeep; });\n/* harmony import */ var _util_random_tag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/random-tag */ \"./.codedoc/node_modules/@connectv/core/dist/es6/util/random-tag.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pin/map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony import */ var _pin_sink__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/sink */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/sink.js\");\n/* harmony import */ var _pin_group__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pin/group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _pin_source__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../pin/source */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./state */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/state.js\");\n\n\n\n\n\n\n\n\n\n/**\n *\n * Represents non-keyed (simple) [deep states](https://connective.dev/docs/deep).\n *\n */\nclass SimpleDeep extends _agent__WEBPACK_IMPORTED_MODULE_7__[\"Agent\"] {\n /**\n *\n * @param stateOrAccessor underlying state of this deep state or a state tree accessor (for sub-states)\n * @param compare equality function used to detect changes. If state is passed as first argument this is ignored.\n * @param signature the signature of the state, to be overriden by child classes.\n *\n */\n constructor(stateOrAccessor, compare, signature) {\n super(signature || {\n inputs: ['value'],\n outputs: ['value']\n });\n this.bound = false;\n this.reemit = new _pin_source__WEBPACK_IMPORTED_MODULE_6__[\"Source\"]();\n this.downPropageteKey = Object(_util_random_tag__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n if (stateOrAccessor instanceof _state__WEBPACK_IMPORTED_MODULE_8__[\"State\"])\n this.state = stateOrAccessor;\n else {\n this.accessor = stateOrAccessor;\n this.state = new _state__WEBPACK_IMPORTED_MODULE_8__[\"State\"](this.accessor.initial, compare);\n this.accessor.get\n .to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((_, done, __, context) => {\n context[this.downPropageteKey] = true;\n done(_);\n }))\n .to(this)\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_5__[\"filter\"])((_, done, __, context) => {\n const downPropagated = context[this.downPropageteKey];\n delete context[this.downPropageteKey];\n done(!downPropagated);\n }))\n .to(this.accessor.set);\n }\n }\n /**\n *\n * Creates a sub-state for given index/property.\n * [Read this](https://connective.dev/docs/deep) for more details\n *\n * @param index\n * @param factory the factory function to be used to construct the sub-state\n *\n */\n sub(index, factory) {\n let initialized = false;\n let _this = this;\n let _factory = factory || ((accessor, compare) => new SimpleDeep(accessor, compare));\n return _factory({\n initial: (_this.value || [])[index],\n get: _this.output.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((v) => (v || [])[index])),\n set: Object(_pin_sink__WEBPACK_IMPORTED_MODULE_3__[\"sink\"])((v, context) => {\n try {\n if (!_this.value)\n _this.value = [];\n if (this.accessor) {\n _this.value = (Array.isArray(_this.value)) ?\n Object.assign([], _this.value, { [index]: v }) :\n Object.assign({}, _this.value, { [index]: v });\n }\n else {\n _this.value[index] = v;\n if (initialized)\n this.reemit.emit(Object(_shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"emission\"])(v, context));\n else\n initialized = true;\n }\n }\n catch (_) { }\n }),\n bind(track) { return track(this.set.subscribe()); },\n }, this.state.compare);\n }\n /**\n *\n * Allows reading or updating state's value directly.\n *\n */\n get value() { return this.state.value; }\n set value(v) { this.state.value = v; }\n /**\n *\n * The equality function used by this deep state. Is used for change detection.\n *\n */\n get compare() { return this.state.compare; }\n /**\n *\n * Shortcut for `.in('value')`, on which the state receives new values.\n * [Read this](https://connective.dev/docs/state#signature) for more details.\n *\n */\n get input() { return this.in('value'); }\n /**\n *\n * Shortcut for `.out('value')`, on which the state emits new values.\n * [Read this](https://connective.dev/docs/state#signature) for more details.\n *\n */\n get output() { return this.out('value'); }\n /**\n *\n * Binds the underlying state. If this is a sub-state, it will also\n * allow up-propagation of state value, causing the parent state to pick up\n * changes made to the value of this sub-state. [Read this](https://connective.dev/docs/deep#two-way-data)\n * for more details and examples.\n *\n */\n bind() {\n if (!this.bound) {\n if (this.accessor)\n this.accessor.bind(sub => this.track(sub));\n else\n this.track(this.output.subscribe());\n this.bound = true;\n }\n return this;\n }\n createOutput(_) {\n this.checkOutput(_);\n return Object(_pin_group__WEBPACK_IMPORTED_MODULE_4__[\"group\"])(this.input.to(this.state), this.reemit.to(Object(_pin_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(() => this.value)));\n }\n createEntries() { return [this.input]; }\n createExits() { return [this.output]; }\n}\n//# sourceMappingURL=simple-deep.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/simple-deep.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/singleton.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/singleton.js ***! - \**************************************************************************/ -/*! exports provided: singleton, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"singleton\", function() { return singleton; });\n/* harmony import */ var _shared_bindable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shared/bindable */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/bindable.js\");\n\nfunction singleton() {\n return function (_Class) {\n var _a;\n let agent = new _Class();\n if (Object(_shared_bindable__WEBPACK_IMPORTED_MODULE_0__[\"isBindable\"])(agent)) {\n agent.bind();\n }\n return _a = class extends _Class {\n },\n _a.instance = agent,\n _a;\n };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (singleton);\n//# sourceMappingURL=singleton.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/singleton.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/state.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/state.js ***! - \**********************************************************************/ -/*! exports provided: State, state, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"State\", function() { return State; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"state\", function() { return state; });\n/* harmony import */ var lodash_isequal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash.isequal */ \"./.codedoc/node_modules/lodash.isequal/index.js\");\n/* harmony import */ var lodash_isequal__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isequal__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _pin_group__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../pin/group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _pin_source__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pin/source */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js\");\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\n\n\n\n\n\nconst _Unset = {};\n/**\n *\n * Represents [state](https://connective.dev/docs/state) agents.\n *\n */\nclass State extends _agent__WEBPACK_IMPORTED_MODULE_6__[\"Agent\"] {\n /**\n *\n * @param initialOrCompare either initial value or equality function\n * @param compare the equality function, if provided the first parameter must be the initial value.\n */\n constructor(initialOrCompare = _Unset, compare) {\n super({\n inputs: ['value'],\n outputs: ['value']\n });\n /**\n *\n * The initial value of the agent\n *\n */\n this.initial = _Unset;\n if (initialOrCompare == _Unset && !compare) {\n this.initial = _Unset;\n this.compare = lodash_isequal__WEBPACK_IMPORTED_MODULE_0___default.a;\n }\n else if (compare) {\n this.initial = initialOrCompare;\n this.compare = compare;\n }\n else {\n if (typeof initialOrCompare === 'function')\n this.compare = initialOrCompare;\n else {\n this.initial = initialOrCompare;\n this.compare = lodash_isequal__WEBPACK_IMPORTED_MODULE_0___default.a;\n }\n }\n this._subject = new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"BehaviorSubject\"](Object(_shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"emission\"])(this.initial));\n this._injector = Object(_pin_source__WEBPACK_IMPORTED_MODULE_4__[\"default\"])();\n }\n /**\n *\n * Shortcut for `.in('value')`, on which the state receives new values.\n * [Read this](https://connective.dev/docs/state#signature) for more details.\n *\n */\n get input() { return this.in('value'); }\n /**\n *\n * Shortcut for `.out('value')`, on which the state emits new values.\n * [Read this](https://connective.dev/docs/state#signature) for more details.\n *\n */\n get output() { return this.out('value'); }\n /**\n *\n * Allows reading or updating `State`'s value directly. It will be equal\n * to the latest value emitted by the `State`, and setting it, if the value\n * has changed truly, will cause the `State` to emit the new value.\n *\n */\n get value() { return (this._subject.value.value !== _Unset) ? (this._subject.value.value) : undefined; }\n set value(v) { this._injector.send(v); }\n /**\n *\n * Causes the agent to start receiving values even\n * without any subscribers.\n *\n */\n bind() {\n this.track(this.output.observable.subscribe());\n return this;\n }\n /**\n *\n * @note `State`'s `.clear()` also causes a complete\n * notification to be sent to observers.\n *\n */\n clear() {\n this._subject.complete();\n return super.clear();\n }\n createOutput(_) {\n this.checkOutput(_);\n return Object(_pin_group__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this.input, this._injector)\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_5__[\"default\"])((v) => !this.compare(v, this.value)))\n .to(Object(_pin_source__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this._subject))\n .to(Object(_pin_filter__WEBPACK_IMPORTED_MODULE_5__[\"default\"])((v) => v !== _Unset));\n }\n createEntries() { return [this.input]; }\n createExits() { return [this.output]; }\n}\n/**\n *\n * Creates a [state](https://connective.dev/docs/state) agent.\n * State agents can hold state in a reactive flow.\n * [Checkout the docs](https://connective.dev/docs/state) for examples and further information.\n *\n * @param initialOrCompare the initial value or compare function\n * @param compare the equality function to be used to determine state change, in case initial value is provided\n *\n */\nfunction state(initialOrCompare, compare) {\n return new State(initialOrCompare, compare);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (state);\n//# sourceMappingURL=state.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/state.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/agent/switch.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/agent/switch.js ***! - \***********************************************************************/ -/*! exports provided: Switch, _switch, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Switch\", function() { return Switch; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_switch\", function() { return _switch; });\n/* harmony import */ var _pin_filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../pin/filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony import */ var _agent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./agent */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/agent.js\");\n\n\nclass Switch extends _agent__WEBPACK_IMPORTED_MODULE_1__[\"Agent\"] {\n constructor(...cases) {\n super({\n inputs: ['target'],\n outputs: cases.map((_, index) => index.toString()),\n });\n this.cases = cases;\n }\n get target() { return this.in('target'); }\n case(index) { return this.out(index); }\n createOutput(label) {\n this.checkOutput(label);\n let _case = this.cases[label];\n return this.target\n .to((typeof _case === 'function') ?\n Object(_pin_filter__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_case) :\n Object(_pin_filter__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((value) => _case === value));\n }\n}\nfunction _switch(...cases) { return new Switch(...cases); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (_switch);\n//# sourceMappingURL=switch.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/agent/switch.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/index.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/index.js ***! - \****************************************************************/ -/*! exports provided: expr, gate, nodeWrap, proxy, state, check, _switch, handleError, sequence, join, peekJoin, invoke, node, Expr, Gate, NodeWrap, Proxy, State, Check, Switch, HandleError, Sequence, Join, Invoke, Node, Agent, isAgentLike, Composition, composition, isNodeLike, isSignature, exec, call, singleton, sampler, ChildIsNotAgent, ChildIsNotPin, ChildNotDefined, InsufficientInputs, InputNotInSignature, OutputNotInSignature, deep, keyed, SimpleDeep, KeyedDeep, control, filter, group, map, pack, pin, pipe, sink, fork, source, spread, reduce, value, wrap, block, Control, Filter, Group, Map, Pack, Pin, Pipe, Sink, Fork, Source, Spread, Reduce, isPinLike, PinMap, Connectible, partialFlow, PartialFlow, GroupObservableError, PinLockedError, UnresolvedPinObservableError, emission, Emission, MergedEmissionContextVal, isClearable, isBindable, EmissionError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _agent_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./agent/index */ \"./.codedoc/node_modules/@connectv/core/dist/es6/agent/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"expr\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"expr\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"gate\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"gate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"nodeWrap\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"nodeWrap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"proxy\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"proxy\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"state\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"state\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"check\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"check\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"_switch\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"_switch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"handleError\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"handleError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sequence\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"sequence\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"join\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"join\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"peekJoin\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"peekJoin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"invoke\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"invoke\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"node\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"node\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Expr\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Expr\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Gate\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Gate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"NodeWrap\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"NodeWrap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Proxy\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Proxy\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"State\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"State\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Check\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Check\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Switch\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Switch\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"HandleError\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"HandleError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Sequence\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Sequence\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Join\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Join\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Invoke\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Invoke\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Node\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Node\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Agent\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Agent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isAgentLike\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"isAgentLike\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Composition\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"Composition\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"composition\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"composition\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isNodeLike\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"isNodeLike\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isSignature\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"isSignature\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"exec\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"exec\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"call\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"call\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"singleton\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"singleton\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sampler\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"sampler\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChildIsNotAgent\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"ChildIsNotAgent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChildIsNotPin\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"ChildIsNotPin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ChildNotDefined\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"ChildNotDefined\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InsufficientInputs\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"InsufficientInputs\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputNotInSignature\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"InputNotInSignature\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"OutputNotInSignature\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"OutputNotInSignature\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"deep\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"deep\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"keyed\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"keyed\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SimpleDeep\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"SimpleDeep\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"KeyedDeep\", function() { return _agent_index__WEBPACK_IMPORTED_MODULE_0__[\"KeyedDeep\"]; });\n\n/* harmony import */ var _pin_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pin/index */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"control\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"control\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"filter\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"group\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"group\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"map\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pack\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"pack\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pin\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"pin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pipe\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"pipe\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sink\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"sink\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"fork\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"fork\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"source\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"source\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"spread\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"spread\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"reduce\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"value\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"value\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"wrap\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"wrap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"block\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"block\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Control\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Control\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Filter\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Filter\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Group\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Group\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Map\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Map\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Pack\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Pack\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Pin\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Pin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Pipe\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Pipe\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Sink\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Sink\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Fork\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Fork\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Source\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Source\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Spread\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Spread\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Reduce\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Reduce\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPinLike\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"isPinLike\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinMap\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"PinMap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Connectible\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"Connectible\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"partialFlow\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"partialFlow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PartialFlow\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"PartialFlow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GroupObservableError\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"GroupObservableError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinLockedError\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"PinLockedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnresolvedPinObservableError\", function() { return _pin_index__WEBPACK_IMPORTED_MODULE_1__[\"UnresolvedPinObservableError\"]; });\n\n/* harmony import */ var _shared_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./shared/index */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"emission\", function() { return _shared_index__WEBPACK_IMPORTED_MODULE_2__[\"emission\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Emission\", function() { return _shared_index__WEBPACK_IMPORTED_MODULE_2__[\"Emission\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MergedEmissionContextVal\", function() { return _shared_index__WEBPACK_IMPORTED_MODULE_2__[\"MergedEmissionContextVal\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isClearable\", function() { return _shared_index__WEBPACK_IMPORTED_MODULE_2__[\"isClearable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isBindable\", function() { return _shared_index__WEBPACK_IMPORTED_MODULE_2__[\"isBindable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EmissionError\", function() { return _shared_index__WEBPACK_IMPORTED_MODULE_2__[\"EmissionError\"]; });\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/base.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/base.js ***! - \*******************************************************************/ -/*! exports provided: BasePin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BasePin\", function() { return BasePin; });\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_tracker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/tracker */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/tracker.js\");\n/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _partial_flow__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./partial-flow */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/partial-flow.js\");\n\n\n\n\n//\n// TODO: write tests for this\n//\n/**\n *\n * The base class for [pins](https://connective.dev/docs/pin).\n *\n */\nclass BasePin extends _shared_tracker__WEBPACK_IMPORTED_MODULE_1__[\"Tracker\"] {\n /**\n *\n * Connects this pin to given pins. Will invoke `.from()` on the receiving pins.\n * If any `PartialFlow` is among the given pins, the connection will be made to all of\n * its entry pins (read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection)).\n *\n * @param pins the pins to connect to\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its exit pins added to the group.\n *\n */\n to(...pins) {\n pins.forEach(pin => pin.from(this));\n return Object(_group__WEBPACK_IMPORTED_MODULE_2__[\"traverseTo\"])(...pins);\n }\n /**\n *\n * Connects all given pins to this pin, by calling `.connect()` on each of them.\n * If any `PartialFlow` is among given pins, the exit pins of the partial flow will be\n * connected to this pin\n * (read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection)).\n *\n * @param pins the pins to be connected to this pin\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its entry pins will be added to the group.\n *\n */\n from(...pins) {\n pins.forEach(pin => {\n if (pin instanceof _group__WEBPACK_IMPORTED_MODULE_2__[\"Group\"])\n pin.pins.forEach(p => this.connect(p));\n else if (pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"])\n pin.exits.pins.forEach(o => this.connect(o));\n else\n this.connect(pin);\n });\n return Object(_group__WEBPACK_IMPORTED_MODULE_2__[\"traverseFrom\"])(...pins);\n }\n /**\n *\n * Connectss to given pins. This is same as `.to()`, except that when a `PartialFlow`\n * is among the given pins, this pin will be connected only to its first entry pin\n * (read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection)).\n *\n * @param pins pins to connect this pin to\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its exit pins added to the group.\n *\n */\n serialTo(...pins) {\n pins.forEach(pin => {\n if (pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"]) {\n if (pin.entries.pins.length > 0)\n pin.entries.pins[0].from(this);\n }\n else\n pin.from(this);\n });\n return Object(_group__WEBPACK_IMPORTED_MODULE_2__[\"traverseTo\"])(...pins);\n }\n /**\n *\n * Connects given pins to this pin. This is same as `.from()`, except that when a `PartialFlow`\n * is among given pins, only its first exit pin will be connected to this pin\n * (read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection)).\n *\n * @param pins pins to connect to this pin\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its entry pins will be added to the group.\n *\n */\n serialFrom(...pins) {\n pins.forEach(pin => {\n if (pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"]) {\n if (pin.exits.pins.length > 0)\n this.connect(pin.exits.pins[0]);\n }\n else\n this.connect(pin);\n });\n return Object(_group__WEBPACK_IMPORTED_MODULE_2__[\"traverseTo\"])(...pins);\n }\n /**\n *\n * Subscribes given function or partial observer to the observable of this pin.\n * The subscriber will recieve the emitted values and not the emission object itself,\n * so if you need to access the emission (for example, to access its context),\n * use `.observable.subscribe()` instead.\n *\n * @param observerOrNext either an [observer object](https://github.com/ReactiveX/rxjs/blob/master/doc/observer.md),\n * or a callback handling incoming values.\n * @param error a callback handling incoming errors.\n * @param complete a callback that will be invoked when the underlying observable sequence completes, for example\n * when the sources are all cleared out.\n * @returns the subscription object. The pin itself will track this subscription and clear it out when\n * its `.clear()` is invoked. If you wish to unsubscribe the subscription earlier than the time you clear\n * the pin out, then hold a reference to it and also remove it from subscriptions tracked by the pin\n * using `.untrack()`.\n *\n */\n subscribe(observerOrNext, error, complete) {\n if (error || complete)\n return this.track(this.observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"map\"])((e) => e.value)).subscribe(observerOrNext, error, complete));\n else\n return this.track(this.observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"map\"])((e) => e.value)).subscribe(observerOrNext));\n }\n}\n//# sourceMappingURL=base.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/base.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/connectible.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/connectible.js ***! - \**************************************************************************/ -/*! exports provided: Connectible */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Connectible\", function() { return Connectible; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./base */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/base.js\");\n/* harmony import */ var _errors_locked_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./errors/locked.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/locked.error.js\");\n/* harmony import */ var _errors_unresolved_observable_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./errors/unresolved-observable.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/unresolved-observable.error.js\");\n\n\n\n\n/**\n *\n * Represents pins that you can connect other pins to.\n *\n */\nclass Connectible extends _base__WEBPACK_IMPORTED_MODULE_1__[\"BasePin\"] {\n constructor() {\n super();\n this._resolving = false;\n this._deference_connected = false;\n this._inbound = [];\n }\n /**\n *\n * @note it will throw an error if this pin is already locked.\n * You can read more about this [here](https://connective.dev/docs/pin#subscribing-and-binding).\n *\n */\n connect(pin) {\n if (this.locked)\n throw new _errors_locked_error__WEBPACK_IMPORTED_MODULE_2__[\"PinLockedError\"]();\n if (!this._inbound.includes(pin))\n this._inbound.push(pin);\n return this;\n }\n /**\n *\n * @note Accessing this property locks the pin.\n * You can read more about this [here](https://connective.dev/docs/pin#subscribing-and-binding).\n *\n */\n get observable() {\n if (this.shouldResolve(this._inbound, this._observable)) {\n if (this._resolving) {\n if (!this._deferred) {\n this._deferred = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n }\n return this._deferred;\n }\n else {\n this._resolving = true;\n this._observable = this.resolve(this._inbound);\n if (this._deferred) {\n let _pristine = this._observable;\n this._observable = Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"defer\"])(() => {\n if (!this._deference_connected) {\n this.track(_pristine.subscribe(this._deferred));\n this._deference_connected = true;\n }\n return _pristine;\n });\n }\n this._resolving = false;\n }\n }\n if (!this._observable)\n throw new _errors_unresolved_observable_error__WEBPACK_IMPORTED_MODULE_3__[\"UnresolvedPinObservableError\"]();\n return this._observable;\n }\n /**\n *\n * @note Calling `.clear()` will unlock the pin and disconnect it from\n * all the pins its connected to (removing their references). There is no guarantee\n * that the pin will be usable afterwards.\n *\n */\n clear() {\n this._inbound.length = 0;\n this._observable = undefined;\n this._deference_connected = false;\n if (this._deferred) {\n this._deferred.complete();\n this._deferred = undefined;\n }\n return super.clear();\n }\n /**\n *\n * @returns `true` if the pin is locked, `false` if not.\n * You can read more about this [here](https://connective.dev/docs/pin#subscribing-and-binding).\n *\n */\n get locked() { return this.isLocked(this._observable); }\n /**\n *\n * @returns `true` if any other pin is connected to this pin, `false` if not.\n *\n */\n get connected() { return this.isConnected(); }\n /**\n *\n * Override this to determine the value of `.connected` through other means.\n *\n */\n isConnected() { return this._inbound.length > 0; }\n}\n//# sourceMappingURL=connectible.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/connectible.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js ***! - \**********************************************************************/ -/*! exports provided: Control, control, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Control\", function() { return Control; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"control\", function() { return control; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _pin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pin-map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-map.js\");\n\n\n\n\n\nconst _UNSET = {};\n/**\n *\n * Represents [control](https://connective.dev/docs/control) pins.\n *\n */\nclass Control extends _pin__WEBPACK_IMPORTED_MODULE_3__[\"Pin\"] {\n constructor(val = _UNSET) {\n super();\n this.val = val;\n }\n /**\n *\n * Resolves underlying observable, by\n * [zipping](https://rxjs-dev.firebaseapp.com/api/index/function/zip)\n * corresponding observables of inbound pins.\n *\n * If a `PinMap` is passed to the constructor, it will instead\n * resolve to zip of all of the instantiated pins of that `PinMap`.\n *\n * If a value is passed to the constructor, and there are no inbound\n * pins, it will resolve to `of()`.\n *\n * @param inbound\n *\n */\n resolve(inbound) {\n if (this.val instanceof _pin_map__WEBPACK_IMPORTED_MODULE_4__[\"PinMap\"]) {\n let _entries = this.val.entries;\n if (_entries.length == 0)\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(Object(_shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"default\"])());\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"zip\"])(..._entries.map(entry => entry[1].observable))\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(emissions => _shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"Emission\"].from(emissions, _entries.reduce((_map, entry, index) => {\n _map[entry[0]] = emissions[index].value;\n return _map;\n }, {}))));\n }\n else if (inbound.length == 0)\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(Object(_shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(this.val));\n else {\n let _zipped = Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"zip\"])(...inbound.map(pin => pin.observable));\n if (this.val !== _UNSET)\n return _zipped.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(emissions => _shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"Emission\"].from(emissions, this.val)));\n else\n return _zipped.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(emissions => _shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"Emission\"].from(emissions)));\n }\n ;\n }\n}\n/**\n *\n * Creates a [control](https://connective.dev/docs/control) pin.\n *\n * @param val if provided, the control pin will emit the given value when\n * all pins connected to it emit, otherwise it will emit the array concatenation\n * of received values. If no pins are connected to it, then it will emit the value\n * to any subscriber (or to any pin that this pin is connected to, when a subscription\n * is called somwhere down the chain).\n *\n * If a `PinMap` is given as the value, then after resolution, the control will be\n * connected to all \"realised\" pins of the given pinmap.\n *\n */\nfunction control(val) { return new Control(val); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (control);\n//# sourceMappingURL=control.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/group-subscription.js": -/*!****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/group-subscription.js ***! - \****************************************************************************************/ -/*! exports provided: GroupObservableError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GroupObservableError\", function() { return GroupObservableError; });\n/**\n *\n * This error is thrown when you access `.observable` on a [group](https://connective.dev/docs/group),\n * since a group does not have an underlying observable.\n *\n */\nclass GroupObservableError extends Error {\n constructor() {\n super('A group of pins does not have an observable.');\n }\n}\n//# sourceMappingURL=group-subscription.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/group-subscription.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/locked.error.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/locked.error.js ***! - \**********************************************************************************/ -/*! exports provided: PinLockedError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PinLockedError\", function() { return PinLockedError; });\n/**\n *\n * This error is thrown when you connect a pin to a locked pin.\n * [Read this](https://connective.dev/docs/pin#subscribing-and-binding)\n * for more information on when a pin is locked.\n *\n */\nclass PinLockedError extends Error {\n constructor() {\n super(`Attempted to modify pin after it was locked.\nCheck the following link for more info:\nhttps://connective.dev/docs/pin#subscribing-and-binding`);\n }\n}\n//# sourceMappingURL=locked.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/locked.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/unresolved-observable.error.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/unresolved-observable.error.js ***! - \*************************************************************************************************/ -/*! exports provided: UnresolvedPinObservableError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UnresolvedPinObservableError\", function() { return UnresolvedPinObservableError; });\n/**\n *\n * This is thrown when the underlying observable of a pin could not\n * be resolved. This typically indicates a problematic custom pin type.\n *\n */\nclass UnresolvedPinObservableError extends Error {\n constructor() {\n super('Unresolved pin observable.');\n }\n}\n//# sourceMappingURL=unresolved-observable.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/unresolved-observable.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js ***! - \*********************************************************************/ -/*! exports provided: Filter, filter, block, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Filter\", function() { return Filter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return filter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"block\", function() { return block; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/errors/emission-error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/errors/emission-error.js\");\n/* harmony import */ var _pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n\n\n\n\n/**\n *\n * Represents [filter](https://connective.dev/docs/filter) pins.\n *\n */\nclass Filter extends _pipe__WEBPACK_IMPORTED_MODULE_3__[\"Pipe\"] {\n constructor(_func) {\n super((_func.length <= 1) ?\n ([Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(emission => {\n try {\n return _func(emission.value);\n }\n catch (error) {\n throw new _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_2__[\"EmissionError\"](error, emission);\n }\n })]) :\n ([\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mergeMap\"])(emission => new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n _func(emission.value, (res) => {\n subscriber.next(res);\n subscriber.complete();\n }, (error) => {\n subscriber.error(new _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_2__[\"EmissionError\"](error, emission));\n }, emission.context);\n })\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(_ => !!_), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(_ => emission))),\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"share\"])()\n ]));\n this.filter = _func;\n }\n}\n/**\n *\n * Creates a [filter](https://connective.dev/docs/filter) pin using given predicate.\n * A filter pin will pass some values through and not others based on given predicate.\n * [Checkout the docs](https://connective.dev/docs/filter) for examples and further information.\n *\n * @param filter\n *\n */\nfunction filter(filter) { return new Filter(filter); }\n/**\n *\n * Creates a [filter](https://connective.dev/docs/filter) that never allows any value through.\n *\n */\nfunction block() { return new Filter(() => false); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (filter);\n//# sourceMappingURL=filter.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/fork.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/fork.js ***! - \*******************************************************************/ -/*! exports provided: Fork, fork, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Fork\", function() { return Fork; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fork\", function() { return fork; });\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _util_random_tag__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/random-tag */ \"./.codedoc/node_modules/@connectv/core/dist/es6/util/random-tag.js\");\n/* harmony import */ var _pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n\n\n\n\nconst _DefaultForkTagLength = 10;\n/**\n *\n * Represents [fork](https://connective.dev/docs/fork) pins.\n *\n */\nclass Fork extends _pipe__WEBPACK_IMPORTED_MODULE_3__[\"Pipe\"] {\n constructor(len = _DefaultForkTagLength) {\n super([\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(e => {\n let __fork = [].concat(e.context.__fork || []);\n __fork.push(Fork._create_fork_tag(len));\n return Object(_shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(e.value, Object.assign({}, e.context, { __fork }));\n }),\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"share\"])(),\n ]);\n }\n static _create_fork_tag(len = _DefaultForkTagLength) {\n return Object(_util_random_tag__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(len);\n }\n}\n/**\n *\n * Creates a [fork](https://connective.dev/docs/fork) pin.\n * [Checkout the docs](https://connective.dev/docs/fork) for examples and further information.\n *\n * @param len the length of the fork-tag that will be added to the context of each emission.\n *\n */\nfunction fork(len = _DefaultForkTagLength) { return new Fork(len); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (fork);\n//# sourceMappingURL=fork.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/fork.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js ***! - \********************************************************************/ -/*! exports provided: Group, group, traverseTo, traverseFrom, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Group\", function() { return Group; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"group\", function() { return group; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"traverseTo\", function() { return traverseTo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"traverseFrom\", function() { return traverseFrom; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_bindable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/bindable */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/bindable.js\");\n/* harmony import */ var _errors_group_subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./errors/group-subscription */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/group-subscription.js\");\n/* harmony import */ var _partial_flow__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./partial-flow */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/partial-flow.js\");\n\n\n\n\n/**\n *\n * Represents [groups of pins](https://connective.dev/docs/group).\n *\n */\nclass Group {\n constructor(pins) {\n this.pins = pins;\n }\n /**\n *\n * @warning accessing this will result in an error since groups do not have\n * underlying observables of their own.\n *\n */\n get observable() {\n throw new _errors_group_subscription__WEBPACK_IMPORTED_MODULE_2__[\"GroupObservableError\"]();\n }\n /**\n *\n * Connects all given pins to all pins in this group, so\n * `group(c, d).from(a, b)` means both `a` and `b` will be connected\n * to both `c` and `d`.\n *\n * If any `PartialFlow` is among given pins, all of the exit pins of the partial flow will be\n * connected to all of the pins of this group\n * (read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection)).\n *\n * @param pins pins to be connected to pins of this group\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its entry pins will be added to the group.\n *\n */\n from(...pins) {\n pins.forEach(pin => this.pins.forEach(p => p.from(pin)));\n return traverseFrom(...pins);\n }\n /**\n *\n * Connects all pins of this group to all of the given pins, so\n * `group(a, b).to(c, d)` means both `a` and `b` will be connected to\n * both `c` and `d`.\n *\n * If any `PartialFlow` is among the given pins, all pins of the group will be connected to all of\n * its entry pins (read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection)).\n *\n * @param pins the pins to connect pins of this group to\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its exit pins added to the group.\n *\n */\n to(...pins) {\n pins.forEach(pin => this.pins.forEach(p => p.to(pin)));\n return traverseTo(...pins);\n }\n /**\n *\n * Connects given pins serially to pins of this group, i.e. the first to the first,\n * second to the second, etc. If any `PartialFlow` is among the given pins, then\n * its exit pins will be connected serially to pins of this group\n * (read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection)).\n * If a mixture of `PartialFlow`s and normal pins are given, the normal pins will\n * be connected to pins of this group serially without counting the partial flows, and the\n * partial flows will each be connected to pins of this group as described.\n *\n * @param pins pins to be connected to pins of this group serially.\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its entry pins will be added to the group.\n *\n */\n serialFrom(...pins) {\n pins.filter(pin => pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"]).forEach(flow => {\n for (let i = 0; i < Math.min(this.pins.length, flow.exits.pins.length); i++)\n this.pins[i].from(flow.exits.pins[i]);\n });\n let purePins = pins.filter(p => !(p instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"]));\n for (let i = 0; i < Math.min(this.pins.length, purePins.length); i++)\n this.pins[i].from(purePins[i]);\n return traverseFrom(...pins);\n }\n /**\n *\n * Connects pins of this group serially to given pins, i.e. first to the first,\n * second to the second, etc. If any `PartialFlow` is among the given pins, pins of\n * this group will be connected serially to its entries\n * (read more about partial flows [here](https://connective.dev/docs/agent#implicit-connection)).\n * If a mixture of `PartialFlow`s and normal pins are given, pins of this group will\n * be connected to the normal pins serially without counting the partial flows, and they\n * will be connected to the partial flows as described.\n *\n * @param pins pins that pins of this group should connect to serially.\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its exit pins added to the group.\n *\n */\n serialTo(...pins) {\n pins.filter(pin => pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"]).forEach(flow => {\n for (let i = 0; i < Math.min(this.pins.length, flow.entries.pins.length); i++)\n this.pins[i].to(flow.entries.pins[i]);\n });\n let purePins = pins.filter(p => !(p instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"]));\n for (let i = 0; i < Math.min(this.pins.length, purePins.length); i++)\n this.pins[i].to(purePins[i]);\n return traverseTo(...pins);\n }\n /**\n *\n * Calls `.clear()` on all pins of the group\n *\n */\n clear() {\n this.pins.forEach(pin => pin.clear());\n return this;\n }\n /**\n *\n * Calls `.bind()` on all pins of the group\n *\n */\n bind() {\n this.pins.forEach(pin => {\n if (Object(_shared_bindable__WEBPACK_IMPORTED_MODULE_1__[\"isBindable\"])(pin))\n pin.bind();\n });\n return this;\n }\n /**\n *\n * Subscribes given observer (or callback functions) to all pins of the group.\n *\n * @returns a composite subscription holding all of the subscriptions made.\n *\n */\n subscribe(_, __, ___) {\n return this.pins.reduce((sub, pin) => {\n sub.add(pin.subscribe(_, __, ___));\n return sub;\n }, new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]());\n }\n}\n/**\n *\n * Creates a [group of pins](https://connective.dev/docs/group) based on given pins.\n *\n * @param pins\n *\n */\nfunction group(...pins) { return new Group(pins); }\n/**\n *\n * Determines which pins should be considered if in a connection chain\n * we are connecting to the given pins. This is typically a `Group` consisting\n * of given pins, but if any `PartialFlow`s are among them, their exit pins are\n * added to the group instead.\n *\n * @param pins\n *\n */\nfunction traverseTo(...pins) {\n if (pins.length == 1) {\n let pin = pins[0];\n if (pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"])\n return pin.exits;\n else\n return pin;\n }\n else\n return group(...pins.reduce((all, pin) => {\n if (pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"])\n return all.concat(pin.exits.pins);\n else\n return all.concat([pin]);\n }, []));\n}\n/**\n *\n * Determines which pins should be considered if in a connection chain\n * we are connecting from the given pins. This is typically a `Group` consisting\n * of given pins, but if any `PartialFlow`s are among them, their entry pins are\n * added to the group instead.\n *\n * @param pins\n *\n */\nfunction traverseFrom(...pins) {\n if (pins.length == 1) {\n let pin = pins[0];\n if (pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"])\n return pin.entries;\n else\n return pin;\n }\n else\n return group(...pins.reduce((all, pin) => {\n if (pin instanceof _partial_flow__WEBPACK_IMPORTED_MODULE_3__[\"PartialFlow\"])\n return all.concat(pin.entries.pins);\n else\n return all.concat([pin]);\n }, []));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (group);\n//# sourceMappingURL=group.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/index.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/index.js ***! - \********************************************************************/ -/*! exports provided: control, filter, group, map, pack, pin, pipe, sink, fork, source, spread, reduce, value, wrap, block, Control, Filter, Group, Map, Pack, Pin, Pipe, Sink, Fork, Source, Spread, Reduce, isPinLike, PinMap, Connectible, partialFlow, PartialFlow, GroupObservableError, PinLockedError, UnresolvedPinObservableError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _control__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./control */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"control\", function() { return _control__WEBPACK_IMPORTED_MODULE_0__[\"control\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Control\", function() { return _control__WEBPACK_IMPORTED_MODULE_0__[\"Control\"]; });\n\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/filter.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return _filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"block\", function() { return _filter__WEBPACK_IMPORTED_MODULE_1__[\"block\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Filter\", function() { return _filter__WEBPACK_IMPORTED_MODULE_1__[\"Filter\"]; });\n\n/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"group\", function() { return _group__WEBPACK_IMPORTED_MODULE_2__[\"group\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Group\", function() { return _group__WEBPACK_IMPORTED_MODULE_2__[\"Group\"]; });\n\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return _map__WEBPACK_IMPORTED_MODULE_3__[\"map\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Map\", function() { return _map__WEBPACK_IMPORTED_MODULE_3__[\"Map\"]; });\n\n/* harmony import */ var _pack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pack */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pack.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pack\", function() { return _pack__WEBPACK_IMPORTED_MODULE_4__[\"pack\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Pack\", function() { return _pack__WEBPACK_IMPORTED_MODULE_4__[\"Pack\"]; });\n\n/* harmony import */ var _pin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pin\", function() { return _pin__WEBPACK_IMPORTED_MODULE_5__[\"pin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Pin\", function() { return _pin__WEBPACK_IMPORTED_MODULE_5__[\"Pin\"]; });\n\n/* harmony import */ var _pipe__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pipe\", function() { return _pipe__WEBPACK_IMPORTED_MODULE_6__[\"pipe\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Pipe\", function() { return _pipe__WEBPACK_IMPORTED_MODULE_6__[\"Pipe\"]; });\n\n/* harmony import */ var _sink__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./sink */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/sink.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sink\", function() { return _sink__WEBPACK_IMPORTED_MODULE_7__[\"sink\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Sink\", function() { return _sink__WEBPACK_IMPORTED_MODULE_7__[\"Sink\"]; });\n\n/* harmony import */ var _fork__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./fork */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/fork.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"fork\", function() { return _fork__WEBPACK_IMPORTED_MODULE_8__[\"fork\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Fork\", function() { return _fork__WEBPACK_IMPORTED_MODULE_8__[\"Fork\"]; });\n\n/* harmony import */ var _source__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./source */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"source\", function() { return _source__WEBPACK_IMPORTED_MODULE_9__[\"source\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Source\", function() { return _source__WEBPACK_IMPORTED_MODULE_9__[\"Source\"]; });\n\n/* harmony import */ var _reduce__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./reduce */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/reduce.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return _reduce__WEBPACK_IMPORTED_MODULE_10__[\"reduce\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Reduce\", function() { return _reduce__WEBPACK_IMPORTED_MODULE_10__[\"Reduce\"]; });\n\n/* harmony import */ var _spread__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./spread */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/spread.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"spread\", function() { return _spread__WEBPACK_IMPORTED_MODULE_11__[\"spread\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Spread\", function() { return _spread__WEBPACK_IMPORTED_MODULE_11__[\"Spread\"]; });\n\n/* harmony import */ var _value__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./value */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/value.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"value\", function() { return _value__WEBPACK_IMPORTED_MODULE_12__[\"value\"]; });\n\n/* harmony import */ var _wrap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./wrap */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/wrap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"wrap\", function() { return _wrap__WEBPACK_IMPORTED_MODULE_13__[\"wrap\"]; });\n\n/* harmony import */ var _pin_like__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./pin-like */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-like.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPinLike\", function() { return _pin_like__WEBPACK_IMPORTED_MODULE_14__[\"isPinLike\"]; });\n\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./pin-map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-map.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinMap\", function() { return _pin_map__WEBPACK_IMPORTED_MODULE_15__[\"PinMap\"]; });\n\n/* harmony import */ var _connectible__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./connectible */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/connectible.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Connectible\", function() { return _connectible__WEBPACK_IMPORTED_MODULE_16__[\"Connectible\"]; });\n\n/* harmony import */ var _partial_flow__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./partial-flow */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/partial-flow.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"partialFlow\", function() { return _partial_flow__WEBPACK_IMPORTED_MODULE_17__[\"partialFlow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PartialFlow\", function() { return _partial_flow__WEBPACK_IMPORTED_MODULE_17__[\"PartialFlow\"]; });\n\n/* harmony import */ var _errors_group_subscription__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./errors/group-subscription */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/group-subscription.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GroupObservableError\", function() { return _errors_group_subscription__WEBPACK_IMPORTED_MODULE_18__[\"GroupObservableError\"]; });\n\n/* harmony import */ var _errors_locked_error__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./errors/locked.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/locked.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinLockedError\", function() { return _errors_locked_error__WEBPACK_IMPORTED_MODULE_19__[\"PinLockedError\"]; });\n\n/* harmony import */ var _errors_unresolved_observable_error__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./errors/unresolved-observable.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/unresolved-observable.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnresolvedPinObservableError\", function() { return _errors_unresolved_observable_error__WEBPACK_IMPORTED_MODULE_20__[\"UnresolvedPinObservableError\"]; });\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js": -/*!******************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js ***! - \******************************************************************/ -/*! exports provided: Map, map, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Map\", function() { return Map; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return map; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/errors/emission-error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/errors/emission-error.js\");\n/* harmony import */ var _pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n\n\n\n\n/**\n *\n * Represents [map](https://connective.dev/docs/map) pins.\n *\n */\nclass Map extends _pipe__WEBPACK_IMPORTED_MODULE_3__[\"Pipe\"] {\n constructor(_func) {\n super((_func.length <= 1) ?\n ([Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(emission => {\n try {\n return emission.fork(_func(emission.value));\n }\n catch (error) {\n throw new _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_2__[\"EmissionError\"](error, emission);\n }\n })]) :\n ([\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mergeMap\"])(emission => new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n _func(emission.value, (res) => {\n subscriber.next(emission.fork(res));\n subscriber.complete();\n }, (error) => {\n subscriber.error(new _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_2__[\"EmissionError\"](error, emission));\n }, emission.context);\n })),\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"share\"])()\n ]));\n this.map = _func;\n }\n}\n/**\n *\n * Creates a [map](https://connective.dev/docs/map) pin using given transformation.\n * A map pin will transform incoming values based on given transformation.\n * [Checkout the docs](https://connective.dev/docs/map) for examples and further information.\n *\n * @param map\n *\n */\nfunction map(map) { return new Map(map); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (map);\n//# sourceMappingURL=map.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/map.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/pack.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/pack.js ***! - \*******************************************************************/ -/*! exports provided: Pack, pack, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Pack\", function() { return Pack; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pack\", function() { return pack; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n/* harmony import */ var _pin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n/* harmony import */ var _pin_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./pin-map */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-map.js\");\n\n\n\n\n\n\n/**\n *\n * Represents [pack](https://connective.dev/docs/pack) pins.\n *\n */\nclass Pack extends _pin__WEBPACK_IMPORTED_MODULE_4__[\"Pin\"] {\n constructor(pinmap) {\n super();\n this.pinmap = pinmap;\n if (pinmap)\n this.track(pinmap.subscribe((_, pin) => pin.to(this)));\n }\n /**\n *\n * Resolves the underlying observable by\n * [combining the latest values](https://rxjs-dev.firebaseapp.com/api/index/function/combineLatest)\n * from corresponding observables of inbound pins.\n *\n * If a `PinMap` is passed to the constructor, it will instead resolve\n * by combining the latest values from instantiated pins of the passed `PinMap`.\n *\n * @param inbound\n *\n */\n resolve(inbound) {\n if (this.pinmap) {\n let _entries = this.pinmap.entries;\n if (_entries.length == 0)\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(Object(_shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"default\"])());\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"combineLatest\"])(..._entries.map(entry => entry[1].observable))\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(emissions => _shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"Emission\"].from(emissions, _entries.reduce((_map, entry, index) => {\n _map[entry[0]] = emissions[index].value;\n return _map;\n }, {}))));\n }\n else\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"combineLatest\"])(...inbound\n .map(pin => pin.observable))\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(emissions => _shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"Emission\"].from(emissions)));\n }\n}\n/**\n *\n * Creates a [pack](https://connective.dev/docs/pack) pin.\n *\n * @param stuff If passed, the pin will be connected to all given pins.\n * If any of the stuff is a `PinMap` instead of a `Pin`, then upon resolution\n * the pack will be connected to all of its realized pins.\n *\n */\nfunction pack(...stuff) {\n let _mapped = stuff.map(each => (each instanceof _pin_map__WEBPACK_IMPORTED_MODULE_5__[\"PinMap\"]) ? new Pack(each) : each);\n if (_mapped.length == 0)\n return new Pack();\n if (_mapped.length == 1)\n return (_mapped[0] instanceof Pack) ? _mapped[0] : _mapped[0].to(new Pack());\n return Object(_group__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(..._mapped).to(new Pack());\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (pack);\n//# sourceMappingURL=pack.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/pack.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/partial-flow.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/partial-flow.js ***! - \***************************************************************************/ -/*! exports provided: PartialFlow, partialFlow, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PartialFlow\", function() { return PartialFlow; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"partialFlow\", function() { return partialFlow; });\n/* harmony import */ var _shared_tracker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shared/tracker */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/tracker.js\");\n/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./group */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/group.js\");\n\n\n//\n// TODO: write tests for this.\n// TODO: make Agent inherit this, but default throwing error when used like this.\n// TODO: make common agent types act as proper partial flows.\n//\n/**\n *\n * Represents a partial reactive flow, with some entry pins going into it\n * and some exit pins coming out of it.\n *\n */\nclass PartialFlow extends _shared_tracker__WEBPACK_IMPORTED_MODULE_0__[\"Tracker\"] {\n /**\n *\n * Connects all given pins to all of its entry pins\n *\n * @param pins\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its entry pins will be added to the group.\n *\n */\n from(...pins) {\n return this.entries.from(...pins);\n }\n /**\n *\n * Connects all of its exit pins to given pins\n *\n * @param pins\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its exit pins added to the group.\n *\n */\n to(...pins) {\n return this.exits.to(...pins);\n }\n /**\n *\n * Connects all given pins serially to its entry pins\n *\n * @param pins\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its entry pins will be added to the group.\n *\n */\n serialFrom(...pins) {\n return this.entries.serialFrom(...pins);\n }\n /**\n *\n * Connects all of its exit pins to given pins\n *\n * @param pins\n * @returns a [group](https://connective.dev/docs/group) of the given pins. If any `PartialFlow`\n * was among the given pins, its exit pins added to the group.\n *\n */\n serialTo(...pins) {\n return this.exits.serialTo(...pins);\n }\n get observable() {\n return this.exits.observable;\n }\n /**\n *\n * Subscribes to all of its exit pins. Returns a composite subscription of\n * all created subscriptions.\n *\n */\n subscribe(_, __, ___) {\n return this.exits.subscribe(_, __, ___);\n }\n}\nclass InlineFlow extends PartialFlow {\n constructor(factory) {\n super();\n this.factory = factory;\n let [entries, exits] = factory();\n this.entries = (entries instanceof _group__WEBPACK_IMPORTED_MODULE_1__[\"Group\"]) ? entries : Object(_group__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(...entries);\n this.exits = (exits instanceof _group__WEBPACK_IMPORTED_MODULE_1__[\"Group\"]) ? exits : Object(_group__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(...exits);\n }\n}\n/**\n *\n * Creates a partial flow, using the given factory function. The factory function\n * should return either a [`group`](https://connective.dev/docs/group) or an array\n * of [pins](https://connective.dev/docs/pin) for inputs, and a group or an array of pins\n * for outputs, in array format itself (first object being the inputs, second the outputs).\n *\n * @param factory\n *\n */\nfunction partialFlow(factory) { return new InlineFlow(factory); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (partialFlow);\n//# sourceMappingURL=partial-flow.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/partial-flow.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-like.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-like.js ***! - \***********************************************************************/ -/*! exports provided: isPinLike */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPinLike\", function() { return isPinLike; });\n/**\n *\n * Checks if a given object satisfies the `PinLike` interface\n *\n * @param whatever\n *\n */\nfunction isPinLike(whatever) {\n return whatever !== undefined && (typeof whatever.from == 'function') && (typeof whatever.to == 'function')\n && 'observable' in whatever\n && (typeof whatever.subscribe == 'function');\n}\n//# sourceMappingURL=pin-like.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-like.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-map.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-map.js ***! - \**********************************************************************/ -/*! exports provided: PinMap */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PinMap\", function() { return PinMap; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_tracker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/tracker */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/tracker.js\");\n/* harmony import */ var _pin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n\n\n\n/**\n *\n * Represents a map of labelled pins. The labelled pins are created\n * first time they are requested, allowing for possibly huge\n * maps without high memory cost.\n *\n */\nclass PinMap extends _shared_tracker__WEBPACK_IMPORTED_MODULE_1__[\"Tracker\"] {\n /**\n *\n * @param factory will be used to create each new pin.\n *\n */\n constructor(factory = () => new _pin__WEBPACK_IMPORTED_MODULE_2__[\"Pin\"]()) {\n super();\n this.factory = factory;\n this._pins = {};\n }\n /**\n *\n * Fetches the pin with the given label, and create it if not\n * created already.\n *\n * @param label\n *\n */\n get(label) {\n if (!(label in this._pins)) {\n let _pin = this.factory(label);\n this._pins[label] = _pin;\n if (this._subject)\n this._subject.next([label, _pin]);\n return _pin;\n }\n return this._pins[label];\n }\n /**\n *\n * Checks if a pin with given label is created, without\n * creating the pin.\n *\n * @param label\n *\n */\n instantiated(label) {\n return label in this._pins;\n }\n /**\n *\n * @returns an array of all created pins.\n *\n */\n get pins() {\n return Object.values(this._pins);\n }\n /**\n *\n * @returns an entry list (pairs of `[string, Pin]`) of created pins.\n *\n */\n get entries() {\n return Object.entries(this._pins);\n }\n /**\n *\n * Subscribes to the event of creation of a new pin. The subscriber function\n * will also be invoked on all of the already created pairs.\n *\n * @param subscriber\n * @returns a [`Subscription`](https://rxjs-dev.firebaseapp.com/guide/subscription) object\n * that you can later unsubscribe from using `.unsubscribe()`\n *\n */\n subscribe(subscriber) {\n if (!this._subject)\n this._subject = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n this.entries.forEach(entry => subscriber(...entry));\n return this.track(this._subject.subscribe(entry => subscriber(...entry)));\n }\n /**\n *\n * Clears all the created pins and remove references to them,\n * also will remove all subscriptions.\n *\n */\n clear() {\n this.pins.forEach(pin => pin.clear());\n this._pins = {};\n if (this._subject) {\n this._subject.complete();\n this._subject = undefined;\n }\n return super.clear();\n }\n}\n//# sourceMappingURL=pin-map.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin-map.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js": -/*!******************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js ***! - \******************************************************************/ -/*! exports provided: Pin, pin, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Pin\", function() { return Pin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pin\", function() { return pin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _connectible__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./connectible */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/connectible.js\");\n\n\n/**\n *\n * Represents the basic [pin](https://connective.dev/docs/pin) object.\n * This pin type gets locked when its observable is realized,\n * will resolve only when its observable is not realized and its resolution\n * will be merged observable of all of the incoming pins' observables.\n *\n */\nclass Pin extends _connectible__WEBPACK_IMPORTED_MODULE_1__[\"Connectible\"] {\n /**\n *\n * Determines if this pin is locked, based on whether or not its underlying\n * observable has been resolved or not.\n *\n * @param observable\n *\n */\n isLocked(observable) {\n return observable !== undefined;\n }\n /**\n *\n * Determines whether this pin should resolve its underlying observable,\n * based on whether or not its underlying observable has been resolved or not.\n *\n * @param _\n * @param observable\n *\n */\n shouldResolve(_, observable) {\n return observable === undefined;\n }\n /**\n *\n * Resolves its underlying observable, by\n * [mergeing](https://rxjs-dev.firebaseapp.com/api/index/function/merge)\n * corresponding observables of inbound pins.\n *\n * @param inbound\n *\n */\n resolve(inbound) {\n return (inbound.length == 1) ?\n inbound[0].observable :\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"merge\"])(...inbound.map(pin => pin.observable));\n }\n}\n/**\n *\n * Creates a typical [pin](https://connective.dev/docs/pin) object.\n * [Checkout the docs](https://connective.dev/docs/pin) for examples and further information.\n *\n */\nfunction pin() { return new Pin(); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (pin);\n//# sourceMappingURL=pin.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js ***! - \*******************************************************************/ -/*! exports provided: Pipe, pipe, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Pipe\", function() { return Pipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pipe\", function() { return pipe; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _pin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pin */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pin.js\");\n\n\n/**\n *\n * Represents [pipe](https://connective.dev/docs/pipe) pins.\n *\n */\nclass Pipe extends _pin__WEBPACK_IMPORTED_MODULE_1__[\"Pin\"] {\n constructor(pipes) {\n super();\n this.pipes = pipes;\n }\n /**\n *\n * Resolves the underling observable of the pin, by\n * [mergeing](https://rxjs-dev.firebaseapp.com/api/index/function/merge)\n * observables of inbound pins and piping them through specified\n * [pipeable operators](https://github.com/ReactiveX/rxjs/blob/master/doc/pipeable-operators.md).\n *\n * @param inbound\n *\n */\n resolve(inbound) {\n return this.pipes.reduce((observable, pipe) => observable.pipe(pipe), (inbound.length == 1) ?\n inbound[0].observable :\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"merge\"])(...inbound.map(pin => pin.observable)));\n }\n}\n/**\n *\n * Creates a [pipe](https://connective.dev/docs/pipe) pin using given pipe functions.\n * You can utilize this to use RxJS's pipeable operators in CONNECTIVE flows.\n * [Checkout the docs](https://connective.dev/docs/pipe) for examples and further information.\n *\n * @param pipes\n *\n */\nfunction pipe(...pipes) { return new Pipe(pipes); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (pipe);\n//# sourceMappingURL=pipe.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/reduce.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/reduce.js ***! - \*********************************************************************/ -/*! exports provided: Reduce, reduce, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Reduce\", function() { return Reduce; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return reduce; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../shared/errors/emission-error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/errors/emission-error.js\");\n/* harmony import */ var _pipe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n\n\n\n\n\nconst _Unset = {};\n//\n// TODO: switch to concat map for async reducers\n//\n/**\n *\n * Represents [reduce](https://connective.dev/docs/reduce) pins.\n *\n */\nclass Reduce extends _pipe__WEBPACK_IMPORTED_MODULE_4__[\"Pipe\"] {\n /**\n *\n * @param reduce is the reduction function\n * @param start is the start value\n *\n */\n constructor(reduce, start = _Unset) {\n super((reduce.length <= 2) ?\n ([Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])((emission) => {\n if (!this._acc) {\n this._acc = this._init(emission, start);\n if (start === _Unset)\n return this._acc;\n }\n this._acc = _shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"Emission\"].from([this._acc, emission], reduce(this._acc.value, emission.value));\n return this._acc;\n })]) :\n ([\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mergeMap\"])(emission => new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n if (!this._acc) {\n this._acc = this._init(emission, start);\n if (start === _Unset) {\n subscriber.next(this._acc);\n subscriber.complete();\n return;\n }\n }\n reduce(this._acc.value, emission.value, (res) => {\n this._acc = _shared_emission__WEBPACK_IMPORTED_MODULE_2__[\"Emission\"].from([this._acc, emission], res);\n subscriber.next(this._acc);\n subscriber.complete();\n }, (error) => {\n subscriber.error(new _shared_errors_emission_error__WEBPACK_IMPORTED_MODULE_3__[\"EmissionError\"](error, emission));\n }, emission.context, this._acc.context);\n })),\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"share\"])()\n ]));\n this.reduce = reduce;\n this.start = start;\n this._acc = undefined;\n }\n _init(emission, start) {\n if (start !== _Unset)\n return emission.fork(start);\n else\n return emission;\n }\n}\n/**\n *\n * Creates a [reduce](https://connective.dev/docs/reduce) pin.\n * A reduce pin can be used to aggregate values over multiple emissions, with an\n * aggregator function updating the aggregate value based on each incoming emission.\n * [Checkout the docs](https://connective.dev/docs/reduce) for examples and further information.\n *\n * @param reduce the reduction function\n * @param start the start value. If not provided, the value of first incoming emission will be used.\n *\n */\nfunction reduce(reduce, start = _Unset) { return new Reduce(reduce, start); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (reduce);\n//# sourceMappingURL=reduce.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/reduce.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/sink.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/sink.js ***! - \*******************************************************************/ -/*! exports provided: Sink, sink, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Sink\", function() { return Sink; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sink\", function() { return sink; });\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n\n\n/**\n *\n * Represents [sink](https://connective.dev/docs/sink) pins.\n *\n */\nclass Sink extends _pipe__WEBPACK_IMPORTED_MODULE_1__[\"Pipe\"] {\n constructor(func = () => { }) {\n super([Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"tap\"])((emission) => func(emission.value, emission.context))]);\n this.func = func;\n this._bound = false;\n }\n /**\n *\n * @returns `true` if this sink is already bound.\n *\n */\n get bound() { return this._bound; }\n /**\n *\n * Binds this sink if it is not already bound. Binding\n * Basically ensures that the pin is subscribed to and that its side-effect\n * will be enacted.\n *\n */\n bind() {\n if (!this._bound) {\n this._bound = true;\n this.track(this.subscribe());\n }\n return this;\n }\n}\n/**\n *\n * Creates a [sink](https://connective.dev/docs/sink) pin.\n * Sink pins can be used to do something with the data of a flow, outside the scope of the flow\n * (like logging them, etc).\n * [Checkout the docs](https://connective.dev/docs/sink) for examples and further information.\n *\n * @param func\n *\n */\nfunction sink(func) { return new Sink(func); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (sink);\n//# sourceMappingURL=sink.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/sink.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js ***! - \*********************************************************************/ -/*! exports provided: Source, source, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Source\", function() { return Source; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"source\", function() { return source; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _connectible__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./connectible */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/connectible.js\");\n\n\n\n/**\n *\n * Represents [source](https://connective.dev/docs/source) pins.\n *\n */\nclass Source extends _connectible__WEBPACK_IMPORTED_MODULE_2__[\"Connectible\"] {\n constructor(_subject = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]()) {\n super();\n this._subject = _subject;\n }\n /**\n *\n * This source will send given value, perhaps with given context.\n * Will create a new [emission](https://connective.dev/docs/emission) object.\n *\n * @param value the value to send\n * @param context the emission context\n *\n */\n send(value, context) {\n this.emit(Object(_shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(value, context));\n }\n /**\n *\n * Will emit the given emission object.\n *\n * @param emission\n *\n */\n emit(emission) {\n this._subject.next(emission);\n }\n /**\n *\n * @note this sends a complete notification through-out the flow.\n * Pins that are merely reliant on this source will also be unusable\n * afterwards.\n *\n */\n clear() {\n this._subject.complete();\n this._subject = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n return super.clear();\n }\n /**\n *\n * Determines if any pin is connected to this pin.\n *\n */\n isConnected() {\n return this.tracking || super.isConnected();\n }\n /**\n *\n * Resolves the underlying observable of this pin by subscribing the\n * subject of this pin to all inbound pins.\n *\n * @param inbound\n *\n */\n resolve(inbound) {\n inbound.forEach(pin => {\n this.track(pin.observable.subscribe(this._subject));\n });\n inbound.length = 0;\n return this._subject;\n }\n /**\n *\n * Determines whether this pin is locked. A source is never locked.\n *\n */\n isLocked() { return false; }\n /**\n *\n * Determines whether should resolve the underlying observable.\n *\n * @param inbound\n * @param observable\n *\n */\n shouldResolve(inbound, observable) {\n return inbound.length > 0 || !observable;\n }\n}\n/**\n *\n * Creates a [source](https://connective.dev/docs/source) pin.\n * A source pin can be used as the starting point of a reactive flow.\n * [Checkout the docs](https://connective.dev/docs/source) for examples and further information.\n *\n */\nfunction source(sub) { return new Source(sub); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (source);\n//# sourceMappingURL=source.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/source.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/spread.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/spread.js ***! - \*********************************************************************/ -/*! exports provided: Spread, spread, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Spread\", function() { return Spread; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"spread\", function() { return spread; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pipe */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/pipe.js\");\n\n\n\n/**\n *\n * Represents [spread](https://connective.dev/docs/spread) pins.\n *\n */\nclass Spread extends _pipe__WEBPACK_IMPORTED_MODULE_2__[\"Pipe\"] {\n constructor() {\n super([\n Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"mergeMap\"])(emission => (emission.value.map) ?\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"from\"])(emission.value.map((v) => emission.fork(v))) :\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(emission))\n ]);\n }\n}\n/**\n *\n * Creates a [spread](https://connective.dev/docs/spread) pin. A spread pin can be used\n * to spread contents of an array over multiple emissions.\n * [Checkout the docs](https://connective.dev/docs/spread) for examples and further information.\n *\n */\nfunction spread() { return new Spread(); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (spread);\n//# sourceMappingURL=spread.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/spread.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/value.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/value.js ***! - \********************************************************************/ -/*! exports provided: value, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"value\", function() { return value; });\n/* harmony import */ var _control__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./control */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/control.js\");\n\n/**\n *\n * Creates a [value](https://connective.dev/docs/value) pin. A value\n * pin will emit its value each time all connected pins emit, or emit it\n * per subscription when no pins are connected to it.\n * [Checkout the docs](https://connective.dev/docs/value) for examples and further information.\n *\n * @param val\n *\n */\nfunction value(val) { return Object(_control__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(val); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (value);\n//# sourceMappingURL=value.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/value.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/pin/wrap.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/pin/wrap.js ***! - \*******************************************************************/ -/*! exports provided: wrap, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"wrap\", function() { return wrap; });\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_emission__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony import */ var _errors_locked_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./errors/locked.error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/errors/locked.error.js\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./base */ \"./.codedoc/node_modules/@connectv/core/dist/es6/pin/base.js\");\n\n\n\n\n/**\n *\n * Represents [wrap](https://connective.dev/docs/wrap) pins.\n *\n */\nclass Wrapper extends _base__WEBPACK_IMPORTED_MODULE_3__[\"BasePin\"] {\n constructor(observable) {\n super();\n this.observable = observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(v => Object(_shared_emission__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(v)));\n }\n connect(_) {\n throw new _errors_locked_error__WEBPACK_IMPORTED_MODULE_2__[\"PinLockedError\"]();\n }\n}\n/**\n *\n * Creates a [wrap](https://connective.dev/docs/wrap) pin. A wrap pin\n * wraps a given observable so that it can be connected to other pins. Because\n * its observable is already realized, you cannot connect other pins to a wrap pin.\n * [Checkout the docs](https://connective.dev/docs/wrap) for examples and further information.\n *\n * @param observable\n *\n */\nfunction wrap(observable) { return new Wrapper(observable); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (wrap);\n//# sourceMappingURL=wrap.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/pin/wrap.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/shared/bindable.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/shared/bindable.js ***! - \**************************************************************************/ -/*! exports provided: isBindable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isBindable\", function() { return isBindable; });\n/**\n *\n * Checks if given object matches [Bindable](https://connective.dev/docs/interfaces#bindable) interface.\n * Basically checks if `.bind()` method exists.\n *\n * @param whatever\n * @return `true` if `any` is `Bindable`\n *\n */\nfunction isBindable(whatever) {\n return !!(whatever.bind) && typeof whatever.bind === 'function';\n}\n//# sourceMappingURL=bindable.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/shared/bindable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/shared/clearable.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/shared/clearable.js ***! - \***************************************************************************/ -/*! exports provided: isClearable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isClearable\", function() { return isClearable; });\n/**\n *\n * Checks if given object matches [Clearable](https://connective.dev/docs/interfaces#clearable) interface.\n * Basically checks if `.clear()` method exists.\n *\n * @param whatever\n * @return `true` if `any` is `Clerable`\n *\n */\nfunction isClearable(whatever) {\n return !!(whatever.clear) && typeof whatever.clear === 'function';\n}\n//# sourceMappingURL=clearable.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/shared/clearable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js ***! - \**************************************************************************/ -/*! exports provided: MergedEmissionContextVal, Emission, emission, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergedEmissionContextVal\", function() { return MergedEmissionContextVal; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Emission\", function() { return Emission; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"emission\", function() { return emission; });\n/**\n *\n * When the same key appears in multiple [emissions](https://connective.dev/docs/emission),\n * with conflicting values, when the emissions are merged, the corresponding values are\n * stored within an instance of `MergedEmissionContextVal`. You can read these values using\n * `.values` property:\n *\n * ```typescript\n * myFlow.observable.subscribe(emission => {\n * if (emission.context.someKey instanceof MergedEmissionContextVal)\n * emission.context.someKey.values.forEach(value => handle(value));\n * else\n * handle(emission.context.someKey);\n * });\n * ```\n *\n */\nclass MergedEmissionContextVal {\n constructor(values) {\n this.values = values;\n }\n}\nconst _Unset = {};\n/**\n *\n * Represents emissions passing through reactive flows.\n * mainly has a `.value` property, which is the value that this emission is wrapping,\n * and `.context` property, which is the context of the emission.\n *\n * [read more here](https://connective.dev/docs/emission).\n *\n */\nclass Emission {\n /**\n *\n * @param value the value of the emission\n * @param context the context of the emission\n *\n */\n constructor(value = undefined, context = {}) {\n this.value = value;\n this.context = context;\n }\n /**\n *\n * Will create a merged emission from given emissions.\n *\n * @param emissions the emissions to merge\n * @param value the value to set on the forked emission (by default will be an array of the merged emissions' values).\n *\n */\n static from(emissions, value = _Unset) {\n return new Emission((value === _Unset) ? (emissions.map(emission => emission.value)) : (value), emissions.reduce((ctx, emission) => {\n Object.entries(emission.context).forEach(([key, value]) => {\n if (key in ctx) {\n if (ctx[key] == value)\n return ctx;\n if (ctx[key] instanceof MergedEmissionContextVal) {\n if (value instanceof MergedEmissionContextVal) {\n ctx[key] = new MergedEmissionContextVal(ctx[key].values.concat(value.values.filter(v => !ctx[key].values.includes(v))));\n }\n else {\n if (!ctx[key].values.includes(value))\n ctx[key].values.push(value);\n }\n }\n else {\n if (value instanceof MergedEmissionContextVal) {\n if (value.values.includes(ctx[key]))\n ctx[key] = value;\n else\n ctx[key] = new MergedEmissionContextVal([ctx[key]].concat(value.values));\n }\n else\n ctx[key] = new MergedEmissionContextVal([ctx[key], value]);\n }\n }\n else\n ctx[key] = value;\n });\n return ctx;\n }, {}));\n }\n /**\n *\n * Creates a new `Emission` with the same context but the new value\n *\n * @param value\n *\n */\n fork(value) {\n return new Emission(value, this.context);\n }\n}\n/**\n *\n * Creates an emission with given value and context. You can feed this object to\n * your reactive flows using [`source()`](https://connective.dev/docs/source) for example:\n *\n * ```typescript\n * let a = source();\n * a.emit(emission(42, { reason: 'it is the ultimate answer' }));\n * ```\n *\n * @param value\n * @param context\n */\nfunction emission(value, context) {\n return new Emission(value, context);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (emission);\n//# sourceMappingURL=emission.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/shared/errors/emission-error.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/shared/errors/emission-error.js ***! - \***************************************************************************************/ -/*! exports provided: EmissionError, isEmissionError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmissionError\", function() { return EmissionError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isEmissionError\", function() { return isEmissionError; });\n/* harmony import */ var _emission__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n\n/**\n *\n * Represents when an error has occured during handling an emission.\n * You can retrieve the emission that resulted in the error via `.emission` property,\n * and you can retrieve the original error via `.original` property.\n *\n */\nclass EmissionError extends Error {\n constructor(original, emission) {\n super(original instanceof Error ? original.message : original);\n this.emission = emission;\n if (original instanceof Error)\n this.original = original;\n else\n this.original = new Error(original);\n }\n get message() { return this.original.message; }\n get stack() { return this.original.stack; }\n}\n/**\n *\n * Checks if an object is an `EmissionError` (this is needed due to some issues\n * with Typescript's typechecking on Errors).\n *\n */\nfunction isEmissionError(err) {\n return err instanceof Error &&\n err.original instanceof Error &&\n err.emission instanceof _emission__WEBPACK_IMPORTED_MODULE_0__[\"Emission\"];\n}\n//# sourceMappingURL=emission-error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/shared/errors/emission-error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/shared/index.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/shared/index.js ***! - \***********************************************************************/ -/*! exports provided: emission, Emission, MergedEmissionContextVal, isClearable, isBindable, EmissionError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _emission__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./emission */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/emission.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"emission\", function() { return _emission__WEBPACK_IMPORTED_MODULE_0__[\"emission\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Emission\", function() { return _emission__WEBPACK_IMPORTED_MODULE_0__[\"Emission\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MergedEmissionContextVal\", function() { return _emission__WEBPACK_IMPORTED_MODULE_0__[\"MergedEmissionContextVal\"]; });\n\n/* harmony import */ var _clearable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./clearable */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/clearable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isClearable\", function() { return _clearable__WEBPACK_IMPORTED_MODULE_1__[\"isClearable\"]; });\n\n/* harmony import */ var _bindable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bindable */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/bindable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isBindable\", function() { return _bindable__WEBPACK_IMPORTED_MODULE_2__[\"isBindable\"]; });\n\n/* harmony import */ var _errors_emission_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./errors/emission-error */ \"./.codedoc/node_modules/@connectv/core/dist/es6/shared/errors/emission-error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EmissionError\", function() { return _errors_emission_error__WEBPACK_IMPORTED_MODULE_3__[\"EmissionError\"]; });\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/shared/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/shared/tracker.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/shared/tracker.js ***! - \*************************************************************************/ -/*! exports provided: Tracker */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Tracker\", function() { return Tracker; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n\n/**\n *\n * A parent class for sub-classes who would want to track\n * some [`Subscription`s](https://rxjs-dev.firebaseapp.com/guide/subscription)\n * and clear them later.\n *\n */\nclass Tracker {\n /**\n *\n * Tracks given subscription, to clear it up later when\n * `.clear()` is called.\n *\n * @param sub\n * @returns the given subscription (for convenience).\n *\n */\n track(sub) {\n if (!this._sub) {\n this._sub = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n }\n this._sub.add(sub);\n return sub;\n }\n /**\n *\n * Untracks given subscription, removing it from subscriptions\n * it will clear up when `.clear()` is called. This is useful when you\n * clear up some subscriptions yourself before clearing the tracker object.\n *\n * @param sub\n *\n */\n untrack(sub) {\n if (this._sub)\n this._sub.remove(sub);\n return this;\n }\n /**\n *\n * @returns `true` if this tracker object was ever tracking anything.\n * @returns `true` even after you `.untrack()` everything.\n * @returns `false` after invoking `.clear()`.\n *\n */\n get tracking() { return !!this._sub; }\n /**\n *\n * Clears out all tracked subscriptions by unsibscribing them.\n * Also clears out all references to tracked subscriptions.\n *\n * @warning most tracker objects will become useless after calling `.clear()` on them,\n * so do not call this prematurely!\n *\n */\n clear() {\n if (this._sub) {\n this._sub.unsubscribe();\n this._sub = undefined;\n }\n return this;\n }\n}\n//# sourceMappingURL=tracker.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/shared/tracker.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/util/keyed-array-diff.js": -/*!********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/util/keyed-array-diff.js ***! - \********************************************************************************/ -/*! exports provided: diff */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"diff\", function() { return diff; });\nfunction diff(value, oldKeyMap, keyfunc) {\n const additions = [];\n const deletions = [];\n const moves = [];\n const newKeyMap = Object.entries(value).reduce((map, [index, item]) => {\n const _key = keyfunc(item);\n map[_key] = { index, item };\n if (!(_key in oldKeyMap))\n additions.push({ index, item });\n return map;\n }, {});\n Object.entries(oldKeyMap).forEach(([_key, entry]) => {\n if (!(_key in newKeyMap))\n deletions.push(entry);\n else {\n const _newEntry = newKeyMap[_key];\n if (_newEntry.index != entry.index)\n moves.push({\n oldIndex: entry.index,\n newIndex: _newEntry.index,\n item: entry.item\n });\n }\n });\n return {\n changes: { additions, deletions, moves },\n newKeyMap,\n };\n}\n//# sourceMappingURL=keyed-array-diff.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/util/keyed-array-diff.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/core/dist/es6/util/random-tag.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/core/dist/es6/util/random-tag.js ***! - \**************************************************************************/ -/*! exports provided: _DefaultRandomTagCharset, _DefaultRandomTagLength, createRandomTag, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_DefaultRandomTagCharset\", function() { return _DefaultRandomTagCharset; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_DefaultRandomTagLength\", function() { return _DefaultRandomTagLength; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createRandomTag\", function() { return createRandomTag; });\nconst _DefaultRandomTagCharset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_';\nconst _DefaultRandomTagLength = 10;\nfunction createRandomTag(len = _DefaultRandomTagLength, charset = _DefaultRandomTagCharset) {\n let res = '';\n for (let i = 0; i < len; i++)\n res += charset[Math.floor(Math.random() * charset.length)];\n return res;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (createRandomTag);\n//# sourceMappingURL=random-tag.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/core/dist/es6/util/random-tag.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/components/conditional.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/components/conditional.js ***! - \*********************************************************************************/ -/*! exports provided: Conditional */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Conditional\", function() { return Conditional; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _marker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./marker */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/marker.js\");\n/* harmony import */ var _util_scan__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/scan */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/util/scan.js\");\n\n\n\n\nfunction Conditional(props, renderer) {\n let start = renderer.create(_marker__WEBPACK_IMPORTED_MODULE_2__[\"Marker\"], null);\n let end = renderer.create(_marker__WEBPACK_IMPORTED_MODULE_2__[\"Marker\"], null);\n this.track.mark(start);\n let cond = (props.if instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]) ? Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"wrap\"])(props.if) : props.if;\n let latest;\n this.track(cond.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])((value) => {\n if (value !== latest) {\n latest = value;\n Object(_util_scan__WEBPACK_IMPORTED_MODULE_3__[\"scanRemove\"])(start, end);\n if (value)\n renderer.render(props.then()).after(start);\n else if (props.else)\n renderer.render(props.else()).after(start);\n }\n })));\n return renderer.create(\"fragment\", null,\n start,\n end);\n}\n//# sourceMappingURL=conditional.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/components/conditional.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/components/context.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/components/context.js ***! - \*****************************************************************************/ -/*! exports provided: Context */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Context\", function() { return Context; });\n/* harmony import */ var _shared_context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shared/context */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/context.js\");\n\nfunction Context(props, renderer, children) {\n let scope = renderer.create(\"marker\", null, children);\n Object(_shared_context__WEBPACK_IMPORTED_MODULE_0__[\"set\"])(scope, props);\n return scope;\n}\n//# sourceMappingURL=context.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/components/context.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/components/index.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/components/index.js ***! - \***************************************************************************/ -/*! exports provided: Conditional, List, Marker, Context */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _conditional__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./conditional */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/conditional.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Conditional\", function() { return _conditional__WEBPACK_IMPORTED_MODULE_0__[\"Conditional\"]; });\n\n/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./list */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/list.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"List\", function() { return _list__WEBPACK_IMPORTED_MODULE_1__[\"List\"]; });\n\n/* harmony import */ var _marker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./marker */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/marker.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Marker\", function() { return _marker__WEBPACK_IMPORTED_MODULE_2__[\"Marker\"]; });\n\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./context */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/context.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Context\", function() { return _context__WEBPACK_IMPORTED_MODULE_3__[\"Context\"]; });\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/components/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/components/keyed-list.js": -/*!********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/components/keyed-list.js ***! - \********************************************************************************/ -/*! exports provided: KeyedList */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KeyedList\", function() { return KeyedList; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _marker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./marker */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/marker.js\");\n/* harmony import */ var _util_scan__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/scan */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/util/scan.js\");\n\n\n\nfunction KeyedList(props, renderer) {\n let startMark = renderer.create(_marker__WEBPACK_IMPORTED_MODULE_1__[\"Marker\"], null);\n this.track.mark(startMark);\n let markers = [];\n let list;\n if (props.of instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyedDeep\"])\n list = props.of;\n else {\n let _props = props;\n if (_props.of instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"State\"])\n list = new _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyedDeep\"](_props.of, _props.key);\n else if (_props.of instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"SimpleDeep\"])\n list = new _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyedDeep\"](_props.of.state, _props.key);\n else {\n list = new _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyedDeep\"](new _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"State\"]([]), _props.key);\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(_props.of))\n _props.of.to(list);\n else\n Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"wrap\"])(_props.of).to(list);\n this.track(list);\n }\n }\n this.track({\n bind() {\n (list.value || []).forEach((entry) => {\n const key = list.keyfunc(entry);\n const prevMarker = markers[markers.length - 1] || startMark;\n const marker = renderer.create(_marker__WEBPACK_IMPORTED_MODULE_1__[\"Marker\"], null);\n markers.push(marker);\n renderer.render(renderer.create(\"fragment\", null,\n props.each(list.key(key), list.index(key)),\n marker)).after(prevMarker);\n });\n }\n });\n this.track(list.changes.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])((changes) => {\n if (changes.initial)\n return; // --> ignore the initial change\n const len = list.value.length;\n // STEP 1: create extra markers if need be\n if (len > markers.length) {\n for (let i = markers.length; i < len; i++) {\n let marker = renderer.create(_marker__WEBPACK_IMPORTED_MODULE_1__[\"Marker\"], null);\n renderer.render(marker).after(markers[i - 1] || startMark);\n markers.push(marker);\n }\n }\n // STEP 2: remove deletions (without removing their markers)\n changes.deletions.forEach(deletion => {\n let index = parseInt(deletion.index);\n let start = markers[index - 1] || startMark;\n let end = markers[index];\n Object(_util_scan__WEBPACK_IMPORTED_MODULE_2__[\"scanRemove\"])(start, end);\n });\n // STEP 3: move moved items\n let moveTargets = [];\n changes.moves.forEach(move => {\n let oldIndex = parseInt(move.oldIndex);\n let start = markers[oldIndex - 1] || startMark;\n let end = markers[oldIndex];\n moveTargets.push({ index: move.newIndex, nodes: Object(_util_scan__WEBPACK_IMPORTED_MODULE_2__[\"scanRemove\"])(start, end) });\n });\n moveTargets.forEach(target => {\n renderer.render(renderer.create(\"fragment\", null, target.nodes)).before(markers[target.index]);\n });\n // STEP 4: add additions\n changes.additions.forEach(addition => {\n let key = list.keyfunc(addition.item);\n renderer.render(props.each(list.key(key), list.index(key))).before(markers[addition.index]);\n });\n // STEP 5: remove extra markers if need be\n if (len < markers.length) {\n for (let i = len; i < markers.length; i++)\n markers[i].parentElement.removeChild(markers[i]);\n markers.length = len;\n }\n })));\n return renderer.create(\"fragment\", null, startMark);\n}\n//# sourceMappingURL=keyed-list.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/components/keyed-list.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/components/list.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/components/list.js ***! - \**************************************************************************/ -/*! exports provided: List */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"List\", function() { return List; });\n/* harmony import */ var _simple_list__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./simple-list */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/simple-list.js\");\n/* harmony import */ var _keyed_list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./keyed-list */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/keyed-list.js\");\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n\n\n\nfunction _isKeyedListPropWithKey(props) {\n return props.key;\n}\nfunction _isKeyedListPropWithoutKey(props) {\n return props.of instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"KeyedDeep\"];\n}\nfunction List(props, renderer) {\n if (_isKeyedListPropWithKey(props))\n return renderer.create(_keyed_list__WEBPACK_IMPORTED_MODULE_1__[\"KeyedList\"], { of: props.of, each: props.each, key: props.key });\n else if (_isKeyedListPropWithoutKey(props))\n return renderer.create(_keyed_list__WEBPACK_IMPORTED_MODULE_1__[\"KeyedList\"], { of: props.of, each: props.each });\n else\n return renderer.create(_simple_list__WEBPACK_IMPORTED_MODULE_0__[\"SimpleList\"], { of: props.of, each: props.each });\n}\n//# sourceMappingURL=list.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/components/list.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/components/marker.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/components/marker.js ***! - \****************************************************************************/ -/*! exports provided: Marker */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Marker\", function() { return Marker; });\nfunction Marker(_, renderer) {\n return renderer.create(\"marker\", { style: \"display: none\" });\n}\n//# sourceMappingURL=marker.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/components/marker.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/components/simple-list.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/components/simple-list.js ***! - \*********************************************************************************/ -/*! exports provided: SimpleList */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SimpleList\", function() { return SimpleList; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _marker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./marker */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/marker.js\");\n/* harmony import */ var _util_scan__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/scan */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/util/scan.js\");\n\n\n\nfunction SimpleList(props, renderer) {\n let startMark = renderer.create(_marker__WEBPACK_IMPORTED_MODULE_1__[\"Marker\"], null);\n this.track.mark(startMark);\n let markers = [];\n let list;\n if (props.of instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"SimpleDeep\"])\n list = props.of;\n else if (props.of instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"State\"])\n list = new _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"SimpleDeep\"](props.of);\n else {\n list = new _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"SimpleDeep\"](new _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"State\"]());\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(props.of))\n props.of.to(list);\n else\n Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"wrap\"])(props.of).to(list);\n this.track(list);\n }\n this.track(list.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(_list => {\n if (_list.length > markers.length) {\n let prevMark = markers[markers.length - 1] || startMark;\n for (let index = markers.length; index < _list.length; index++) {\n let marker = renderer.create(_marker__WEBPACK_IMPORTED_MODULE_1__[\"Marker\"], null);\n let sub = list.sub(index);\n renderer.render(renderer.create(\"fragment\", null,\n props.each(sub, Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"value\"])(index)),\n marker)).after(prevMark);\n prevMark = marker;\n markers.push(marker);\n }\n }\n else if (_list.length < markers.length) {\n let prevMark = markers[_list.length - 1] || startMark;\n for (let index = _list.length; index < markers.length; index++)\n Object(_util_scan__WEBPACK_IMPORTED_MODULE_2__[\"scanRemove\"])(prevMark, markers[index], {\n includeEnd: true\n });\n markers.length = _list.length;\n }\n })));\n return renderer.create(\"fragment\", null, startMark);\n}\n//# sourceMappingURL=simple-list.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/components/simple-list.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/components/util/scan.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/components/util/scan.js ***! - \*******************************************************************************/ -/*! exports provided: scanRemove */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"scanRemove\", function() { return scanRemove; });\nfunction scanRemove(start, end, options) {\n const opts = Object.assign({\n includeStart: false,\n includeEnd: false,\n }, options);\n let scanned = [];\n const _remscan = (n, cb = n => scanned.push(n)) => {\n n.parentElement.removeChild(n);\n if (opts.callback)\n opts.callback(n);\n cb(n);\n };\n let cursor = start;\n while ((cursor = start.nextSibling) && cursor != end)\n _remscan(cursor);\n if (opts.includeStart)\n _remscan(start, n => scanned = [n].concat(scanned));\n if (opts.includeEnd)\n _remscan(end);\n return scanned;\n}\n//# sourceMappingURL=scan.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/components/util/scan.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/index.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/index.js ***! - \****************************************************************/ -/*! exports provided: TYPINGS_IMPORTED, Renderer, ConnectiveRenderer, Component, RawRenderer, ExtensibleRenderer, Ref, ref, isCreatePlugin, isPostCreatePlugin, isPropertyPlugin, isAppendPlugin, isPostRenderPlugin, PluginPriority, EventHandlerPlugin, InnerHTMLPlugin, LifeCyclePlugin, ObjectValuePlugin, RefPlugin, StyledPlugin, styled, rxjsPlugins, ObservablePlugin, ObservableClassPlugin, ObservableObjectValuePlugin, ObservableInnerHTMLPlugin, SubjectEventHandlerPlugin, InputSubjectPlugin, CompInputSubjectPlugin, CompContextSubjectPlugin, CompOutputObservablePlugin, CompOutputObservableEventsPlugin, DefaultSubjectRecipientPlugin, CompInputSubject, trackable, Trackable, connectivePlugins, PinPlugin, PinClassPlugin, PinObjectValuePlugin, PinInnerHTMLPlugin, PinEventHandlerPlugin, InputStatePlugin, CompInputPinPlugin, CompContextPinPlugin, CompStateBindPlugin, CompStateTrackPlugin, CompOutputPinPlugin, CompOutputPinEventsPlugin, DefaultPinLikeRecipientPlugin, CompInputPin, ComponentInputMissingError, UnnamedComponentInputError, UnhandledComponentContextError, ComponentInputUnrecognizedError, ComponentOutputUnrecognizedError, isCompProcessPlugin, isCompIOPlugin, isCompPropPlugin, isCompContextPlugin, DefaultReactiveRecipientPlugin, isDefaultReactiveRecipientPlugin, CheckCompInputsPlugin, ComponentPlugin, ExposePlugin, CompStateIOPlugin, TrackPlugin, ContextPlugin, isCompClass, RawComponent, isCompInputWithOptions, UnsupportedChildError, UnsupportedPropError, UnsupportedTagTypeError, Conditional, List, Marker, Context, isRawValue, ClassListFixed, LifeCycle, CTX, autoId, toggleList, rxToggleList, rl, rxLiteral */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _typings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typings */ \"./.codedoc/node_modules/@connectv/html/dist/es6/typings/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TYPINGS_IMPORTED\", function() { return _typings__WEBPACK_IMPORTED_MODULE_0__[\"TYPINGS_IMPORTED\"]; });\n\n/* harmony import */ var _renderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./renderer */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Renderer\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ConnectiveRenderer\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ConnectiveRenderer\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"Component\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RawRenderer\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"RawRenderer\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ExtensibleRenderer\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ExtensibleRenderer\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Ref\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"Ref\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ref\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ref\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCreatePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isCreatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPostCreatePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isPostCreatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPropertyPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isPropertyPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isAppendPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isAppendPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPostRenderPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isPostRenderPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PluginPriority\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"PluginPriority\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EventHandlerPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"EventHandlerPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InnerHTMLPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"InnerHTMLPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LifeCyclePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"LifeCyclePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObjectValuePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ObjectValuePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RefPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"RefPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"StyledPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"StyledPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"styled\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"styled\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rxjsPlugins\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"rxjsPlugins\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservablePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ObservablePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableClassPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ObservableClassPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableObjectValuePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ObservableObjectValuePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableInnerHTMLPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ObservableInnerHTMLPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SubjectEventHandlerPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"SubjectEventHandlerPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputSubjectPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"InputSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubjectPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompInputSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompContextSubjectPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompContextSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservablePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompOutputObservablePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservableEventsPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompOutputObservableEventsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultSubjectRecipientPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"DefaultSubjectRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubject\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompInputSubject\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"trackable\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"trackable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Trackable\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"Trackable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"connectivePlugins\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"connectivePlugins\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"PinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinClassPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"PinClassPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinObjectValuePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"PinObjectValuePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinInnerHTMLPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"PinInnerHTMLPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinEventHandlerPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"PinEventHandlerPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputStatePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"InputStatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputPinPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompInputPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompContextPinPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompContextPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateBindPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompStateBindPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateTrackPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompStateTrackPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompOutputPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinEventsPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompOutputPinEventsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultPinLikeRecipientPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"DefaultPinLikeRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputPin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompInputPin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputMissingError\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ComponentInputMissingError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnnamedComponentInputError\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"UnnamedComponentInputError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnhandledComponentContextError\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"UnhandledComponentContextError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputUnrecognizedError\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ComponentInputUnrecognizedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentOutputUnrecognizedError\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ComponentOutputUnrecognizedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompProcessPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isCompProcessPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompIOPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isCompIOPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompPropPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isCompPropPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompContextPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isCompContextPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultReactiveRecipientPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"DefaultReactiveRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isDefaultReactiveRecipientPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isDefaultReactiveRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CheckCompInputsPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CheckCompInputsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ComponentPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ExposePlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ExposePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateIOPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"CompStateIOPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"TrackPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContextPlugin\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"ContextPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompClass\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isCompClass\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RawComponent\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"RawComponent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompInputWithOptions\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"isCompInputWithOptions\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedChildError\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"UnsupportedChildError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedPropError\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"UnsupportedPropError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedTagTypeError\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_1__[\"UnsupportedTagTypeError\"]; });\n\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components */ \"./.codedoc/node_modules/@connectv/html/dist/es6/components/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Conditional\", function() { return _components__WEBPACK_IMPORTED_MODULE_2__[\"Conditional\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"List\", function() { return _components__WEBPACK_IMPORTED_MODULE_2__[\"List\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Marker\", function() { return _components__WEBPACK_IMPORTED_MODULE_2__[\"Marker\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Context\", function() { return _components__WEBPACK_IMPORTED_MODULE_2__[\"Context\"]; });\n\n/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./shared */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isRawValue\", function() { return _shared__WEBPACK_IMPORTED_MODULE_3__[\"isRawValue\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ClassListFixed\", function() { return _shared__WEBPACK_IMPORTED_MODULE_3__[\"ClassListFixed\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LifeCycle\", function() { return _shared__WEBPACK_IMPORTED_MODULE_3__[\"LifeCycle\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CTX\", function() { return _shared__WEBPACK_IMPORTED_MODULE_3__[\"CTX\"]; });\n\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util */ \"./.codedoc/node_modules/@connectv/html/dist/es6/util/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"autoId\", function() { return _util__WEBPACK_IMPORTED_MODULE_4__[\"autoId\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"toggleList\", function() { return _util__WEBPACK_IMPORTED_MODULE_4__[\"toggleList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rxToggleList\", function() { return _util__WEBPACK_IMPORTED_MODULE_4__[\"rxToggleList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rl\", function() { return _util__WEBPACK_IMPORTED_MODULE_4__[\"rl\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rxLiteral\", function() { return _util__WEBPACK_IMPORTED_MODULE_4__[\"rxLiteral\"]; });\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/index.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/index.js ***! - \*******************************************************************************/ -/*! exports provided: UnsupportedChildError, UnsupportedPropError, UnsupportedTagTypeError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _unsupported_child_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./unsupported-child.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-child.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedChildError\", function() { return _unsupported_child_error__WEBPACK_IMPORTED_MODULE_0__[\"UnsupportedChildError\"]; });\n\n/* harmony import */ var _unsupported_prop_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./unsupported-prop.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-prop.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedPropError\", function() { return _unsupported_prop_error__WEBPACK_IMPORTED_MODULE_1__[\"UnsupportedPropError\"]; });\n\n/* harmony import */ var _unsupported_tag_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupported-tag.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-tag.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedTagTypeError\", function() { return _unsupported_tag_error__WEBPACK_IMPORTED_MODULE_2__[\"UnsupportedTagTypeError\"]; });\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-child.error.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-child.error.js ***! - \*************************************************************************************************/ -/*! exports provided: UnsupportedChildError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedChildError\", function() { return UnsupportedChildError; });\nclass UnsupportedChildError extends Error {\n constructor(child, renderer) {\n super(`Renderer cannot attach child of type ${typeof child} to tree (child: ${child})`);\n this.child = child;\n this.renderer = renderer;\n }\n}\n//# sourceMappingURL=unsupported-child.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-child.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-prop.error.js": -/*!************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-prop.error.js ***! - \************************************************************************************************/ -/*! exports provided: UnsupportedPropError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedPropError\", function() { return UnsupportedPropError; });\nclass UnsupportedPropError extends Error {\n constructor(target, renderer) {\n super(`Renderer cannot set property to type ${target} (prop: ${target})`);\n this.target = target;\n this.renderer = renderer;\n }\n}\n//# sourceMappingURL=unsupported-prop.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-prop.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-tag.error.js": -/*!***********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-tag.error.js ***! - \***********************************************************************************************/ -/*! exports provided: UnsupportedTagTypeError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedTagTypeError\", function() { return UnsupportedTagTypeError; });\nclass UnsupportedTagTypeError extends Error {\n constructor(tag, renderer) {\n super(`Renderer cannot render given tag type: ${typeof tag} (tag: ${tag})`);\n this.tag = tag;\n this.renderer = renderer;\n }\n}\n//# sourceMappingURL=unsupported-tag.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-tag.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/extensible-renderer.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/extensible-renderer.js ***! - \***************************************************************************************/ -/*! exports provided: ExtensibleRenderer */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExtensibleRenderer\", function() { return ExtensibleRenderer; });\n/* harmony import */ var _renderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./renderer */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/renderer.js\");\n/* harmony import */ var _plugin_basic_plugins__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plugin/basic-plugins */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/basic-plugins.js\");\n\n\nclass ExtensibleRenderer extends _renderer__WEBPACK_IMPORTED_MODULE_0__[\"Renderer\"] {\n constructor(...plugins) {\n super();\n this.plugins = [];\n for (let i = 0; i < plugins.length; i++) {\n const plugin = plugins[i];\n if (!this.plugins.includes(plugin)) {\n if (plugin.unique !== undefined) {\n let filter = plugin.unique.bind(plugin);\n this.plugins = this.plugins.filter(p => !filter(p));\n }\n this.plugins.push(plugin);\n }\n }\n this.plugins.sort((a, b) => a.priority - b.priority);\n }\n plug(...plugins) {\n return new ExtensibleRenderer(...[].concat(this.plugins, plugins));\n }\n create(tag, props, ...children) {\n let _node;\n this.plugins.some(plugin => Object(_plugin_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isCreatePlugin\"])(plugin) && !!(_node = plugin.create(tag, props, children, this)));\n if (!_node)\n _node = super.create(tag, props, ...children);\n this.plugins.filter(_plugin_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isPostCreatePlugin\"]).forEach(plugin => plugin.postCreate(_node, this));\n return _node;\n }\n setprop(prop, target, host) {\n if (this.plugins.some(plugin => Object(_plugin_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isPropertyPlugin\"])(plugin) && plugin.setprop(prop, target, host, this)))\n return;\n super.setprop(prop, target, host);\n }\n append(target, host) {\n if (Array.isArray(target)) {\n target.forEach(_ => this.append(_, host));\n }\n else {\n if (this.plugins.some(plugin => Object(_plugin_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isAppendPlugin\"])(plugin) && plugin.append(target, host, this)))\n return;\n super.append(target, host);\n }\n }\n render(node) {\n let _res = super.render(node);\n let _postRender = this.plugins.filter(_plugin_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isPostRenderPlugin\"]);\n let _do = (_fn) => {\n let children;\n if (_res.target instanceof DocumentFragment)\n children = Array.from(_res.target.childNodes);\n let _R = _fn();\n if (children)\n children.forEach(child => _postRender.forEach(plugin => plugin.postRender(child, this)));\n else\n _postRender.forEach(plugin => plugin.postRender(_res.target, this));\n return _R;\n };\n return {\n target: _res.target,\n on(host) { return _do(() => _res.on(host)); },\n before(ref) { return _do(() => _res.before(ref)); },\n after(ref) { return _do(() => _res.after(ref)); }\n };\n }\n}\n//# sourceMappingURL=extensible-renderer.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/extensible-renderer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/index.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/index.js ***! - \*************************************************************************/ -/*! exports provided: ConnectiveRenderer, default, Component, RawRenderer, ExtensibleRenderer, Ref, ref, isCreatePlugin, isPostCreatePlugin, isPropertyPlugin, isAppendPlugin, isPostRenderPlugin, PluginPriority, EventHandlerPlugin, InnerHTMLPlugin, LifeCyclePlugin, ObjectValuePlugin, RefPlugin, StyledPlugin, styled, rxjsPlugins, ObservablePlugin, ObservableClassPlugin, ObservableObjectValuePlugin, ObservableInnerHTMLPlugin, SubjectEventHandlerPlugin, InputSubjectPlugin, CompInputSubjectPlugin, CompContextSubjectPlugin, CompOutputObservablePlugin, CompOutputObservableEventsPlugin, DefaultSubjectRecipientPlugin, CompInputSubject, trackable, Trackable, connectivePlugins, PinPlugin, PinClassPlugin, PinObjectValuePlugin, PinInnerHTMLPlugin, PinEventHandlerPlugin, InputStatePlugin, CompInputPinPlugin, CompContextPinPlugin, CompStateBindPlugin, CompStateTrackPlugin, CompOutputPinPlugin, CompOutputPinEventsPlugin, DefaultPinLikeRecipientPlugin, CompInputPin, ComponentInputMissingError, UnnamedComponentInputError, UnhandledComponentContextError, ComponentInputUnrecognizedError, ComponentOutputUnrecognizedError, isCompProcessPlugin, isCompIOPlugin, isCompPropPlugin, isCompContextPlugin, DefaultReactiveRecipientPlugin, isDefaultReactiveRecipientPlugin, CheckCompInputsPlugin, ComponentPlugin, ExposePlugin, CompStateIOPlugin, TrackPlugin, ContextPlugin, isCompClass, RawComponent, isCompInputWithOptions, UnsupportedChildError, UnsupportedPropError, UnsupportedTagTypeError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConnectiveRenderer\", function() { return ConnectiveRenderer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony import */ var _extensible_renderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extensible-renderer */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/extensible-renderer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ExtensibleRenderer\", function() { return _extensible_renderer__WEBPACK_IMPORTED_MODULE_0__[\"ExtensibleRenderer\"]; });\n\n/* harmony import */ var _plugin_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plugin/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/life-cycle.js\");\n/* harmony import */ var _plugin_event_handler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./plugin/event-handler */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/event-handler.js\");\n/* harmony import */ var _plugin_ref__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./plugin/ref */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/ref.js\");\n/* harmony import */ var _plugin_object_value__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./plugin/object-value */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/object-value.js\");\n/* harmony import */ var _plugin_inner_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./plugin/inner-html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/inner-html.js\");\n/* harmony import */ var _plugin_component_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./plugin/component/component */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/component.js\");\n/* harmony import */ var _plugin_component_track__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./plugin/component/track */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/track.js\");\n/* harmony import */ var _plugin_component_expose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./plugin/component/expose */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/expose.js\");\n/* harmony import */ var _plugin_rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./plugin/rxjs */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/index.js\");\n/* harmony import */ var _plugin_connective__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./plugin/connective */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/index.js\");\n/* harmony import */ var _plugin_component_types__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./plugin/component/types */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/types.js\");\n/* harmony import */ var _plugin_component_check_inputs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./plugin/component/check-inputs */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/check-inputs.js\");\n/* harmony import */ var _plugin_component_state_io__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./plugin/component/state-io */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/state-io.js\");\n/* harmony import */ var _plugin_component_context__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./plugin/component/context */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/context.js\");\n/* harmony import */ var _renderer__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./renderer */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/renderer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RawRenderer\", function() { return _renderer__WEBPACK_IMPORTED_MODULE_15__[\"Renderer\"]; });\n\n/* harmony import */ var _ref__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./ref */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/ref.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Ref\", function() { return _ref__WEBPACK_IMPORTED_MODULE_16__[\"Ref\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ref\", function() { return _ref__WEBPACK_IMPORTED_MODULE_16__[\"ref\"]; });\n\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCreatePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isCreatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPostCreatePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isPostCreatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPropertyPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isPropertyPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isAppendPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isAppendPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPostRenderPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isPostRenderPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PluginPriority\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"PluginPriority\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EventHandlerPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"EventHandlerPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InnerHTMLPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"InnerHTMLPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LifeCyclePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"LifeCyclePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObjectValuePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ObjectValuePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RefPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"RefPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"StyledPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"StyledPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"styled\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"styled\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rxjsPlugins\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"rxjsPlugins\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservablePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ObservablePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableClassPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ObservableClassPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableObjectValuePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ObservableObjectValuePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableInnerHTMLPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ObservableInnerHTMLPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SubjectEventHandlerPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"SubjectEventHandlerPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputSubjectPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"InputSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubjectPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompInputSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompContextSubjectPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompContextSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservablePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompOutputObservablePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservableEventsPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompOutputObservableEventsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultSubjectRecipientPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"DefaultSubjectRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubject\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompInputSubject\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"trackable\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"trackable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Trackable\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"Trackable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"connectivePlugins\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"connectivePlugins\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"PinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinClassPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"PinClassPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinObjectValuePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"PinObjectValuePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinInnerHTMLPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"PinInnerHTMLPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinEventHandlerPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"PinEventHandlerPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputStatePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"InputStatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputPinPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompInputPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompContextPinPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompContextPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateBindPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompStateBindPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateTrackPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompStateTrackPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompOutputPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinEventsPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompOutputPinEventsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultPinLikeRecipientPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"DefaultPinLikeRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputPin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompInputPin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputMissingError\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ComponentInputMissingError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnnamedComponentInputError\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"UnnamedComponentInputError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnhandledComponentContextError\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"UnhandledComponentContextError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputUnrecognizedError\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ComponentInputUnrecognizedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentOutputUnrecognizedError\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ComponentOutputUnrecognizedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompProcessPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isCompProcessPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompIOPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isCompIOPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompPropPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isCompPropPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompContextPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isCompContextPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultReactiveRecipientPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"DefaultReactiveRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isDefaultReactiveRecipientPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isDefaultReactiveRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CheckCompInputsPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CheckCompInputsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ComponentPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ExposePlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ExposePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateIOPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"CompStateIOPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"TrackPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContextPlugin\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"ContextPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompClass\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isCompClass\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RawComponent\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"RawComponent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompInputWithOptions\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_17__[\"isCompInputWithOptions\"]; });\n\n/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedChildError\", function() { return _error__WEBPACK_IMPORTED_MODULE_18__[\"UnsupportedChildError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedPropError\", function() { return _error__WEBPACK_IMPORTED_MODULE_18__[\"UnsupportedPropError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsupportedTagTypeError\", function() { return _error__WEBPACK_IMPORTED_MODULE_18__[\"UnsupportedTagTypeError\"]; });\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nclass ConnectiveRenderer extends _extensible_renderer__WEBPACK_IMPORTED_MODULE_0__[\"ExtensibleRenderer\"] {\n constructor() {\n super(new _plugin_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"LifeCyclePlugin\"](), new _plugin_event_handler__WEBPACK_IMPORTED_MODULE_2__[\"EventHandlerPlugin\"](), new _plugin_ref__WEBPACK_IMPORTED_MODULE_3__[\"RefPlugin\"](), new _plugin_object_value__WEBPACK_IMPORTED_MODULE_4__[\"ObjectValuePlugin\"](), new _plugin_inner_html__WEBPACK_IMPORTED_MODULE_5__[\"InnerHTMLPlugin\"](), new _plugin_component_component__WEBPACK_IMPORTED_MODULE_6__[\"ComponentPlugin\"](), new _plugin_component_track__WEBPACK_IMPORTED_MODULE_7__[\"TrackPlugin\"](), new _plugin_component_expose__WEBPACK_IMPORTED_MODULE_8__[\"ExposePlugin\"](), new _plugin_component_context__WEBPACK_IMPORTED_MODULE_14__[\"ContextPlugin\"](), new _plugin_component_state_io__WEBPACK_IMPORTED_MODULE_13__[\"CompStateIOPlugin\"](), new _plugin_component_check_inputs__WEBPACK_IMPORTED_MODULE_12__[\"CheckCompInputsPlugin\"](), ...Object(_plugin_rxjs__WEBPACK_IMPORTED_MODULE_9__[\"rxjsPlugins\"])(), ...Object(_plugin_connective__WEBPACK_IMPORTED_MODULE_10__[\"connectivePlugins\"])());\n }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (ConnectiveRenderer);\nclass Component extends _plugin_component_types__WEBPACK_IMPORTED_MODULE_11__[\"Component\"] {\n}\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/basic-plugins.js": -/*!****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/basic-plugins.js ***! - \****************************************************************************************/ -/*! exports provided: isCreatePlugin, isPostCreatePlugin, isPropertyPlugin, isAppendPlugin, isPostRenderPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCreatePlugin\", function() { return isCreatePlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPostCreatePlugin\", function() { return isPostCreatePlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPropertyPlugin\", function() { return isPropertyPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isAppendPlugin\", function() { return isAppendPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPostRenderPlugin\", function() { return isPostRenderPlugin; });\nfunction isCreatePlugin(whatever) {\n return whatever && whatever.create && typeof whatever.create == 'function';\n}\nfunction isPostCreatePlugin(whatever) {\n return whatever && whatever.postCreate && typeof whatever.postCreate == 'function';\n}\nfunction isPropertyPlugin(whatever) {\n return whatever && whatever.setprop && typeof whatever.setprop == 'function';\n}\nfunction isAppendPlugin(whatever) {\n return whatever && whatever.append && typeof whatever.append == 'function';\n}\nfunction isPostRenderPlugin(whatever) {\n return whatever && whatever.postRender && typeof whatever.postRender == 'function';\n}\n//# sourceMappingURL=basic-plugins.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/basic-plugins.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js": -/*!**************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js ***! - \**************************************************************************************************/ -/*! exports provided: isCompProcessPlugin, isCompIOPlugin, isCompPropPlugin, isCompContextPlugin, DefaultReactiveRecipientPlugin, isDefaultReactiveRecipientPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCompProcessPlugin\", function() { return isCompProcessPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCompIOPlugin\", function() { return isCompIOPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCompPropPlugin\", function() { return isCompPropPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCompContextPlugin\", function() { return isCompContextPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultReactiveRecipientPlugin\", function() { return DefaultReactiveRecipientPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isDefaultReactiveRecipientPlugin\", function() { return isDefaultReactiveRecipientPlugin; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\nfunction isCompProcessPlugin(whatever) {\n return whatever && whatever.prepare && typeof whatever.prepare == 'function';\n}\nfunction isCompIOPlugin(whatever) {\n return whatever && whatever.wire && typeof whatever.wire == 'function';\n}\nfunction isCompPropPlugin(whatever) {\n return whatever && whatever.wireProp && typeof whatever.wireProp == 'function';\n}\nfunction isCompContextPlugin(whatever) {\n return whatever && whatever.wireContext && typeof whatever.wireContext == 'function';\n}\nclass DefaultReactiveRecipientPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].Fallback;\n }\n unique(plugin) {\n return plugin instanceof DefaultReactiveRecipientPlugin;\n }\n}\nfunction isDefaultReactiveRecipientPlugin(whatever) {\n return whatever instanceof DefaultReactiveRecipientPlugin;\n}\n//# sourceMappingURL=basic-plugins.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/check-inputs.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/check-inputs.js ***! - \*************************************************************************************************/ -/*! exports provided: CheckCompInputsPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CheckCompInputsPlugin\", function() { return CheckCompInputsPlugin; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/types.js\");\n/* harmony import */ var _errors_input_missing_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./errors/input-missing.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/input-missing.error.js\");\n\n\n\nclass CheckCompInputsPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].High;\n }\n wire(_, signature, props) {\n if (signature.inputs) {\n Object.entries(signature.inputs).forEach(([name, input]) => {\n if (Object(_types__WEBPACK_IMPORTED_MODULE_1__[\"isCompInputWithOptions\"])(input) && !(name in props)) {\n if (input.inputOptions.default) {\n props[name] = input.inputOptions.default;\n }\n else if (input.inputOptions.required)\n throw new _errors_input_missing_error__WEBPACK_IMPORTED_MODULE_2__[\"ComponentInputMissingError\"](name, props);\n }\n });\n }\n }\n}\n//# sourceMappingURL=check-inputs.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/check-inputs.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/component.js": -/*!**********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/component.js ***! - \**********************************************************************************************/ -/*! exports provided: ComponentPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComponentPlugin\", function() { return ComponentPlugin; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _basic_plugins__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basic-plugins */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js\");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./types */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/types.js\");\n\n\n\nclass ComponentPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].High;\n }\n create(tag, props, children, host) {\n if (typeof tag === 'function') {\n let compFunc = tag;\n let extras = {};\n let _props = props || {};\n let post = host.plugins\n .filter(_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isCompProcessPlugin\"])\n .map(plugin => plugin.prepare(compFunc, _props, children, extras, host));\n let _res;\n if (Object(_types__WEBPACK_IMPORTED_MODULE_2__[\"isCompClass\"])(compFunc)) {\n let comp = new compFunc(_props, children, extras);\n _res = comp.render(host);\n if (_props && _props._ref)\n _props._ref.resolve(comp);\n }\n else\n _res = compFunc.apply(extras, [_props, host, children]);\n post.reverse().forEach(p => { if (p)\n p(_res); });\n return _res;\n }\n else\n return undefined;\n }\n}\n//# sourceMappingURL=component.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/component.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/context.js": -/*!********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/context.js ***! - \********************************************************************************************/ -/*! exports provided: ContextPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(setImmediate) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ContextPlugin\", function() { return ContextPlugin; });\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _shared_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/context */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/context.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _basic_plugins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basic-plugins */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _errors_unhandled_component_context_error__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./errors/unhandled-component-context.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-component-context.error.js\");\n\n\n\n\n\n\nclass ContextPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n prepare(_, __, ___, extras, pluginHost) {\n let _plugin = pluginHost.plugins.find(_basic_plugins__WEBPACK_IMPORTED_MODULE_3__[\"isDefaultReactiveRecipientPlugin\"]);\n let _default = () => _plugin ? _plugin.defaultContext() : undefined;\n const map = {};\n const context = (key, recipient) => map[key] = map[key] || recipient || _default();\n extras.context = context;\n return (node) => {\n const sub = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"]();\n const _ctxPlugins = pluginHost.plugins.filter(_basic_plugins__WEBPACK_IMPORTED_MODULE_3__[\"isCompContextPlugin\"]);\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_0__[\"attach\"]({\n bind() {\n setImmediate(() => {\n let _ref = node;\n if (node instanceof DocumentFragment)\n _ref = _shared_life_cycle__WEBPACK_IMPORTED_MODULE_0__[\"getLifeCycleMarker\"](node);\n const ctx = _shared_context__WEBPACK_IMPORTED_MODULE_1__[\"resolve\"](_ref, Object.keys(map));\n Object.entries(map).forEach(([key, recipient]) => {\n const value = ctx[key];\n if (!_ctxPlugins.find(p => p.wireContext(key, value, recipient, sub, _ref, pluginHost)))\n throw new _errors_unhandled_component_context_error__WEBPACK_IMPORTED_MODULE_5__[\"UnhandledComponentContextError\"](key, recipient, value);\n });\n });\n },\n clear() {\n sub.unsubscribe();\n }\n }, node);\n };\n }\n}\n//# sourceMappingURL=context.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../timers-browserify/main.js */ \"./.codedoc/node_modules/timers-browserify/main.js\").setImmediate))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/context.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/index.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/index.js ***! - \*************************************************************************************************/ -/*! exports provided: ComponentInputMissingError, UnnamedComponentInputError, UnhandledComponentContextError, ComponentInputUnrecognizedError, ComponentOutputUnrecognizedError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _input_missing_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./input-missing.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/input-missing.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputMissingError\", function() { return _input_missing_error__WEBPACK_IMPORTED_MODULE_0__[\"ComponentInputMissingError\"]; });\n\n/* harmony import */ var _unnamed_input_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./unnamed-input.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unnamed-input.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnnamedComponentInputError\", function() { return _unnamed_input_error__WEBPACK_IMPORTED_MODULE_1__[\"UnnamedComponentInputError\"]; });\n\n/* harmony import */ var _unhandled_component_context_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unhandled-component-context.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-component-context.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnhandledComponentContextError\", function() { return _unhandled_component_context_error__WEBPACK_IMPORTED_MODULE_2__[\"UnhandledComponentContextError\"]; });\n\n/* harmony import */ var _unhandled_signature_prop_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./unhandled-signature-prop.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-signature-prop.error.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputUnrecognizedError\", function() { return _unhandled_signature_prop_error__WEBPACK_IMPORTED_MODULE_3__[\"ComponentInputUnrecognizedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentOutputUnrecognizedError\", function() { return _unhandled_signature_prop_error__WEBPACK_IMPORTED_MODULE_3__[\"ComponentOutputUnrecognizedError\"]; });\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/input-missing.error.js": -/*!***************************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/input-missing.error.js ***! - \***************************************************************************************************************/ -/*! exports provided: ComponentInputMissingError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputMissingError\", function() { return ComponentInputMissingError; });\nclass ComponentInputMissingError extends Error {\n constructor(name, props) {\n super(`Input ${name} is missing from component props: ${props}`);\n this.name = name;\n this.props = props;\n }\n}\n//# sourceMappingURL=input-missing.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/input-missing.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-component-context.error.js": -/*!*****************************************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-component-context.error.js ***! - \*****************************************************************************************************************************/ -/*! exports provided: UnhandledComponentContextError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UnhandledComponentContextError\", function() { return UnhandledComponentContextError; });\nclass UnhandledComponentContextError extends Error {\n constructor(key, recipient, value) {\n super(`Unrecognized component context recipient for key ${key}: ${recipient} (${typeof recipient})`);\n this.key = key;\n this.recipient = recipient;\n this.value = value;\n }\n}\n//# sourceMappingURL=unhandled-component-context.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-component-context.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-signature-prop.error.js": -/*!**************************************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-signature-prop.error.js ***! - \**************************************************************************************************************************/ -/*! exports provided: ComponentInputUnrecognizedError, ComponentOutputUnrecognizedError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputUnrecognizedError\", function() { return ComponentInputUnrecognizedError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComponentOutputUnrecognizedError\", function() { return ComponentOutputUnrecognizedError; });\nclass ComponentInputUnrecognizedError extends Error {\n constructor(name, props) {\n super(`Provided component input was not recognizable: ${name} (${typeof props[name]})`);\n this.name = name;\n this.props = props;\n }\n}\nclass ComponentOutputUnrecognizedError extends Error {\n constructor(name, props) {\n super(`Provided component output was not recognizable: ${name} (${typeof props[name]})`);\n this.name = name;\n this.props = props;\n }\n}\n//# sourceMappingURL=unhandled-signature-prop.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-signature-prop.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unnamed-input.error.js": -/*!***************************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unnamed-input.error.js ***! - \***************************************************************************************************************/ -/*! exports provided: UnnamedComponentInputError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UnnamedComponentInputError\", function() { return UnnamedComponentInputError; });\nclass UnnamedComponentInputError extends Error {\n constructor() {\n super(`Attempting to read an unnamed component input from props.`);\n }\n}\n//# sourceMappingURL=unnamed-input.error.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unnamed-input.error.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/expose.js": -/*!*******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/expose.js ***! - \*******************************************************************************************/ -/*! exports provided: ExposePlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExposePlugin\", function() { return ExposePlugin; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _basic_plugins__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basic-plugins */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js\");\n/* harmony import */ var _errors_unhandled_signature_prop_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./errors/unhandled-signature-prop.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/unhandled-signature-prop.error.js\");\n\n\n\nclass ExposePlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].High;\n }\n prepare(comp, props, children, extras, pluginHost) {\n let _signature = {\n inputs: {},\n outputs: {},\n states: {}\n };\n let expose = ((signature) => {\n if (signature.inputs)\n Object.assign(_signature.inputs, signature.inputs);\n if (signature.outputs)\n Object.assign(_signature.outputs, signature.outputs);\n if (signature.states)\n Object.assign(_signature.states, signature.states);\n });\n let _plugin = pluginHost.plugins.find(_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isDefaultReactiveRecipientPlugin\"]);\n let _defaultI = () => _plugin ? _plugin.defaultInput() : undefined;\n let _defaultO = () => _plugin ? _plugin.defaultOutput() : undefined;\n let _defaultS = () => _plugin ? _plugin.defaultState() : undefined;\n expose.in = (name, i) => { let _ = i || _defaultI(); expose({ inputs: { [name]: _ } }); return _; };\n expose.out = (name, o) => { let _ = o || _defaultO(); expose({ outputs: { [name]: _ } }); return _; };\n expose.state = (name, s) => { let _ = s || _defaultS(); expose({ states: { [name]: _ } }); return _; };\n extras.expose = expose;\n return (node) => {\n pluginHost.plugins\n .filter(_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isCompIOPlugin\"])\n .forEach(plugin => plugin.wire(node, _signature, props, comp, children, pluginHost));\n let _propPlugins = pluginHost.plugins.filter(_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isCompPropPlugin\"]);\n Object.entries(props).forEach(([name, prop]) => {\n if (!_propPlugins.find(plugin => plugin.wireProp(name, prop, node, _signature, pluginHost))) {\n if (_signature.inputs && name in _signature.inputs)\n throw new _errors_unhandled_signature_prop_error__WEBPACK_IMPORTED_MODULE_2__[\"ComponentInputUnrecognizedError\"](name, props);\n else if (_signature.outputs && name in _signature.outputs)\n throw new _errors_unhandled_signature_prop_error__WEBPACK_IMPORTED_MODULE_2__[\"ComponentOutputUnrecognizedError\"](name, props);\n }\n });\n };\n }\n}\n//# sourceMappingURL=expose.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/expose.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/index.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/index.js ***! - \******************************************************************************************/ -/*! exports provided: ComponentInputMissingError, UnnamedComponentInputError, UnhandledComponentContextError, ComponentInputUnrecognizedError, ComponentOutputUnrecognizedError, isCompProcessPlugin, isCompIOPlugin, isCompPropPlugin, isCompContextPlugin, DefaultReactiveRecipientPlugin, isDefaultReactiveRecipientPlugin, CheckCompInputsPlugin, ComponentPlugin, ExposePlugin, CompStateIOPlugin, TrackPlugin, ContextPlugin, isCompClass, RawComponent, isCompInputWithOptions */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./errors */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/errors/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputMissingError\", function() { return _errors__WEBPACK_IMPORTED_MODULE_0__[\"ComponentInputMissingError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnnamedComponentInputError\", function() { return _errors__WEBPACK_IMPORTED_MODULE_0__[\"UnnamedComponentInputError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnhandledComponentContextError\", function() { return _errors__WEBPACK_IMPORTED_MODULE_0__[\"UnhandledComponentContextError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputUnrecognizedError\", function() { return _errors__WEBPACK_IMPORTED_MODULE_0__[\"ComponentInputUnrecognizedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentOutputUnrecognizedError\", function() { return _errors__WEBPACK_IMPORTED_MODULE_0__[\"ComponentOutputUnrecognizedError\"]; });\n\n/* harmony import */ var _basic_plugins__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basic-plugins */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompProcessPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isCompProcessPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompIOPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isCompIOPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompPropPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isCompPropPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompContextPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isCompContextPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultReactiveRecipientPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"DefaultReactiveRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isDefaultReactiveRecipientPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"isDefaultReactiveRecipientPlugin\"]; });\n\n/* harmony import */ var _check_inputs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./check-inputs */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/check-inputs.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CheckCompInputsPlugin\", function() { return _check_inputs__WEBPACK_IMPORTED_MODULE_2__[\"CheckCompInputsPlugin\"]; });\n\n/* harmony import */ var _component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./component */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/component.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_3__[\"ComponentPlugin\"]; });\n\n/* harmony import */ var _expose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./expose */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/expose.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ExposePlugin\", function() { return _expose__WEBPACK_IMPORTED_MODULE_4__[\"ExposePlugin\"]; });\n\n/* harmony import */ var _state_io__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./state-io */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/state-io.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateIOPlugin\", function() { return _state_io__WEBPACK_IMPORTED_MODULE_5__[\"CompStateIOPlugin\"]; });\n\n/* harmony import */ var _track__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./track */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/track.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackPlugin\", function() { return _track__WEBPACK_IMPORTED_MODULE_6__[\"TrackPlugin\"]; });\n\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./context */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/context.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContextPlugin\", function() { return _context__WEBPACK_IMPORTED_MODULE_7__[\"ContextPlugin\"]; });\n\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./types */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/types.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompClass\", function() { return _types__WEBPACK_IMPORTED_MODULE_8__[\"isCompClass\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RawComponent\", function() { return _types__WEBPACK_IMPORTED_MODULE_8__[\"Component\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompInputWithOptions\", function() { return _types__WEBPACK_IMPORTED_MODULE_8__[\"isCompInputWithOptions\"]; });\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/state-io.js": -/*!*********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/state-io.js ***! - \*********************************************************************************************/ -/*! exports provided: CompStateIOPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompStateIOPlugin\", function() { return CompStateIOPlugin; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\nclass CompStateIOPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].High;\n }\n wire(_, signature) {\n if (signature.states) {\n Object.entries(signature.states).forEach(([name, state]) => {\n signature.inputs = signature.inputs || {};\n signature.outputs = signature.outputs || {};\n signature.inputs[name] = state;\n signature.outputs[`on${name[0].toUpperCase() + name.substr(1)}Change`] = state;\n });\n }\n }\n}\n//# sourceMappingURL=state-io.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/state-io.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/track.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/track.js ***! - \******************************************************************************************/ -/*! exports provided: TrackPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TrackPlugin\", function() { return TrackPlugin; });\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\nclass TrackPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_1__[\"PluginPriority\"].High;\n }\n prepare(_, __, ___, extras) {\n let tracked = [];\n let marker;\n extras.track = ((whatever) => tracked.push(whatever));\n extras.track.mark = (node) => marker = node;\n return (node) => {\n if (node instanceof DocumentFragment && marker)\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_0__[\"setLifeCycleMarker\"](node, marker);\n tracked.forEach(thing => _shared_life_cycle__WEBPACK_IMPORTED_MODULE_0__[\"attach\"](thing, node));\n };\n }\n}\n//# sourceMappingURL=track.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/track.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/types.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/types.js ***! - \******************************************************************************************/ -/*! exports provided: Component, isCompClass, isCompInputWithOptions */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCompClass\", function() { return isCompClass; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isCompInputWithOptions\", function() { return isCompInputWithOptions; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n\nclass Component {\n constructor(props, children, _adapter) {\n this.props = props;\n this.children = children;\n this._adapter = _adapter;\n _adapter.track(this);\n this.init();\n let _signature = this.signature();\n if (_signature)\n _adapter.expose(_signature);\n }\n init() { }\n bind() { }\n clear() { }\n signature() { return undefined; }\n track(sub) {\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isBindable\"])(sub) || Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isClearable\"])(sub))\n this._adapter.track(sub);\n else\n this._adapter.track({\n clear() { sub.unsubscribe(); }\n });\n }\n}\nComponent.__CVH_component_class__ = true;\nfunction isCompClass(comp) {\n return comp.__CVH_component_class__;\n}\nfunction isCompInputWithOptions(whatever) {\n return whatever && whatever.inputOptions;\n}\n//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/types.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-context-pin.js": -/*!******************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-context-pin.js ***! - \******************************************************************************************************/ -/*! exports provided: CompContextPinPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompContextPinPlugin\", function() { return CompContextPinPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass CompContextPinPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n wireContext(_, value, recipient, sub) {\n if (recipient instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_1__[\"Source\"]) {\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_1__[\"isPinLike\"])(value))\n sub.add(value.subscribe(v => recipient.send(v)));\n else if (value instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"])\n sub.add(value.subscribe(v => recipient.send(v)));\n else\n recipient.send(value);\n return true;\n }\n return false;\n }\n}\n//# sourceMappingURL=comp-context-pin.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-context-pin.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-input-pin.js": -/*!****************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-input-pin.js ***! - \****************************************************************************************************/ -/*! exports provided: CompInputPin, CompInputPinPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompInputPin\", function() { return CompInputPin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompInputPinPlugin\", function() { return CompInputPinPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\n\nclass CompInputPin extends _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"Pin\"] {\n constructor(inputOptions = {}) {\n super();\n this.inputOptions = inputOptions;\n }\n}\nclass CompInputPinPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n wireProp(name, prop, _, signature) {\n if (signature.inputs && name in signature.inputs && Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(signature.inputs[name])) {\n let input = signature.inputs[name];\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(prop))\n prop.to(input);\n else if (prop instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"])\n Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"wrap\"])(prop).to(input);\n else\n Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"value\"])(prop).to(input);\n return true;\n }\n return false;\n }\n}\n//# sourceMappingURL=comp-input-pin.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-input-pin.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-output-pin-event.js": -/*!***********************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-output-pin-event.js ***! - \***********************************************************************************************************/ -/*! exports provided: CompOutputPinEventsPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinEventsPlugin\", function() { return CompOutputPinEventsPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _util_custom_event_polyfill__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/custom-event.polyfill */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/custom-event.polyfill.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\n\nclass CompOutputPinEventsPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_3__[\"PluginPriority\"].High;\n }\n wire(node, signature) {\n if (!(node instanceof DocumentFragment) && signature.outputs) {\n Object(_util_custom_event_polyfill__WEBPACK_IMPORTED_MODULE_2__[\"polyfillCustomEvent\"])();\n Object.entries(signature.outputs).forEach(([name, output]) => {\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(output))\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"](output.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(value => node.dispatchEvent(new CustomEvent(name, { detail: { value } })))), node);\n });\n }\n }\n}\n//# sourceMappingURL=comp-output-pin-event.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-output-pin-event.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-output-pin.js": -/*!*****************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-output-pin.js ***! - \*****************************************************************************************************/ -/*! exports provided: CompOutputPinPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinPlugin\", function() { return CompOutputPinPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\n\nclass CompOutputPinPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_3__[\"PluginPriority\"].High;\n }\n wireProp(name, prop, node, signature) {\n if (signature.outputs && name in signature.outputs && Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(signature.outputs[name])) {\n let output = signature.outputs[name];\n let src = (output instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"Source\"]) ? output : output.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"source\"])());\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"attach\"](src, node);\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(prop)) {\n src.to(prop);\n return true;\n }\n else if (prop instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]) {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"attach\"](src.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(v => prop.next(v))), node);\n return true;\n }\n else if (typeof prop == 'function') {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"attach\"](src.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(v => prop(v))), node);\n return true;\n }\n }\n return false;\n }\n}\n//# sourceMappingURL=comp-output-pin.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-output-pin.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-state-bind.js": -/*!*****************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-state-bind.js ***! - \*****************************************************************************************************/ -/*! exports provided: CompStateBindPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompStateBindPlugin\", function() { return CompStateBindPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\nclass CompStateBindPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_1__[\"PluginPriority\"].High;\n }\n wireProp(name, prop, _, signature) {\n if (signature.states && name in signature.states\n && (signature.states[name] instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"State\"] || signature.states[name] instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"SimpleDeep\"])\n && (prop instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"State\"] || prop instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"SimpleDeep\"])) {\n let state = signature.states[name];\n prop.to(state).to(prop);\n return true;\n }\n return false;\n }\n}\n//# sourceMappingURL=comp-state-bind.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-state-bind.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-state-track.js": -/*!******************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-state-track.js ***! - \******************************************************************************************************/ -/*! exports provided: CompStateTrackPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompStateTrackPlugin\", function() { return CompStateTrackPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass CompStateTrackPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n wire(node, signature) {\n if (signature.states) {\n Object.values(signature.states).forEach(state => {\n if (state instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"State\"])\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"](state, node);\n });\n }\n }\n}\n//# sourceMappingURL=comp-state-track.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-state-track.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/default-recipient.js": -/*!*******************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/default-recipient.js ***! - \*******************************************************************************************************/ -/*! exports provided: DefaultPinLikeRecipientPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultPinLikeRecipientPlugin\", function() { return DefaultPinLikeRecipientPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _component_basic_plugins__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../component/basic-plugins */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js\");\n\n\nclass DefaultPinLikeRecipientPlugin extends _component_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"DefaultReactiveRecipientPlugin\"] {\n defaultContext() { return Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"source\"])(); }\n defaultInput() { return Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"pin\"])(); }\n defaultOutput() { return Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"pin\"])(); }\n defaultState() { return Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"state\"])(); }\n}\n//# sourceMappingURL=default-recipient.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/default-recipient.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/index.js": -/*!*******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/index.js ***! - \*******************************************************************************************/ -/*! exports provided: connectivePlugins, PinPlugin, PinClassPlugin, PinObjectValuePlugin, PinInnerHTMLPlugin, PinEventHandlerPlugin, InputStatePlugin, CompInputPinPlugin, CompContextPinPlugin, CompStateBindPlugin, CompStateTrackPlugin, CompOutputPinPlugin, CompOutputPinEventsPlugin, DefaultPinLikeRecipientPlugin, CompInputPin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"connectivePlugins\", function() { return connectivePlugins; });\n/* harmony import */ var _pin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./pin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinPlugin\", function() { return _pin__WEBPACK_IMPORTED_MODULE_0__[\"PinPlugin\"]; });\n\n/* harmony import */ var _pin_class__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pin-class */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin-class.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinClassPlugin\", function() { return _pin_class__WEBPACK_IMPORTED_MODULE_1__[\"PinClassPlugin\"]; });\n\n/* harmony import */ var _object_value__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./object-value */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/object-value.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinObjectValuePlugin\", function() { return _object_value__WEBPACK_IMPORTED_MODULE_2__[\"PinObjectValuePlugin\"]; });\n\n/* harmony import */ var _pin_event_handler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pin-event-handler */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin-event-handler.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinEventHandlerPlugin\", function() { return _pin_event_handler__WEBPACK_IMPORTED_MODULE_3__[\"PinEventHandlerPlugin\"]; });\n\n/* harmony import */ var _input_state__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./input-state */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/input-state.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputStatePlugin\", function() { return _input_state__WEBPACK_IMPORTED_MODULE_4__[\"InputStatePlugin\"]; });\n\n/* harmony import */ var _inner_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./inner-html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/inner-html.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinInnerHTMLPlugin\", function() { return _inner_html__WEBPACK_IMPORTED_MODULE_5__[\"PinInnerHTMLPlugin\"]; });\n\n/* harmony import */ var _comp_input_pin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./comp-input-pin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-input-pin.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputPinPlugin\", function() { return _comp_input_pin__WEBPACK_IMPORTED_MODULE_6__[\"CompInputPinPlugin\"]; });\n\n/* harmony import */ var _comp_output_pin__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./comp-output-pin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-output-pin.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinPlugin\", function() { return _comp_output_pin__WEBPACK_IMPORTED_MODULE_7__[\"CompOutputPinPlugin\"]; });\n\n/* harmony import */ var _comp_state_bind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./comp-state-bind */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-state-bind.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateBindPlugin\", function() { return _comp_state_bind__WEBPACK_IMPORTED_MODULE_8__[\"CompStateBindPlugin\"]; });\n\n/* harmony import */ var _comp_state_track__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./comp-state-track */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-state-track.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateTrackPlugin\", function() { return _comp_state_track__WEBPACK_IMPORTED_MODULE_9__[\"CompStateTrackPlugin\"]; });\n\n/* harmony import */ var _comp_output_pin_event__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./comp-output-pin-event */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-output-pin-event.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinEventsPlugin\", function() { return _comp_output_pin_event__WEBPACK_IMPORTED_MODULE_10__[\"CompOutputPinEventsPlugin\"]; });\n\n/* harmony import */ var _comp_context_pin__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./comp-context-pin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/comp-context-pin.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompContextPinPlugin\", function() { return _comp_context_pin__WEBPACK_IMPORTED_MODULE_11__[\"CompContextPinPlugin\"]; });\n\n/* harmony import */ var _default_recipient__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./default-recipient */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/default-recipient.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultPinLikeRecipientPlugin\", function() { return _default_recipient__WEBPACK_IMPORTED_MODULE_12__[\"DefaultPinLikeRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputPin\", function() { return _comp_input_pin__WEBPACK_IMPORTED_MODULE_6__[\"CompInputPin\"]; });\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction connectivePlugins() {\n return [\n new _pin__WEBPACK_IMPORTED_MODULE_0__[\"PinPlugin\"](),\n new _pin_class__WEBPACK_IMPORTED_MODULE_1__[\"PinClassPlugin\"](),\n new _object_value__WEBPACK_IMPORTED_MODULE_2__[\"PinObjectValuePlugin\"](),\n new _inner_html__WEBPACK_IMPORTED_MODULE_5__[\"PinInnerHTMLPlugin\"](),\n new _pin_event_handler__WEBPACK_IMPORTED_MODULE_3__[\"PinEventHandlerPlugin\"](),\n new _input_state__WEBPACK_IMPORTED_MODULE_4__[\"InputStatePlugin\"](),\n new _comp_state_track__WEBPACK_IMPORTED_MODULE_9__[\"CompStateTrackPlugin\"](),\n new _comp_state_bind__WEBPACK_IMPORTED_MODULE_8__[\"CompStateBindPlugin\"](),\n new _comp_input_pin__WEBPACK_IMPORTED_MODULE_6__[\"CompInputPinPlugin\"](),\n new _comp_output_pin__WEBPACK_IMPORTED_MODULE_7__[\"CompOutputPinPlugin\"](),\n new _comp_output_pin_event__WEBPACK_IMPORTED_MODULE_10__[\"CompOutputPinEventsPlugin\"](),\n new _comp_context_pin__WEBPACK_IMPORTED_MODULE_11__[\"CompContextPinPlugin\"](),\n new _default_recipient__WEBPACK_IMPORTED_MODULE_12__[\"DefaultPinLikeRecipientPlugin\"](),\n ];\n}\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/inner-html.js": -/*!************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/inner-html.js ***! - \************************************************************************************************/ -/*! exports provided: PinInnerHTMLPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PinInnerHTMLPlugin\", function() { return PinInnerHTMLPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass PinInnerHTMLPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === '_innerHTML' && Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(target)) {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"](target.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(v => host.innerHTML = v)), host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=inner-html.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/inner-html.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/input-state.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/input-state.js ***! - \*************************************************************************************************/ -/*! exports provided: InputStatePlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InputStatePlugin\", function() { return InputStatePlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _util_input_value__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/input-value */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/input-value.js\");\n\n\n\n\n\nclass InputStatePlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_3__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === '_state' && (host instanceof HTMLInputElement ||\n host instanceof HTMLTextAreaElement ||\n host instanceof HTMLSelectElement) && target instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"State\"]) {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"attach\"](Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"wrap\"])(Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"fromEvent\"])(host, 'input'))\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(() => Object(_util_input_value__WEBPACK_IMPORTED_MODULE_4__[\"getInputValue\"])(host)))\n .to(target)\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(v => Object(_util_input_value__WEBPACK_IMPORTED_MODULE_4__[\"setInputValue\"])(host, v))), host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=input-state.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/input-state.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/object-value.js": -/*!**************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/object-value.js ***! - \**************************************************************************************************/ -/*! exports provided: PinObjectValuePlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PinObjectValuePlugin\", function() { return PinObjectValuePlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass PinObjectValuePlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === '_value'\n && (host instanceof HTMLOptionElement || host instanceof HTMLInputElement)\n && Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(target)) {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"](target.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(v => host._value = v)), host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=object-value.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/object-value.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin-class.js": -/*!***********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin-class.js ***! - \***********************************************************************************************/ -/*! exports provided: PinClassPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PinClassPlugin\", function() { return PinClassPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _shared_class_list_fixed__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/class-list-fixed */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/class-list-fixed.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\n\nclass PinClassPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_3__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === 'class' && Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(target)) {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"](target.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(v => {\n let classes = (v !== undefined) ? v.toString() : '';\n const fixed = _shared_class_list_fixed__WEBPACK_IMPORTED_MODULE_2__[\"get\"](host);\n if (fixed.length > 0)\n classes += ' ' + fixed.join(' ');\n host.setAttribute('class', classes);\n })), host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=pin-class.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin-class.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin-event-handler.js": -/*!*******************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin-event-handler.js ***! - \*******************************************************************************************************/ -/*! exports provided: PinEventHandlerPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PinEventHandlerPlugin\", function() { return PinEventHandlerPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass PinEventHandlerPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop.startsWith('on')) {\n const event = prop.substr(2).toLowerCase();\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(target)) {\n Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"wrap\"])(Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"fromEvent\"])(host, event)).to(target);\n return true;\n }\n return false;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=pin-event-handler.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin-event-handler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin.js": -/*!*****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin.js ***! - \*****************************************************************************************/ -/*! exports provided: PinPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PinPlugin\", function() { return PinPlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass PinPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].Fallback;\n }\n setprop(prop, target, host) {\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(target)) {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"](target.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(v => {\n if (typeof v === 'boolean') {\n if (v)\n host.setAttribute(prop, '');\n else\n host.removeAttribute(prop);\n }\n else\n host.setAttribute(prop, (v !== undefined) ? v.toString() : '');\n })), host);\n return true;\n }\n else\n return false;\n }\n append(target, host) {\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(target)) {\n let node = document.createTextNode('');\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"](target.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"sink\"])(v => node.textContent = (v !== undefined) ? v.toString() : '')), node);\n host.appendChild(node);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=pin.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/pin.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/event-handler.js": -/*!****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/event-handler.js ***! - \****************************************************************************************/ -/*! exports provided: EventHandlerPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EventHandlerPlugin\", function() { return EventHandlerPlugin; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\nclass EventHandlerPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop.startsWith('on') && typeof target === 'function') {\n const event = prop.substr(2).toLowerCase();\n host.addEventListener(event, target);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=event-handler.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/event-handler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/index.js": -/*!********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/index.js ***! - \********************************************************************************/ -/*! exports provided: isCreatePlugin, isPostCreatePlugin, isPropertyPlugin, isAppendPlugin, isPostRenderPlugin, PluginPriority, EventHandlerPlugin, InnerHTMLPlugin, LifeCyclePlugin, ObjectValuePlugin, RefPlugin, StyledPlugin, styled, rxjsPlugins, ObservablePlugin, ObservableClassPlugin, ObservableObjectValuePlugin, ObservableInnerHTMLPlugin, SubjectEventHandlerPlugin, InputSubjectPlugin, CompInputSubjectPlugin, CompContextSubjectPlugin, CompOutputObservablePlugin, CompOutputObservableEventsPlugin, DefaultSubjectRecipientPlugin, CompInputSubject, trackable, Trackable, connectivePlugins, PinPlugin, PinClassPlugin, PinObjectValuePlugin, PinInnerHTMLPlugin, PinEventHandlerPlugin, InputStatePlugin, CompInputPinPlugin, CompContextPinPlugin, CompStateBindPlugin, CompStateTrackPlugin, CompOutputPinPlugin, CompOutputPinEventsPlugin, DefaultPinLikeRecipientPlugin, CompInputPin, ComponentInputMissingError, UnnamedComponentInputError, UnhandledComponentContextError, ComponentInputUnrecognizedError, ComponentOutputUnrecognizedError, isCompProcessPlugin, isCompIOPlugin, isCompPropPlugin, isCompContextPlugin, DefaultReactiveRecipientPlugin, isDefaultReactiveRecipientPlugin, CheckCompInputsPlugin, ComponentPlugin, ExposePlugin, CompStateIOPlugin, TrackPlugin, ContextPlugin, isCompClass, RawComponent, isCompInputWithOptions */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _basic_plugins__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basic-plugins */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/basic-plugins.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCreatePlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_0__[\"isCreatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPostCreatePlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_0__[\"isPostCreatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPropertyPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_0__[\"isPropertyPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isAppendPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_0__[\"isAppendPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPostRenderPlugin\", function() { return _basic_plugins__WEBPACK_IMPORTED_MODULE_0__[\"isPostRenderPlugin\"]; });\n\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PluginPriority\", function() { return _plugin__WEBPACK_IMPORTED_MODULE_1__[\"PluginPriority\"]; });\n\n/* harmony import */ var _event_handler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./event-handler */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/event-handler.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EventHandlerPlugin\", function() { return _event_handler__WEBPACK_IMPORTED_MODULE_2__[\"EventHandlerPlugin\"]; });\n\n/* harmony import */ var _inner_html__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./inner-html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/inner-html.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InnerHTMLPlugin\", function() { return _inner_html__WEBPACK_IMPORTED_MODULE_3__[\"InnerHTMLPlugin\"]; });\n\n/* harmony import */ var _life_cycle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/life-cycle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LifeCyclePlugin\", function() { return _life_cycle__WEBPACK_IMPORTED_MODULE_4__[\"LifeCyclePlugin\"]; });\n\n/* harmony import */ var _object_value__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./object-value */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/object-value.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObjectValuePlugin\", function() { return _object_value__WEBPACK_IMPORTED_MODULE_5__[\"ObjectValuePlugin\"]; });\n\n/* harmony import */ var _ref__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ref */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/ref.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RefPlugin\", function() { return _ref__WEBPACK_IMPORTED_MODULE_6__[\"RefPlugin\"]; });\n\n/* harmony import */ var _styled__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styled */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/styled.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"StyledPlugin\", function() { return _styled__WEBPACK_IMPORTED_MODULE_7__[\"StyledPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"styled\", function() { return _styled__WEBPACK_IMPORTED_MODULE_7__[\"styled\"]; });\n\n/* harmony import */ var _rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./rxjs */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rxjsPlugins\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"rxjsPlugins\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservablePlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"ObservablePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableClassPlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"ObservableClassPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableObjectValuePlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"ObservableObjectValuePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableInnerHTMLPlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"ObservableInnerHTMLPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SubjectEventHandlerPlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"SubjectEventHandlerPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputSubjectPlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"InputSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubjectPlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"CompInputSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompContextSubjectPlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"CompContextSubjectPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservablePlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"CompOutputObservablePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservableEventsPlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"CompOutputObservableEventsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultSubjectRecipientPlugin\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"DefaultSubjectRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubject\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"CompInputSubject\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"trackable\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"trackable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Trackable\", function() { return _rxjs__WEBPACK_IMPORTED_MODULE_8__[\"Trackable\"]; });\n\n/* harmony import */ var _connective__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./connective */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/connective/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"connectivePlugins\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"connectivePlugins\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"PinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinClassPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"PinClassPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinObjectValuePlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"PinObjectValuePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinInnerHTMLPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"PinInnerHTMLPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PinEventHandlerPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"PinEventHandlerPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputStatePlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"InputStatePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputPinPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"CompInputPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompContextPinPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"CompContextPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateBindPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"CompStateBindPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateTrackPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"CompStateTrackPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"CompOutputPinPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputPinEventsPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"CompOutputPinEventsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultPinLikeRecipientPlugin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"DefaultPinLikeRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputPin\", function() { return _connective__WEBPACK_IMPORTED_MODULE_9__[\"CompInputPin\"]; });\n\n/* harmony import */ var _component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./component */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputMissingError\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"ComponentInputMissingError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnnamedComponentInputError\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"UnnamedComponentInputError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnhandledComponentContextError\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"UnhandledComponentContextError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentInputUnrecognizedError\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"ComponentInputUnrecognizedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentOutputUnrecognizedError\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"ComponentOutputUnrecognizedError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompProcessPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"isCompProcessPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompIOPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"isCompIOPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompPropPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"isCompPropPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompContextPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"isCompContextPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultReactiveRecipientPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"DefaultReactiveRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isDefaultReactiveRecipientPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"isDefaultReactiveRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CheckCompInputsPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"CheckCompInputsPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ComponentPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"ComponentPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ExposePlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"ExposePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompStateIOPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"CompStateIOPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TrackPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"TrackPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContextPlugin\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"ContextPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompClass\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"isCompClass\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RawComponent\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"RawComponent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isCompInputWithOptions\", function() { return _component__WEBPACK_IMPORTED_MODULE_10__[\"isCompInputWithOptions\"]; });\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/inner-html.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/inner-html.js ***! - \*************************************************************************************/ -/*! exports provided: InnerHTMLPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InnerHTMLPlugin\", function() { return InnerHTMLPlugin; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\nclass InnerHTMLPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].Fallback;\n }\n setprop(prop, target, host) {\n if (prop === '_innerHTML') {\n host.innerHTML = target;\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=inner-html.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/inner-html.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/life-cycle.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/life-cycle.js ***! - \*************************************************************************************/ -/*! exports provided: LifeCyclePlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LifeCyclePlugin\", function() { return LifeCyclePlugin; });\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\nclass LifeCyclePlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_1__[\"PluginPriority\"].High;\n }\n postRender(node) {\n if (document.contains(node)) {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_0__[\"bind\"](node);\n }\n }\n}\n//# sourceMappingURL=life-cycle.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/life-cycle.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/object-value.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/object-value.js ***! - \***************************************************************************************/ -/*! exports provided: ObjectValuePlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObjectValuePlugin\", function() { return ObjectValuePlugin; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\nclass ObjectValuePlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].Fallback;\n }\n setprop(prop, target, host) {\n if (prop === '_value' && (host instanceof HTMLOptionElement || host instanceof HTMLInputElement)) {\n host._value = target;\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=object-value.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/object-value.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js ***! - \*********************************************************************************/ -/*! exports provided: PluginPriority */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PluginPriority\", function() { return PluginPriority; });\nvar PluginPriority;\n(function (PluginPriority) {\n PluginPriority[PluginPriority[\"High\"] = 1] = \"High\";\n PluginPriority[PluginPriority[\"Fallback\"] = 2] = \"Fallback\";\n})(PluginPriority || (PluginPriority = {}));\n//# sourceMappingURL=plugin.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/ref.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/ref.js ***! - \******************************************************************************/ -/*! exports provided: RefPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RefPlugin\", function() { return RefPlugin; });\n/* harmony import */ var _ref__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ref */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/ref.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\nclass RefPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_1__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === '_ref' && target instanceof _ref__WEBPACK_IMPORTED_MODULE_0__[\"Ref\"]) {\n target.resolve(host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=ref.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/ref.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-context-subject.js": -/*!****************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-context-subject.js ***! - \****************************************************************************************************/ -/*! exports provided: CompContextSubjectPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompContextSubjectPlugin\", function() { return CompContextSubjectPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass CompContextSubjectPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n wireContext(_, value, recipient, sub) {\n if (recipient instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]) {\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_1__[\"isPinLike\"])(value))\n sub.add(value.subscribe(v => recipient.next(v)));\n else if (value instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"])\n sub.add(value.subscribe(v => recipient.next(v)));\n else\n recipient.next(value);\n return true;\n }\n return false;\n }\n}\n//# sourceMappingURL=comp-context-subject.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-context-subject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-input-subject.js": -/*!**************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-input-subject.js ***! - \**************************************************************************************************/ -/*! exports provided: CompInputSubject, CompInputSubjectPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(setImmediate) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubject\", function() { return CompInputSubject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubjectPlugin\", function() { return CompInputSubjectPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\n\nclass CompInputSubject extends rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"] {\n constructor(inputOptions = {}) {\n super();\n this.inputOptions = inputOptions;\n }\n}\nclass CompInputSubjectPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_3__[\"PluginPriority\"].High;\n }\n wireProp(name, prop, node, signature) {\n if (signature.inputs && name in signature.inputs && signature.inputs[name] instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]) {\n let input = signature.inputs[name];\n if (prop instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"])\n prop.subscribe(input);\n else if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_1__[\"isPinLike\"])(prop))\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"attach\"](prop.to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_1__[\"sink\"])(v => input.next(v))), node);\n else {\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"attach\"]({\n bind() {\n setImmediate(() => {\n input.next(prop);\n input.complete();\n });\n }\n }, node);\n }\n return true;\n }\n return false;\n }\n}\n//# sourceMappingURL=comp-input-subject.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../timers-browserify/main.js */ \"./.codedoc/node_modules/timers-browserify/main.js\").setImmediate))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-input-subject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-output-observable-events.js": -/*!*************************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-output-observable-events.js ***! - \*************************************************************************************************************/ -/*! exports provided: CompOutputObservableEventsPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservableEventsPlugin\", function() { return CompOutputObservableEventsPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _util_custom_event_polyfill__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/custom-event.polyfill */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/custom-event.polyfill.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _trackable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./trackable */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/trackable.js\");\n\n\n\n\n\n\nclass CompOutputObservableEventsPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_4__[\"PluginPriority\"].High;\n }\n wire(node, signature) {\n if (!(node instanceof DocumentFragment) && signature.outputs) {\n Object(_util_custom_event_polyfill__WEBPACK_IMPORTED_MODULE_3__[\"polyfillCustomEvent\"])();\n Object.entries(signature.outputs).forEach(([name, output]) => {\n if (output instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"])\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"attach\"](Object(_trackable__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(output.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"tap\"])(value => node.dispatchEvent(new CustomEvent(name, { detail: { value } }))))), node);\n });\n }\n }\n}\n//# sourceMappingURL=comp-output-observable-events.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-output-observable-events.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-output-observable.js": -/*!******************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-output-observable.js ***! - \******************************************************************************************************/ -/*! exports provided: CompOutputObservablePlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservablePlugin\", function() { return CompOutputObservablePlugin; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _trackable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./trackable */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/trackable.js\");\n\n\n\n\n\n\nclass CompOutputObservablePlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_4__[\"PluginPriority\"].High;\n }\n wireProp(name, prop, node, signature) {\n if (signature.outputs && name in signature.outputs && signature.outputs[name] instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]) {\n let output = signature.outputs[name];\n if (prop instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]) {\n let sub = prop;\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_3__[\"attach\"](Object(_trackable__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(output.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"tap\"])(v => sub.next(v)))), node);\n return true;\n }\n else if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(prop)) {\n let src;\n if (prop instanceof _connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"Source\"])\n src = prop;\n else\n src = prop.from(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"source\"])());\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_3__[\"attach\"](Object(_trackable__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(output.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"tap\"])(v => src.send(v)))), node);\n return true;\n }\n else if (typeof prop == 'function') {\n let func = prop;\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_3__[\"attach\"](Object(_trackable__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(output.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"tap\"])(v => func(v)))), node);\n return true;\n }\n }\n return false;\n }\n}\n//# sourceMappingURL=comp-output-observable.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-output-observable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/default-recipient.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/default-recipient.js ***! - \*************************************************************************************************/ -/*! exports provided: DefaultSubjectRecipientPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultSubjectRecipientPlugin\", function() { return DefaultSubjectRecipientPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _component_basic_plugins__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../component/basic-plugins */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/component/basic-plugins.js\");\n\n\nclass DefaultSubjectRecipientPlugin extends _component_basic_plugins__WEBPACK_IMPORTED_MODULE_1__[\"DefaultReactiveRecipientPlugin\"] {\n defaultContext() { return new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"](); }\n defaultInput() { return new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"](); }\n defaultOutput() { return new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"](); }\n defaultState() { return new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"](); }\n}\n//# sourceMappingURL=default-recipient.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/default-recipient.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/index.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/index.js ***! - \*************************************************************************************/ -/*! exports provided: rxjsPlugins, ObservablePlugin, ObservableClassPlugin, ObservableObjectValuePlugin, ObservableInnerHTMLPlugin, SubjectEventHandlerPlugin, InputSubjectPlugin, CompInputSubjectPlugin, CompContextSubjectPlugin, CompOutputObservablePlugin, CompOutputObservableEventsPlugin, DefaultSubjectRecipientPlugin, CompInputSubject, trackable, Trackable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rxjsPlugins\", function() { return rxjsPlugins; });\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/observable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservablePlugin\", function() { return _observable__WEBPACK_IMPORTED_MODULE_0__[\"ObservablePlugin\"]; });\n\n/* harmony import */ var _observable_class__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable-class */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/observable-class.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableClassPlugin\", function() { return _observable_class__WEBPACK_IMPORTED_MODULE_1__[\"ObservableClassPlugin\"]; });\n\n/* harmony import */ var _object_value__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./object-value */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/object-value.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableObjectValuePlugin\", function() { return _object_value__WEBPACK_IMPORTED_MODULE_2__[\"ObservableObjectValuePlugin\"]; });\n\n/* harmony import */ var _subject_event_handler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./subject-event-handler */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/subject-event-handler.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SubjectEventHandlerPlugin\", function() { return _subject_event_handler__WEBPACK_IMPORTED_MODULE_3__[\"SubjectEventHandlerPlugin\"]; });\n\n/* harmony import */ var _input_subject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./input-subject */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/input-subject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InputSubjectPlugin\", function() { return _input_subject__WEBPACK_IMPORTED_MODULE_4__[\"InputSubjectPlugin\"]; });\n\n/* harmony import */ var _inner_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./inner-html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/inner-html.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObservableInnerHTMLPlugin\", function() { return _inner_html__WEBPACK_IMPORTED_MODULE_5__[\"ObservableInnerHTMLPlugin\"]; });\n\n/* harmony import */ var _comp_input_subject__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./comp-input-subject */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-input-subject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubjectPlugin\", function() { return _comp_input_subject__WEBPACK_IMPORTED_MODULE_6__[\"CompInputSubjectPlugin\"]; });\n\n/* harmony import */ var _comp_output_observable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./comp-output-observable */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-output-observable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservablePlugin\", function() { return _comp_output_observable__WEBPACK_IMPORTED_MODULE_7__[\"CompOutputObservablePlugin\"]; });\n\n/* harmony import */ var _comp_output_observable_events__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./comp-output-observable-events */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-output-observable-events.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompOutputObservableEventsPlugin\", function() { return _comp_output_observable_events__WEBPACK_IMPORTED_MODULE_8__[\"CompOutputObservableEventsPlugin\"]; });\n\n/* harmony import */ var _comp_context_subject__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./comp-context-subject */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/comp-context-subject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompContextSubjectPlugin\", function() { return _comp_context_subject__WEBPACK_IMPORTED_MODULE_9__[\"CompContextSubjectPlugin\"]; });\n\n/* harmony import */ var _default_recipient__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./default-recipient */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/default-recipient.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultSubjectRecipientPlugin\", function() { return _default_recipient__WEBPACK_IMPORTED_MODULE_10__[\"DefaultSubjectRecipientPlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CompInputSubject\", function() { return _comp_input_subject__WEBPACK_IMPORTED_MODULE_6__[\"CompInputSubject\"]; });\n\n/* harmony import */ var _trackable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./trackable */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/trackable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"trackable\", function() { return _trackable__WEBPACK_IMPORTED_MODULE_11__[\"trackable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Trackable\", function() { return _trackable__WEBPACK_IMPORTED_MODULE_11__[\"Trackable\"]; });\n\n\n\n\n\n\n\n\n\n\n\n\nfunction rxjsPlugins() {\n return [\n new _observable__WEBPACK_IMPORTED_MODULE_0__[\"ObservablePlugin\"](),\n new _observable_class__WEBPACK_IMPORTED_MODULE_1__[\"ObservableClassPlugin\"](),\n new _object_value__WEBPACK_IMPORTED_MODULE_2__[\"ObservableObjectValuePlugin\"](),\n new _inner_html__WEBPACK_IMPORTED_MODULE_5__[\"ObservableInnerHTMLPlugin\"](),\n new _subject_event_handler__WEBPACK_IMPORTED_MODULE_3__[\"SubjectEventHandlerPlugin\"](),\n new _input_subject__WEBPACK_IMPORTED_MODULE_4__[\"InputSubjectPlugin\"](),\n new _comp_input_subject__WEBPACK_IMPORTED_MODULE_6__[\"CompInputSubjectPlugin\"](),\n new _comp_output_observable__WEBPACK_IMPORTED_MODULE_7__[\"CompOutputObservablePlugin\"](),\n new _comp_output_observable_events__WEBPACK_IMPORTED_MODULE_8__[\"CompOutputObservableEventsPlugin\"](),\n new _comp_context_subject__WEBPACK_IMPORTED_MODULE_9__[\"CompContextSubjectPlugin\"](),\n new _default_recipient__WEBPACK_IMPORTED_MODULE_10__[\"DefaultSubjectRecipientPlugin\"](),\n ];\n}\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/inner-html.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/inner-html.js ***! - \******************************************************************************************/ -/*! exports provided: ObservableInnerHTMLPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObservableInnerHTMLPlugin\", function() { return ObservableInnerHTMLPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass ObservableInnerHTMLPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === '_innerHTML' && target instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n let sub;\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"]({\n bind() { sub = target.subscribe(v => host.innerHTML = v); },\n clear() { sub.unsubscribe(); },\n }, host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=inner-html.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/inner-html.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/input-subject.js": -/*!*********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/input-subject.js ***! - \*********************************************************************************************/ -/*! exports provided: InputSubjectPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InputSubjectPlugin\", function() { return InputSubjectPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _util_input_value__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/input-value */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/input-value.js\");\n\n\n\n\n\nclass InputSubjectPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_3__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === '_state' && (host instanceof HTMLInputElement ||\n host instanceof HTMLTextAreaElement) && target instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"BehaviorSubject\"]) {\n let sub = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"attach\"]({\n bind() {\n sub.add(Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(host, 'input')\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(() => Object(_util_input_value__WEBPACK_IMPORTED_MODULE_4__[\"getInputValue\"])(host))).subscribe(target));\n sub.add(target.subscribe(v => Object(_util_input_value__WEBPACK_IMPORTED_MODULE_4__[\"setInputValue\"])(host, v)));\n },\n clear() { sub.unsubscribe(); },\n }, host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=input-subject.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/input-subject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/object-value.js": -/*!********************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/object-value.js ***! - \********************************************************************************************/ -/*! exports provided: ObservableObjectValuePlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObservableObjectValuePlugin\", function() { return ObservableObjectValuePlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass ObservableObjectValuePlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === '_value'\n && (host instanceof HTMLOptionElement || host instanceof HTMLInputElement)\n && target instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n let sub;\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"]({\n bind() { sub = target.subscribe(v => host._value = v); },\n clear() { sub.unsubscribe(); },\n }, host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=object-value.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/object-value.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/observable-class.js": -/*!************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/observable-class.js ***! - \************************************************************************************************/ -/*! exports provided: ObservableClassPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObservableClassPlugin\", function() { return ObservableClassPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _shared_class_list_fixed__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/class-list-fixed */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/class-list-fixed.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\n\nclass ObservableClassPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_3__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop === 'class' && target instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n let sub;\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"]({\n bind() {\n sub = target.subscribe(v => {\n let classes = (v !== undefined) ? v.toString() : '';\n const fixed = _shared_class_list_fixed__WEBPACK_IMPORTED_MODULE_2__[\"get\"](host);\n if (fixed.length > 0)\n classes += ' ' + fixed.join(' ');\n host.setAttribute('class', classes);\n });\n },\n clear() { sub.unsubscribe(); },\n }, host);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=observable-class.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/observable-class.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/observable.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/observable.js ***! - \******************************************************************************************/ -/*! exports provided: ObservablePlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObservablePlugin\", function() { return ObservablePlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\n\nclass ObservablePlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_2__[\"PluginPriority\"].Fallback;\n }\n setprop(prop, target, host) {\n if (target instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n let sub;\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"]({\n bind() {\n sub = target.subscribe(v => {\n if (typeof v === 'boolean') {\n if (v)\n host.setAttribute(prop, '');\n else\n host.removeAttribute(prop);\n }\n else\n host.setAttribute(prop, (v !== undefined) ? v.toString() : '');\n });\n },\n clear() { sub.unsubscribe(); },\n }, host);\n return true;\n }\n else\n return false;\n }\n append(target, host) {\n if (target instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n let node = document.createTextNode('');\n let sub;\n _shared_life_cycle__WEBPACK_IMPORTED_MODULE_1__[\"attach\"]({\n bind() { sub = target.subscribe(v => node.textContent = (v !== undefined) ? v.toString() : ''); },\n clear() { sub.unsubscribe(); },\n }, node);\n host.appendChild(node);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=observable.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/observable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/subject-event-handler.js": -/*!*****************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/subject-event-handler.js ***! - \*****************************************************************************************************/ -/*! exports provided: SubjectEventHandlerPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SubjectEventHandlerPlugin\", function() { return SubjectEventHandlerPlugin; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n\n\nclass SubjectEventHandlerPlugin {\n constructor() {\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_1__[\"PluginPriority\"].High;\n }\n setprop(prop, target, host) {\n if (prop.startsWith('on') && target instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]) {\n const event = prop.substr(2).toLowerCase();\n Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"fromEvent\"])(host, event).subscribe(target);\n return true;\n }\n else\n return false;\n }\n}\n//# sourceMappingURL=subject-event-handler.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/subject-event-handler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/trackable.js": -/*!*****************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/trackable.js ***! - \*****************************************************************************************/ -/*! exports provided: Trackable, trackable, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Trackable\", function() { return Trackable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"trackable\", function() { return trackable; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n\nclass Trackable {\n constructor(obs) {\n this.obs = obs;\n }\n bind() {\n this.sub = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n this.obs.forEach(ob => this.sub.add(ob.subscribe()));\n return this;\n }\n clear() {\n this.sub.unsubscribe();\n return this;\n }\n}\nfunction trackable(...obs) {\n return new Trackable(obs);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (trackable);\n//# sourceMappingURL=trackable.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/rxjs/trackable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/styled.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/styled.js ***! - \*********************************************************************************/ -/*! exports provided: StyledPlugin, styled, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StyledPlugin\", function() { return StyledPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"styled\", function() { return styled; });\n/* harmony import */ var _plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./plugin */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/plugin.js\");\n/* harmony import */ var _shared_class_list_fixed__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../shared/class-list-fixed */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/class-list-fixed.js\");\n\n\nclass StyledPlugin {\n constructor(map) {\n this.map = map;\n this.priority = _plugin__WEBPACK_IMPORTED_MODULE_0__[\"PluginPriority\"].High;\n }\n unique(plugin) {\n return plugin instanceof StyledPlugin;\n }\n postCreate(node) {\n if (node instanceof HTMLElement) {\n const tag = node.tagName.toLocaleLowerCase();\n if (tag in this.map) {\n let clazz = this.map[tag];\n node.classList.add(clazz);\n _shared_class_list_fixed__WEBPACK_IMPORTED_MODULE_1__[\"add\"](node, clazz);\n }\n }\n }\n}\nfunction styled(map) {\n return new StyledPlugin(map);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (styled);\n//# sourceMappingURL=styled.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/styled.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/custom-event.polyfill.js": -/*!*****************************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/custom-event.polyfill.js ***! - \*****************************************************************************************************/ -/*! exports provided: polyfillCustomEvent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"polyfillCustomEvent\", function() { return polyfillCustomEvent; });\nfunction polyfillCustomEvent() {\n if (typeof window.CustomEvent === \"function\")\n return false; //If not IE\n function CustomEvent(event, params) {\n params = params || { bubbles: false, cancelable: false, detail: undefined };\n var evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n }\n CustomEvent.prototype = window.Event.prototype;\n window.CustomEvent = CustomEvent;\n}\n//# sourceMappingURL=custom-event.polyfill.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/custom-event.polyfill.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/input-value.js": -/*!*******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/input-value.js ***! - \*******************************************************************************************/ -/*! exports provided: getInputValue, setInputValue */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getInputValue\", function() { return getInputValue; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setInputValue\", function() { return setInputValue; });\nfunction getInputValue(el) {\n if (el instanceof HTMLInputElement) {\n if (el.type === 'number')\n return parseFloat(el.value);\n else if (el.type === 'checkbox')\n return el.checked;\n else if (el.type === 'radio' && el._value)\n return el._value;\n else\n return el.value;\n }\n else if (el instanceof HTMLSelectElement) {\n let _res = [];\n for (let i = 0; i < el.options.length; i++) {\n let opt = el.options.item(i);\n if (opt && opt.selected)\n _res.push(opt._value || opt.value || opt.text);\n }\n if (!el.multiple)\n return _res[0];\n else\n return _res;\n }\n else\n return el.value;\n}\nfunction setInputValue(el, value) {\n if (el instanceof HTMLInputElement) {\n if (el.type === 'checkbox')\n el.checked = !!value;\n else if (el.type === 'radio')\n el.checked = (el._value && el._value === value) || value === el.value;\n else\n el.value = value;\n }\n else if (el instanceof HTMLSelectElement) {\n let val = value;\n if (!Array.isArray(val))\n val = [val];\n for (let i = 0; i < el.options.length; i++) {\n let opt = el.options.item(i);\n if (opt) {\n opt.selected = ((opt._value && val.includes(opt._value))\n || (opt.value && val.includes(opt.value))\n || (!opt.value && val.includes(opt.text)));\n }\n }\n }\n else\n el.value = value;\n}\n//# sourceMappingURL=input-value.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/plugin/util/input-value.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/ref.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/ref.js ***! - \***********************************************************************/ -/*! exports provided: Ref, ref, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Ref\", function() { return Ref; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ref\", function() { return ref; });\nclass Ref {\n constructor() {\n this._resolved = false;\n }\n get resolved() { return this._resolved; }\n get $() { return this._$; }\n resolve(t) {\n if (this.resolved)\n return;\n this._$ = t;\n this._resolved = true;\n }\n}\nfunction ref() { return new Ref(); }\n/* harmony default export */ __webpack_exports__[\"default\"] = (ref);\n//# sourceMappingURL=ref.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/ref.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/renderer/renderer.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/renderer/renderer.js ***! - \****************************************************************************/ -/*! exports provided: Renderer, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Renderer\", function() { return Renderer; });\n/* harmony import */ var _shared_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shared/types */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/types.js\");\n/* harmony import */ var _error_unsupported_tag_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./error/unsupported-tag.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-tag.error.js\");\n/* harmony import */ var _error_unsupported_prop_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./error/unsupported-prop.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-prop.error.js\");\n/* harmony import */ var _error_unsupported_child_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./error/unsupported-child.error */ \"./.codedoc/node_modules/@connectv/html/dist/es6/renderer/error/unsupported-child.error.js\");\n\n\n\n\n/**\n *\n * Wraps DOM API so that it is compatible with JSX/TSX expected syntax, by providing\n * a JSX factory function with the necessary signature. Additionally, provides some functions\n * to make working with DOM APIs a bit easier (to read/write).\n *\n * For proper JSX/TSX compilation, a JSX factory function is required with a predetermined\n * signature. Assuming that `renderer` is an instance of `Renderer` (this class),\n * `renderer.create()` is such a factory function. So assuming that the renderer in any context\n * is always named `renderer`, configuring typescript to use `renderer.create` function as\n * its TSX factory allows for proper TSX compilation by Typescript compiler.\n *\n */\nclass Renderer {\n /**\n *\n * Creates an HTML `Node` based on given parameters. The signature of this function is designed\n * so that it matches the arguments passed to it match what Typescript compiler passes to\n * a JSX factory.\n *\n * @param tag the tag of the HTML element to be created. The compiler passes a string in case of\n * lowercase-leading arguments (i.e. `sometag`) and passes the object in the context of the same name\n * if the first character is uppercase (i.e. `SomeTag`). The former is conventionally\n * used to denote native HTML elements, while the latter is used to denote custom elements.\n * Passing `fragment` as the tag will cause the renderer to create and return a `DocumentFragment`.\n *\n *\n * **NOTE** that the base renderer class is unable to handle custom elements, and in response\n * will throw an `UnsupportedTagTypeError`. Any child renderer class might also still\n * be unable to handle given custom tags and throw the same error.\n * @param props The properties of the HTML element to be created. Must be an object whose keys denote the name\n * of the property and its values the corresponding values of those properties.\n * Uses {@link Renderer#setprop} method to set each property.\n * @param children Child elements of the HTML element to be created. Each child is appended to the created\n * element using {@link Renderer#append} method.\n * @returns {Node} A `Node` element with given tag (or resolved final tag based on given custom-element), or\n * a `DocumentFragment` in-case a fragment is passed.\n *\n * @see Renderer#setprop\n * @see Renderer#append\n *\n */\n create(tag, props, ...children) {\n if (typeof tag == 'string') {\n let el;\n if (tag === 'fragment')\n el = document.createDocumentFragment();\n else {\n if (props && props.xmlns)\n el = document.createElementNS(`${props.xmlns}`, tag);\n else\n el = document.createElement(tag);\n if (props)\n Object.entries(props).forEach(([prop, target]) => this.setprop(prop, target, el));\n }\n children.forEach(child => this.append(child, el));\n return el;\n }\n else {\n throw new _error_unsupported_tag_error__WEBPACK_IMPORTED_MODULE_1__[\"UnsupportedTagTypeError\"](tag, this);\n }\n }\n /**\n *\n * Sets properties (attributes) of created node based on given properties.\n * The base-renderer is able to handle raw values (`number | boolean | string`),\n * and will throw an `UnsupportedPropError` if other unhandled property types\n * are given.\n *\n * @param prop the name of the property (attribute) to be set\n * @param target the to be set for the property (attribute)\n * @param host the element on which the property (attribute) is to be set.\n *\n */\n setprop(prop, target, host) {\n if (Object(_shared_types__WEBPACK_IMPORTED_MODULE_0__[\"isRawValue\"])(target)) {\n if (typeof target === 'boolean' && target)\n host.setAttribute(prop, '');\n else\n host.setAttribute(prop, target.toString());\n }\n else {\n throw new _error_unsupported_prop_error__WEBPACK_IMPORTED_MODULE_2__[\"UnsupportedPropError\"](target, this);\n }\n }\n /**\n *\n * Appends given child on given host `Node`. If passed an array, will append every element of it (recursively).\n * If a raw value (`number | boolean | string`) is passed, a `TextNode` containing the string format will be appended.\n * In case of an unsupported type, an `UnsupportedChildError` will be thrown.\n *\n * @param target the target to be appended.\n * @param host the host to which the target should be appended to.\n *\n */\n append(target, host) {\n if (target instanceof Node)\n host.appendChild(target);\n else if (Array.isArray(target))\n target.forEach(_ => this.append(_, host));\n else if (Object(_shared_types__WEBPACK_IMPORTED_MODULE_0__[\"isRawValue\"])(target))\n host.appendChild(document.createTextNode(target.toString()));\n else {\n throw new _error_unsupported_child_error__WEBPACK_IMPORTED_MODULE_3__[\"UnsupportedChildError\"](target, this);\n }\n }\n /**\n *\n * Renders given `Node` on, before or after another `Node`. Usage example:\n *\n * ```tsx\n * renderer.render()\n * .on(document.body);\n *\n * renderer.render()\n * .before(X);\n *\n * renderer.render(Y)\n * .after(someRef.$);\n * ```\n *\n * @param node the `Node` or `RenderableFunction` to be rendered\n * @returns a `TobeRendered` object that can be used to render the given node on, before or after another `Node`.\n *\n */\n render(nodeOrFactory) {\n let node;\n if (typeof nodeOrFactory === 'function')\n node = nodeOrFactory(this);\n else\n node = nodeOrFactory;\n return {\n target: node,\n on(host) {\n host.appendChild(node);\n return node;\n },\n before(ref) {\n if (ref.parentNode)\n ref.parentNode.insertBefore(node, ref);\n return node;\n },\n after(ref) {\n if (ref.parentNode)\n ref.parentNode.insertBefore(node, ref.nextSibling);\n return node;\n }\n };\n }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Renderer);\n//# sourceMappingURL=renderer.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/renderer/renderer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/shared/class-list-fixed.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/shared/class-list-fixed.js ***! - \**********************************************************************************/ -/*! exports provided: get, add, remove, ClassListFixed */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"get\", function() { return get; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"add\", function() { return add; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"remove\", function() { return remove; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ClassListFixed\", function() { return ClassListFixed; });\nfunction get(node) {\n return node.classListFixed || [];\n}\nfunction add(node, clazz) {\n node.classListFixed = node.classListFixed || [];\n if (!node.classListFixed.includes(clazz))\n node.classListFixed.push(clazz);\n}\nfunction remove(node, clazz) {\n if (node.classListFixed) {\n node.classListFixed = node.classListFixed.filter((c) => c !== clazz);\n }\n}\nconst ClassListFixed = { get, add, remove };\n//# sourceMappingURL=class-list-fixed.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/shared/class-list-fixed.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/shared/context.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/shared/context.js ***! - \*************************************************************************/ -/*! exports provided: set, resolve, CTX */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"set\", function() { return set; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolve\", function() { return resolve; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CTX\", function() { return CTX; });\nfunction set(node, context) {\n node.context = {\n values: context || {},\n ref: node\n };\n}\nfunction _resolve(node, keys) {\n const _node = node;\n if (_node.context) {\n const missing = keys.filter(k => !(k in _node.context.values));\n if (missing.length > 0) {\n const _ref = _node.context.ref;\n if (_ref) {\n const _parent = _ref.parentNode;\n if (_parent) {\n const ctx = _resolve(_parent, missing);\n missing.forEach(key => _node.context.values[key] = ctx.values[key]);\n }\n }\n }\n return _node.context;\n }\n else {\n const _parent = node.parentNode;\n if (_parent) {\n const ctx = _resolve(_parent, keys);\n _node.context = ctx;\n return ctx;\n }\n else\n return {\n values: {},\n ref: node\n };\n }\n}\nfunction resolve(node, keys) {\n return _resolve(node, keys).values;\n}\nconst CTX = { set, resolve };\n//# sourceMappingURL=context.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/shared/context.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/shared/index.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/shared/index.js ***! - \***********************************************************************/ -/*! exports provided: isRawValue, ClassListFixed, LifeCycle, CTX */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./types */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/types.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isRawValue\", function() { return _types__WEBPACK_IMPORTED_MODULE_0__[\"isRawValue\"]; });\n\n/* harmony import */ var _class_list_fixed__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./class-list-fixed */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/class-list-fixed.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ClassListFixed\", function() { return _class_list_fixed__WEBPACK_IMPORTED_MODULE_1__[\"ClassListFixed\"]; });\n\n/* harmony import */ var _life_cycle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./life-cycle */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LifeCycle\", function() { return _life_cycle__WEBPACK_IMPORTED_MODULE_2__[\"LifeCycle\"]; });\n\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./context */ \"./.codedoc/node_modules/@connectv/html/dist/es6/shared/context.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CTX\", function() { return _context__WEBPACK_IMPORTED_MODULE_3__[\"CTX\"]; });\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/shared/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js ***! - \****************************************************************************/ -/*! exports provided: lifeCycleInfo, setLifeCycleMarker, getLifeCycleMarker, bind, clear, attach, detach, LifeCycle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(setImmediate) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lifeCycleInfo\", function() { return lifeCycleInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setLifeCycleMarker\", function() { return setLifeCycleMarker; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLifeCycleMarker\", function() { return getLifeCycleMarker; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bind\", function() { return bind; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"clear\", function() { return clear; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"attach\", function() { return attach; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"detach\", function() { return detach; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LifeCycle\", function() { return LifeCycle; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n\nfunction lifeCycleInfo(node, createIfNonExistent = false) {\n let _node = node;\n if (node instanceof DocumentFragment) {\n let marker = getLifeCycleMarker(node);\n if (marker)\n return lifeCycleInfo(marker, createIfNonExistent);\n else if (createIfNonExistent) {\n marker = document.createElement('i');\n marker.setAttribute('hidden', '');\n setLifeCycleMarker(node, marker);\n return lifeCycleInfo(marker, true);\n }\n }\n else {\n if (_node.lifecycle)\n return _node.lifecycle;\n else if (createIfNonExistent) {\n _node.lifecycle = { bound: false };\n return _node.lifecycle;\n }\n }\n}\nfunction setLifeCycleMarker(fragment, marker) {\n fragment.lifecycleMarker = marker;\n if (!fragment.contains(marker))\n fragment.appendChild(marker);\n}\nfunction getLifeCycleMarker(fragment) {\n return fragment.lifecycleMarker;\n}\nfunction bind(node) {\n let lifecycle = lifeCycleInfo(node);\n if (lifecycle) {\n if (lifecycle.bound)\n return;\n lifecycle.bound = true;\n if (lifecycle.bindables)\n lifecycle.bindables.forEach(b => b.bind());\n }\n node.childNodes.forEach(bind);\n if (node.parentNode && !node.parentNode.childObserver) {\n let observer = new MutationObserver(changes => {\n changes.forEach(change => {\n if (change.removedNodes)\n change.removedNodes.forEach(node => setImmediate(() => {\n if (!document.contains(node))\n clear(node);\n }));\n });\n });\n observer.observe(node.parentNode, { childList: true });\n node.parentNode.childObserver = observer;\n attach({\n clear() { observer.disconnect(); }\n }, node.parentNode);\n }\n}\nfunction clear(node) {\n let lifecycle = lifeCycleInfo(node);\n if (lifecycle && lifecycle.clearables)\n lifecycle.clearables.forEach(c => c.clear());\n node.childNodes.forEach(clear);\n}\nfunction attach(thing, node) {\n let lifecycle = lifeCycleInfo(node, true);\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isBindable\"])(thing))\n (lifecycle.bindables || (lifecycle.bindables = [])).push(thing);\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isClearable\"])(thing))\n (lifecycle.clearables || (lifecycle.clearables = [])).push(thing);\n}\nfunction detach(thing, node) {\n let lifecycle = lifeCycleInfo(node);\n if (lifecycle) {\n if (lifecycle.bindables)\n lifecycle.bindables = lifecycle.bindables.filter(b => b !== thing);\n if (lifecycle.clearables)\n lifecycle.clearables = lifecycle.clearables.filter(b => b !== thing);\n }\n}\nconst LifeCycle = {\n info: lifeCycleInfo,\n getMarker: getLifeCycleMarker,\n setMarker: setLifeCycleMarker,\n bind,\n clear,\n attach,\n detach\n};\n//# sourceMappingURL=life-cycle.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../timers-browserify/main.js */ \"./.codedoc/node_modules/timers-browserify/main.js\").setImmediate))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/shared/life-cycle.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/shared/types.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/shared/types.js ***! - \***********************************************************************/ -/*! exports provided: isRawValue */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isRawValue\", function() { return isRawValue; });\nfunction isRawValue(value) {\n return typeof (value) === 'string' ||\n typeof (value) === 'number' ||\n typeof (value) === 'boolean';\n}\n//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/shared/types.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/typings/index.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/typings/index.js ***! - \************************************************************************/ -/*! exports provided: TYPINGS_IMPORTED */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPINGS_IMPORTED\", function() { return TYPINGS_IMPORTED; });\n// TODO: write some explanation on this file.\nconst TYPINGS_IMPORTED = true;\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/typings/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/util/auto-id.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/util/auto-id.js ***! - \***********************************************************************/ -/*! exports provided: _DefaultIdCharset, _DefaultIdLength, autoId, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_DefaultIdCharset\", function() { return _DefaultIdCharset; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_DefaultIdLength\", function() { return _DefaultIdLength; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"autoId\", function() { return autoId; });\nconst _DefaultIdCharset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_';\nconst _DefaultIdLength = 10;\nfunction autoId(len = _DefaultIdLength, charset = _DefaultIdCharset) {\n let res = '';\n for (let i = 0; i < len; i++)\n res += charset[Math.floor(Math.random() * charset.length)];\n return res;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (autoId);\n//# sourceMappingURL=auto-id.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/util/auto-id.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/util/index.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/util/index.js ***! - \*********************************************************************/ -/*! exports provided: autoId, toggleList, rxToggleList, rl, rxLiteral */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _auto_id__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./auto-id */ \"./.codedoc/node_modules/@connectv/html/dist/es6/util/auto-id.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"autoId\", function() { return _auto_id__WEBPACK_IMPORTED_MODULE_0__[\"autoId\"]; });\n\n/* harmony import */ var _toggle_list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toggle-list */ \"./.codedoc/node_modules/@connectv/html/dist/es6/util/toggle-list.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"toggleList\", function() { return _toggle_list__WEBPACK_IMPORTED_MODULE_1__[\"toggleList\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rxToggleList\", function() { return _toggle_list__WEBPACK_IMPORTED_MODULE_1__[\"rxToggleList\"]; });\n\n/* harmony import */ var _reactive_literal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactive-literal */ \"./.codedoc/node_modules/@connectv/html/dist/es6/util/reactive-literal.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rl\", function() { return _reactive_literal__WEBPACK_IMPORTED_MODULE_2__[\"reactiveLiteral\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"rxLiteral\", function() { return _reactive_literal__WEBPACK_IMPORTED_MODULE_2__[\"rxLiteral\"]; });\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/util/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/util/reactive-literal.js": -/*!********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/util/reactive-literal.js ***! - \********************************************************************************/ -/*! exports provided: reactiveLiteral, rxLiteral */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reactiveLiteral\", function() { return reactiveLiteral; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rxLiteral\", function() { return rxLiteral; });\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n\n\n\nfunction reactiveLiteral(strings, ...values) {\n return Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"group\"])(...values.map(v => {\n if (Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"isPinLike\"])(v))\n return v;\n else if (v instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"])\n return Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"wrap\"])(v);\n else\n return Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"value\"])(v);\n }))\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"pack\"])())\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_0__[\"map\"])((values) => strings.reduce((total, piece, index) => total + piece + (values[index] || '').toString(), '')));\n}\nfunction rxLiteral(strings, ...values) {\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"combineLatest\"])(...values.map(v => {\n if (v instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"])\n return v;\n else\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"of\"])(v);\n })).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(values => strings.reduce((total, piece, index) => total + piece + (values[index] || '').toString(), '')));\n}\n//# sourceMappingURL=reactive-literal.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/util/reactive-literal.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/html/dist/es6/util/toggle-list.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/html/dist/es6/util/toggle-list.js ***! - \***************************************************************************/ -/*! exports provided: toggleList, rxToggleList */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toggleList\", function() { return toggleList; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rxToggleList\", function() { return rxToggleList; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./.codedoc/node_modules/rxjs/_esm5/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./.codedoc/node_modules/rxjs/_esm5/operators/index.js\");\n/* harmony import */ var _connectv_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @connectv/core */ \"./.codedoc/node_modules/@connectv/core/dist/es6/index.js\");\n\n\n\nconst _DefaultAggregator = (names) => names.join(' ');\nfunction toggleList(names, aggregator) {\n const _aggregator = aggregator || _DefaultAggregator;\n return Object(_connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"group\"])(...Object.entries(names)\n .map(([name, $]) => (($ instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) ? Object(_connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"wrap\"])($) : $)\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((v) => [name, v]))))\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"pack\"])())\n .to(Object(_connectv_core__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((l) => _aggregator(l.filter(([_, v]) => v).map(([n, _]) => n))));\n}\nfunction rxToggleList(names, aggregator) {\n const _aggregator = aggregator || _DefaultAggregator;\n return Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"combineLatest\"])(...Object.entries(names)\n .map(([name, $]) => $.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(v => [name, v]))))\n .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"map\"])((l) => _aggregator(l.filter(([_, v]) => v).map(([n, _]) => n))));\n}\n//# sourceMappingURL=toggle-list.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/html/dist/es6/util/toggle-list.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js ***! - \*********************************************************************/ -/*! exports provided: ThemePlugin, theme, ThemedStyle, themedStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./theme */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/theme.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ThemePlugin\", function() { return _theme__WEBPACK_IMPORTED_MODULE_0__[\"ThemePlugin\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"theme\", function() { return _theme__WEBPACK_IMPORTED_MODULE_0__[\"theme\"]; });\n\n/* harmony import */ var _themed_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./themed-style */ \"./.codedoc/node_modules/@connectv/jss-theme/dist/es6/themed-style.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ThemedStyle\", function() { return _themed_style__WEBPACK_IMPORTED_MODULE_1__[\"ThemedStyle\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"themedStyle\", function() { return _themed_style__WEBPACK_IMPORTED_MODULE_1__[\"themedStyle\"]; });\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/jss-theme/dist/es6/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/jss-theme/dist/es6/theme.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/jss-theme/dist/es6/theme.js ***! - \*********************************************************************/ -/*! exports provided: ThemePlugin, theme */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ThemePlugin\", function() { return ThemePlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"theme\", function() { return theme; });\n/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss */ \"./.codedoc/node_modules/jss/dist/jss.esm.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n\n\n/**\n *\n * A rendering plugin representing a theme. Provides access to the theme to\n * components. Resolves given `ThemedStyle` objects with the specified theme,\n * attaches them to the document on the client side or stores them and attaches them all\n * to the final document in server-side rendering.\n *\n */\nclass ThemePlugin {\n /**\n *\n * @param theme the underlying theme object\n *\n */\n constructor(theme) {\n this.theme = theme;\n this.priority = _connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"PluginPriority\"].High;\n this.themedStyles = {};\n this.sheets = {};\n this.registry = new jss__WEBPACK_IMPORTED_MODULE_0__[\"SheetsRegistry\"]();\n }\n /**\n *\n * Adds given `ThemedStyle` object to the list of styles managed by this plugin.\n * Will attach resolved stylesheet of the style to the document on the client side\n * or stores the resolved stylesheets and renders them to given documents in case of\n * server side rendering, if the style is not added before.\n *\n * If you want to prefetch your component styles, simply call this function on your\n * styles. This will ensure that they are attached to the document and will not be dynamically\n * re-attached when accessed by a component.\n *\n * @param themedStyle\n * @returns `this` for chaining convenience.\n *\n */\n add(themedStyle) {\n if (!(themedStyle.id in this.themedStyles)) {\n this.themedStyles[themedStyle.id] = themedStyle;\n const sheet = this.sheets[themedStyle.id] = themedStyle.styleSheet(this.theme);\n sheet.attach();\n this.registry.add(sheet);\n }\n return this;\n }\n /**\n *\n * Will add given style to managed styles (if not added before) and\n * return the resolved JSS stylesheet.\n *\n * @param themedStyle\n *\n */\n sheet(themedStyle) {\n this.add(themedStyle);\n return this.sheets[themedStyle.id];\n }\n /**\n *\n * Will add given style to managed styles (if not added before) and\n * return the class map of the resolved JSS stylesheet.\n *\n * @param themedStyle\n *\n */\n classes(themedStyle) {\n return this.sheet(themedStyle).classes;\n }\n /**\n *\n * Will add given style to managed styles (if not added before) and\n * return a rendering plugin that automatically adds classes to rendered elements\n * based on their tag name.\n *\n * Example:\n * ```tsx\n * const style = themedStyle(theme => ({\n * div: {\n * background: 'red',\n * color: theme.primary,\n * }\n * }));\n *\n * export function Comp(_, renderer) {\n * renderer = renderer.plug(this.theme.styled(style));\n * return
Hellow
// --> the div will automatically get the styles.\n * }\n * ```\n *\n * @param themedStyle\n *\n */\n styled(themedStyle) {\n return Object(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"styled\"])(this.classes(themedStyle));\n }\n /**\n *\n * Will render all stored styles on the given document. This is particularly\n * useful for server-side rendering. DO NOT CALL THIS ON CLIENT SIDE, as on the\n * client side all styles are attached upon being added and this will only cause\n * duplicate styles to be attached to the document.\n *\n * @param html\n *\n */\n post(html) {\n const el = html.createElement('style');\n el.innerHTML = this.registry.toString();\n html.head.append(el);\n }\n prepare(_, __, ___, extra) {\n extra.theme = this;\n return () => { };\n }\n}\n/**\n *\n * Creates a theme plugin based on given theme object. This plugin then can be\n * plugged into a renderer.\n *\n * Example:\n * ```tsx\n * import { Renderer } from '@connectv/html';\n *\n * const myTheme = theme({\n * primary: '#ff00ff'\n * });\n *\n * const renderer = new Renderer().plug(myTheme);\n * ```\n *\n * @param theme\n *\n */\nfunction theme(theme) {\n return new ThemePlugin(theme);\n}\n//# sourceMappingURL=theme.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/jss-theme/dist/es6/theme.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/jss-theme/dist/es6/themed-style.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/jss-theme/dist/es6/themed-style.js ***! - \****************************************************************************/ -/*! exports provided: ThemedStyle, themedStyle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ThemedStyle\", function() { return ThemedStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"themedStyle\", function() { return themedStyle; });\n/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss */ \"./.codedoc/node_modules/jss/dist/jss.esm.js\");\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n\n\n/**\n *\n * Represents a themed style. A themed style can be resolved into\n * JSS stylesheets using a theme object.\n *\n */\nclass ThemedStyle {\n /**\n *\n * @param factory the `ThemedStyleFactory` function to be used for resolving this themed style\n * to JSS stylesheets\n *\n */\n constructor(factory) {\n this.factory = factory;\n this.id = Object(_connectv_html__WEBPACK_IMPORTED_MODULE_1__[\"autoId\"])();\n }\n /**\n *\n * @param theme\n * @returns a resolved style object based on given theme\n *\n */\n style(theme) {\n return this.factory(theme);\n }\n /**\n *\n * @param theme\n * @returns a JSS stylesheet based on given theme\n *\n */\n styleSheet(theme) {\n return jss__WEBPACK_IMPORTED_MODULE_0__[\"default\"].createStyleSheet(this.style(theme));\n }\n}\n/**\n *\n * Creates a `ThemedStyle` object from given `ThemedStyleFactory`. The given\n * function will be utilized to resolve the themed style to JSS stylesheets\n * from given theme objects.\n *\n * @param factory\n *\n */\nfunction themedStyle(factory) {\n return new ThemedStyle(factory);\n}\n//# sourceMappingURL=themed-style.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/jss-theme/dist/es6/themed-style.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/func-transport.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/func-transport.js ***! - \******************************************************************************************/ -/*! exports provided: funcTransport, getFuncTransportInfo */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"funcTransport\", function() { return funcTransport; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getFuncTransportInfo\", function() { return getFuncTransportInfo; });\n/* harmony import */ var _shared_trace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../shared/trace */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/trace.js\");\n/* harmony import */ var _transport_info__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transport-info */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport-info.js\");\n\n\n/**\n *\n * Attaches necessary transport information to given transportable function.\n *\n * @param func\n * @returns the same function (with transport info attached)\n *\n */\nfunction funcTransport(func) {\n const trace = Object(_shared_trace__WEBPACK_IMPORTED_MODULE_0__[\"callTrace\"])();\n if (!trace)\n return func; // --> unable to get trace info, perhaps client side code\n func.__transport_info = Object(_transport_info__WEBPACK_IMPORTED_MODULE_1__[\"createInfo\"])(func.name, trace);\n return func;\n}\n/**\n *\n * @param func\n * @returns attached transport information of given transported function, if any.\n *\n */\nfunction getFuncTransportInfo(func) {\n return func.__transport_info;\n}\n//# sourceMappingURL=func-transport.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/func-transport.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js ***! - \*********************************************************************************/ -/*! exports provided: createInfo, attachInfo, fetchInfo, leanInfo, getCompTransportInfo, attachCompTransportInfo, transportRef, transport, funcTransport, getFuncTransportInfo, onReady, isPostProcessPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _transport_info__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transport-info */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport-info.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createInfo\", function() { return _transport_info__WEBPACK_IMPORTED_MODULE_0__[\"createInfo\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"attachInfo\", function() { return _transport_info__WEBPACK_IMPORTED_MODULE_0__[\"attachInfo\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"fetchInfo\", function() { return _transport_info__WEBPACK_IMPORTED_MODULE_0__[\"fetchInfo\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"leanInfo\", function() { return _transport_info__WEBPACK_IMPORTED_MODULE_0__[\"leanInfo\"]; });\n\n/* harmony import */ var _transport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getCompTransportInfo\", function() { return _transport__WEBPACK_IMPORTED_MODULE_1__[\"getCompTransportInfo\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"attachCompTransportInfo\", function() { return _transport__WEBPACK_IMPORTED_MODULE_1__[\"attachCompTransportInfo\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"transportRef\", function() { return _transport__WEBPACK_IMPORTED_MODULE_1__[\"transportRef\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"transport\", function() { return _transport__WEBPACK_IMPORTED_MODULE_1__[\"transport\"]; });\n\n/* harmony import */ var _func_transport__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./func-transport */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/func-transport.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"funcTransport\", function() { return _func_transport__WEBPACK_IMPORTED_MODULE_2__[\"funcTransport\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getFuncTransportInfo\", function() { return _func_transport__WEBPACK_IMPORTED_MODULE_2__[\"getFuncTransportInfo\"]; });\n\n/* harmony import */ var _on_ready__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./on-ready */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/on-ready.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"onReady\", function() { return _on_ready__WEBPACK_IMPORTED_MODULE_3__[\"onReady\"]; });\n\n/* harmony import */ var _static_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../static/types */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/static/types.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isPostProcessPlugin\", function() { return _static_types__WEBPACK_IMPORTED_MODULE_4__[\"isPostProcessPlugin\"]; });\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/on-ready.js": -/*!************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/on-ready.js ***! - \************************************************************************************/ -/*! exports provided: onReady */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"onReady\", function() { return onReady; });\nfunction onReady(callback) {\n if (document.readyState != 'loading') {\n setTimeout(callback, 1);\n }\n else {\n window.addEventListener('DOMContentLoaded', callback);\n }\n}\n//# sourceMappingURL=on-ready.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/on-ready.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport-info.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport-info.js ***! - \******************************************************************************************/ -/*! exports provided: createInfo, attachInfo, fetchInfo, leanInfo */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createInfo\", function() { return createInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"attachInfo\", function() { return attachInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fetchInfo\", function() { return fetchInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"leanInfo\", function() { return leanInfo; });\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! path */ \"./.codedoc/node_modules/path-browserify/index.js\");\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! crypto */ \"./.codedoc/node_modules/crypto-browserify/index.js\");\n/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(crypto__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _shared_lifecycle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../shared/lifecycle */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/lifecycle.js\");\n\n\n\nfunction hash(x) {\n return Object(crypto__WEBPACK_IMPORTED_MODULE_1__[\"createHash\"])('md5').update(x).digest('base64').toString();\n}\n/**\n *\n * @param name\n * @param trace\n * @returns a `TransportInfo` based on given artifact name and given NodeJS trace.\n *\n */\nfunction createInfo(name, trace) {\n const filename = (trace.getFileName() || '').split(path__WEBPACK_IMPORTED_MODULE_0__[\"sep\"]).join('/');\n return { name, filename, hash: hash(filename + '::' + name), resolved: false };\n}\n/**\n *\n * Attaches given `TransportInfo` to given `Node`.\n *\n * @param node\n * @param info\n *\n */\nfunction attachInfo(node, info) {\n if (node instanceof DocumentFragment)\n attachInfo(Object(_shared_lifecycle__WEBPACK_IMPORTED_MODULE_2__[\"getLSMarker\"])(node), info);\n else\n node.__transport_info = info;\n}\n/**\n *\n * @param node\n * @returns all attached `TransportInfo` on given `Node`\n *\n */\nfunction fetchInfo(node) {\n if (node instanceof DocumentFragment)\n return fetchInfo(Object(_shared_lifecycle__WEBPACK_IMPORTED_MODULE_2__[\"getLSMarker\"])(node));\n else {\n let res = [];\n const info = node.__transport_info;\n if (info)\n res.push(info);\n node.childNodes.forEach(child => res = res.concat(fetchInfo(child)));\n return res;\n }\n}\n/**\n *\n * @param info\n * @returns a lean version of the transport info, omitting runtime-data.\n *\n */\nfunction leanInfo(info) {\n return {\n name: info.name,\n filename: info.filename,\n hash: info.hash\n };\n}\n//# sourceMappingURL=transport-info.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport-info.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport.js ***! - \*************************************************************************************/ -/*! exports provided: getCompTransportInfo, attachCompTransportInfo, transportRef, transport */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCompTransportInfo\", function() { return getCompTransportInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"attachCompTransportInfo\", function() { return attachCompTransportInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"transportRef\", function() { return transportRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"transport\", function() { return transport; });\n/* harmony import */ var _connectv_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @connectv/html */ \"./.codedoc/node_modules/@connectv/html/dist/es6/index.js\");\n/* harmony import */ var _shared_trace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../shared/trace */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/trace.js\");\n/* harmony import */ var _static_promise_recipient_promise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../static/promise/recipient-promise */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/static/promise/recipient-promise.js\");\n/* harmony import */ var _transport_info__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./transport-info */ \"./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport-info.js\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n/**\n *\n * @param component\n * @returns all attached `TransportInfo` on the given component, if any.\n *\n */\nfunction getCompTransportInfo(component) {\n return component.__transport_info;\n}\n/**\n *\n * Attaches given `TransportInfo` on given component.\n *\n * @param component\n * @param info\n *\n */\nfunction attachCompTransportInfo(component, info) {\n component.__transport_info = Object.assign(Object.assign({}, info), { resolved: false });\n}\n/**\n *\n * Creates a _transport reference_. A _transport reference_ can be used to conduct\n * **broad transport**, i.e. you can have the content that is supposed to be rendered\n * on the client side also replace some server-side-rendered content:\n *\n * ```tsx\n * function myComp(_, renderer) {\n * const tr = transportRef();\n *\n * return \n * // --> rendered on server-side\n *
// --> rendered on server-side\n * // --> rendered on client-side, replaces the others.\n * \n * }\n * ```\n *\n * @returns a _transport reference_\n *\n *\n */\nfunction transportRef() { return Object(_connectv_html__WEBPACK_IMPORTED_MODULE_0__[\"autoId\"])(); }\n/**\n *\n * Creates a transport component based on given (original) component.\n * On the server-side, the transport component ensures _CLIENT-SIDE_ rendering\n * of original component on the same spot in the DOM tree with same properties.\n * On the client-side, the transport component is identical to the original component.\n *\n * example:\n *\n * ```tsx\n * import { state } from '@connectv/core';\n * import { transport } from '@connectv/sdh/transport';\n *\n * export function Counter(_, renderer) {\n * const count = state(0);\n * return
count.value++}>You clicked {count} times!
;\n * }\n *\n * export const $Counter = transport(Counter);\n * ```\n *\n * In this example, you cannot use `Counter` component on server-side rendering since it needs\n * to bind to user clicks (trying to render it actually results in an error). However, you can\n * utilize `$Counter` instead, and it will ensure that `Counter` is rendered on the same locations\n * on the DOM tree that you rendered `$Counter` on, on the client-side.\n *\n * @note You MUST export both the original component and the transport component, from the same file.\n * This is how the original component is then imported (alongside with any possible dependencies)\n * into client bundles.\n *\n * @note Any properties passed to the transport component will be used in rendering of the original\n * component. However, you CANNOT pass any child elements to the transport component.\n *\n */\nfunction transport(component) {\n const trace = Object(_shared_trace__WEBPACK_IMPORTED_MODULE_1__[\"callTrace\"])();\n if (!trace)\n return component; // --> unable to get trace info, perhaps running on client.\n const info = Object(_transport_info__WEBPACK_IMPORTED_MODULE_3__[\"createInfo\"])(component.name, trace);\n const comp = function (props, renderer) {\n const id = props._transport || transportRef();\n const script = renderer.create(\"script\", { id: id },\n \"(function()\",\n '{',\n \"function load()\",\n '{',\n \"if (window.__sdh_transport)\",\n '{',\n \"window.__sdh_transport(\\\"\",\n id,\n \"\\\", \\\"\",\n info.hash,\n \"\\\", \",\n Promise.all(Object.keys(props).filter(key => key !== '_transport').map((key) => __awaiter(this, void 0, void 0, function* () { return [key, yield this.expose.in(key, Object(_static_promise_recipient_promise__WEBPACK_IMPORTED_MODULE_2__[\"recipientPromise\"])())]; })))\n .then(entries => entries.reduce((obj, [key, value]) => {\n obj[key] = value;\n return obj;\n }, {}))\n .then(JSON.stringify),\n \");\",\n props._transport ?\n `document.querySelectorAll('[data-transport=\"${props._transport}\"]').forEach(function(node){node.remove()});`\n : '',\n \"} }; if (document.readyState == 'complete') load(); else window.addEventListener('load', load); })()\");\n Object(_transport_info__WEBPACK_IMPORTED_MODULE_3__[\"attachInfo\"])(script, info);\n return script;\n };\n attachCompTransportInfo(comp, info);\n return comp;\n}\n//# sourceMappingURL=transport.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/dynamic/transport/transport.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/lifecycle.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/lifecycle.js ***! - \**************************************************************************/ -/*! exports provided: attachPromise, promises, isReady, WRCallbackDefaultPriority, WRCallbackHighPriority, whenRendered, itsRendered, setLSMarker, getLSMarker, addLSMarker */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"attachPromise\", function() { return attachPromise; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"promises\", function() { return promises; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isReady\", function() { return isReady; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WRCallbackDefaultPriority\", function() { return WRCallbackDefaultPriority; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WRCallbackHighPriority\", function() { return WRCallbackHighPriority; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"whenRendered\", function() { return whenRendered; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"itsRendered\", function() { return itsRendered; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setLSMarker\", function() { return setLSMarker; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLSMarker\", function() { return getLSMarker; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"addLSMarker\", function() { return addLSMarker; });\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nfunction attachPromise(host, promise) {\n if (host instanceof DocumentFragment) {\n let marker = getLSMarker(host);\n if (!marker)\n attachPromise(addLSMarker(host), promise);\n }\n else\n (host.__promises = host.__promises || []).push(promise);\n}\nfunction promises(node) {\n let childPromises = [];\n node.childNodes.forEach(child => childPromises = childPromises.concat(promises(child)));\n return (node.__promises || []).concat(childPromises);\n}\nfunction isReady(node) {\n return __awaiter(this, void 0, void 0, function* () {\n yield Promise.all(promises(node));\n return true;\n });\n}\nconst WRCallbackDefaultPriority = 0;\nconst WRCallbackHighPriority = 1000;\nfunction whenRendered(node, cb, priority = WRCallbackDefaultPriority) {\n if (node instanceof DocumentFragment) {\n let marker = getLSMarker(node);\n if (!marker)\n whenRendered(addLSMarker(node), cb);\n }\n else\n (node.__wr_callbacks = node.__wr_callbacks || []).push({ cb, priority });\n}\nfunction itsRendered(node) {\n (node.__wr_callbacks || [])\n .sort((a, b) => b.priority - a.priority)\n .forEach((w) => w.cb());\n node.childNodes.forEach(itsRendered);\n}\nfunction setLSMarker(fragment, marker) {\n fragment.__ls_marker = marker;\n if (!fragment.contains(marker))\n fragment.appendChild(marker);\n}\nfunction getLSMarker(fragment) {\n return fragment.__ls_marker;\n}\nfunction addLSMarker(fragment) {\n const marker = document.createElement('i');\n marker.setAttribute('hidden', '');\n setLSMarker(fragment, marker);\n return marker;\n}\n//# sourceMappingURL=lifecycle.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/lifecycle.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/trace.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/trace.js ***! - \**********************************************************************/ -/*! exports provided: callTrace */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"callTrace\", function() { return callTrace; });\nfunction callTrace() {\n const originalFunc = Error.prepareStackTrace;\n let caller;\n try {\n const err = new Error();\n Error.prepareStackTrace = function (_, stack) { return stack; };\n err.stack.shift();\n err.stack.shift();\n caller = err.stack.shift();\n }\n catch (e) { }\n Error.prepareStackTrace = originalFunc;\n return caller;\n}\n//# sourceMappingURL=trace.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/shared/trace.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/static/promise/recipient-promise.js": -/*!******************************************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/static/promise/recipient-promise.js ***! - \******************************************************************************************/ -/*! exports provided: isRecipientPromise, recipientPromise */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isRecipientPromise\", function() { return isRecipientPromise; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"recipientPromise\", function() { return recipientPromise; });\nfunction isRecipientPromise(whatever) {\n return whatever && whatever instanceof Promise && whatever.inputOptions && whatever.recieve\n && typeof whatever.recieve === 'function';\n}\nfunction recipientPromise(options) {\n let _Resolve = () => { };\n const promise = new Promise((resolve) => { _Resolve = resolve; });\n promise.inputOptions = options || {};\n promise.recieve = _Resolve;\n return promise;\n}\n//# sourceMappingURL=recipient-promise.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/static/promise/recipient-promise.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/@connectv/sdh/dist/es6/static/types.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/@connectv/sdh/dist/es6/static/types.js ***! - \**********************************************************************/ -/*! exports provided: isPostProcessPlugin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPostProcessPlugin\", function() { return isPostProcessPlugin; });\n/**\n *\n * @param plugin\n * @returns `true` if given plugin is a `PostProcessPlugin`, `false` otherwise.\n *\n */\nfunction isPostProcessPlugin(plugin) {\n return !!plugin && !!plugin.post && typeof plugin.post === 'function';\n}\n//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack:///./.codedoc/node_modules/@connectv/sdh/dist/es6/static/types.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/ansi_up/ansi_up.js": -/*!**************************************************!*\ - !*** ./.codedoc/node_modules/ansi_up/ansi_up.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* ansi_up.js\n * author : Dru Nelson\n * license : MIT\n * http://github.com/drudru/ansi_up\n */\n(function (root, factory) {\n if (true) {\n // AMD. Register as an anonymous module.\n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n } else { var exp; }\n}(this, function (exports) {\n\"use strict\";\nvar __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\nvar PacketKind;\n(function (PacketKind) {\n PacketKind[PacketKind[\"EOS\"] = 0] = \"EOS\";\n PacketKind[PacketKind[\"Text\"] = 1] = \"Text\";\n PacketKind[PacketKind[\"Incomplete\"] = 2] = \"Incomplete\";\n PacketKind[PacketKind[\"ESC\"] = 3] = \"ESC\";\n PacketKind[PacketKind[\"Unknown\"] = 4] = \"Unknown\";\n PacketKind[PacketKind[\"SGR\"] = 5] = \"SGR\";\n PacketKind[PacketKind[\"OSCURL\"] = 6] = \"OSCURL\";\n})(PacketKind || (PacketKind = {}));\nvar AnsiUp = (function () {\n function AnsiUp() {\n this.VERSION = \"5.0.1\";\n this.setup_palettes();\n this._use_classes = false;\n this.bold = false;\n this.fg = this.bg = null;\n this._buffer = '';\n this._url_whitelist = { 'http': 1, 'https': 1 };\n }\n Object.defineProperty(AnsiUp.prototype, \"use_classes\", {\n get: function () {\n return this._use_classes;\n },\n set: function (arg) {\n this._use_classes = arg;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(AnsiUp.prototype, \"url_whitelist\", {\n get: function () {\n return this._url_whitelist;\n },\n set: function (arg) {\n this._url_whitelist = arg;\n },\n enumerable: false,\n configurable: true\n });\n AnsiUp.prototype.setup_palettes = function () {\n var _this = this;\n this.ansi_colors =\n [\n [\n { rgb: [0, 0, 0], class_name: \"ansi-black\" },\n { rgb: [187, 0, 0], class_name: \"ansi-red\" },\n { rgb: [0, 187, 0], class_name: \"ansi-green\" },\n { rgb: [187, 187, 0], class_name: \"ansi-yellow\" },\n { rgb: [0, 0, 187], class_name: \"ansi-blue\" },\n { rgb: [187, 0, 187], class_name: \"ansi-magenta\" },\n { rgb: [0, 187, 187], class_name: \"ansi-cyan\" },\n { rgb: [255, 255, 255], class_name: \"ansi-white\" }\n ],\n [\n { rgb: [85, 85, 85], class_name: \"ansi-bright-black\" },\n { rgb: [255, 85, 85], class_name: \"ansi-bright-red\" },\n { rgb: [0, 255, 0], class_name: \"ansi-bright-green\" },\n { rgb: [255, 255, 85], class_name: \"ansi-bright-yellow\" },\n { rgb: [85, 85, 255], class_name: \"ansi-bright-blue\" },\n { rgb: [255, 85, 255], class_name: \"ansi-bright-magenta\" },\n { rgb: [85, 255, 255], class_name: \"ansi-bright-cyan\" },\n { rgb: [255, 255, 255], class_name: \"ansi-bright-white\" }\n ]\n ];\n this.palette_256 = [];\n this.ansi_colors.forEach(function (palette) {\n palette.forEach(function (rec) {\n _this.palette_256.push(rec);\n });\n });\n var levels = [0, 95, 135, 175, 215, 255];\n for (var r = 0; r < 6; ++r) {\n for (var g = 0; g < 6; ++g) {\n for (var b = 0; b < 6; ++b) {\n var col = { rgb: [levels[r], levels[g], levels[b]], class_name: 'truecolor' };\n this.palette_256.push(col);\n }\n }\n }\n var grey_level = 8;\n for (var i = 0; i < 24; ++i, grey_level += 10) {\n var gry = { rgb: [grey_level, grey_level, grey_level], class_name: 'truecolor' };\n this.palette_256.push(gry);\n }\n };\n AnsiUp.prototype.escape_txt_for_html = function (txt) {\n return txt.replace(/[&<>\"']/gm, function (str) {\n if (str === \"&\")\n return \"&\";\n if (str === \"<\")\n return \"<\";\n if (str === \">\")\n return \">\";\n if (str === \"\\\"\")\n return \""\";\n if (str === \"'\")\n return \"'\";\n });\n };\n AnsiUp.prototype.append_buffer = function (txt) {\n var str = this._buffer + txt;\n this._buffer = str;\n };\n AnsiUp.prototype.get_next_packet = function () {\n var pkt = {\n kind: PacketKind.EOS,\n text: '',\n url: ''\n };\n var len = this._buffer.length;\n if (len == 0)\n return pkt;\n var pos = this._buffer.indexOf(\"\\x1B\");\n if (pos == -1) {\n pkt.kind = PacketKind.Text;\n pkt.text = this._buffer;\n this._buffer = '';\n return pkt;\n }\n if (pos > 0) {\n pkt.kind = PacketKind.Text;\n pkt.text = this._buffer.slice(0, pos);\n this._buffer = this._buffer.slice(pos);\n return pkt;\n }\n if (pos == 0) {\n if (len == 1) {\n pkt.kind = PacketKind.Incomplete;\n return pkt;\n }\n var next_char = this._buffer.charAt(1);\n if ((next_char != '[') && (next_char != ']')) {\n pkt.kind = PacketKind.ESC;\n pkt.text = this._buffer.slice(0, 1);\n this._buffer = this._buffer.slice(1);\n return pkt;\n }\n if (next_char == '[') {\n if (!this._csi_regex) {\n this._csi_regex = rgx(__makeTemplateObject([\"\\n ^ # beginning of line\\n #\\n # First attempt\\n (?: # legal sequence\\n \\u001B[ # CSI\\n ([<-?]?) # private-mode char\\n ([d;]*) # any digits or semicolons\\n ([ -/]? # an intermediate modifier\\n [@-~]) # the command\\n )\\n | # alternate (second attempt)\\n (?: # illegal sequence\\n \\u001B[ # CSI\\n [ -~]* # anything legal\\n ([\\0-\\u001F:]) # anything illegal\\n )\\n \"], [\"\\n ^ # beginning of line\\n #\\n # First attempt\\n (?: # legal sequence\\n \\\\x1b\\\\[ # CSI\\n ([\\\\x3c-\\\\x3f]?) # private-mode char\\n ([\\\\d;]*) # any digits or semicolons\\n ([\\\\x20-\\\\x2f]? # an intermediate modifier\\n [\\\\x40-\\\\x7e]) # the command\\n )\\n | # alternate (second attempt)\\n (?: # illegal sequence\\n \\\\x1b\\\\[ # CSI\\n [\\\\x20-\\\\x7e]* # anything legal\\n ([\\\\x00-\\\\x1f:]) # anything illegal\\n )\\n \"]));\n }\n var match = this._buffer.match(this._csi_regex);\n if (match === null) {\n pkt.kind = PacketKind.Incomplete;\n return pkt;\n }\n if (match[4]) {\n pkt.kind = PacketKind.ESC;\n pkt.text = this._buffer.slice(0, 1);\n this._buffer = this._buffer.slice(1);\n return pkt;\n }\n if ((match[1] != '') || (match[3] != 'm'))\n pkt.kind = PacketKind.Unknown;\n else\n pkt.kind = PacketKind.SGR;\n pkt.text = match[2];\n var rpos = match[0].length;\n this._buffer = this._buffer.slice(rpos);\n return pkt;\n }\n if (next_char == ']') {\n if (len < 4) {\n pkt.kind = PacketKind.Incomplete;\n return pkt;\n }\n if ((this._buffer.charAt(2) != '8')\n || (this._buffer.charAt(3) != ';')) {\n pkt.kind = PacketKind.ESC;\n pkt.text = this._buffer.slice(0, 1);\n this._buffer = this._buffer.slice(1);\n return pkt;\n }\n if (!this._osc_st) {\n this._osc_st = rgxG(__makeTemplateObject([\"\\n (?: # legal sequence\\n (\\u001B\\\\) # ESC | # alternate\\n (\\u0007) # BEL (what xterm did)\\n )\\n | # alternate (second attempt)\\n ( # illegal sequence\\n [\\0-\\u0006] # anything illegal\\n | # alternate\\n [\\b-\\u001A] # anything illegal\\n | # alternate\\n [\\u001C-\\u001F] # anything illegal\\n )\\n \"], [\"\\n (?: # legal sequence\\n (\\\\x1b\\\\\\\\) # ESC \\\\\\n | # alternate\\n (\\\\x07) # BEL (what xterm did)\\n )\\n | # alternate (second attempt)\\n ( # illegal sequence\\n [\\\\x00-\\\\x06] # anything illegal\\n | # alternate\\n [\\\\x08-\\\\x1a] # anything illegal\\n | # alternate\\n [\\\\x1c-\\\\x1f] # anything illegal\\n )\\n \"]));\n }\n this._osc_st.lastIndex = 0;\n {\n var match_1 = this._osc_st.exec(this._buffer);\n if (match_1 === null) {\n pkt.kind = PacketKind.Incomplete;\n return pkt;\n }\n if (match_1[3]) {\n pkt.kind = PacketKind.ESC;\n pkt.text = this._buffer.slice(0, 1);\n this._buffer = this._buffer.slice(1);\n return pkt;\n }\n }\n {\n var match_2 = this._osc_st.exec(this._buffer);\n if (match_2 === null) {\n pkt.kind = PacketKind.Incomplete;\n return pkt;\n }\n if (match_2[3]) {\n pkt.kind = PacketKind.ESC;\n pkt.text = this._buffer.slice(0, 1);\n this._buffer = this._buffer.slice(1);\n return pkt;\n }\n }\n if (!this._osc_regex) {\n this._osc_regex = rgx(__makeTemplateObject([\"\\n ^ # beginning of line\\n #\\n \\u001B]8; # OSC Hyperlink\\n [ -:<-~]* # params (excluding ;)\\n ; # end of params\\n ([!-~]{0,512}) # URL capture\\n (?: # ST\\n (?:\\u001B\\\\) # ESC | # alternate\\n (?:\\u0007) # BEL (what xterm did)\\n )\\n ([ -~]+) # TEXT capture\\n \\u001B]8;; # OSC Hyperlink End\\n (?: # ST\\n (?:\\u001B\\\\) # ESC | # alternate\\n (?:\\u0007) # BEL (what xterm did)\\n )\\n \"], [\"\\n ^ # beginning of line\\n #\\n \\\\x1b\\\\]8; # OSC Hyperlink\\n [\\\\x20-\\\\x3a\\\\x3c-\\\\x7e]* # params (excluding ;)\\n ; # end of params\\n ([\\\\x21-\\\\x7e]{0,512}) # URL capture\\n (?: # ST\\n (?:\\\\x1b\\\\\\\\) # ESC \\\\\\n | # alternate\\n (?:\\\\x07) # BEL (what xterm did)\\n )\\n ([\\\\x20-\\\\x7e]+) # TEXT capture\\n \\\\x1b\\\\]8;; # OSC Hyperlink End\\n (?: # ST\\n (?:\\\\x1b\\\\\\\\) # ESC \\\\\\n | # alternate\\n (?:\\\\x07) # BEL (what xterm did)\\n )\\n \"]));\n }\n var match = this._buffer.match(this._osc_regex);\n if (match === null) {\n pkt.kind = PacketKind.ESC;\n pkt.text = this._buffer.slice(0, 1);\n this._buffer = this._buffer.slice(1);\n return pkt;\n }\n pkt.kind = PacketKind.OSCURL;\n pkt.url = match[1];\n pkt.text = match[2];\n var rpos = match[0].length;\n this._buffer = this._buffer.slice(rpos);\n return pkt;\n }\n }\n };\n AnsiUp.prototype.ansi_to_html = function (txt) {\n this.append_buffer(txt);\n var blocks = [];\n while (true) {\n var packet = this.get_next_packet();\n if ((packet.kind == PacketKind.EOS)\n || (packet.kind == PacketKind.Incomplete))\n break;\n if ((packet.kind == PacketKind.ESC)\n || (packet.kind == PacketKind.Unknown))\n continue;\n if (packet.kind == PacketKind.Text)\n blocks.push(this.transform_to_html(this.with_state(packet)));\n else if (packet.kind == PacketKind.SGR)\n this.process_ansi(packet);\n else if (packet.kind == PacketKind.OSCURL)\n blocks.push(this.process_hyperlink(packet));\n }\n return blocks.join(\"\");\n };\n AnsiUp.prototype.with_state = function (pkt) {\n return { bold: this.bold, fg: this.fg, bg: this.bg, text: pkt.text };\n };\n AnsiUp.prototype.process_ansi = function (pkt) {\n var sgr_cmds = pkt.text.split(';');\n while (sgr_cmds.length > 0) {\n var sgr_cmd_str = sgr_cmds.shift();\n var num = parseInt(sgr_cmd_str, 10);\n if (isNaN(num) || num === 0) {\n this.fg = this.bg = null;\n this.bold = false;\n }\n else if (num === 1) {\n this.bold = true;\n }\n else if (num === 22) {\n this.bold = false;\n }\n else if (num === 39) {\n this.fg = null;\n }\n else if (num === 49) {\n this.bg = null;\n }\n else if ((num >= 30) && (num < 38)) {\n this.fg = this.ansi_colors[0][(num - 30)];\n }\n else if ((num >= 40) && (num < 48)) {\n this.bg = this.ansi_colors[0][(num - 40)];\n }\n else if ((num >= 90) && (num < 98)) {\n this.fg = this.ansi_colors[1][(num - 90)];\n }\n else if ((num >= 100) && (num < 108)) {\n this.bg = this.ansi_colors[1][(num - 100)];\n }\n else if (num === 38 || num === 48) {\n if (sgr_cmds.length > 0) {\n var is_foreground = (num === 38);\n var mode_cmd = sgr_cmds.shift();\n if (mode_cmd === '5' && sgr_cmds.length > 0) {\n var palette_index = parseInt(sgr_cmds.shift(), 10);\n if (palette_index >= 0 && palette_index <= 255) {\n if (is_foreground)\n this.fg = this.palette_256[palette_index];\n else\n this.bg = this.palette_256[palette_index];\n }\n }\n if (mode_cmd === '2' && sgr_cmds.length > 2) {\n var r = parseInt(sgr_cmds.shift(), 10);\n var g = parseInt(sgr_cmds.shift(), 10);\n var b = parseInt(sgr_cmds.shift(), 10);\n if ((r >= 0 && r <= 255) && (g >= 0 && g <= 255) && (b >= 0 && b <= 255)) {\n var c = { rgb: [r, g, b], class_name: 'truecolor' };\n if (is_foreground)\n this.fg = c;\n else\n this.bg = c;\n }\n }\n }\n }\n }\n };\n AnsiUp.prototype.transform_to_html = function (fragment) {\n var txt = fragment.text;\n if (txt.length === 0)\n return txt;\n txt = this.escape_txt_for_html(txt);\n if (!fragment.bold && fragment.fg === null && fragment.bg === null)\n return txt;\n var styles = [];\n var classes = [];\n var fg = fragment.fg;\n var bg = fragment.bg;\n if (fragment.bold)\n styles.push('font-weight:bold');\n if (!this._use_classes) {\n if (fg)\n styles.push(\"color:rgb(\" + fg.rgb.join(',') + \")\");\n if (bg)\n styles.push(\"background-color:rgb(\" + bg.rgb + \")\");\n }\n else {\n if (fg) {\n if (fg.class_name !== 'truecolor') {\n classes.push(fg.class_name + \"-fg\");\n }\n else {\n styles.push(\"color:rgb(\" + fg.rgb.join(',') + \")\");\n }\n }\n if (bg) {\n if (bg.class_name !== 'truecolor') {\n classes.push(bg.class_name + \"-bg\");\n }\n else {\n styles.push(\"background-color:rgb(\" + bg.rgb.join(',') + \")\");\n }\n }\n }\n var class_string = '';\n var style_string = '';\n if (classes.length)\n class_string = \" class=\\\"\" + classes.join(' ') + \"\\\"\";\n if (styles.length)\n style_string = \" style=\\\"\" + styles.join(';') + \"\\\"\";\n return \"\" + txt + \"\";\n };\n ;\n AnsiUp.prototype.process_hyperlink = function (pkt) {\n var parts = pkt.url.split(':');\n if (parts.length < 1)\n return '';\n if (!this._url_whitelist[parts[0]])\n return '';\n var result = \"\" + this.escape_txt_for_html(pkt.text) + \"\";\n return result;\n };\n return AnsiUp;\n}());\nfunction rgx(tmplObj) {\n var subst = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n subst[_i - 1] = arguments[_i];\n }\n var regexText = tmplObj.raw[0];\n var wsrgx = /^\\s+|\\s+\\n|\\s*#[\\s\\S]*?\\n|\\n/gm;\n var txt2 = regexText.replace(wsrgx, '');\n return new RegExp(txt2);\n}\nfunction rgxG(tmplObj) {\n var subst = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n subst[_i - 1] = arguments[_i];\n }\n var regexText = tmplObj.raw[0];\n var wsrgx = /^\\s+|\\s+\\n|\\s*#[\\s\\S]*?\\n|\\n/gm;\n var txt2 = regexText.replace(wsrgx, '');\n return new RegExp(txt2, 'g');\n}\n//# sourceMappingURL=ansi_up.js.map\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.default = AnsiUp;\n}));\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/ansi_up/ansi_up.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1.js": -/*!***************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst asn1 = exports;\n\nasn1.bignum = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\n\nasn1.define = __webpack_require__(/*! ./asn1/api */ \"./.codedoc/node_modules/asn1.js/lib/asn1/api.js\").define;\nasn1.base = __webpack_require__(/*! ./asn1/base */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/index.js\");\nasn1.constants = __webpack_require__(/*! ./asn1/constants */ \"./.codedoc/node_modules/asn1.js/lib/asn1/constants/index.js\");\nasn1.decoders = __webpack_require__(/*! ./asn1/decoders */ \"./.codedoc/node_modules/asn1.js/lib/asn1/decoders/index.js\");\nasn1.encoders = __webpack_require__(/*! ./asn1/encoders */ \"./.codedoc/node_modules/asn1.js/lib/asn1/encoders/index.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/api.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/api.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst encoders = __webpack_require__(/*! ./encoders */ \"./.codedoc/node_modules/asn1.js/lib/asn1/encoders/index.js\");\nconst decoders = __webpack_require__(/*! ./decoders */ \"./.codedoc/node_modules/asn1.js/lib/asn1/decoders/index.js\");\nconst inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n\nconst api = exports;\n\napi.define = function define(name, body) {\n return new Entity(name, body);\n};\n\nfunction Entity(name, body) {\n this.name = name;\n this.body = body;\n\n this.decoders = {};\n this.encoders = {};\n}\n\nEntity.prototype._createNamed = function createNamed(Base) {\n const name = this.name;\n\n function Generated(entity) {\n this._initNamed(entity, name);\n }\n inherits(Generated, Base);\n Generated.prototype._initNamed = function _initNamed(entity, name) {\n Base.call(this, entity, name);\n };\n\n return new Generated(this);\n};\n\nEntity.prototype._getDecoder = function _getDecoder(enc) {\n enc = enc || 'der';\n // Lazily create decoder\n if (!this.decoders.hasOwnProperty(enc))\n this.decoders[enc] = this._createNamed(decoders[enc]);\n return this.decoders[enc];\n};\n\nEntity.prototype.decode = function decode(data, enc, options) {\n return this._getDecoder(enc).decode(data, options);\n};\n\nEntity.prototype._getEncoder = function _getEncoder(enc) {\n enc = enc || 'der';\n // Lazily create encoder\n if (!this.encoders.hasOwnProperty(enc))\n this.encoders[enc] = this._createNamed(encoders[enc]);\n return this.encoders[enc];\n};\n\nEntity.prototype.encode = function encode(data, enc, /* internal */ reporter) {\n return this._getEncoder(enc).encode(data, reporter);\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/api.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/base/buffer.js": -/*!***************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/base/buffer.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\nconst Reporter = __webpack_require__(/*! ../base/reporter */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/reporter.js\").Reporter;\nconst Buffer = __webpack_require__(/*! safer-buffer */ \"./.codedoc/node_modules/safer-buffer/safer.js\").Buffer;\n\nfunction DecoderBuffer(base, options) {\n Reporter.call(this, options);\n if (!Buffer.isBuffer(base)) {\n this.error('Input not Buffer');\n return;\n }\n\n this.base = base;\n this.offset = 0;\n this.length = base.length;\n}\ninherits(DecoderBuffer, Reporter);\nexports.DecoderBuffer = DecoderBuffer;\n\nDecoderBuffer.isDecoderBuffer = function isDecoderBuffer(data) {\n if (data instanceof DecoderBuffer) {\n return true;\n }\n\n // Or accept compatible API\n const isCompatible = typeof data === 'object' &&\n Buffer.isBuffer(data.base) &&\n data.constructor.name === 'DecoderBuffer' &&\n typeof data.offset === 'number' &&\n typeof data.length === 'number' &&\n typeof data.save === 'function' &&\n typeof data.restore === 'function' &&\n typeof data.isEmpty === 'function' &&\n typeof data.readUInt8 === 'function' &&\n typeof data.skip === 'function' &&\n typeof data.raw === 'function';\n\n return isCompatible;\n};\n\nDecoderBuffer.prototype.save = function save() {\n return { offset: this.offset, reporter: Reporter.prototype.save.call(this) };\n};\n\nDecoderBuffer.prototype.restore = function restore(save) {\n // Return skipped data\n const res = new DecoderBuffer(this.base);\n res.offset = save.offset;\n res.length = this.offset;\n\n this.offset = save.offset;\n Reporter.prototype.restore.call(this, save.reporter);\n\n return res;\n};\n\nDecoderBuffer.prototype.isEmpty = function isEmpty() {\n return this.offset === this.length;\n};\n\nDecoderBuffer.prototype.readUInt8 = function readUInt8(fail) {\n if (this.offset + 1 <= this.length)\n return this.base.readUInt8(this.offset++, true);\n else\n return this.error(fail || 'DecoderBuffer overrun');\n};\n\nDecoderBuffer.prototype.skip = function skip(bytes, fail) {\n if (!(this.offset + bytes <= this.length))\n return this.error(fail || 'DecoderBuffer overrun');\n\n const res = new DecoderBuffer(this.base);\n\n // Share reporter state\n res._reporterState = this._reporterState;\n\n res.offset = this.offset;\n res.length = this.offset + bytes;\n this.offset += bytes;\n return res;\n};\n\nDecoderBuffer.prototype.raw = function raw(save) {\n return this.base.slice(save ? save.offset : this.offset, this.length);\n};\n\nfunction EncoderBuffer(value, reporter) {\n if (Array.isArray(value)) {\n this.length = 0;\n this.value = value.map(function(item) {\n if (!EncoderBuffer.isEncoderBuffer(item))\n item = new EncoderBuffer(item, reporter);\n this.length += item.length;\n return item;\n }, this);\n } else if (typeof value === 'number') {\n if (!(0 <= value && value <= 0xff))\n return reporter.error('non-byte EncoderBuffer value');\n this.value = value;\n this.length = 1;\n } else if (typeof value === 'string') {\n this.value = value;\n this.length = Buffer.byteLength(value);\n } else if (Buffer.isBuffer(value)) {\n this.value = value;\n this.length = value.length;\n } else {\n return reporter.error('Unsupported type: ' + typeof value);\n }\n}\nexports.EncoderBuffer = EncoderBuffer;\n\nEncoderBuffer.isEncoderBuffer = function isEncoderBuffer(data) {\n if (data instanceof EncoderBuffer) {\n return true;\n }\n\n // Or accept compatible API\n const isCompatible = typeof data === 'object' &&\n data.constructor.name === 'EncoderBuffer' &&\n typeof data.length === 'number' &&\n typeof data.join === 'function';\n\n return isCompatible;\n};\n\nEncoderBuffer.prototype.join = function join(out, offset) {\n if (!out)\n out = Buffer.alloc(this.length);\n if (!offset)\n offset = 0;\n\n if (this.length === 0)\n return out;\n\n if (Array.isArray(this.value)) {\n this.value.forEach(function(item) {\n item.join(out, offset);\n offset += item.length;\n });\n } else {\n if (typeof this.value === 'number')\n out[offset] = this.value;\n else if (typeof this.value === 'string')\n out.write(this.value, offset);\n else if (Buffer.isBuffer(this.value))\n this.value.copy(out, offset);\n offset += this.length;\n }\n\n return out;\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/base/buffer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/base/index.js": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/base/index.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst base = exports;\n\nbase.Reporter = __webpack_require__(/*! ./reporter */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/reporter.js\").Reporter;\nbase.DecoderBuffer = __webpack_require__(/*! ./buffer */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/buffer.js\").DecoderBuffer;\nbase.EncoderBuffer = __webpack_require__(/*! ./buffer */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/buffer.js\").EncoderBuffer;\nbase.Node = __webpack_require__(/*! ./node */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/node.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/base/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/base/node.js": -/*!*************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/base/node.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst Reporter = __webpack_require__(/*! ../base/reporter */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/reporter.js\").Reporter;\nconst EncoderBuffer = __webpack_require__(/*! ../base/buffer */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/buffer.js\").EncoderBuffer;\nconst DecoderBuffer = __webpack_require__(/*! ../base/buffer */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/buffer.js\").DecoderBuffer;\nconst assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\n\n// Supported tags\nconst tags = [\n 'seq', 'seqof', 'set', 'setof', 'objid', 'bool',\n 'gentime', 'utctime', 'null_', 'enum', 'int', 'objDesc',\n 'bitstr', 'bmpstr', 'charstr', 'genstr', 'graphstr', 'ia5str', 'iso646str',\n 'numstr', 'octstr', 'printstr', 't61str', 'unistr', 'utf8str', 'videostr'\n];\n\n// Public methods list\nconst methods = [\n 'key', 'obj', 'use', 'optional', 'explicit', 'implicit', 'def', 'choice',\n 'any', 'contains'\n].concat(tags);\n\n// Overrided methods list\nconst overrided = [\n '_peekTag', '_decodeTag', '_use',\n '_decodeStr', '_decodeObjid', '_decodeTime',\n '_decodeNull', '_decodeInt', '_decodeBool', '_decodeList',\n\n '_encodeComposite', '_encodeStr', '_encodeObjid', '_encodeTime',\n '_encodeNull', '_encodeInt', '_encodeBool'\n];\n\nfunction Node(enc, parent, name) {\n const state = {};\n this._baseState = state;\n\n state.name = name;\n state.enc = enc;\n\n state.parent = parent || null;\n state.children = null;\n\n // State\n state.tag = null;\n state.args = null;\n state.reverseArgs = null;\n state.choice = null;\n state.optional = false;\n state.any = false;\n state.obj = false;\n state.use = null;\n state.useDecoder = null;\n state.key = null;\n state['default'] = null;\n state.explicit = null;\n state.implicit = null;\n state.contains = null;\n\n // Should create new instance on each method\n if (!state.parent) {\n state.children = [];\n this._wrap();\n }\n}\nmodule.exports = Node;\n\nconst stateProps = [\n 'enc', 'parent', 'children', 'tag', 'args', 'reverseArgs', 'choice',\n 'optional', 'any', 'obj', 'use', 'alteredUse', 'key', 'default', 'explicit',\n 'implicit', 'contains'\n];\n\nNode.prototype.clone = function clone() {\n const state = this._baseState;\n const cstate = {};\n stateProps.forEach(function(prop) {\n cstate[prop] = state[prop];\n });\n const res = new this.constructor(cstate.parent);\n res._baseState = cstate;\n return res;\n};\n\nNode.prototype._wrap = function wrap() {\n const state = this._baseState;\n methods.forEach(function(method) {\n this[method] = function _wrappedMethod() {\n const clone = new this.constructor(this);\n state.children.push(clone);\n return clone[method].apply(clone, arguments);\n };\n }, this);\n};\n\nNode.prototype._init = function init(body) {\n const state = this._baseState;\n\n assert(state.parent === null);\n body.call(this);\n\n // Filter children\n state.children = state.children.filter(function(child) {\n return child._baseState.parent === this;\n }, this);\n assert.equal(state.children.length, 1, 'Root node can have only one child');\n};\n\nNode.prototype._useArgs = function useArgs(args) {\n const state = this._baseState;\n\n // Filter children and args\n const children = args.filter(function(arg) {\n return arg instanceof this.constructor;\n }, this);\n args = args.filter(function(arg) {\n return !(arg instanceof this.constructor);\n }, this);\n\n if (children.length !== 0) {\n assert(state.children === null);\n state.children = children;\n\n // Replace parent to maintain backward link\n children.forEach(function(child) {\n child._baseState.parent = this;\n }, this);\n }\n if (args.length !== 0) {\n assert(state.args === null);\n state.args = args;\n state.reverseArgs = args.map(function(arg) {\n if (typeof arg !== 'object' || arg.constructor !== Object)\n return arg;\n\n const res = {};\n Object.keys(arg).forEach(function(key) {\n if (key == (key | 0))\n key |= 0;\n const value = arg[key];\n res[value] = key;\n });\n return res;\n });\n }\n};\n\n//\n// Overrided methods\n//\n\noverrided.forEach(function(method) {\n Node.prototype[method] = function _overrided() {\n const state = this._baseState;\n throw new Error(method + ' not implemented for encoding: ' + state.enc);\n };\n});\n\n//\n// Public methods\n//\n\ntags.forEach(function(tag) {\n Node.prototype[tag] = function _tagMethod() {\n const state = this._baseState;\n const args = Array.prototype.slice.call(arguments);\n\n assert(state.tag === null);\n state.tag = tag;\n\n this._useArgs(args);\n\n return this;\n };\n});\n\nNode.prototype.use = function use(item) {\n assert(item);\n const state = this._baseState;\n\n assert(state.use === null);\n state.use = item;\n\n return this;\n};\n\nNode.prototype.optional = function optional() {\n const state = this._baseState;\n\n state.optional = true;\n\n return this;\n};\n\nNode.prototype.def = function def(val) {\n const state = this._baseState;\n\n assert(state['default'] === null);\n state['default'] = val;\n state.optional = true;\n\n return this;\n};\n\nNode.prototype.explicit = function explicit(num) {\n const state = this._baseState;\n\n assert(state.explicit === null && state.implicit === null);\n state.explicit = num;\n\n return this;\n};\n\nNode.prototype.implicit = function implicit(num) {\n const state = this._baseState;\n\n assert(state.explicit === null && state.implicit === null);\n state.implicit = num;\n\n return this;\n};\n\nNode.prototype.obj = function obj() {\n const state = this._baseState;\n const args = Array.prototype.slice.call(arguments);\n\n state.obj = true;\n\n if (args.length !== 0)\n this._useArgs(args);\n\n return this;\n};\n\nNode.prototype.key = function key(newKey) {\n const state = this._baseState;\n\n assert(state.key === null);\n state.key = newKey;\n\n return this;\n};\n\nNode.prototype.any = function any() {\n const state = this._baseState;\n\n state.any = true;\n\n return this;\n};\n\nNode.prototype.choice = function choice(obj) {\n const state = this._baseState;\n\n assert(state.choice === null);\n state.choice = obj;\n this._useArgs(Object.keys(obj).map(function(key) {\n return obj[key];\n }));\n\n return this;\n};\n\nNode.prototype.contains = function contains(item) {\n const state = this._baseState;\n\n assert(state.use === null);\n state.contains = item;\n\n return this;\n};\n\n//\n// Decoding\n//\n\nNode.prototype._decode = function decode(input, options) {\n const state = this._baseState;\n\n // Decode root node\n if (state.parent === null)\n return input.wrapResult(state.children[0]._decode(input, options));\n\n let result = state['default'];\n let present = true;\n\n let prevKey = null;\n if (state.key !== null)\n prevKey = input.enterKey(state.key);\n\n // Check if tag is there\n if (state.optional) {\n let tag = null;\n if (state.explicit !== null)\n tag = state.explicit;\n else if (state.implicit !== null)\n tag = state.implicit;\n else if (state.tag !== null)\n tag = state.tag;\n\n if (tag === null && !state.any) {\n // Trial and Error\n const save = input.save();\n try {\n if (state.choice === null)\n this._decodeGeneric(state.tag, input, options);\n else\n this._decodeChoice(input, options);\n present = true;\n } catch (e) {\n present = false;\n }\n input.restore(save);\n } else {\n present = this._peekTag(input, tag, state.any);\n\n if (input.isError(present))\n return present;\n }\n }\n\n // Push object on stack\n let prevObj;\n if (state.obj && present)\n prevObj = input.enterObject();\n\n if (present) {\n // Unwrap explicit values\n if (state.explicit !== null) {\n const explicit = this._decodeTag(input, state.explicit);\n if (input.isError(explicit))\n return explicit;\n input = explicit;\n }\n\n const start = input.offset;\n\n // Unwrap implicit and normal values\n if (state.use === null && state.choice === null) {\n let save;\n if (state.any)\n save = input.save();\n const body = this._decodeTag(\n input,\n state.implicit !== null ? state.implicit : state.tag,\n state.any\n );\n if (input.isError(body))\n return body;\n\n if (state.any)\n result = input.raw(save);\n else\n input = body;\n }\n\n if (options && options.track && state.tag !== null)\n options.track(input.path(), start, input.length, 'tagged');\n\n if (options && options.track && state.tag !== null)\n options.track(input.path(), input.offset, input.length, 'content');\n\n // Select proper method for tag\n if (state.any) {\n // no-op\n } else if (state.choice === null) {\n result = this._decodeGeneric(state.tag, input, options);\n } else {\n result = this._decodeChoice(input, options);\n }\n\n if (input.isError(result))\n return result;\n\n // Decode children\n if (!state.any && state.choice === null && state.children !== null) {\n state.children.forEach(function decodeChildren(child) {\n // NOTE: We are ignoring errors here, to let parser continue with other\n // parts of encoded data\n child._decode(input, options);\n });\n }\n\n // Decode contained/encoded by schema, only in bit or octet strings\n if (state.contains && (state.tag === 'octstr' || state.tag === 'bitstr')) {\n const data = new DecoderBuffer(result);\n result = this._getUse(state.contains, input._reporterState.obj)\n ._decode(data, options);\n }\n }\n\n // Pop object\n if (state.obj && present)\n result = input.leaveObject(prevObj);\n\n // Set key\n if (state.key !== null && (result !== null || present === true))\n input.leaveKey(prevKey, state.key, result);\n else if (prevKey !== null)\n input.exitKey(prevKey);\n\n return result;\n};\n\nNode.prototype._decodeGeneric = function decodeGeneric(tag, input, options) {\n const state = this._baseState;\n\n if (tag === 'seq' || tag === 'set')\n return null;\n if (tag === 'seqof' || tag === 'setof')\n return this._decodeList(input, tag, state.args[0], options);\n else if (/str$/.test(tag))\n return this._decodeStr(input, tag, options);\n else if (tag === 'objid' && state.args)\n return this._decodeObjid(input, state.args[0], state.args[1], options);\n else if (tag === 'objid')\n return this._decodeObjid(input, null, null, options);\n else if (tag === 'gentime' || tag === 'utctime')\n return this._decodeTime(input, tag, options);\n else if (tag === 'null_')\n return this._decodeNull(input, options);\n else if (tag === 'bool')\n return this._decodeBool(input, options);\n else if (tag === 'objDesc')\n return this._decodeStr(input, tag, options);\n else if (tag === 'int' || tag === 'enum')\n return this._decodeInt(input, state.args && state.args[0], options);\n\n if (state.use !== null) {\n return this._getUse(state.use, input._reporterState.obj)\n ._decode(input, options);\n } else {\n return input.error('unknown tag: ' + tag);\n }\n};\n\nNode.prototype._getUse = function _getUse(entity, obj) {\n\n const state = this._baseState;\n // Create altered use decoder if implicit is set\n state.useDecoder = this._use(entity, obj);\n assert(state.useDecoder._baseState.parent === null);\n state.useDecoder = state.useDecoder._baseState.children[0];\n if (state.implicit !== state.useDecoder._baseState.implicit) {\n state.useDecoder = state.useDecoder.clone();\n state.useDecoder._baseState.implicit = state.implicit;\n }\n return state.useDecoder;\n};\n\nNode.prototype._decodeChoice = function decodeChoice(input, options) {\n const state = this._baseState;\n let result = null;\n let match = false;\n\n Object.keys(state.choice).some(function(key) {\n const save = input.save();\n const node = state.choice[key];\n try {\n const value = node._decode(input, options);\n if (input.isError(value))\n return false;\n\n result = { type: key, value: value };\n match = true;\n } catch (e) {\n input.restore(save);\n return false;\n }\n return true;\n }, this);\n\n if (!match)\n return input.error('Choice not matched');\n\n return result;\n};\n\n//\n// Encoding\n//\n\nNode.prototype._createEncoderBuffer = function createEncoderBuffer(data) {\n return new EncoderBuffer(data, this.reporter);\n};\n\nNode.prototype._encode = function encode(data, reporter, parent) {\n const state = this._baseState;\n if (state['default'] !== null && state['default'] === data)\n return;\n\n const result = this._encodeValue(data, reporter, parent);\n if (result === undefined)\n return;\n\n if (this._skipDefault(result, reporter, parent))\n return;\n\n return result;\n};\n\nNode.prototype._encodeValue = function encode(data, reporter, parent) {\n const state = this._baseState;\n\n // Decode root node\n if (state.parent === null)\n return state.children[0]._encode(data, reporter || new Reporter());\n\n let result = null;\n\n // Set reporter to share it with a child class\n this.reporter = reporter;\n\n // Check if data is there\n if (state.optional && data === undefined) {\n if (state['default'] !== null)\n data = state['default'];\n else\n return;\n }\n\n // Encode children first\n let content = null;\n let primitive = false;\n if (state.any) {\n // Anything that was given is translated to buffer\n result = this._createEncoderBuffer(data);\n } else if (state.choice) {\n result = this._encodeChoice(data, reporter);\n } else if (state.contains) {\n content = this._getUse(state.contains, parent)._encode(data, reporter);\n primitive = true;\n } else if (state.children) {\n content = state.children.map(function(child) {\n if (child._baseState.tag === 'null_')\n return child._encode(null, reporter, data);\n\n if (child._baseState.key === null)\n return reporter.error('Child should have a key');\n const prevKey = reporter.enterKey(child._baseState.key);\n\n if (typeof data !== 'object')\n return reporter.error('Child expected, but input is not object');\n\n const res = child._encode(data[child._baseState.key], reporter, data);\n reporter.leaveKey(prevKey);\n\n return res;\n }, this).filter(function(child) {\n return child;\n });\n content = this._createEncoderBuffer(content);\n } else {\n if (state.tag === 'seqof' || state.tag === 'setof') {\n // TODO(indutny): this should be thrown on DSL level\n if (!(state.args && state.args.length === 1))\n return reporter.error('Too many args for : ' + state.tag);\n\n if (!Array.isArray(data))\n return reporter.error('seqof/setof, but data is not Array');\n\n const child = this.clone();\n child._baseState.implicit = null;\n content = this._createEncoderBuffer(data.map(function(item) {\n const state = this._baseState;\n\n return this._getUse(state.args[0], data)._encode(item, reporter);\n }, child));\n } else if (state.use !== null) {\n result = this._getUse(state.use, parent)._encode(data, reporter);\n } else {\n content = this._encodePrimitive(state.tag, data);\n primitive = true;\n }\n }\n\n // Encode data itself\n if (!state.any && state.choice === null) {\n const tag = state.implicit !== null ? state.implicit : state.tag;\n const cls = state.implicit === null ? 'universal' : 'context';\n\n if (tag === null) {\n if (state.use === null)\n reporter.error('Tag could be omitted only for .use()');\n } else {\n if (state.use === null)\n result = this._encodeComposite(tag, primitive, cls, content);\n }\n }\n\n // Wrap in explicit\n if (state.explicit !== null)\n result = this._encodeComposite(state.explicit, false, 'context', result);\n\n return result;\n};\n\nNode.prototype._encodeChoice = function encodeChoice(data, reporter) {\n const state = this._baseState;\n\n const node = state.choice[data.type];\n if (!node) {\n assert(\n false,\n data.type + ' not found in ' +\n JSON.stringify(Object.keys(state.choice)));\n }\n return node._encode(data.value, reporter);\n};\n\nNode.prototype._encodePrimitive = function encodePrimitive(tag, data) {\n const state = this._baseState;\n\n if (/str$/.test(tag))\n return this._encodeStr(data, tag);\n else if (tag === 'objid' && state.args)\n return this._encodeObjid(data, state.reverseArgs[0], state.args[1]);\n else if (tag === 'objid')\n return this._encodeObjid(data, null, null);\n else if (tag === 'gentime' || tag === 'utctime')\n return this._encodeTime(data, tag);\n else if (tag === 'null_')\n return this._encodeNull();\n else if (tag === 'int' || tag === 'enum')\n return this._encodeInt(data, state.args && state.reverseArgs[0]);\n else if (tag === 'bool')\n return this._encodeBool(data);\n else if (tag === 'objDesc')\n return this._encodeStr(data, tag);\n else\n throw new Error('Unsupported tag: ' + tag);\n};\n\nNode.prototype._isNumstr = function isNumstr(str) {\n return /^[0-9 ]*$/.test(str);\n};\n\nNode.prototype._isPrintstr = function isPrintstr(str) {\n return /^[A-Za-z0-9 '()+,-./:=?]*$/.test(str);\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/base/node.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/base/reporter.js": -/*!*****************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/base/reporter.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n\nfunction Reporter(options) {\n this._reporterState = {\n obj: null,\n path: [],\n options: options || {},\n errors: []\n };\n}\nexports.Reporter = Reporter;\n\nReporter.prototype.isError = function isError(obj) {\n return obj instanceof ReporterError;\n};\n\nReporter.prototype.save = function save() {\n const state = this._reporterState;\n\n return { obj: state.obj, pathLen: state.path.length };\n};\n\nReporter.prototype.restore = function restore(data) {\n const state = this._reporterState;\n\n state.obj = data.obj;\n state.path = state.path.slice(0, data.pathLen);\n};\n\nReporter.prototype.enterKey = function enterKey(key) {\n return this._reporterState.path.push(key);\n};\n\nReporter.prototype.exitKey = function exitKey(index) {\n const state = this._reporterState;\n\n state.path = state.path.slice(0, index - 1);\n};\n\nReporter.prototype.leaveKey = function leaveKey(index, key, value) {\n const state = this._reporterState;\n\n this.exitKey(index);\n if (state.obj !== null)\n state.obj[key] = value;\n};\n\nReporter.prototype.path = function path() {\n return this._reporterState.path.join('/');\n};\n\nReporter.prototype.enterObject = function enterObject() {\n const state = this._reporterState;\n\n const prev = state.obj;\n state.obj = {};\n return prev;\n};\n\nReporter.prototype.leaveObject = function leaveObject(prev) {\n const state = this._reporterState;\n\n const now = state.obj;\n state.obj = prev;\n return now;\n};\n\nReporter.prototype.error = function error(msg) {\n let err;\n const state = this._reporterState;\n\n const inherited = msg instanceof ReporterError;\n if (inherited) {\n err = msg;\n } else {\n err = new ReporterError(state.path.map(function(elem) {\n return '[' + JSON.stringify(elem) + ']';\n }).join(''), msg.message || msg, msg.stack);\n }\n\n if (!state.options.partial)\n throw err;\n\n if (!inherited)\n state.errors.push(err);\n\n return err;\n};\n\nReporter.prototype.wrapResult = function wrapResult(result) {\n const state = this._reporterState;\n if (!state.options.partial)\n return result;\n\n return {\n result: this.isError(result) ? null : result,\n errors: state.errors\n };\n};\n\nfunction ReporterError(path, msg) {\n this.path = path;\n this.rethrow(msg);\n}\ninherits(ReporterError, Error);\n\nReporterError.prototype.rethrow = function rethrow(msg) {\n this.message = msg + ' at: ' + (this.path || '(shallow)');\n if (Error.captureStackTrace)\n Error.captureStackTrace(this, ReporterError);\n\n if (!this.stack) {\n try {\n // IE only adds stack when thrown\n throw new Error(this.message);\n } catch (e) {\n this.stack = e.stack;\n }\n }\n return this;\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/base/reporter.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/constants/der.js": -/*!*****************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/constants/der.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\n// Helper\nfunction reverse(map) {\n const res = {};\n\n Object.keys(map).forEach(function(key) {\n // Convert key to integer if it is stringified\n if ((key | 0) == key)\n key = key | 0;\n\n const value = map[key];\n res[value] = key;\n });\n\n return res;\n}\n\nexports.tagClass = {\n 0: 'universal',\n 1: 'application',\n 2: 'context',\n 3: 'private'\n};\nexports.tagClassByName = reverse(exports.tagClass);\n\nexports.tag = {\n 0x00: 'end',\n 0x01: 'bool',\n 0x02: 'int',\n 0x03: 'bitstr',\n 0x04: 'octstr',\n 0x05: 'null_',\n 0x06: 'objid',\n 0x07: 'objDesc',\n 0x08: 'external',\n 0x09: 'real',\n 0x0a: 'enum',\n 0x0b: 'embed',\n 0x0c: 'utf8str',\n 0x0d: 'relativeOid',\n 0x10: 'seq',\n 0x11: 'set',\n 0x12: 'numstr',\n 0x13: 'printstr',\n 0x14: 't61str',\n 0x15: 'videostr',\n 0x16: 'ia5str',\n 0x17: 'utctime',\n 0x18: 'gentime',\n 0x19: 'graphstr',\n 0x1a: 'iso646str',\n 0x1b: 'genstr',\n 0x1c: 'unistr',\n 0x1d: 'charstr',\n 0x1e: 'bmpstr'\n};\nexports.tagByName = reverse(exports.tag);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/constants/der.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/constants/index.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/constants/index.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst constants = exports;\n\n// Helper\nconstants._reverse = function reverse(map) {\n const res = {};\n\n Object.keys(map).forEach(function(key) {\n // Convert key to integer if it is stringified\n if ((key | 0) == key)\n key = key | 0;\n\n const value = map[key];\n res[value] = key;\n });\n\n return res;\n};\n\nconstants.der = __webpack_require__(/*! ./der */ \"./.codedoc/node_modules/asn1.js/lib/asn1/constants/der.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/constants/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/decoders/der.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/decoders/der.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n\nconst bignum = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nconst DecoderBuffer = __webpack_require__(/*! ../base/buffer */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/buffer.js\").DecoderBuffer;\nconst Node = __webpack_require__(/*! ../base/node */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/node.js\");\n\n// Import DER constants\nconst der = __webpack_require__(/*! ../constants/der */ \"./.codedoc/node_modules/asn1.js/lib/asn1/constants/der.js\");\n\nfunction DERDecoder(entity) {\n this.enc = 'der';\n this.name = entity.name;\n this.entity = entity;\n\n // Construct base tree\n this.tree = new DERNode();\n this.tree._init(entity.body);\n}\nmodule.exports = DERDecoder;\n\nDERDecoder.prototype.decode = function decode(data, options) {\n if (!DecoderBuffer.isDecoderBuffer(data)) {\n data = new DecoderBuffer(data, options);\n }\n\n return this.tree._decode(data, options);\n};\n\n// Tree methods\n\nfunction DERNode(parent) {\n Node.call(this, 'der', parent);\n}\ninherits(DERNode, Node);\n\nDERNode.prototype._peekTag = function peekTag(buffer, tag, any) {\n if (buffer.isEmpty())\n return false;\n\n const state = buffer.save();\n const decodedTag = derDecodeTag(buffer, 'Failed to peek tag: \"' + tag + '\"');\n if (buffer.isError(decodedTag))\n return decodedTag;\n\n buffer.restore(state);\n\n return decodedTag.tag === tag || decodedTag.tagStr === tag ||\n (decodedTag.tagStr + 'of') === tag || any;\n};\n\nDERNode.prototype._decodeTag = function decodeTag(buffer, tag, any) {\n const decodedTag = derDecodeTag(buffer,\n 'Failed to decode tag of \"' + tag + '\"');\n if (buffer.isError(decodedTag))\n return decodedTag;\n\n let len = derDecodeLen(buffer,\n decodedTag.primitive,\n 'Failed to get length of \"' + tag + '\"');\n\n // Failure\n if (buffer.isError(len))\n return len;\n\n if (!any &&\n decodedTag.tag !== tag &&\n decodedTag.tagStr !== tag &&\n decodedTag.tagStr + 'of' !== tag) {\n return buffer.error('Failed to match tag: \"' + tag + '\"');\n }\n\n if (decodedTag.primitive || len !== null)\n return buffer.skip(len, 'Failed to match body of: \"' + tag + '\"');\n\n // Indefinite length... find END tag\n const state = buffer.save();\n const res = this._skipUntilEnd(\n buffer,\n 'Failed to skip indefinite length body: \"' + this.tag + '\"');\n if (buffer.isError(res))\n return res;\n\n len = buffer.offset - state.offset;\n buffer.restore(state);\n return buffer.skip(len, 'Failed to match body of: \"' + tag + '\"');\n};\n\nDERNode.prototype._skipUntilEnd = function skipUntilEnd(buffer, fail) {\n for (;;) {\n const tag = derDecodeTag(buffer, fail);\n if (buffer.isError(tag))\n return tag;\n const len = derDecodeLen(buffer, tag.primitive, fail);\n if (buffer.isError(len))\n return len;\n\n let res;\n if (tag.primitive || len !== null)\n res = buffer.skip(len);\n else\n res = this._skipUntilEnd(buffer, fail);\n\n // Failure\n if (buffer.isError(res))\n return res;\n\n if (tag.tagStr === 'end')\n break;\n }\n};\n\nDERNode.prototype._decodeList = function decodeList(buffer, tag, decoder,\n options) {\n const result = [];\n while (!buffer.isEmpty()) {\n const possibleEnd = this._peekTag(buffer, 'end');\n if (buffer.isError(possibleEnd))\n return possibleEnd;\n\n const res = decoder.decode(buffer, 'der', options);\n if (buffer.isError(res) && possibleEnd)\n break;\n result.push(res);\n }\n return result;\n};\n\nDERNode.prototype._decodeStr = function decodeStr(buffer, tag) {\n if (tag === 'bitstr') {\n const unused = buffer.readUInt8();\n if (buffer.isError(unused))\n return unused;\n return { unused: unused, data: buffer.raw() };\n } else if (tag === 'bmpstr') {\n const raw = buffer.raw();\n if (raw.length % 2 === 1)\n return buffer.error('Decoding of string type: bmpstr length mismatch');\n\n let str = '';\n for (let i = 0; i < raw.length / 2; i++) {\n str += String.fromCharCode(raw.readUInt16BE(i * 2));\n }\n return str;\n } else if (tag === 'numstr') {\n const numstr = buffer.raw().toString('ascii');\n if (!this._isNumstr(numstr)) {\n return buffer.error('Decoding of string type: ' +\n 'numstr unsupported characters');\n }\n return numstr;\n } else if (tag === 'octstr') {\n return buffer.raw();\n } else if (tag === 'objDesc') {\n return buffer.raw();\n } else if (tag === 'printstr') {\n const printstr = buffer.raw().toString('ascii');\n if (!this._isPrintstr(printstr)) {\n return buffer.error('Decoding of string type: ' +\n 'printstr unsupported characters');\n }\n return printstr;\n } else if (/str$/.test(tag)) {\n return buffer.raw().toString();\n } else {\n return buffer.error('Decoding of string type: ' + tag + ' unsupported');\n }\n};\n\nDERNode.prototype._decodeObjid = function decodeObjid(buffer, values, relative) {\n let result;\n const identifiers = [];\n let ident = 0;\n let subident = 0;\n while (!buffer.isEmpty()) {\n subident = buffer.readUInt8();\n ident <<= 7;\n ident |= subident & 0x7f;\n if ((subident & 0x80) === 0) {\n identifiers.push(ident);\n ident = 0;\n }\n }\n if (subident & 0x80)\n identifiers.push(ident);\n\n const first = (identifiers[0] / 40) | 0;\n const second = identifiers[0] % 40;\n\n if (relative)\n result = identifiers;\n else\n result = [first, second].concat(identifiers.slice(1));\n\n if (values) {\n let tmp = values[result.join(' ')];\n if (tmp === undefined)\n tmp = values[result.join('.')];\n if (tmp !== undefined)\n result = tmp;\n }\n\n return result;\n};\n\nDERNode.prototype._decodeTime = function decodeTime(buffer, tag) {\n const str = buffer.raw().toString();\n\n let year;\n let mon;\n let day;\n let hour;\n let min;\n let sec;\n if (tag === 'gentime') {\n year = str.slice(0, 4) | 0;\n mon = str.slice(4, 6) | 0;\n day = str.slice(6, 8) | 0;\n hour = str.slice(8, 10) | 0;\n min = str.slice(10, 12) | 0;\n sec = str.slice(12, 14) | 0;\n } else if (tag === 'utctime') {\n year = str.slice(0, 2) | 0;\n mon = str.slice(2, 4) | 0;\n day = str.slice(4, 6) | 0;\n hour = str.slice(6, 8) | 0;\n min = str.slice(8, 10) | 0;\n sec = str.slice(10, 12) | 0;\n if (year < 70)\n year = 2000 + year;\n else\n year = 1900 + year;\n } else {\n return buffer.error('Decoding ' + tag + ' time is not supported yet');\n }\n\n return Date.UTC(year, mon - 1, day, hour, min, sec, 0);\n};\n\nDERNode.prototype._decodeNull = function decodeNull() {\n return null;\n};\n\nDERNode.prototype._decodeBool = function decodeBool(buffer) {\n const res = buffer.readUInt8();\n if (buffer.isError(res))\n return res;\n else\n return res !== 0;\n};\n\nDERNode.prototype._decodeInt = function decodeInt(buffer, values) {\n // Bigint, return as it is (assume big endian)\n const raw = buffer.raw();\n let res = new bignum(raw);\n\n if (values)\n res = values[res.toString(10)] || res;\n\n return res;\n};\n\nDERNode.prototype._use = function use(entity, obj) {\n if (typeof entity === 'function')\n entity = entity(obj);\n return entity._getDecoder('der').tree;\n};\n\n// Utility methods\n\nfunction derDecodeTag(buf, fail) {\n let tag = buf.readUInt8(fail);\n if (buf.isError(tag))\n return tag;\n\n const cls = der.tagClass[tag >> 6];\n const primitive = (tag & 0x20) === 0;\n\n // Multi-octet tag - load\n if ((tag & 0x1f) === 0x1f) {\n let oct = tag;\n tag = 0;\n while ((oct & 0x80) === 0x80) {\n oct = buf.readUInt8(fail);\n if (buf.isError(oct))\n return oct;\n\n tag <<= 7;\n tag |= oct & 0x7f;\n }\n } else {\n tag &= 0x1f;\n }\n const tagStr = der.tag[tag];\n\n return {\n cls: cls,\n primitive: primitive,\n tag: tag,\n tagStr: tagStr\n };\n}\n\nfunction derDecodeLen(buf, primitive, fail) {\n let len = buf.readUInt8(fail);\n if (buf.isError(len))\n return len;\n\n // Indefinite form\n if (!primitive && len === 0x80)\n return null;\n\n // Definite form\n if ((len & 0x80) === 0) {\n // Short form\n return len;\n }\n\n // Long form\n const num = len & 0x7f;\n if (num > 4)\n return buf.error('length octect is too long');\n\n len = 0;\n for (let i = 0; i < num; i++) {\n len <<= 8;\n const j = buf.readUInt8(fail);\n if (buf.isError(j))\n return j;\n len |= j;\n }\n\n return len;\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/decoders/der.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/decoders/index.js": -/*!******************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/decoders/index.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst decoders = exports;\n\ndecoders.der = __webpack_require__(/*! ./der */ \"./.codedoc/node_modules/asn1.js/lib/asn1/decoders/der.js\");\ndecoders.pem = __webpack_require__(/*! ./pem */ \"./.codedoc/node_modules/asn1.js/lib/asn1/decoders/pem.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/decoders/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/decoders/pem.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/decoders/pem.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\nconst Buffer = __webpack_require__(/*! safer-buffer */ \"./.codedoc/node_modules/safer-buffer/safer.js\").Buffer;\n\nconst DERDecoder = __webpack_require__(/*! ./der */ \"./.codedoc/node_modules/asn1.js/lib/asn1/decoders/der.js\");\n\nfunction PEMDecoder(entity) {\n DERDecoder.call(this, entity);\n this.enc = 'pem';\n}\ninherits(PEMDecoder, DERDecoder);\nmodule.exports = PEMDecoder;\n\nPEMDecoder.prototype.decode = function decode(data, options) {\n const lines = data.toString().split(/[\\r\\n]+/g);\n\n const label = options.label.toUpperCase();\n\n const re = /^-----(BEGIN|END) ([^-]+)-----$/;\n let start = -1;\n let end = -1;\n for (let i = 0; i < lines.length; i++) {\n const match = lines[i].match(re);\n if (match === null)\n continue;\n\n if (match[2] !== label)\n continue;\n\n if (start === -1) {\n if (match[1] !== 'BEGIN')\n break;\n start = i;\n } else {\n if (match[1] !== 'END')\n break;\n end = i;\n break;\n }\n }\n if (start === -1 || end === -1)\n throw new Error('PEM section not found for: ' + label);\n\n const base64 = lines.slice(start + 1, end).join('');\n // Remove excessive symbols\n base64.replace(/[^a-z0-9+/=]+/gi, '');\n\n const input = Buffer.from(base64, 'base64');\n return DERDecoder.prototype.decode.call(this, input, options);\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/decoders/pem.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/encoders/der.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/encoders/der.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\nconst Buffer = __webpack_require__(/*! safer-buffer */ \"./.codedoc/node_modules/safer-buffer/safer.js\").Buffer;\nconst Node = __webpack_require__(/*! ../base/node */ \"./.codedoc/node_modules/asn1.js/lib/asn1/base/node.js\");\n\n// Import DER constants\nconst der = __webpack_require__(/*! ../constants/der */ \"./.codedoc/node_modules/asn1.js/lib/asn1/constants/der.js\");\n\nfunction DEREncoder(entity) {\n this.enc = 'der';\n this.name = entity.name;\n this.entity = entity;\n\n // Construct base tree\n this.tree = new DERNode();\n this.tree._init(entity.body);\n}\nmodule.exports = DEREncoder;\n\nDEREncoder.prototype.encode = function encode(data, reporter) {\n return this.tree._encode(data, reporter).join();\n};\n\n// Tree methods\n\nfunction DERNode(parent) {\n Node.call(this, 'der', parent);\n}\ninherits(DERNode, Node);\n\nDERNode.prototype._encodeComposite = function encodeComposite(tag,\n primitive,\n cls,\n content) {\n const encodedTag = encodeTag(tag, primitive, cls, this.reporter);\n\n // Short form\n if (content.length < 0x80) {\n const header = Buffer.alloc(2);\n header[0] = encodedTag;\n header[1] = content.length;\n return this._createEncoderBuffer([ header, content ]);\n }\n\n // Long form\n // Count octets required to store length\n let lenOctets = 1;\n for (let i = content.length; i >= 0x100; i >>= 8)\n lenOctets++;\n\n const header = Buffer.alloc(1 + 1 + lenOctets);\n header[0] = encodedTag;\n header[1] = 0x80 | lenOctets;\n\n for (let i = 1 + lenOctets, j = content.length; j > 0; i--, j >>= 8)\n header[i] = j & 0xff;\n\n return this._createEncoderBuffer([ header, content ]);\n};\n\nDERNode.prototype._encodeStr = function encodeStr(str, tag) {\n if (tag === 'bitstr') {\n return this._createEncoderBuffer([ str.unused | 0, str.data ]);\n } else if (tag === 'bmpstr') {\n const buf = Buffer.alloc(str.length * 2);\n for (let i = 0; i < str.length; i++) {\n buf.writeUInt16BE(str.charCodeAt(i), i * 2);\n }\n return this._createEncoderBuffer(buf);\n } else if (tag === 'numstr') {\n if (!this._isNumstr(str)) {\n return this.reporter.error('Encoding of string type: numstr supports ' +\n 'only digits and space');\n }\n return this._createEncoderBuffer(str);\n } else if (tag === 'printstr') {\n if (!this._isPrintstr(str)) {\n return this.reporter.error('Encoding of string type: printstr supports ' +\n 'only latin upper and lower case letters, ' +\n 'digits, space, apostrophe, left and rigth ' +\n 'parenthesis, plus sign, comma, hyphen, ' +\n 'dot, slash, colon, equal sign, ' +\n 'question mark');\n }\n return this._createEncoderBuffer(str);\n } else if (/str$/.test(tag)) {\n return this._createEncoderBuffer(str);\n } else if (tag === 'objDesc') {\n return this._createEncoderBuffer(str);\n } else {\n return this.reporter.error('Encoding of string type: ' + tag +\n ' unsupported');\n }\n};\n\nDERNode.prototype._encodeObjid = function encodeObjid(id, values, relative) {\n if (typeof id === 'string') {\n if (!values)\n return this.reporter.error('string objid given, but no values map found');\n if (!values.hasOwnProperty(id))\n return this.reporter.error('objid not found in values map');\n id = values[id].split(/[\\s.]+/g);\n for (let i = 0; i < id.length; i++)\n id[i] |= 0;\n } else if (Array.isArray(id)) {\n id = id.slice();\n for (let i = 0; i < id.length; i++)\n id[i] |= 0;\n }\n\n if (!Array.isArray(id)) {\n return this.reporter.error('objid() should be either array or string, ' +\n 'got: ' + JSON.stringify(id));\n }\n\n if (!relative) {\n if (id[1] >= 40)\n return this.reporter.error('Second objid identifier OOB');\n id.splice(0, 2, id[0] * 40 + id[1]);\n }\n\n // Count number of octets\n let size = 0;\n for (let i = 0; i < id.length; i++) {\n let ident = id[i];\n for (size++; ident >= 0x80; ident >>= 7)\n size++;\n }\n\n const objid = Buffer.alloc(size);\n let offset = objid.length - 1;\n for (let i = id.length - 1; i >= 0; i--) {\n let ident = id[i];\n objid[offset--] = ident & 0x7f;\n while ((ident >>= 7) > 0)\n objid[offset--] = 0x80 | (ident & 0x7f);\n }\n\n return this._createEncoderBuffer(objid);\n};\n\nfunction two(num) {\n if (num < 10)\n return '0' + num;\n else\n return num;\n}\n\nDERNode.prototype._encodeTime = function encodeTime(time, tag) {\n let str;\n const date = new Date(time);\n\n if (tag === 'gentime') {\n str = [\n two(date.getUTCFullYear()),\n two(date.getUTCMonth() + 1),\n two(date.getUTCDate()),\n two(date.getUTCHours()),\n two(date.getUTCMinutes()),\n two(date.getUTCSeconds()),\n 'Z'\n ].join('');\n } else if (tag === 'utctime') {\n str = [\n two(date.getUTCFullYear() % 100),\n two(date.getUTCMonth() + 1),\n two(date.getUTCDate()),\n two(date.getUTCHours()),\n two(date.getUTCMinutes()),\n two(date.getUTCSeconds()),\n 'Z'\n ].join('');\n } else {\n this.reporter.error('Encoding ' + tag + ' time is not supported yet');\n }\n\n return this._encodeStr(str, 'octstr');\n};\n\nDERNode.prototype._encodeNull = function encodeNull() {\n return this._createEncoderBuffer('');\n};\n\nDERNode.prototype._encodeInt = function encodeInt(num, values) {\n if (typeof num === 'string') {\n if (!values)\n return this.reporter.error('String int or enum given, but no values map');\n if (!values.hasOwnProperty(num)) {\n return this.reporter.error('Values map doesn\\'t contain: ' +\n JSON.stringify(num));\n }\n num = values[num];\n }\n\n // Bignum, assume big endian\n if (typeof num !== 'number' && !Buffer.isBuffer(num)) {\n const numArray = num.toArray();\n if (!num.sign && numArray[0] & 0x80) {\n numArray.unshift(0);\n }\n num = Buffer.from(numArray);\n }\n\n if (Buffer.isBuffer(num)) {\n let size = num.length;\n if (num.length === 0)\n size++;\n\n const out = Buffer.alloc(size);\n num.copy(out);\n if (num.length === 0)\n out[0] = 0;\n return this._createEncoderBuffer(out);\n }\n\n if (num < 0x80)\n return this._createEncoderBuffer(num);\n\n if (num < 0x100)\n return this._createEncoderBuffer([0, num]);\n\n let size = 1;\n for (let i = num; i >= 0x100; i >>= 8)\n size++;\n\n const out = new Array(size);\n for (let i = out.length - 1; i >= 0; i--) {\n out[i] = num & 0xff;\n num >>= 8;\n }\n if(out[0] & 0x80) {\n out.unshift(0);\n }\n\n return this._createEncoderBuffer(Buffer.from(out));\n};\n\nDERNode.prototype._encodeBool = function encodeBool(value) {\n return this._createEncoderBuffer(value ? 0xff : 0);\n};\n\nDERNode.prototype._use = function use(entity, obj) {\n if (typeof entity === 'function')\n entity = entity(obj);\n return entity._getEncoder('der').tree;\n};\n\nDERNode.prototype._skipDefault = function skipDefault(dataBuffer, reporter, parent) {\n const state = this._baseState;\n let i;\n if (state['default'] === null)\n return false;\n\n const data = dataBuffer.join();\n if (state.defaultBuffer === undefined)\n state.defaultBuffer = this._encodeValue(state['default'], reporter, parent).join();\n\n if (data.length !== state.defaultBuffer.length)\n return false;\n\n for (i=0; i < data.length; i++)\n if (data[i] !== state.defaultBuffer[i])\n return false;\n\n return true;\n};\n\n// Utility methods\n\nfunction encodeTag(tag, primitive, cls, reporter) {\n let res;\n\n if (tag === 'seqof')\n tag = 'seq';\n else if (tag === 'setof')\n tag = 'set';\n\n if (der.tagByName.hasOwnProperty(tag))\n res = der.tagByName[tag];\n else if (typeof tag === 'number' && (tag | 0) === tag)\n res = tag;\n else\n return reporter.error('Unknown tag: ' + tag);\n\n if (res >= 0x1f)\n return reporter.error('Multi-octet tag encoding unsupported');\n\n if (!primitive)\n res |= 0x20;\n\n res |= (der.tagClassByName[cls || 'universal'] << 6);\n\n return res;\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/encoders/der.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/encoders/index.js": -/*!******************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/encoders/index.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst encoders = exports;\n\nencoders.der = __webpack_require__(/*! ./der */ \"./.codedoc/node_modules/asn1.js/lib/asn1/encoders/der.js\");\nencoders.pem = __webpack_require__(/*! ./pem */ \"./.codedoc/node_modules/asn1.js/lib/asn1/encoders/pem.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/encoders/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/asn1.js/lib/asn1/encoders/pem.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/asn1.js/lib/asn1/encoders/pem.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nconst inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n\nconst DEREncoder = __webpack_require__(/*! ./der */ \"./.codedoc/node_modules/asn1.js/lib/asn1/encoders/der.js\");\n\nfunction PEMEncoder(entity) {\n DEREncoder.call(this, entity);\n this.enc = 'pem';\n}\ninherits(PEMEncoder, DEREncoder);\nmodule.exports = PEMEncoder;\n\nPEMEncoder.prototype.encode = function encode(data, options) {\n const buf = DEREncoder.prototype.encode.call(this, data);\n\n const p = buf.toString('base64');\n const out = [ '-----BEGIN ' + options.label + '-----' ];\n for (let i = 0; i < p.length; i += 64)\n out.push(p.slice(i, i + 64));\n out.push('-----END ' + options.label + '-----');\n return out.join('\\n');\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/asn1.js/lib/asn1/encoders/pem.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/base64-js/index.js": -/*!**************************************************!*\ - !*** ./.codedoc/node_modules/base64-js/index.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/base64-js/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/bn.js/lib/bn.js": -/*!***********************************************!*\ - !*** ./.codedoc/node_modules/bn.js/lib/bn.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module) {(function (module, exports) {\n 'use strict';\n\n // Utils\n function assert (val, msg) {\n if (!val) throw new Error(msg || 'Assertion failed');\n }\n\n // Could use `inherits` module, but don't want to move from single file\n // architecture yet.\n function inherits (ctor, superCtor) {\n ctor.super_ = superCtor;\n var TempCtor = function () {};\n TempCtor.prototype = superCtor.prototype;\n ctor.prototype = new TempCtor();\n ctor.prototype.constructor = ctor;\n }\n\n // BN\n\n function BN (number, base, endian) {\n if (BN.isBN(number)) {\n return number;\n }\n\n this.negative = 0;\n this.words = null;\n this.length = 0;\n\n // Reduction context\n this.red = null;\n\n if (number !== null) {\n if (base === 'le' || base === 'be') {\n endian = base;\n base = 10;\n }\n\n this._init(number || 0, base || 10, endian || 'be');\n }\n }\n if (typeof module === 'object') {\n module.exports = BN;\n } else {\n exports.BN = BN;\n }\n\n BN.BN = BN;\n BN.wordSize = 26;\n\n var Buffer;\n try {\n if (typeof window !== 'undefined' && typeof window.Buffer !== 'undefined') {\n Buffer = window.Buffer;\n } else {\n Buffer = __webpack_require__(/*! buffer */ 2).Buffer;\n }\n } catch (e) {\n }\n\n BN.isBN = function isBN (num) {\n if (num instanceof BN) {\n return true;\n }\n\n return num !== null && typeof num === 'object' &&\n num.constructor.wordSize === BN.wordSize && Array.isArray(num.words);\n };\n\n BN.max = function max (left, right) {\n if (left.cmp(right) > 0) return left;\n return right;\n };\n\n BN.min = function min (left, right) {\n if (left.cmp(right) < 0) return left;\n return right;\n };\n\n BN.prototype._init = function init (number, base, endian) {\n if (typeof number === 'number') {\n return this._initNumber(number, base, endian);\n }\n\n if (typeof number === 'object') {\n return this._initArray(number, base, endian);\n }\n\n if (base === 'hex') {\n base = 16;\n }\n assert(base === (base | 0) && base >= 2 && base <= 36);\n\n number = number.toString().replace(/\\s+/g, '');\n var start = 0;\n if (number[0] === '-') {\n start++;\n this.negative = 1;\n }\n\n if (start < number.length) {\n if (base === 16) {\n this._parseHex(number, start, endian);\n } else {\n this._parseBase(number, base, start);\n if (endian === 'le') {\n this._initArray(this.toArray(), base, endian);\n }\n }\n }\n };\n\n BN.prototype._initNumber = function _initNumber (number, base, endian) {\n if (number < 0) {\n this.negative = 1;\n number = -number;\n }\n if (number < 0x4000000) {\n this.words = [number & 0x3ffffff];\n this.length = 1;\n } else if (number < 0x10000000000000) {\n this.words = [\n number & 0x3ffffff,\n (number / 0x4000000) & 0x3ffffff\n ];\n this.length = 2;\n } else {\n assert(number < 0x20000000000000); // 2 ^ 53 (unsafe)\n this.words = [\n number & 0x3ffffff,\n (number / 0x4000000) & 0x3ffffff,\n 1\n ];\n this.length = 3;\n }\n\n if (endian !== 'le') return;\n\n // Reverse the bytes\n this._initArray(this.toArray(), base, endian);\n };\n\n BN.prototype._initArray = function _initArray (number, base, endian) {\n // Perhaps a Uint8Array\n assert(typeof number.length === 'number');\n if (number.length <= 0) {\n this.words = [0];\n this.length = 1;\n return this;\n }\n\n this.length = Math.ceil(number.length / 3);\n this.words = new Array(this.length);\n for (var i = 0; i < this.length; i++) {\n this.words[i] = 0;\n }\n\n var j, w;\n var off = 0;\n if (endian === 'be') {\n for (i = number.length - 1, j = 0; i >= 0; i -= 3) {\n w = number[i] | (number[i - 1] << 8) | (number[i - 2] << 16);\n this.words[j] |= (w << off) & 0x3ffffff;\n this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff;\n off += 24;\n if (off >= 26) {\n off -= 26;\n j++;\n }\n }\n } else if (endian === 'le') {\n for (i = 0, j = 0; i < number.length; i += 3) {\n w = number[i] | (number[i + 1] << 8) | (number[i + 2] << 16);\n this.words[j] |= (w << off) & 0x3ffffff;\n this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff;\n off += 24;\n if (off >= 26) {\n off -= 26;\n j++;\n }\n }\n }\n return this._strip();\n };\n\n function parseHex4Bits (string, index) {\n var c = string.charCodeAt(index);\n // '0' - '9'\n if (c >= 48 && c <= 57) {\n return c - 48;\n // 'A' - 'F'\n } else if (c >= 65 && c <= 70) {\n return c - 55;\n // 'a' - 'f'\n } else if (c >= 97 && c <= 102) {\n return c - 87;\n } else {\n assert(false, 'Invalid character in ' + string);\n }\n }\n\n function parseHexByte (string, lowerBound, index) {\n var r = parseHex4Bits(string, index);\n if (index - 1 >= lowerBound) {\n r |= parseHex4Bits(string, index - 1) << 4;\n }\n return r;\n }\n\n BN.prototype._parseHex = function _parseHex (number, start, endian) {\n // Create possibly bigger array to ensure that it fits the number\n this.length = Math.ceil((number.length - start) / 6);\n this.words = new Array(this.length);\n for (var i = 0; i < this.length; i++) {\n this.words[i] = 0;\n }\n\n // 24-bits chunks\n var off = 0;\n var j = 0;\n\n var w;\n if (endian === 'be') {\n for (i = number.length - 1; i >= start; i -= 2) {\n w = parseHexByte(number, start, i) << off;\n this.words[j] |= w & 0x3ffffff;\n if (off >= 18) {\n off -= 18;\n j += 1;\n this.words[j] |= w >>> 26;\n } else {\n off += 8;\n }\n }\n } else {\n var parseLength = number.length - start;\n for (i = parseLength % 2 === 0 ? start + 1 : start; i < number.length; i += 2) {\n w = parseHexByte(number, start, i) << off;\n this.words[j] |= w & 0x3ffffff;\n if (off >= 18) {\n off -= 18;\n j += 1;\n this.words[j] |= w >>> 26;\n } else {\n off += 8;\n }\n }\n }\n\n this._strip();\n };\n\n function parseBase (str, start, end, mul) {\n var r = 0;\n var b = 0;\n var len = Math.min(str.length, end);\n for (var i = start; i < len; i++) {\n var c = str.charCodeAt(i) - 48;\n\n r *= mul;\n\n // 'a'\n if (c >= 49) {\n b = c - 49 + 0xa;\n\n // 'A'\n } else if (c >= 17) {\n b = c - 17 + 0xa;\n\n // '0' - '9'\n } else {\n b = c;\n }\n assert(c >= 0 && b < mul, 'Invalid character');\n r += b;\n }\n return r;\n }\n\n BN.prototype._parseBase = function _parseBase (number, base, start) {\n // Initialize as zero\n this.words = [0];\n this.length = 1;\n\n // Find length of limb in base\n for (var limbLen = 0, limbPow = 1; limbPow <= 0x3ffffff; limbPow *= base) {\n limbLen++;\n }\n limbLen--;\n limbPow = (limbPow / base) | 0;\n\n var total = number.length - start;\n var mod = total % limbLen;\n var end = Math.min(total, total - mod) + start;\n\n var word = 0;\n for (var i = start; i < end; i += limbLen) {\n word = parseBase(number, i, i + limbLen, base);\n\n this.imuln(limbPow);\n if (this.words[0] + word < 0x4000000) {\n this.words[0] += word;\n } else {\n this._iaddn(word);\n }\n }\n\n if (mod !== 0) {\n var pow = 1;\n word = parseBase(number, i, number.length, base);\n\n for (i = 0; i < mod; i++) {\n pow *= base;\n }\n\n this.imuln(pow);\n if (this.words[0] + word < 0x4000000) {\n this.words[0] += word;\n } else {\n this._iaddn(word);\n }\n }\n\n this._strip();\n };\n\n BN.prototype.copy = function copy (dest) {\n dest.words = new Array(this.length);\n for (var i = 0; i < this.length; i++) {\n dest.words[i] = this.words[i];\n }\n dest.length = this.length;\n dest.negative = this.negative;\n dest.red = this.red;\n };\n\n function move (dest, src) {\n dest.words = src.words;\n dest.length = src.length;\n dest.negative = src.negative;\n dest.red = src.red;\n }\n\n BN.prototype._move = function _move (dest) {\n move(dest, this);\n };\n\n BN.prototype.clone = function clone () {\n var r = new BN(null);\n this.copy(r);\n return r;\n };\n\n BN.prototype._expand = function _expand (size) {\n while (this.length < size) {\n this.words[this.length++] = 0;\n }\n return this;\n };\n\n // Remove leading `0` from `this`\n BN.prototype._strip = function strip () {\n while (this.length > 1 && this.words[this.length - 1] === 0) {\n this.length--;\n }\n return this._normSign();\n };\n\n BN.prototype._normSign = function _normSign () {\n // -0 = 0\n if (this.length === 1 && this.words[0] === 0) {\n this.negative = 0;\n }\n return this;\n };\n\n // Check Symbol.for because not everywhere where Symbol defined\n // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol#Browser_compatibility\n if (typeof Symbol !== 'undefined' && typeof Symbol.for === 'function') {\n try {\n BN.prototype[Symbol.for('nodejs.util.inspect.custom')] = inspect;\n } catch (e) {\n BN.prototype.inspect = inspect;\n }\n } else {\n BN.prototype.inspect = inspect;\n }\n\n function inspect () {\n return (this.red ? '';\n }\n\n /*\n\n var zeros = [];\n var groupSizes = [];\n var groupBases = [];\n\n var s = '';\n var i = -1;\n while (++i < BN.wordSize) {\n zeros[i] = s;\n s += '0';\n }\n groupSizes[0] = 0;\n groupSizes[1] = 0;\n groupBases[0] = 0;\n groupBases[1] = 0;\n var base = 2 - 1;\n while (++base < 36 + 1) {\n var groupSize = 0;\n var groupBase = 1;\n while (groupBase < (1 << BN.wordSize) / base) {\n groupBase *= base;\n groupSize += 1;\n }\n groupSizes[base] = groupSize;\n groupBases[base] = groupBase;\n }\n\n */\n\n var zeros = [\n '',\n '0',\n '00',\n '000',\n '0000',\n '00000',\n '000000',\n '0000000',\n '00000000',\n '000000000',\n '0000000000',\n '00000000000',\n '000000000000',\n '0000000000000',\n '00000000000000',\n '000000000000000',\n '0000000000000000',\n '00000000000000000',\n '000000000000000000',\n '0000000000000000000',\n '00000000000000000000',\n '000000000000000000000',\n '0000000000000000000000',\n '00000000000000000000000',\n '000000000000000000000000',\n '0000000000000000000000000'\n ];\n\n var groupSizes = [\n 0, 0,\n 25, 16, 12, 11, 10, 9, 8,\n 8, 7, 7, 7, 7, 6, 6,\n 6, 6, 6, 6, 6, 5, 5,\n 5, 5, 5, 5, 5, 5, 5,\n 5, 5, 5, 5, 5, 5, 5\n ];\n\n var groupBases = [\n 0, 0,\n 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216,\n 43046721, 10000000, 19487171, 35831808, 62748517, 7529536, 11390625,\n 16777216, 24137569, 34012224, 47045881, 64000000, 4084101, 5153632,\n 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149,\n 24300000, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176\n ];\n\n BN.prototype.toString = function toString (base, padding) {\n base = base || 10;\n padding = padding | 0 || 1;\n\n var out;\n if (base === 16 || base === 'hex') {\n out = '';\n var off = 0;\n var carry = 0;\n for (var i = 0; i < this.length; i++) {\n var w = this.words[i];\n var word = (((w << off) | carry) & 0xffffff).toString(16);\n carry = (w >>> (24 - off)) & 0xffffff;\n if (carry !== 0 || i !== this.length - 1) {\n out = zeros[6 - word.length] + word + out;\n } else {\n out = word + out;\n }\n off += 2;\n if (off >= 26) {\n off -= 26;\n i--;\n }\n }\n if (carry !== 0) {\n out = carry.toString(16) + out;\n }\n while (out.length % padding !== 0) {\n out = '0' + out;\n }\n if (this.negative !== 0) {\n out = '-' + out;\n }\n return out;\n }\n\n if (base === (base | 0) && base >= 2 && base <= 36) {\n // var groupSize = Math.floor(BN.wordSize * Math.LN2 / Math.log(base));\n var groupSize = groupSizes[base];\n // var groupBase = Math.pow(base, groupSize);\n var groupBase = groupBases[base];\n out = '';\n var c = this.clone();\n c.negative = 0;\n while (!c.isZero()) {\n var r = c.modrn(groupBase).toString(base);\n c = c.idivn(groupBase);\n\n if (!c.isZero()) {\n out = zeros[groupSize - r.length] + r + out;\n } else {\n out = r + out;\n }\n }\n if (this.isZero()) {\n out = '0' + out;\n }\n while (out.length % padding !== 0) {\n out = '0' + out;\n }\n if (this.negative !== 0) {\n out = '-' + out;\n }\n return out;\n }\n\n assert(false, 'Base should be between 2 and 36');\n };\n\n BN.prototype.toNumber = function toNumber () {\n var ret = this.words[0];\n if (this.length === 2) {\n ret += this.words[1] * 0x4000000;\n } else if (this.length === 3 && this.words[2] === 0x01) {\n // NOTE: at this stage it is known that the top bit is set\n ret += 0x10000000000000 + (this.words[1] * 0x4000000);\n } else if (this.length > 2) {\n assert(false, 'Number can only safely store up to 53 bits');\n }\n return (this.negative !== 0) ? -ret : ret;\n };\n\n BN.prototype.toJSON = function toJSON () {\n return this.toString(16, 2);\n };\n\n if (Buffer) {\n BN.prototype.toBuffer = function toBuffer (endian, length) {\n return this.toArrayLike(Buffer, endian, length);\n };\n }\n\n BN.prototype.toArray = function toArray (endian, length) {\n return this.toArrayLike(Array, endian, length);\n };\n\n var allocate = function allocate (ArrayType, size) {\n if (ArrayType.allocUnsafe) {\n return ArrayType.allocUnsafe(size);\n }\n return new ArrayType(size);\n };\n\n BN.prototype.toArrayLike = function toArrayLike (ArrayType, endian, length) {\n this._strip();\n\n var byteLength = this.byteLength();\n var reqLength = length || Math.max(1, byteLength);\n assert(byteLength <= reqLength, 'byte array longer than desired length');\n assert(reqLength > 0, 'Requested array length <= 0');\n\n var res = allocate(ArrayType, reqLength);\n var postfix = endian === 'le' ? 'LE' : 'BE';\n this['_toArrayLike' + postfix](res, byteLength);\n return res;\n };\n\n BN.prototype._toArrayLikeLE = function _toArrayLikeLE (res, byteLength) {\n var position = 0;\n var carry = 0;\n\n for (var i = 0, shift = 0; i < this.length; i++) {\n var word = (this.words[i] << shift) | carry;\n\n res[position++] = word & 0xff;\n if (position < res.length) {\n res[position++] = (word >> 8) & 0xff;\n }\n if (position < res.length) {\n res[position++] = (word >> 16) & 0xff;\n }\n\n if (shift === 6) {\n if (position < res.length) {\n res[position++] = (word >> 24) & 0xff;\n }\n carry = 0;\n shift = 0;\n } else {\n carry = word >>> 24;\n shift += 2;\n }\n }\n\n if (position < res.length) {\n res[position++] = carry;\n\n while (position < res.length) {\n res[position++] = 0;\n }\n }\n };\n\n BN.prototype._toArrayLikeBE = function _toArrayLikeBE (res, byteLength) {\n var position = res.length - 1;\n var carry = 0;\n\n for (var i = 0, shift = 0; i < this.length; i++) {\n var word = (this.words[i] << shift) | carry;\n\n res[position--] = word & 0xff;\n if (position >= 0) {\n res[position--] = (word >> 8) & 0xff;\n }\n if (position >= 0) {\n res[position--] = (word >> 16) & 0xff;\n }\n\n if (shift === 6) {\n if (position >= 0) {\n res[position--] = (word >> 24) & 0xff;\n }\n carry = 0;\n shift = 0;\n } else {\n carry = word >>> 24;\n shift += 2;\n }\n }\n\n if (position >= 0) {\n res[position--] = carry;\n\n while (position >= 0) {\n res[position--] = 0;\n }\n }\n };\n\n if (Math.clz32) {\n BN.prototype._countBits = function _countBits (w) {\n return 32 - Math.clz32(w);\n };\n } else {\n BN.prototype._countBits = function _countBits (w) {\n var t = w;\n var r = 0;\n if (t >= 0x1000) {\n r += 13;\n t >>>= 13;\n }\n if (t >= 0x40) {\n r += 7;\n t >>>= 7;\n }\n if (t >= 0x8) {\n r += 4;\n t >>>= 4;\n }\n if (t >= 0x02) {\n r += 2;\n t >>>= 2;\n }\n return r + t;\n };\n }\n\n BN.prototype._zeroBits = function _zeroBits (w) {\n // Short-cut\n if (w === 0) return 26;\n\n var t = w;\n var r = 0;\n if ((t & 0x1fff) === 0) {\n r += 13;\n t >>>= 13;\n }\n if ((t & 0x7f) === 0) {\n r += 7;\n t >>>= 7;\n }\n if ((t & 0xf) === 0) {\n r += 4;\n t >>>= 4;\n }\n if ((t & 0x3) === 0) {\n r += 2;\n t >>>= 2;\n }\n if ((t & 0x1) === 0) {\n r++;\n }\n return r;\n };\n\n // Return number of used bits in a BN\n BN.prototype.bitLength = function bitLength () {\n var w = this.words[this.length - 1];\n var hi = this._countBits(w);\n return (this.length - 1) * 26 + hi;\n };\n\n function toBitArray (num) {\n var w = new Array(num.bitLength());\n\n for (var bit = 0; bit < w.length; bit++) {\n var off = (bit / 26) | 0;\n var wbit = bit % 26;\n\n w[bit] = (num.words[off] >>> wbit) & 0x01;\n }\n\n return w;\n }\n\n // Number of trailing zero bits\n BN.prototype.zeroBits = function zeroBits () {\n if (this.isZero()) return 0;\n\n var r = 0;\n for (var i = 0; i < this.length; i++) {\n var b = this._zeroBits(this.words[i]);\n r += b;\n if (b !== 26) break;\n }\n return r;\n };\n\n BN.prototype.byteLength = function byteLength () {\n return Math.ceil(this.bitLength() / 8);\n };\n\n BN.prototype.toTwos = function toTwos (width) {\n if (this.negative !== 0) {\n return this.abs().inotn(width).iaddn(1);\n }\n return this.clone();\n };\n\n BN.prototype.fromTwos = function fromTwos (width) {\n if (this.testn(width - 1)) {\n return this.notn(width).iaddn(1).ineg();\n }\n return this.clone();\n };\n\n BN.prototype.isNeg = function isNeg () {\n return this.negative !== 0;\n };\n\n // Return negative clone of `this`\n BN.prototype.neg = function neg () {\n return this.clone().ineg();\n };\n\n BN.prototype.ineg = function ineg () {\n if (!this.isZero()) {\n this.negative ^= 1;\n }\n\n return this;\n };\n\n // Or `num` with `this` in-place\n BN.prototype.iuor = function iuor (num) {\n while (this.length < num.length) {\n this.words[this.length++] = 0;\n }\n\n for (var i = 0; i < num.length; i++) {\n this.words[i] = this.words[i] | num.words[i];\n }\n\n return this._strip();\n };\n\n BN.prototype.ior = function ior (num) {\n assert((this.negative | num.negative) === 0);\n return this.iuor(num);\n };\n\n // Or `num` with `this`\n BN.prototype.or = function or (num) {\n if (this.length > num.length) return this.clone().ior(num);\n return num.clone().ior(this);\n };\n\n BN.prototype.uor = function uor (num) {\n if (this.length > num.length) return this.clone().iuor(num);\n return num.clone().iuor(this);\n };\n\n // And `num` with `this` in-place\n BN.prototype.iuand = function iuand (num) {\n // b = min-length(num, this)\n var b;\n if (this.length > num.length) {\n b = num;\n } else {\n b = this;\n }\n\n for (var i = 0; i < b.length; i++) {\n this.words[i] = this.words[i] & num.words[i];\n }\n\n this.length = b.length;\n\n return this._strip();\n };\n\n BN.prototype.iand = function iand (num) {\n assert((this.negative | num.negative) === 0);\n return this.iuand(num);\n };\n\n // And `num` with `this`\n BN.prototype.and = function and (num) {\n if (this.length > num.length) return this.clone().iand(num);\n return num.clone().iand(this);\n };\n\n BN.prototype.uand = function uand (num) {\n if (this.length > num.length) return this.clone().iuand(num);\n return num.clone().iuand(this);\n };\n\n // Xor `num` with `this` in-place\n BN.prototype.iuxor = function iuxor (num) {\n // a.length > b.length\n var a;\n var b;\n if (this.length > num.length) {\n a = this;\n b = num;\n } else {\n a = num;\n b = this;\n }\n\n for (var i = 0; i < b.length; i++) {\n this.words[i] = a.words[i] ^ b.words[i];\n }\n\n if (this !== a) {\n for (; i < a.length; i++) {\n this.words[i] = a.words[i];\n }\n }\n\n this.length = a.length;\n\n return this._strip();\n };\n\n BN.prototype.ixor = function ixor (num) {\n assert((this.negative | num.negative) === 0);\n return this.iuxor(num);\n };\n\n // Xor `num` with `this`\n BN.prototype.xor = function xor (num) {\n if (this.length > num.length) return this.clone().ixor(num);\n return num.clone().ixor(this);\n };\n\n BN.prototype.uxor = function uxor (num) {\n if (this.length > num.length) return this.clone().iuxor(num);\n return num.clone().iuxor(this);\n };\n\n // Not ``this`` with ``width`` bitwidth\n BN.prototype.inotn = function inotn (width) {\n assert(typeof width === 'number' && width >= 0);\n\n var bytesNeeded = Math.ceil(width / 26) | 0;\n var bitsLeft = width % 26;\n\n // Extend the buffer with leading zeroes\n this._expand(bytesNeeded);\n\n if (bitsLeft > 0) {\n bytesNeeded--;\n }\n\n // Handle complete words\n for (var i = 0; i < bytesNeeded; i++) {\n this.words[i] = ~this.words[i] & 0x3ffffff;\n }\n\n // Handle the residue\n if (bitsLeft > 0) {\n this.words[i] = ~this.words[i] & (0x3ffffff >> (26 - bitsLeft));\n }\n\n // And remove leading zeroes\n return this._strip();\n };\n\n BN.prototype.notn = function notn (width) {\n return this.clone().inotn(width);\n };\n\n // Set `bit` of `this`\n BN.prototype.setn = function setn (bit, val) {\n assert(typeof bit === 'number' && bit >= 0);\n\n var off = (bit / 26) | 0;\n var wbit = bit % 26;\n\n this._expand(off + 1);\n\n if (val) {\n this.words[off] = this.words[off] | (1 << wbit);\n } else {\n this.words[off] = this.words[off] & ~(1 << wbit);\n }\n\n return this._strip();\n };\n\n // Add `num` to `this` in-place\n BN.prototype.iadd = function iadd (num) {\n var r;\n\n // negative + positive\n if (this.negative !== 0 && num.negative === 0) {\n this.negative = 0;\n r = this.isub(num);\n this.negative ^= 1;\n return this._normSign();\n\n // positive + negative\n } else if (this.negative === 0 && num.negative !== 0) {\n num.negative = 0;\n r = this.isub(num);\n num.negative = 1;\n return r._normSign();\n }\n\n // a.length > b.length\n var a, b;\n if (this.length > num.length) {\n a = this;\n b = num;\n } else {\n a = num;\n b = this;\n }\n\n var carry = 0;\n for (var i = 0; i < b.length; i++) {\n r = (a.words[i] | 0) + (b.words[i] | 0) + carry;\n this.words[i] = r & 0x3ffffff;\n carry = r >>> 26;\n }\n for (; carry !== 0 && i < a.length; i++) {\n r = (a.words[i] | 0) + carry;\n this.words[i] = r & 0x3ffffff;\n carry = r >>> 26;\n }\n\n this.length = a.length;\n if (carry !== 0) {\n this.words[this.length] = carry;\n this.length++;\n // Copy the rest of the words\n } else if (a !== this) {\n for (; i < a.length; i++) {\n this.words[i] = a.words[i];\n }\n }\n\n return this;\n };\n\n // Add `num` to `this`\n BN.prototype.add = function add (num) {\n var res;\n if (num.negative !== 0 && this.negative === 0) {\n num.negative = 0;\n res = this.sub(num);\n num.negative ^= 1;\n return res;\n } else if (num.negative === 0 && this.negative !== 0) {\n this.negative = 0;\n res = num.sub(this);\n this.negative = 1;\n return res;\n }\n\n if (this.length > num.length) return this.clone().iadd(num);\n\n return num.clone().iadd(this);\n };\n\n // Subtract `num` from `this` in-place\n BN.prototype.isub = function isub (num) {\n // this - (-num) = this + num\n if (num.negative !== 0) {\n num.negative = 0;\n var r = this.iadd(num);\n num.negative = 1;\n return r._normSign();\n\n // -this - num = -(this + num)\n } else if (this.negative !== 0) {\n this.negative = 0;\n this.iadd(num);\n this.negative = 1;\n return this._normSign();\n }\n\n // At this point both numbers are positive\n var cmp = this.cmp(num);\n\n // Optimization - zeroify\n if (cmp === 0) {\n this.negative = 0;\n this.length = 1;\n this.words[0] = 0;\n return this;\n }\n\n // a > b\n var a, b;\n if (cmp > 0) {\n a = this;\n b = num;\n } else {\n a = num;\n b = this;\n }\n\n var carry = 0;\n for (var i = 0; i < b.length; i++) {\n r = (a.words[i] | 0) - (b.words[i] | 0) + carry;\n carry = r >> 26;\n this.words[i] = r & 0x3ffffff;\n }\n for (; carry !== 0 && i < a.length; i++) {\n r = (a.words[i] | 0) + carry;\n carry = r >> 26;\n this.words[i] = r & 0x3ffffff;\n }\n\n // Copy rest of the words\n if (carry === 0 && i < a.length && a !== this) {\n for (; i < a.length; i++) {\n this.words[i] = a.words[i];\n }\n }\n\n this.length = Math.max(this.length, i);\n\n if (a !== this) {\n this.negative = 1;\n }\n\n return this._strip();\n };\n\n // Subtract `num` from `this`\n BN.prototype.sub = function sub (num) {\n return this.clone().isub(num);\n };\n\n function smallMulTo (self, num, out) {\n out.negative = num.negative ^ self.negative;\n var len = (self.length + num.length) | 0;\n out.length = len;\n len = (len - 1) | 0;\n\n // Peel one iteration (compiler can't do it, because of code complexity)\n var a = self.words[0] | 0;\n var b = num.words[0] | 0;\n var r = a * b;\n\n var lo = r & 0x3ffffff;\n var carry = (r / 0x4000000) | 0;\n out.words[0] = lo;\n\n for (var k = 1; k < len; k++) {\n // Sum all words with the same `i + j = k` and accumulate `ncarry`,\n // note that ncarry could be >= 0x3ffffff\n var ncarry = carry >>> 26;\n var rword = carry & 0x3ffffff;\n var maxJ = Math.min(k, num.length - 1);\n for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) {\n var i = (k - j) | 0;\n a = self.words[i] | 0;\n b = num.words[j] | 0;\n r = a * b + rword;\n ncarry += (r / 0x4000000) | 0;\n rword = r & 0x3ffffff;\n }\n out.words[k] = rword | 0;\n carry = ncarry | 0;\n }\n if (carry !== 0) {\n out.words[k] = carry | 0;\n } else {\n out.length--;\n }\n\n return out._strip();\n }\n\n // TODO(indutny): it may be reasonable to omit it for users who don't need\n // to work with 256-bit numbers, otherwise it gives 20% improvement for 256-bit\n // multiplication (like elliptic secp256k1).\n var comb10MulTo = function comb10MulTo (self, num, out) {\n var a = self.words;\n var b = num.words;\n var o = out.words;\n var c = 0;\n var lo;\n var mid;\n var hi;\n var a0 = a[0] | 0;\n var al0 = a0 & 0x1fff;\n var ah0 = a0 >>> 13;\n var a1 = a[1] | 0;\n var al1 = a1 & 0x1fff;\n var ah1 = a1 >>> 13;\n var a2 = a[2] | 0;\n var al2 = a2 & 0x1fff;\n var ah2 = a2 >>> 13;\n var a3 = a[3] | 0;\n var al3 = a3 & 0x1fff;\n var ah3 = a3 >>> 13;\n var a4 = a[4] | 0;\n var al4 = a4 & 0x1fff;\n var ah4 = a4 >>> 13;\n var a5 = a[5] | 0;\n var al5 = a5 & 0x1fff;\n var ah5 = a5 >>> 13;\n var a6 = a[6] | 0;\n var al6 = a6 & 0x1fff;\n var ah6 = a6 >>> 13;\n var a7 = a[7] | 0;\n var al7 = a7 & 0x1fff;\n var ah7 = a7 >>> 13;\n var a8 = a[8] | 0;\n var al8 = a8 & 0x1fff;\n var ah8 = a8 >>> 13;\n var a9 = a[9] | 0;\n var al9 = a9 & 0x1fff;\n var ah9 = a9 >>> 13;\n var b0 = b[0] | 0;\n var bl0 = b0 & 0x1fff;\n var bh0 = b0 >>> 13;\n var b1 = b[1] | 0;\n var bl1 = b1 & 0x1fff;\n var bh1 = b1 >>> 13;\n var b2 = b[2] | 0;\n var bl2 = b2 & 0x1fff;\n var bh2 = b2 >>> 13;\n var b3 = b[3] | 0;\n var bl3 = b3 & 0x1fff;\n var bh3 = b3 >>> 13;\n var b4 = b[4] | 0;\n var bl4 = b4 & 0x1fff;\n var bh4 = b4 >>> 13;\n var b5 = b[5] | 0;\n var bl5 = b5 & 0x1fff;\n var bh5 = b5 >>> 13;\n var b6 = b[6] | 0;\n var bl6 = b6 & 0x1fff;\n var bh6 = b6 >>> 13;\n var b7 = b[7] | 0;\n var bl7 = b7 & 0x1fff;\n var bh7 = b7 >>> 13;\n var b8 = b[8] | 0;\n var bl8 = b8 & 0x1fff;\n var bh8 = b8 >>> 13;\n var b9 = b[9] | 0;\n var bl9 = b9 & 0x1fff;\n var bh9 = b9 >>> 13;\n\n out.negative = self.negative ^ num.negative;\n out.length = 19;\n /* k = 0 */\n lo = Math.imul(al0, bl0);\n mid = Math.imul(al0, bh0);\n mid = (mid + Math.imul(ah0, bl0)) | 0;\n hi = Math.imul(ah0, bh0);\n var w0 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w0 >>> 26)) | 0;\n w0 &= 0x3ffffff;\n /* k = 1 */\n lo = Math.imul(al1, bl0);\n mid = Math.imul(al1, bh0);\n mid = (mid + Math.imul(ah1, bl0)) | 0;\n hi = Math.imul(ah1, bh0);\n lo = (lo + Math.imul(al0, bl1)) | 0;\n mid = (mid + Math.imul(al0, bh1)) | 0;\n mid = (mid + Math.imul(ah0, bl1)) | 0;\n hi = (hi + Math.imul(ah0, bh1)) | 0;\n var w1 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w1 >>> 26)) | 0;\n w1 &= 0x3ffffff;\n /* k = 2 */\n lo = Math.imul(al2, bl0);\n mid = Math.imul(al2, bh0);\n mid = (mid + Math.imul(ah2, bl0)) | 0;\n hi = Math.imul(ah2, bh0);\n lo = (lo + Math.imul(al1, bl1)) | 0;\n mid = (mid + Math.imul(al1, bh1)) | 0;\n mid = (mid + Math.imul(ah1, bl1)) | 0;\n hi = (hi + Math.imul(ah1, bh1)) | 0;\n lo = (lo + Math.imul(al0, bl2)) | 0;\n mid = (mid + Math.imul(al0, bh2)) | 0;\n mid = (mid + Math.imul(ah0, bl2)) | 0;\n hi = (hi + Math.imul(ah0, bh2)) | 0;\n var w2 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w2 >>> 26)) | 0;\n w2 &= 0x3ffffff;\n /* k = 3 */\n lo = Math.imul(al3, bl0);\n mid = Math.imul(al3, bh0);\n mid = (mid + Math.imul(ah3, bl0)) | 0;\n hi = Math.imul(ah3, bh0);\n lo = (lo + Math.imul(al2, bl1)) | 0;\n mid = (mid + Math.imul(al2, bh1)) | 0;\n mid = (mid + Math.imul(ah2, bl1)) | 0;\n hi = (hi + Math.imul(ah2, bh1)) | 0;\n lo = (lo + Math.imul(al1, bl2)) | 0;\n mid = (mid + Math.imul(al1, bh2)) | 0;\n mid = (mid + Math.imul(ah1, bl2)) | 0;\n hi = (hi + Math.imul(ah1, bh2)) | 0;\n lo = (lo + Math.imul(al0, bl3)) | 0;\n mid = (mid + Math.imul(al0, bh3)) | 0;\n mid = (mid + Math.imul(ah0, bl3)) | 0;\n hi = (hi + Math.imul(ah0, bh3)) | 0;\n var w3 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w3 >>> 26)) | 0;\n w3 &= 0x3ffffff;\n /* k = 4 */\n lo = Math.imul(al4, bl0);\n mid = Math.imul(al4, bh0);\n mid = (mid + Math.imul(ah4, bl0)) | 0;\n hi = Math.imul(ah4, bh0);\n lo = (lo + Math.imul(al3, bl1)) | 0;\n mid = (mid + Math.imul(al3, bh1)) | 0;\n mid = (mid + Math.imul(ah3, bl1)) | 0;\n hi = (hi + Math.imul(ah3, bh1)) | 0;\n lo = (lo + Math.imul(al2, bl2)) | 0;\n mid = (mid + Math.imul(al2, bh2)) | 0;\n mid = (mid + Math.imul(ah2, bl2)) | 0;\n hi = (hi + Math.imul(ah2, bh2)) | 0;\n lo = (lo + Math.imul(al1, bl3)) | 0;\n mid = (mid + Math.imul(al1, bh3)) | 0;\n mid = (mid + Math.imul(ah1, bl3)) | 0;\n hi = (hi + Math.imul(ah1, bh3)) | 0;\n lo = (lo + Math.imul(al0, bl4)) | 0;\n mid = (mid + Math.imul(al0, bh4)) | 0;\n mid = (mid + Math.imul(ah0, bl4)) | 0;\n hi = (hi + Math.imul(ah0, bh4)) | 0;\n var w4 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w4 >>> 26)) | 0;\n w4 &= 0x3ffffff;\n /* k = 5 */\n lo = Math.imul(al5, bl0);\n mid = Math.imul(al5, bh0);\n mid = (mid + Math.imul(ah5, bl0)) | 0;\n hi = Math.imul(ah5, bh0);\n lo = (lo + Math.imul(al4, bl1)) | 0;\n mid = (mid + Math.imul(al4, bh1)) | 0;\n mid = (mid + Math.imul(ah4, bl1)) | 0;\n hi = (hi + Math.imul(ah4, bh1)) | 0;\n lo = (lo + Math.imul(al3, bl2)) | 0;\n mid = (mid + Math.imul(al3, bh2)) | 0;\n mid = (mid + Math.imul(ah3, bl2)) | 0;\n hi = (hi + Math.imul(ah3, bh2)) | 0;\n lo = (lo + Math.imul(al2, bl3)) | 0;\n mid = (mid + Math.imul(al2, bh3)) | 0;\n mid = (mid + Math.imul(ah2, bl3)) | 0;\n hi = (hi + Math.imul(ah2, bh3)) | 0;\n lo = (lo + Math.imul(al1, bl4)) | 0;\n mid = (mid + Math.imul(al1, bh4)) | 0;\n mid = (mid + Math.imul(ah1, bl4)) | 0;\n hi = (hi + Math.imul(ah1, bh4)) | 0;\n lo = (lo + Math.imul(al0, bl5)) | 0;\n mid = (mid + Math.imul(al0, bh5)) | 0;\n mid = (mid + Math.imul(ah0, bl5)) | 0;\n hi = (hi + Math.imul(ah0, bh5)) | 0;\n var w5 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w5 >>> 26)) | 0;\n w5 &= 0x3ffffff;\n /* k = 6 */\n lo = Math.imul(al6, bl0);\n mid = Math.imul(al6, bh0);\n mid = (mid + Math.imul(ah6, bl0)) | 0;\n hi = Math.imul(ah6, bh0);\n lo = (lo + Math.imul(al5, bl1)) | 0;\n mid = (mid + Math.imul(al5, bh1)) | 0;\n mid = (mid + Math.imul(ah5, bl1)) | 0;\n hi = (hi + Math.imul(ah5, bh1)) | 0;\n lo = (lo + Math.imul(al4, bl2)) | 0;\n mid = (mid + Math.imul(al4, bh2)) | 0;\n mid = (mid + Math.imul(ah4, bl2)) | 0;\n hi = (hi + Math.imul(ah4, bh2)) | 0;\n lo = (lo + Math.imul(al3, bl3)) | 0;\n mid = (mid + Math.imul(al3, bh3)) | 0;\n mid = (mid + Math.imul(ah3, bl3)) | 0;\n hi = (hi + Math.imul(ah3, bh3)) | 0;\n lo = (lo + Math.imul(al2, bl4)) | 0;\n mid = (mid + Math.imul(al2, bh4)) | 0;\n mid = (mid + Math.imul(ah2, bl4)) | 0;\n hi = (hi + Math.imul(ah2, bh4)) | 0;\n lo = (lo + Math.imul(al1, bl5)) | 0;\n mid = (mid + Math.imul(al1, bh5)) | 0;\n mid = (mid + Math.imul(ah1, bl5)) | 0;\n hi = (hi + Math.imul(ah1, bh5)) | 0;\n lo = (lo + Math.imul(al0, bl6)) | 0;\n mid = (mid + Math.imul(al0, bh6)) | 0;\n mid = (mid + Math.imul(ah0, bl6)) | 0;\n hi = (hi + Math.imul(ah0, bh6)) | 0;\n var w6 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w6 >>> 26)) | 0;\n w6 &= 0x3ffffff;\n /* k = 7 */\n lo = Math.imul(al7, bl0);\n mid = Math.imul(al7, bh0);\n mid = (mid + Math.imul(ah7, bl0)) | 0;\n hi = Math.imul(ah7, bh0);\n lo = (lo + Math.imul(al6, bl1)) | 0;\n mid = (mid + Math.imul(al6, bh1)) | 0;\n mid = (mid + Math.imul(ah6, bl1)) | 0;\n hi = (hi + Math.imul(ah6, bh1)) | 0;\n lo = (lo + Math.imul(al5, bl2)) | 0;\n mid = (mid + Math.imul(al5, bh2)) | 0;\n mid = (mid + Math.imul(ah5, bl2)) | 0;\n hi = (hi + Math.imul(ah5, bh2)) | 0;\n lo = (lo + Math.imul(al4, bl3)) | 0;\n mid = (mid + Math.imul(al4, bh3)) | 0;\n mid = (mid + Math.imul(ah4, bl3)) | 0;\n hi = (hi + Math.imul(ah4, bh3)) | 0;\n lo = (lo + Math.imul(al3, bl4)) | 0;\n mid = (mid + Math.imul(al3, bh4)) | 0;\n mid = (mid + Math.imul(ah3, bl4)) | 0;\n hi = (hi + Math.imul(ah3, bh4)) | 0;\n lo = (lo + Math.imul(al2, bl5)) | 0;\n mid = (mid + Math.imul(al2, bh5)) | 0;\n mid = (mid + Math.imul(ah2, bl5)) | 0;\n hi = (hi + Math.imul(ah2, bh5)) | 0;\n lo = (lo + Math.imul(al1, bl6)) | 0;\n mid = (mid + Math.imul(al1, bh6)) | 0;\n mid = (mid + Math.imul(ah1, bl6)) | 0;\n hi = (hi + Math.imul(ah1, bh6)) | 0;\n lo = (lo + Math.imul(al0, bl7)) | 0;\n mid = (mid + Math.imul(al0, bh7)) | 0;\n mid = (mid + Math.imul(ah0, bl7)) | 0;\n hi = (hi + Math.imul(ah0, bh7)) | 0;\n var w7 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w7 >>> 26)) | 0;\n w7 &= 0x3ffffff;\n /* k = 8 */\n lo = Math.imul(al8, bl0);\n mid = Math.imul(al8, bh0);\n mid = (mid + Math.imul(ah8, bl0)) | 0;\n hi = Math.imul(ah8, bh0);\n lo = (lo + Math.imul(al7, bl1)) | 0;\n mid = (mid + Math.imul(al7, bh1)) | 0;\n mid = (mid + Math.imul(ah7, bl1)) | 0;\n hi = (hi + Math.imul(ah7, bh1)) | 0;\n lo = (lo + Math.imul(al6, bl2)) | 0;\n mid = (mid + Math.imul(al6, bh2)) | 0;\n mid = (mid + Math.imul(ah6, bl2)) | 0;\n hi = (hi + Math.imul(ah6, bh2)) | 0;\n lo = (lo + Math.imul(al5, bl3)) | 0;\n mid = (mid + Math.imul(al5, bh3)) | 0;\n mid = (mid + Math.imul(ah5, bl3)) | 0;\n hi = (hi + Math.imul(ah5, bh3)) | 0;\n lo = (lo + Math.imul(al4, bl4)) | 0;\n mid = (mid + Math.imul(al4, bh4)) | 0;\n mid = (mid + Math.imul(ah4, bl4)) | 0;\n hi = (hi + Math.imul(ah4, bh4)) | 0;\n lo = (lo + Math.imul(al3, bl5)) | 0;\n mid = (mid + Math.imul(al3, bh5)) | 0;\n mid = (mid + Math.imul(ah3, bl5)) | 0;\n hi = (hi + Math.imul(ah3, bh5)) | 0;\n lo = (lo + Math.imul(al2, bl6)) | 0;\n mid = (mid + Math.imul(al2, bh6)) | 0;\n mid = (mid + Math.imul(ah2, bl6)) | 0;\n hi = (hi + Math.imul(ah2, bh6)) | 0;\n lo = (lo + Math.imul(al1, bl7)) | 0;\n mid = (mid + Math.imul(al1, bh7)) | 0;\n mid = (mid + Math.imul(ah1, bl7)) | 0;\n hi = (hi + Math.imul(ah1, bh7)) | 0;\n lo = (lo + Math.imul(al0, bl8)) | 0;\n mid = (mid + Math.imul(al0, bh8)) | 0;\n mid = (mid + Math.imul(ah0, bl8)) | 0;\n hi = (hi + Math.imul(ah0, bh8)) | 0;\n var w8 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w8 >>> 26)) | 0;\n w8 &= 0x3ffffff;\n /* k = 9 */\n lo = Math.imul(al9, bl0);\n mid = Math.imul(al9, bh0);\n mid = (mid + Math.imul(ah9, bl0)) | 0;\n hi = Math.imul(ah9, bh0);\n lo = (lo + Math.imul(al8, bl1)) | 0;\n mid = (mid + Math.imul(al8, bh1)) | 0;\n mid = (mid + Math.imul(ah8, bl1)) | 0;\n hi = (hi + Math.imul(ah8, bh1)) | 0;\n lo = (lo + Math.imul(al7, bl2)) | 0;\n mid = (mid + Math.imul(al7, bh2)) | 0;\n mid = (mid + Math.imul(ah7, bl2)) | 0;\n hi = (hi + Math.imul(ah7, bh2)) | 0;\n lo = (lo + Math.imul(al6, bl3)) | 0;\n mid = (mid + Math.imul(al6, bh3)) | 0;\n mid = (mid + Math.imul(ah6, bl3)) | 0;\n hi = (hi + Math.imul(ah6, bh3)) | 0;\n lo = (lo + Math.imul(al5, bl4)) | 0;\n mid = (mid + Math.imul(al5, bh4)) | 0;\n mid = (mid + Math.imul(ah5, bl4)) | 0;\n hi = (hi + Math.imul(ah5, bh4)) | 0;\n lo = (lo + Math.imul(al4, bl5)) | 0;\n mid = (mid + Math.imul(al4, bh5)) | 0;\n mid = (mid + Math.imul(ah4, bl5)) | 0;\n hi = (hi + Math.imul(ah4, bh5)) | 0;\n lo = (lo + Math.imul(al3, bl6)) | 0;\n mid = (mid + Math.imul(al3, bh6)) | 0;\n mid = (mid + Math.imul(ah3, bl6)) | 0;\n hi = (hi + Math.imul(ah3, bh6)) | 0;\n lo = (lo + Math.imul(al2, bl7)) | 0;\n mid = (mid + Math.imul(al2, bh7)) | 0;\n mid = (mid + Math.imul(ah2, bl7)) | 0;\n hi = (hi + Math.imul(ah2, bh7)) | 0;\n lo = (lo + Math.imul(al1, bl8)) | 0;\n mid = (mid + Math.imul(al1, bh8)) | 0;\n mid = (mid + Math.imul(ah1, bl8)) | 0;\n hi = (hi + Math.imul(ah1, bh8)) | 0;\n lo = (lo + Math.imul(al0, bl9)) | 0;\n mid = (mid + Math.imul(al0, bh9)) | 0;\n mid = (mid + Math.imul(ah0, bl9)) | 0;\n hi = (hi + Math.imul(ah0, bh9)) | 0;\n var w9 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w9 >>> 26)) | 0;\n w9 &= 0x3ffffff;\n /* k = 10 */\n lo = Math.imul(al9, bl1);\n mid = Math.imul(al9, bh1);\n mid = (mid + Math.imul(ah9, bl1)) | 0;\n hi = Math.imul(ah9, bh1);\n lo = (lo + Math.imul(al8, bl2)) | 0;\n mid = (mid + Math.imul(al8, bh2)) | 0;\n mid = (mid + Math.imul(ah8, bl2)) | 0;\n hi = (hi + Math.imul(ah8, bh2)) | 0;\n lo = (lo + Math.imul(al7, bl3)) | 0;\n mid = (mid + Math.imul(al7, bh3)) | 0;\n mid = (mid + Math.imul(ah7, bl3)) | 0;\n hi = (hi + Math.imul(ah7, bh3)) | 0;\n lo = (lo + Math.imul(al6, bl4)) | 0;\n mid = (mid + Math.imul(al6, bh4)) | 0;\n mid = (mid + Math.imul(ah6, bl4)) | 0;\n hi = (hi + Math.imul(ah6, bh4)) | 0;\n lo = (lo + Math.imul(al5, bl5)) | 0;\n mid = (mid + Math.imul(al5, bh5)) | 0;\n mid = (mid + Math.imul(ah5, bl5)) | 0;\n hi = (hi + Math.imul(ah5, bh5)) | 0;\n lo = (lo + Math.imul(al4, bl6)) | 0;\n mid = (mid + Math.imul(al4, bh6)) | 0;\n mid = (mid + Math.imul(ah4, bl6)) | 0;\n hi = (hi + Math.imul(ah4, bh6)) | 0;\n lo = (lo + Math.imul(al3, bl7)) | 0;\n mid = (mid + Math.imul(al3, bh7)) | 0;\n mid = (mid + Math.imul(ah3, bl7)) | 0;\n hi = (hi + Math.imul(ah3, bh7)) | 0;\n lo = (lo + Math.imul(al2, bl8)) | 0;\n mid = (mid + Math.imul(al2, bh8)) | 0;\n mid = (mid + Math.imul(ah2, bl8)) | 0;\n hi = (hi + Math.imul(ah2, bh8)) | 0;\n lo = (lo + Math.imul(al1, bl9)) | 0;\n mid = (mid + Math.imul(al1, bh9)) | 0;\n mid = (mid + Math.imul(ah1, bl9)) | 0;\n hi = (hi + Math.imul(ah1, bh9)) | 0;\n var w10 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w10 >>> 26)) | 0;\n w10 &= 0x3ffffff;\n /* k = 11 */\n lo = Math.imul(al9, bl2);\n mid = Math.imul(al9, bh2);\n mid = (mid + Math.imul(ah9, bl2)) | 0;\n hi = Math.imul(ah9, bh2);\n lo = (lo + Math.imul(al8, bl3)) | 0;\n mid = (mid + Math.imul(al8, bh3)) | 0;\n mid = (mid + Math.imul(ah8, bl3)) | 0;\n hi = (hi + Math.imul(ah8, bh3)) | 0;\n lo = (lo + Math.imul(al7, bl4)) | 0;\n mid = (mid + Math.imul(al7, bh4)) | 0;\n mid = (mid + Math.imul(ah7, bl4)) | 0;\n hi = (hi + Math.imul(ah7, bh4)) | 0;\n lo = (lo + Math.imul(al6, bl5)) | 0;\n mid = (mid + Math.imul(al6, bh5)) | 0;\n mid = (mid + Math.imul(ah6, bl5)) | 0;\n hi = (hi + Math.imul(ah6, bh5)) | 0;\n lo = (lo + Math.imul(al5, bl6)) | 0;\n mid = (mid + Math.imul(al5, bh6)) | 0;\n mid = (mid + Math.imul(ah5, bl6)) | 0;\n hi = (hi + Math.imul(ah5, bh6)) | 0;\n lo = (lo + Math.imul(al4, bl7)) | 0;\n mid = (mid + Math.imul(al4, bh7)) | 0;\n mid = (mid + Math.imul(ah4, bl7)) | 0;\n hi = (hi + Math.imul(ah4, bh7)) | 0;\n lo = (lo + Math.imul(al3, bl8)) | 0;\n mid = (mid + Math.imul(al3, bh8)) | 0;\n mid = (mid + Math.imul(ah3, bl8)) | 0;\n hi = (hi + Math.imul(ah3, bh8)) | 0;\n lo = (lo + Math.imul(al2, bl9)) | 0;\n mid = (mid + Math.imul(al2, bh9)) | 0;\n mid = (mid + Math.imul(ah2, bl9)) | 0;\n hi = (hi + Math.imul(ah2, bh9)) | 0;\n var w11 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w11 >>> 26)) | 0;\n w11 &= 0x3ffffff;\n /* k = 12 */\n lo = Math.imul(al9, bl3);\n mid = Math.imul(al9, bh3);\n mid = (mid + Math.imul(ah9, bl3)) | 0;\n hi = Math.imul(ah9, bh3);\n lo = (lo + Math.imul(al8, bl4)) | 0;\n mid = (mid + Math.imul(al8, bh4)) | 0;\n mid = (mid + Math.imul(ah8, bl4)) | 0;\n hi = (hi + Math.imul(ah8, bh4)) | 0;\n lo = (lo + Math.imul(al7, bl5)) | 0;\n mid = (mid + Math.imul(al7, bh5)) | 0;\n mid = (mid + Math.imul(ah7, bl5)) | 0;\n hi = (hi + Math.imul(ah7, bh5)) | 0;\n lo = (lo + Math.imul(al6, bl6)) | 0;\n mid = (mid + Math.imul(al6, bh6)) | 0;\n mid = (mid + Math.imul(ah6, bl6)) | 0;\n hi = (hi + Math.imul(ah6, bh6)) | 0;\n lo = (lo + Math.imul(al5, bl7)) | 0;\n mid = (mid + Math.imul(al5, bh7)) | 0;\n mid = (mid + Math.imul(ah5, bl7)) | 0;\n hi = (hi + Math.imul(ah5, bh7)) | 0;\n lo = (lo + Math.imul(al4, bl8)) | 0;\n mid = (mid + Math.imul(al4, bh8)) | 0;\n mid = (mid + Math.imul(ah4, bl8)) | 0;\n hi = (hi + Math.imul(ah4, bh8)) | 0;\n lo = (lo + Math.imul(al3, bl9)) | 0;\n mid = (mid + Math.imul(al3, bh9)) | 0;\n mid = (mid + Math.imul(ah3, bl9)) | 0;\n hi = (hi + Math.imul(ah3, bh9)) | 0;\n var w12 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w12 >>> 26)) | 0;\n w12 &= 0x3ffffff;\n /* k = 13 */\n lo = Math.imul(al9, bl4);\n mid = Math.imul(al9, bh4);\n mid = (mid + Math.imul(ah9, bl4)) | 0;\n hi = Math.imul(ah9, bh4);\n lo = (lo + Math.imul(al8, bl5)) | 0;\n mid = (mid + Math.imul(al8, bh5)) | 0;\n mid = (mid + Math.imul(ah8, bl5)) | 0;\n hi = (hi + Math.imul(ah8, bh5)) | 0;\n lo = (lo + Math.imul(al7, bl6)) | 0;\n mid = (mid + Math.imul(al7, bh6)) | 0;\n mid = (mid + Math.imul(ah7, bl6)) | 0;\n hi = (hi + Math.imul(ah7, bh6)) | 0;\n lo = (lo + Math.imul(al6, bl7)) | 0;\n mid = (mid + Math.imul(al6, bh7)) | 0;\n mid = (mid + Math.imul(ah6, bl7)) | 0;\n hi = (hi + Math.imul(ah6, bh7)) | 0;\n lo = (lo + Math.imul(al5, bl8)) | 0;\n mid = (mid + Math.imul(al5, bh8)) | 0;\n mid = (mid + Math.imul(ah5, bl8)) | 0;\n hi = (hi + Math.imul(ah5, bh8)) | 0;\n lo = (lo + Math.imul(al4, bl9)) | 0;\n mid = (mid + Math.imul(al4, bh9)) | 0;\n mid = (mid + Math.imul(ah4, bl9)) | 0;\n hi = (hi + Math.imul(ah4, bh9)) | 0;\n var w13 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w13 >>> 26)) | 0;\n w13 &= 0x3ffffff;\n /* k = 14 */\n lo = Math.imul(al9, bl5);\n mid = Math.imul(al9, bh5);\n mid = (mid + Math.imul(ah9, bl5)) | 0;\n hi = Math.imul(ah9, bh5);\n lo = (lo + Math.imul(al8, bl6)) | 0;\n mid = (mid + Math.imul(al8, bh6)) | 0;\n mid = (mid + Math.imul(ah8, bl6)) | 0;\n hi = (hi + Math.imul(ah8, bh6)) | 0;\n lo = (lo + Math.imul(al7, bl7)) | 0;\n mid = (mid + Math.imul(al7, bh7)) | 0;\n mid = (mid + Math.imul(ah7, bl7)) | 0;\n hi = (hi + Math.imul(ah7, bh7)) | 0;\n lo = (lo + Math.imul(al6, bl8)) | 0;\n mid = (mid + Math.imul(al6, bh8)) | 0;\n mid = (mid + Math.imul(ah6, bl8)) | 0;\n hi = (hi + Math.imul(ah6, bh8)) | 0;\n lo = (lo + Math.imul(al5, bl9)) | 0;\n mid = (mid + Math.imul(al5, bh9)) | 0;\n mid = (mid + Math.imul(ah5, bl9)) | 0;\n hi = (hi + Math.imul(ah5, bh9)) | 0;\n var w14 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w14 >>> 26)) | 0;\n w14 &= 0x3ffffff;\n /* k = 15 */\n lo = Math.imul(al9, bl6);\n mid = Math.imul(al9, bh6);\n mid = (mid + Math.imul(ah9, bl6)) | 0;\n hi = Math.imul(ah9, bh6);\n lo = (lo + Math.imul(al8, bl7)) | 0;\n mid = (mid + Math.imul(al8, bh7)) | 0;\n mid = (mid + Math.imul(ah8, bl7)) | 0;\n hi = (hi + Math.imul(ah8, bh7)) | 0;\n lo = (lo + Math.imul(al7, bl8)) | 0;\n mid = (mid + Math.imul(al7, bh8)) | 0;\n mid = (mid + Math.imul(ah7, bl8)) | 0;\n hi = (hi + Math.imul(ah7, bh8)) | 0;\n lo = (lo + Math.imul(al6, bl9)) | 0;\n mid = (mid + Math.imul(al6, bh9)) | 0;\n mid = (mid + Math.imul(ah6, bl9)) | 0;\n hi = (hi + Math.imul(ah6, bh9)) | 0;\n var w15 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w15 >>> 26)) | 0;\n w15 &= 0x3ffffff;\n /* k = 16 */\n lo = Math.imul(al9, bl7);\n mid = Math.imul(al9, bh7);\n mid = (mid + Math.imul(ah9, bl7)) | 0;\n hi = Math.imul(ah9, bh7);\n lo = (lo + Math.imul(al8, bl8)) | 0;\n mid = (mid + Math.imul(al8, bh8)) | 0;\n mid = (mid + Math.imul(ah8, bl8)) | 0;\n hi = (hi + Math.imul(ah8, bh8)) | 0;\n lo = (lo + Math.imul(al7, bl9)) | 0;\n mid = (mid + Math.imul(al7, bh9)) | 0;\n mid = (mid + Math.imul(ah7, bl9)) | 0;\n hi = (hi + Math.imul(ah7, bh9)) | 0;\n var w16 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w16 >>> 26)) | 0;\n w16 &= 0x3ffffff;\n /* k = 17 */\n lo = Math.imul(al9, bl8);\n mid = Math.imul(al9, bh8);\n mid = (mid + Math.imul(ah9, bl8)) | 0;\n hi = Math.imul(ah9, bh8);\n lo = (lo + Math.imul(al8, bl9)) | 0;\n mid = (mid + Math.imul(al8, bh9)) | 0;\n mid = (mid + Math.imul(ah8, bl9)) | 0;\n hi = (hi + Math.imul(ah8, bh9)) | 0;\n var w17 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w17 >>> 26)) | 0;\n w17 &= 0x3ffffff;\n /* k = 18 */\n lo = Math.imul(al9, bl9);\n mid = Math.imul(al9, bh9);\n mid = (mid + Math.imul(ah9, bl9)) | 0;\n hi = Math.imul(ah9, bh9);\n var w18 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;\n c = (((hi + (mid >>> 13)) | 0) + (w18 >>> 26)) | 0;\n w18 &= 0x3ffffff;\n o[0] = w0;\n o[1] = w1;\n o[2] = w2;\n o[3] = w3;\n o[4] = w4;\n o[5] = w5;\n o[6] = w6;\n o[7] = w7;\n o[8] = w8;\n o[9] = w9;\n o[10] = w10;\n o[11] = w11;\n o[12] = w12;\n o[13] = w13;\n o[14] = w14;\n o[15] = w15;\n o[16] = w16;\n o[17] = w17;\n o[18] = w18;\n if (c !== 0) {\n o[19] = c;\n out.length++;\n }\n return out;\n };\n\n // Polyfill comb\n if (!Math.imul) {\n comb10MulTo = smallMulTo;\n }\n\n function bigMulTo (self, num, out) {\n out.negative = num.negative ^ self.negative;\n out.length = self.length + num.length;\n\n var carry = 0;\n var hncarry = 0;\n for (var k = 0; k < out.length - 1; k++) {\n // Sum all words with the same `i + j = k` and accumulate `ncarry`,\n // note that ncarry could be >= 0x3ffffff\n var ncarry = hncarry;\n hncarry = 0;\n var rword = carry & 0x3ffffff;\n var maxJ = Math.min(k, num.length - 1);\n for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) {\n var i = k - j;\n var a = self.words[i] | 0;\n var b = num.words[j] | 0;\n var r = a * b;\n\n var lo = r & 0x3ffffff;\n ncarry = (ncarry + ((r / 0x4000000) | 0)) | 0;\n lo = (lo + rword) | 0;\n rword = lo & 0x3ffffff;\n ncarry = (ncarry + (lo >>> 26)) | 0;\n\n hncarry += ncarry >>> 26;\n ncarry &= 0x3ffffff;\n }\n out.words[k] = rword;\n carry = ncarry;\n ncarry = hncarry;\n }\n if (carry !== 0) {\n out.words[k] = carry;\n } else {\n out.length--;\n }\n\n return out._strip();\n }\n\n function jumboMulTo (self, num, out) {\n // Temporary disable, see https://github.com/indutny/bn.js/issues/211\n // var fftm = new FFTM();\n // return fftm.mulp(self, num, out);\n return bigMulTo(self, num, out);\n }\n\n BN.prototype.mulTo = function mulTo (num, out) {\n var res;\n var len = this.length + num.length;\n if (this.length === 10 && num.length === 10) {\n res = comb10MulTo(this, num, out);\n } else if (len < 63) {\n res = smallMulTo(this, num, out);\n } else if (len < 1024) {\n res = bigMulTo(this, num, out);\n } else {\n res = jumboMulTo(this, num, out);\n }\n\n return res;\n };\n\n // Cooley-Tukey algorithm for FFT\n // slightly revisited to rely on looping instead of recursion\n\n function FFTM (x, y) {\n this.x = x;\n this.y = y;\n }\n\n FFTM.prototype.makeRBT = function makeRBT (N) {\n var t = new Array(N);\n var l = BN.prototype._countBits(N) - 1;\n for (var i = 0; i < N; i++) {\n t[i] = this.revBin(i, l, N);\n }\n\n return t;\n };\n\n // Returns binary-reversed representation of `x`\n FFTM.prototype.revBin = function revBin (x, l, N) {\n if (x === 0 || x === N - 1) return x;\n\n var rb = 0;\n for (var i = 0; i < l; i++) {\n rb |= (x & 1) << (l - i - 1);\n x >>= 1;\n }\n\n return rb;\n };\n\n // Performs \"tweedling\" phase, therefore 'emulating'\n // behaviour of the recursive algorithm\n FFTM.prototype.permute = function permute (rbt, rws, iws, rtws, itws, N) {\n for (var i = 0; i < N; i++) {\n rtws[i] = rws[rbt[i]];\n itws[i] = iws[rbt[i]];\n }\n };\n\n FFTM.prototype.transform = function transform (rws, iws, rtws, itws, N, rbt) {\n this.permute(rbt, rws, iws, rtws, itws, N);\n\n for (var s = 1; s < N; s <<= 1) {\n var l = s << 1;\n\n var rtwdf = Math.cos(2 * Math.PI / l);\n var itwdf = Math.sin(2 * Math.PI / l);\n\n for (var p = 0; p < N; p += l) {\n var rtwdf_ = rtwdf;\n var itwdf_ = itwdf;\n\n for (var j = 0; j < s; j++) {\n var re = rtws[p + j];\n var ie = itws[p + j];\n\n var ro = rtws[p + j + s];\n var io = itws[p + j + s];\n\n var rx = rtwdf_ * ro - itwdf_ * io;\n\n io = rtwdf_ * io + itwdf_ * ro;\n ro = rx;\n\n rtws[p + j] = re + ro;\n itws[p + j] = ie + io;\n\n rtws[p + j + s] = re - ro;\n itws[p + j + s] = ie - io;\n\n /* jshint maxdepth : false */\n if (j !== l) {\n rx = rtwdf * rtwdf_ - itwdf * itwdf_;\n\n itwdf_ = rtwdf * itwdf_ + itwdf * rtwdf_;\n rtwdf_ = rx;\n }\n }\n }\n }\n };\n\n FFTM.prototype.guessLen13b = function guessLen13b (n, m) {\n var N = Math.max(m, n) | 1;\n var odd = N & 1;\n var i = 0;\n for (N = N / 2 | 0; N; N = N >>> 1) {\n i++;\n }\n\n return 1 << i + 1 + odd;\n };\n\n FFTM.prototype.conjugate = function conjugate (rws, iws, N) {\n if (N <= 1) return;\n\n for (var i = 0; i < N / 2; i++) {\n var t = rws[i];\n\n rws[i] = rws[N - i - 1];\n rws[N - i - 1] = t;\n\n t = iws[i];\n\n iws[i] = -iws[N - i - 1];\n iws[N - i - 1] = -t;\n }\n };\n\n FFTM.prototype.normalize13b = function normalize13b (ws, N) {\n var carry = 0;\n for (var i = 0; i < N / 2; i++) {\n var w = Math.round(ws[2 * i + 1] / N) * 0x2000 +\n Math.round(ws[2 * i] / N) +\n carry;\n\n ws[i] = w & 0x3ffffff;\n\n if (w < 0x4000000) {\n carry = 0;\n } else {\n carry = w / 0x4000000 | 0;\n }\n }\n\n return ws;\n };\n\n FFTM.prototype.convert13b = function convert13b (ws, len, rws, N) {\n var carry = 0;\n for (var i = 0; i < len; i++) {\n carry = carry + (ws[i] | 0);\n\n rws[2 * i] = carry & 0x1fff; carry = carry >>> 13;\n rws[2 * i + 1] = carry & 0x1fff; carry = carry >>> 13;\n }\n\n // Pad with zeroes\n for (i = 2 * len; i < N; ++i) {\n rws[i] = 0;\n }\n\n assert(carry === 0);\n assert((carry & ~0x1fff) === 0);\n };\n\n FFTM.prototype.stub = function stub (N) {\n var ph = new Array(N);\n for (var i = 0; i < N; i++) {\n ph[i] = 0;\n }\n\n return ph;\n };\n\n FFTM.prototype.mulp = function mulp (x, y, out) {\n var N = 2 * this.guessLen13b(x.length, y.length);\n\n var rbt = this.makeRBT(N);\n\n var _ = this.stub(N);\n\n var rws = new Array(N);\n var rwst = new Array(N);\n var iwst = new Array(N);\n\n var nrws = new Array(N);\n var nrwst = new Array(N);\n var niwst = new Array(N);\n\n var rmws = out.words;\n rmws.length = N;\n\n this.convert13b(x.words, x.length, rws, N);\n this.convert13b(y.words, y.length, nrws, N);\n\n this.transform(rws, _, rwst, iwst, N, rbt);\n this.transform(nrws, _, nrwst, niwst, N, rbt);\n\n for (var i = 0; i < N; i++) {\n var rx = rwst[i] * nrwst[i] - iwst[i] * niwst[i];\n iwst[i] = rwst[i] * niwst[i] + iwst[i] * nrwst[i];\n rwst[i] = rx;\n }\n\n this.conjugate(rwst, iwst, N);\n this.transform(rwst, iwst, rmws, _, N, rbt);\n this.conjugate(rmws, _, N);\n this.normalize13b(rmws, N);\n\n out.negative = x.negative ^ y.negative;\n out.length = x.length + y.length;\n return out._strip();\n };\n\n // Multiply `this` by `num`\n BN.prototype.mul = function mul (num) {\n var out = new BN(null);\n out.words = new Array(this.length + num.length);\n return this.mulTo(num, out);\n };\n\n // Multiply employing FFT\n BN.prototype.mulf = function mulf (num) {\n var out = new BN(null);\n out.words = new Array(this.length + num.length);\n return jumboMulTo(this, num, out);\n };\n\n // In-place Multiplication\n BN.prototype.imul = function imul (num) {\n return this.clone().mulTo(num, this);\n };\n\n BN.prototype.imuln = function imuln (num) {\n var isNegNum = num < 0;\n if (isNegNum) num = -num;\n\n assert(typeof num === 'number');\n assert(num < 0x4000000);\n\n // Carry\n var carry = 0;\n for (var i = 0; i < this.length; i++) {\n var w = (this.words[i] | 0) * num;\n var lo = (w & 0x3ffffff) + (carry & 0x3ffffff);\n carry >>= 26;\n carry += (w / 0x4000000) | 0;\n // NOTE: lo is 27bit maximum\n carry += lo >>> 26;\n this.words[i] = lo & 0x3ffffff;\n }\n\n if (carry !== 0) {\n this.words[i] = carry;\n this.length++;\n }\n\n return isNegNum ? this.ineg() : this;\n };\n\n BN.prototype.muln = function muln (num) {\n return this.clone().imuln(num);\n };\n\n // `this` * `this`\n BN.prototype.sqr = function sqr () {\n return this.mul(this);\n };\n\n // `this` * `this` in-place\n BN.prototype.isqr = function isqr () {\n return this.imul(this.clone());\n };\n\n // Math.pow(`this`, `num`)\n BN.prototype.pow = function pow (num) {\n var w = toBitArray(num);\n if (w.length === 0) return new BN(1);\n\n // Skip leading zeroes\n var res = this;\n for (var i = 0; i < w.length; i++, res = res.sqr()) {\n if (w[i] !== 0) break;\n }\n\n if (++i < w.length) {\n for (var q = res.sqr(); i < w.length; i++, q = q.sqr()) {\n if (w[i] === 0) continue;\n\n res = res.mul(q);\n }\n }\n\n return res;\n };\n\n // Shift-left in-place\n BN.prototype.iushln = function iushln (bits) {\n assert(typeof bits === 'number' && bits >= 0);\n var r = bits % 26;\n var s = (bits - r) / 26;\n var carryMask = (0x3ffffff >>> (26 - r)) << (26 - r);\n var i;\n\n if (r !== 0) {\n var carry = 0;\n\n for (i = 0; i < this.length; i++) {\n var newCarry = this.words[i] & carryMask;\n var c = ((this.words[i] | 0) - newCarry) << r;\n this.words[i] = c | carry;\n carry = newCarry >>> (26 - r);\n }\n\n if (carry) {\n this.words[i] = carry;\n this.length++;\n }\n }\n\n if (s !== 0) {\n for (i = this.length - 1; i >= 0; i--) {\n this.words[i + s] = this.words[i];\n }\n\n for (i = 0; i < s; i++) {\n this.words[i] = 0;\n }\n\n this.length += s;\n }\n\n return this._strip();\n };\n\n BN.prototype.ishln = function ishln (bits) {\n // TODO(indutny): implement me\n assert(this.negative === 0);\n return this.iushln(bits);\n };\n\n // Shift-right in-place\n // NOTE: `hint` is a lowest bit before trailing zeroes\n // NOTE: if `extended` is present - it will be filled with destroyed bits\n BN.prototype.iushrn = function iushrn (bits, hint, extended) {\n assert(typeof bits === 'number' && bits >= 0);\n var h;\n if (hint) {\n h = (hint - (hint % 26)) / 26;\n } else {\n h = 0;\n }\n\n var r = bits % 26;\n var s = Math.min((bits - r) / 26, this.length);\n var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r);\n var maskedWords = extended;\n\n h -= s;\n h = Math.max(0, h);\n\n // Extended mode, copy masked part\n if (maskedWords) {\n for (var i = 0; i < s; i++) {\n maskedWords.words[i] = this.words[i];\n }\n maskedWords.length = s;\n }\n\n if (s === 0) {\n // No-op, we should not move anything at all\n } else if (this.length > s) {\n this.length -= s;\n for (i = 0; i < this.length; i++) {\n this.words[i] = this.words[i + s];\n }\n } else {\n this.words[0] = 0;\n this.length = 1;\n }\n\n var carry = 0;\n for (i = this.length - 1; i >= 0 && (carry !== 0 || i >= h); i--) {\n var word = this.words[i] | 0;\n this.words[i] = (carry << (26 - r)) | (word >>> r);\n carry = word & mask;\n }\n\n // Push carried bits as a mask\n if (maskedWords && carry !== 0) {\n maskedWords.words[maskedWords.length++] = carry;\n }\n\n if (this.length === 0) {\n this.words[0] = 0;\n this.length = 1;\n }\n\n return this._strip();\n };\n\n BN.prototype.ishrn = function ishrn (bits, hint, extended) {\n // TODO(indutny): implement me\n assert(this.negative === 0);\n return this.iushrn(bits, hint, extended);\n };\n\n // Shift-left\n BN.prototype.shln = function shln (bits) {\n return this.clone().ishln(bits);\n };\n\n BN.prototype.ushln = function ushln (bits) {\n return this.clone().iushln(bits);\n };\n\n // Shift-right\n BN.prototype.shrn = function shrn (bits) {\n return this.clone().ishrn(bits);\n };\n\n BN.prototype.ushrn = function ushrn (bits) {\n return this.clone().iushrn(bits);\n };\n\n // Test if n bit is set\n BN.prototype.testn = function testn (bit) {\n assert(typeof bit === 'number' && bit >= 0);\n var r = bit % 26;\n var s = (bit - r) / 26;\n var q = 1 << r;\n\n // Fast case: bit is much higher than all existing words\n if (this.length <= s) return false;\n\n // Check bit and return\n var w = this.words[s];\n\n return !!(w & q);\n };\n\n // Return only lowers bits of number (in-place)\n BN.prototype.imaskn = function imaskn (bits) {\n assert(typeof bits === 'number' && bits >= 0);\n var r = bits % 26;\n var s = (bits - r) / 26;\n\n assert(this.negative === 0, 'imaskn works only with positive numbers');\n\n if (this.length <= s) {\n return this;\n }\n\n if (r !== 0) {\n s++;\n }\n this.length = Math.min(s, this.length);\n\n if (r !== 0) {\n var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r);\n this.words[this.length - 1] &= mask;\n }\n\n return this._strip();\n };\n\n // Return only lowers bits of number\n BN.prototype.maskn = function maskn (bits) {\n return this.clone().imaskn(bits);\n };\n\n // Add plain number `num` to `this`\n BN.prototype.iaddn = function iaddn (num) {\n assert(typeof num === 'number');\n assert(num < 0x4000000);\n if (num < 0) return this.isubn(-num);\n\n // Possible sign change\n if (this.negative !== 0) {\n if (this.length === 1 && (this.words[0] | 0) <= num) {\n this.words[0] = num - (this.words[0] | 0);\n this.negative = 0;\n return this;\n }\n\n this.negative = 0;\n this.isubn(num);\n this.negative = 1;\n return this;\n }\n\n // Add without checks\n return this._iaddn(num);\n };\n\n BN.prototype._iaddn = function _iaddn (num) {\n this.words[0] += num;\n\n // Carry\n for (var i = 0; i < this.length && this.words[i] >= 0x4000000; i++) {\n this.words[i] -= 0x4000000;\n if (i === this.length - 1) {\n this.words[i + 1] = 1;\n } else {\n this.words[i + 1]++;\n }\n }\n this.length = Math.max(this.length, i + 1);\n\n return this;\n };\n\n // Subtract plain number `num` from `this`\n BN.prototype.isubn = function isubn (num) {\n assert(typeof num === 'number');\n assert(num < 0x4000000);\n if (num < 0) return this.iaddn(-num);\n\n if (this.negative !== 0) {\n this.negative = 0;\n this.iaddn(num);\n this.negative = 1;\n return this;\n }\n\n this.words[0] -= num;\n\n if (this.length === 1 && this.words[0] < 0) {\n this.words[0] = -this.words[0];\n this.negative = 1;\n } else {\n // Carry\n for (var i = 0; i < this.length && this.words[i] < 0; i++) {\n this.words[i] += 0x4000000;\n this.words[i + 1] -= 1;\n }\n }\n\n return this._strip();\n };\n\n BN.prototype.addn = function addn (num) {\n return this.clone().iaddn(num);\n };\n\n BN.prototype.subn = function subn (num) {\n return this.clone().isubn(num);\n };\n\n BN.prototype.iabs = function iabs () {\n this.negative = 0;\n\n return this;\n };\n\n BN.prototype.abs = function abs () {\n return this.clone().iabs();\n };\n\n BN.prototype._ishlnsubmul = function _ishlnsubmul (num, mul, shift) {\n var len = num.length + shift;\n var i;\n\n this._expand(len);\n\n var w;\n var carry = 0;\n for (i = 0; i < num.length; i++) {\n w = (this.words[i + shift] | 0) + carry;\n var right = (num.words[i] | 0) * mul;\n w -= right & 0x3ffffff;\n carry = (w >> 26) - ((right / 0x4000000) | 0);\n this.words[i + shift] = w & 0x3ffffff;\n }\n for (; i < this.length - shift; i++) {\n w = (this.words[i + shift] | 0) + carry;\n carry = w >> 26;\n this.words[i + shift] = w & 0x3ffffff;\n }\n\n if (carry === 0) return this._strip();\n\n // Subtraction overflow\n assert(carry === -1);\n carry = 0;\n for (i = 0; i < this.length; i++) {\n w = -(this.words[i] | 0) + carry;\n carry = w >> 26;\n this.words[i] = w & 0x3ffffff;\n }\n this.negative = 1;\n\n return this._strip();\n };\n\n BN.prototype._wordDiv = function _wordDiv (num, mode) {\n var shift = this.length - num.length;\n\n var a = this.clone();\n var b = num;\n\n // Normalize\n var bhi = b.words[b.length - 1] | 0;\n var bhiBits = this._countBits(bhi);\n shift = 26 - bhiBits;\n if (shift !== 0) {\n b = b.ushln(shift);\n a.iushln(shift);\n bhi = b.words[b.length - 1] | 0;\n }\n\n // Initialize quotient\n var m = a.length - b.length;\n var q;\n\n if (mode !== 'mod') {\n q = new BN(null);\n q.length = m + 1;\n q.words = new Array(q.length);\n for (var i = 0; i < q.length; i++) {\n q.words[i] = 0;\n }\n }\n\n var diff = a.clone()._ishlnsubmul(b, 1, m);\n if (diff.negative === 0) {\n a = diff;\n if (q) {\n q.words[m] = 1;\n }\n }\n\n for (var j = m - 1; j >= 0; j--) {\n var qj = (a.words[b.length + j] | 0) * 0x4000000 +\n (a.words[b.length + j - 1] | 0);\n\n // NOTE: (qj / bhi) is (0x3ffffff * 0x4000000 + 0x3ffffff) / 0x2000000 max\n // (0x7ffffff)\n qj = Math.min((qj / bhi) | 0, 0x3ffffff);\n\n a._ishlnsubmul(b, qj, j);\n while (a.negative !== 0) {\n qj--;\n a.negative = 0;\n a._ishlnsubmul(b, 1, j);\n if (!a.isZero()) {\n a.negative ^= 1;\n }\n }\n if (q) {\n q.words[j] = qj;\n }\n }\n if (q) {\n q._strip();\n }\n a._strip();\n\n // Denormalize\n if (mode !== 'div' && shift !== 0) {\n a.iushrn(shift);\n }\n\n return {\n div: q || null,\n mod: a\n };\n };\n\n // NOTE: 1) `mode` can be set to `mod` to request mod only,\n // to `div` to request div only, or be absent to\n // request both div & mod\n // 2) `positive` is true if unsigned mod is requested\n BN.prototype.divmod = function divmod (num, mode, positive) {\n assert(!num.isZero());\n\n if (this.isZero()) {\n return {\n div: new BN(0),\n mod: new BN(0)\n };\n }\n\n var div, mod, res;\n if (this.negative !== 0 && num.negative === 0) {\n res = this.neg().divmod(num, mode);\n\n if (mode !== 'mod') {\n div = res.div.neg();\n }\n\n if (mode !== 'div') {\n mod = res.mod.neg();\n if (positive && mod.negative !== 0) {\n mod.iadd(num);\n }\n }\n\n return {\n div: div,\n mod: mod\n };\n }\n\n if (this.negative === 0 && num.negative !== 0) {\n res = this.divmod(num.neg(), mode);\n\n if (mode !== 'mod') {\n div = res.div.neg();\n }\n\n return {\n div: div,\n mod: res.mod\n };\n }\n\n if ((this.negative & num.negative) !== 0) {\n res = this.neg().divmod(num.neg(), mode);\n\n if (mode !== 'div') {\n mod = res.mod.neg();\n if (positive && mod.negative !== 0) {\n mod.isub(num);\n }\n }\n\n return {\n div: res.div,\n mod: mod\n };\n }\n\n // Both numbers are positive at this point\n\n // Strip both numbers to approximate shift value\n if (num.length > this.length || this.cmp(num) < 0) {\n return {\n div: new BN(0),\n mod: this\n };\n }\n\n // Very short reduction\n if (num.length === 1) {\n if (mode === 'div') {\n return {\n div: this.divn(num.words[0]),\n mod: null\n };\n }\n\n if (mode === 'mod') {\n return {\n div: null,\n mod: new BN(this.modrn(num.words[0]))\n };\n }\n\n return {\n div: this.divn(num.words[0]),\n mod: new BN(this.modrn(num.words[0]))\n };\n }\n\n return this._wordDiv(num, mode);\n };\n\n // Find `this` / `num`\n BN.prototype.div = function div (num) {\n return this.divmod(num, 'div', false).div;\n };\n\n // Find `this` % `num`\n BN.prototype.mod = function mod (num) {\n return this.divmod(num, 'mod', false).mod;\n };\n\n BN.prototype.umod = function umod (num) {\n return this.divmod(num, 'mod', true).mod;\n };\n\n // Find Round(`this` / `num`)\n BN.prototype.divRound = function divRound (num) {\n var dm = this.divmod(num);\n\n // Fast case - exact division\n if (dm.mod.isZero()) return dm.div;\n\n var mod = dm.div.negative !== 0 ? dm.mod.isub(num) : dm.mod;\n\n var half = num.ushrn(1);\n var r2 = num.andln(1);\n var cmp = mod.cmp(half);\n\n // Round down\n if (cmp < 0 || (r2 === 1 && cmp === 0)) return dm.div;\n\n // Round up\n return dm.div.negative !== 0 ? dm.div.isubn(1) : dm.div.iaddn(1);\n };\n\n BN.prototype.modrn = function modrn (num) {\n var isNegNum = num < 0;\n if (isNegNum) num = -num;\n\n assert(num <= 0x3ffffff);\n var p = (1 << 26) % num;\n\n var acc = 0;\n for (var i = this.length - 1; i >= 0; i--) {\n acc = (p * acc + (this.words[i] | 0)) % num;\n }\n\n return isNegNum ? -acc : acc;\n };\n\n // WARNING: DEPRECATED\n BN.prototype.modn = function modn (num) {\n return this.modrn(num);\n };\n\n // In-place division by number\n BN.prototype.idivn = function idivn (num) {\n var isNegNum = num < 0;\n if (isNegNum) num = -num;\n\n assert(num <= 0x3ffffff);\n\n var carry = 0;\n for (var i = this.length - 1; i >= 0; i--) {\n var w = (this.words[i] | 0) + carry * 0x4000000;\n this.words[i] = (w / num) | 0;\n carry = w % num;\n }\n\n this._strip();\n return isNegNum ? this.ineg() : this;\n };\n\n BN.prototype.divn = function divn (num) {\n return this.clone().idivn(num);\n };\n\n BN.prototype.egcd = function egcd (p) {\n assert(p.negative === 0);\n assert(!p.isZero());\n\n var x = this;\n var y = p.clone();\n\n if (x.negative !== 0) {\n x = x.umod(p);\n } else {\n x = x.clone();\n }\n\n // A * x + B * y = x\n var A = new BN(1);\n var B = new BN(0);\n\n // C * x + D * y = y\n var C = new BN(0);\n var D = new BN(1);\n\n var g = 0;\n\n while (x.isEven() && y.isEven()) {\n x.iushrn(1);\n y.iushrn(1);\n ++g;\n }\n\n var yp = y.clone();\n var xp = x.clone();\n\n while (!x.isZero()) {\n for (var i = 0, im = 1; (x.words[0] & im) === 0 && i < 26; ++i, im <<= 1);\n if (i > 0) {\n x.iushrn(i);\n while (i-- > 0) {\n if (A.isOdd() || B.isOdd()) {\n A.iadd(yp);\n B.isub(xp);\n }\n\n A.iushrn(1);\n B.iushrn(1);\n }\n }\n\n for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1);\n if (j > 0) {\n y.iushrn(j);\n while (j-- > 0) {\n if (C.isOdd() || D.isOdd()) {\n C.iadd(yp);\n D.isub(xp);\n }\n\n C.iushrn(1);\n D.iushrn(1);\n }\n }\n\n if (x.cmp(y) >= 0) {\n x.isub(y);\n A.isub(C);\n B.isub(D);\n } else {\n y.isub(x);\n C.isub(A);\n D.isub(B);\n }\n }\n\n return {\n a: C,\n b: D,\n gcd: y.iushln(g)\n };\n };\n\n // This is reduced incarnation of the binary EEA\n // above, designated to invert members of the\n // _prime_ fields F(p) at a maximal speed\n BN.prototype._invmp = function _invmp (p) {\n assert(p.negative === 0);\n assert(!p.isZero());\n\n var a = this;\n var b = p.clone();\n\n if (a.negative !== 0) {\n a = a.umod(p);\n } else {\n a = a.clone();\n }\n\n var x1 = new BN(1);\n var x2 = new BN(0);\n\n var delta = b.clone();\n\n while (a.cmpn(1) > 0 && b.cmpn(1) > 0) {\n for (var i = 0, im = 1; (a.words[0] & im) === 0 && i < 26; ++i, im <<= 1);\n if (i > 0) {\n a.iushrn(i);\n while (i-- > 0) {\n if (x1.isOdd()) {\n x1.iadd(delta);\n }\n\n x1.iushrn(1);\n }\n }\n\n for (var j = 0, jm = 1; (b.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1);\n if (j > 0) {\n b.iushrn(j);\n while (j-- > 0) {\n if (x2.isOdd()) {\n x2.iadd(delta);\n }\n\n x2.iushrn(1);\n }\n }\n\n if (a.cmp(b) >= 0) {\n a.isub(b);\n x1.isub(x2);\n } else {\n b.isub(a);\n x2.isub(x1);\n }\n }\n\n var res;\n if (a.cmpn(1) === 0) {\n res = x1;\n } else {\n res = x2;\n }\n\n if (res.cmpn(0) < 0) {\n res.iadd(p);\n }\n\n return res;\n };\n\n BN.prototype.gcd = function gcd (num) {\n if (this.isZero()) return num.abs();\n if (num.isZero()) return this.abs();\n\n var a = this.clone();\n var b = num.clone();\n a.negative = 0;\n b.negative = 0;\n\n // Remove common factor of two\n for (var shift = 0; a.isEven() && b.isEven(); shift++) {\n a.iushrn(1);\n b.iushrn(1);\n }\n\n do {\n while (a.isEven()) {\n a.iushrn(1);\n }\n while (b.isEven()) {\n b.iushrn(1);\n }\n\n var r = a.cmp(b);\n if (r < 0) {\n // Swap `a` and `b` to make `a` always bigger than `b`\n var t = a;\n a = b;\n b = t;\n } else if (r === 0 || b.cmpn(1) === 0) {\n break;\n }\n\n a.isub(b);\n } while (true);\n\n return b.iushln(shift);\n };\n\n // Invert number in the field F(num)\n BN.prototype.invm = function invm (num) {\n return this.egcd(num).a.umod(num);\n };\n\n BN.prototype.isEven = function isEven () {\n return (this.words[0] & 1) === 0;\n };\n\n BN.prototype.isOdd = function isOdd () {\n return (this.words[0] & 1) === 1;\n };\n\n // And first word and num\n BN.prototype.andln = function andln (num) {\n return this.words[0] & num;\n };\n\n // Increment at the bit position in-line\n BN.prototype.bincn = function bincn (bit) {\n assert(typeof bit === 'number');\n var r = bit % 26;\n var s = (bit - r) / 26;\n var q = 1 << r;\n\n // Fast case: bit is much higher than all existing words\n if (this.length <= s) {\n this._expand(s + 1);\n this.words[s] |= q;\n return this;\n }\n\n // Add bit and propagate, if needed\n var carry = q;\n for (var i = s; carry !== 0 && i < this.length; i++) {\n var w = this.words[i] | 0;\n w += carry;\n carry = w >>> 26;\n w &= 0x3ffffff;\n this.words[i] = w;\n }\n if (carry !== 0) {\n this.words[i] = carry;\n this.length++;\n }\n return this;\n };\n\n BN.prototype.isZero = function isZero () {\n return this.length === 1 && this.words[0] === 0;\n };\n\n BN.prototype.cmpn = function cmpn (num) {\n var negative = num < 0;\n\n if (this.negative !== 0 && !negative) return -1;\n if (this.negative === 0 && negative) return 1;\n\n this._strip();\n\n var res;\n if (this.length > 1) {\n res = 1;\n } else {\n if (negative) {\n num = -num;\n }\n\n assert(num <= 0x3ffffff, 'Number is too big');\n\n var w = this.words[0] | 0;\n res = w === num ? 0 : w < num ? -1 : 1;\n }\n if (this.negative !== 0) return -res | 0;\n return res;\n };\n\n // Compare two numbers and return:\n // 1 - if `this` > `num`\n // 0 - if `this` == `num`\n // -1 - if `this` < `num`\n BN.prototype.cmp = function cmp (num) {\n if (this.negative !== 0 && num.negative === 0) return -1;\n if (this.negative === 0 && num.negative !== 0) return 1;\n\n var res = this.ucmp(num);\n if (this.negative !== 0) return -res | 0;\n return res;\n };\n\n // Unsigned comparison\n BN.prototype.ucmp = function ucmp (num) {\n // At this point both numbers have the same sign\n if (this.length > num.length) return 1;\n if (this.length < num.length) return -1;\n\n var res = 0;\n for (var i = this.length - 1; i >= 0; i--) {\n var a = this.words[i] | 0;\n var b = num.words[i] | 0;\n\n if (a === b) continue;\n if (a < b) {\n res = -1;\n } else if (a > b) {\n res = 1;\n }\n break;\n }\n return res;\n };\n\n BN.prototype.gtn = function gtn (num) {\n return this.cmpn(num) === 1;\n };\n\n BN.prototype.gt = function gt (num) {\n return this.cmp(num) === 1;\n };\n\n BN.prototype.gten = function gten (num) {\n return this.cmpn(num) >= 0;\n };\n\n BN.prototype.gte = function gte (num) {\n return this.cmp(num) >= 0;\n };\n\n BN.prototype.ltn = function ltn (num) {\n return this.cmpn(num) === -1;\n };\n\n BN.prototype.lt = function lt (num) {\n return this.cmp(num) === -1;\n };\n\n BN.prototype.lten = function lten (num) {\n return this.cmpn(num) <= 0;\n };\n\n BN.prototype.lte = function lte (num) {\n return this.cmp(num) <= 0;\n };\n\n BN.prototype.eqn = function eqn (num) {\n return this.cmpn(num) === 0;\n };\n\n BN.prototype.eq = function eq (num) {\n return this.cmp(num) === 0;\n };\n\n //\n // A reduce context, could be using montgomery or something better, depending\n // on the `m` itself.\n //\n BN.red = function red (num) {\n return new Red(num);\n };\n\n BN.prototype.toRed = function toRed (ctx) {\n assert(!this.red, 'Already a number in reduction context');\n assert(this.negative === 0, 'red works only with positives');\n return ctx.convertTo(this)._forceRed(ctx);\n };\n\n BN.prototype.fromRed = function fromRed () {\n assert(this.red, 'fromRed works only with numbers in reduction context');\n return this.red.convertFrom(this);\n };\n\n BN.prototype._forceRed = function _forceRed (ctx) {\n this.red = ctx;\n return this;\n };\n\n BN.prototype.forceRed = function forceRed (ctx) {\n assert(!this.red, 'Already a number in reduction context');\n return this._forceRed(ctx);\n };\n\n BN.prototype.redAdd = function redAdd (num) {\n assert(this.red, 'redAdd works only with red numbers');\n return this.red.add(this, num);\n };\n\n BN.prototype.redIAdd = function redIAdd (num) {\n assert(this.red, 'redIAdd works only with red numbers');\n return this.red.iadd(this, num);\n };\n\n BN.prototype.redSub = function redSub (num) {\n assert(this.red, 'redSub works only with red numbers');\n return this.red.sub(this, num);\n };\n\n BN.prototype.redISub = function redISub (num) {\n assert(this.red, 'redISub works only with red numbers');\n return this.red.isub(this, num);\n };\n\n BN.prototype.redShl = function redShl (num) {\n assert(this.red, 'redShl works only with red numbers');\n return this.red.shl(this, num);\n };\n\n BN.prototype.redMul = function redMul (num) {\n assert(this.red, 'redMul works only with red numbers');\n this.red._verify2(this, num);\n return this.red.mul(this, num);\n };\n\n BN.prototype.redIMul = function redIMul (num) {\n assert(this.red, 'redMul works only with red numbers');\n this.red._verify2(this, num);\n return this.red.imul(this, num);\n };\n\n BN.prototype.redSqr = function redSqr () {\n assert(this.red, 'redSqr works only with red numbers');\n this.red._verify1(this);\n return this.red.sqr(this);\n };\n\n BN.prototype.redISqr = function redISqr () {\n assert(this.red, 'redISqr works only with red numbers');\n this.red._verify1(this);\n return this.red.isqr(this);\n };\n\n // Square root over p\n BN.prototype.redSqrt = function redSqrt () {\n assert(this.red, 'redSqrt works only with red numbers');\n this.red._verify1(this);\n return this.red.sqrt(this);\n };\n\n BN.prototype.redInvm = function redInvm () {\n assert(this.red, 'redInvm works only with red numbers');\n this.red._verify1(this);\n return this.red.invm(this);\n };\n\n // Return negative clone of `this` % `red modulo`\n BN.prototype.redNeg = function redNeg () {\n assert(this.red, 'redNeg works only with red numbers');\n this.red._verify1(this);\n return this.red.neg(this);\n };\n\n BN.prototype.redPow = function redPow (num) {\n assert(this.red && !num.red, 'redPow(normalNum)');\n this.red._verify1(this);\n return this.red.pow(this, num);\n };\n\n // Prime numbers with efficient reduction\n var primes = {\n k256: null,\n p224: null,\n p192: null,\n p25519: null\n };\n\n // Pseudo-Mersenne prime\n function MPrime (name, p) {\n // P = 2 ^ N - K\n this.name = name;\n this.p = new BN(p, 16);\n this.n = this.p.bitLength();\n this.k = new BN(1).iushln(this.n).isub(this.p);\n\n this.tmp = this._tmp();\n }\n\n MPrime.prototype._tmp = function _tmp () {\n var tmp = new BN(null);\n tmp.words = new Array(Math.ceil(this.n / 13));\n return tmp;\n };\n\n MPrime.prototype.ireduce = function ireduce (num) {\n // Assumes that `num` is less than `P^2`\n // num = HI * (2 ^ N - K) + HI * K + LO = HI * K + LO (mod P)\n var r = num;\n var rlen;\n\n do {\n this.split(r, this.tmp);\n r = this.imulK(r);\n r = r.iadd(this.tmp);\n rlen = r.bitLength();\n } while (rlen > this.n);\n\n var cmp = rlen < this.n ? -1 : r.ucmp(this.p);\n if (cmp === 0) {\n r.words[0] = 0;\n r.length = 1;\n } else if (cmp > 0) {\n r.isub(this.p);\n } else {\n if (r.strip !== undefined) {\n // r is a BN v4 instance\n r.strip();\n } else {\n // r is a BN v5 instance\n r._strip();\n }\n }\n\n return r;\n };\n\n MPrime.prototype.split = function split (input, out) {\n input.iushrn(this.n, 0, out);\n };\n\n MPrime.prototype.imulK = function imulK (num) {\n return num.imul(this.k);\n };\n\n function K256 () {\n MPrime.call(\n this,\n 'k256',\n 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f');\n }\n inherits(K256, MPrime);\n\n K256.prototype.split = function split (input, output) {\n // 256 = 9 * 26 + 22\n var mask = 0x3fffff;\n\n var outLen = Math.min(input.length, 9);\n for (var i = 0; i < outLen; i++) {\n output.words[i] = input.words[i];\n }\n output.length = outLen;\n\n if (input.length <= 9) {\n input.words[0] = 0;\n input.length = 1;\n return;\n }\n\n // Shift by 9 limbs\n var prev = input.words[9];\n output.words[output.length++] = prev & mask;\n\n for (i = 10; i < input.length; i++) {\n var next = input.words[i] | 0;\n input.words[i - 10] = ((next & mask) << 4) | (prev >>> 22);\n prev = next;\n }\n prev >>>= 22;\n input.words[i - 10] = prev;\n if (prev === 0 && input.length > 10) {\n input.length -= 10;\n } else {\n input.length -= 9;\n }\n };\n\n K256.prototype.imulK = function imulK (num) {\n // K = 0x1000003d1 = [ 0x40, 0x3d1 ]\n num.words[num.length] = 0;\n num.words[num.length + 1] = 0;\n num.length += 2;\n\n // bounded at: 0x40 * 0x3ffffff + 0x3d0 = 0x100000390\n var lo = 0;\n for (var i = 0; i < num.length; i++) {\n var w = num.words[i] | 0;\n lo += w * 0x3d1;\n num.words[i] = lo & 0x3ffffff;\n lo = w * 0x40 + ((lo / 0x4000000) | 0);\n }\n\n // Fast length reduction\n if (num.words[num.length - 1] === 0) {\n num.length--;\n if (num.words[num.length - 1] === 0) {\n num.length--;\n }\n }\n return num;\n };\n\n function P224 () {\n MPrime.call(\n this,\n 'p224',\n 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001');\n }\n inherits(P224, MPrime);\n\n function P192 () {\n MPrime.call(\n this,\n 'p192',\n 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff');\n }\n inherits(P192, MPrime);\n\n function P25519 () {\n // 2 ^ 255 - 19\n MPrime.call(\n this,\n '25519',\n '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed');\n }\n inherits(P25519, MPrime);\n\n P25519.prototype.imulK = function imulK (num) {\n // K = 0x13\n var carry = 0;\n for (var i = 0; i < num.length; i++) {\n var hi = (num.words[i] | 0) * 0x13 + carry;\n var lo = hi & 0x3ffffff;\n hi >>>= 26;\n\n num.words[i] = lo;\n carry = hi;\n }\n if (carry !== 0) {\n num.words[num.length++] = carry;\n }\n return num;\n };\n\n // Exported mostly for testing purposes, use plain name instead\n BN._prime = function prime (name) {\n // Cached version of prime\n if (primes[name]) return primes[name];\n\n var prime;\n if (name === 'k256') {\n prime = new K256();\n } else if (name === 'p224') {\n prime = new P224();\n } else if (name === 'p192') {\n prime = new P192();\n } else if (name === 'p25519') {\n prime = new P25519();\n } else {\n throw new Error('Unknown prime ' + name);\n }\n primes[name] = prime;\n\n return prime;\n };\n\n //\n // Base reduction engine\n //\n function Red (m) {\n if (typeof m === 'string') {\n var prime = BN._prime(m);\n this.m = prime.p;\n this.prime = prime;\n } else {\n assert(m.gtn(1), 'modulus must be greater than 1');\n this.m = m;\n this.prime = null;\n }\n }\n\n Red.prototype._verify1 = function _verify1 (a) {\n assert(a.negative === 0, 'red works only with positives');\n assert(a.red, 'red works only with red numbers');\n };\n\n Red.prototype._verify2 = function _verify2 (a, b) {\n assert((a.negative | b.negative) === 0, 'red works only with positives');\n assert(a.red && a.red === b.red,\n 'red works only with red numbers');\n };\n\n Red.prototype.imod = function imod (a) {\n if (this.prime) return this.prime.ireduce(a)._forceRed(this);\n\n move(a, a.umod(this.m)._forceRed(this));\n return a;\n };\n\n Red.prototype.neg = function neg (a) {\n if (a.isZero()) {\n return a.clone();\n }\n\n return this.m.sub(a)._forceRed(this);\n };\n\n Red.prototype.add = function add (a, b) {\n this._verify2(a, b);\n\n var res = a.add(b);\n if (res.cmp(this.m) >= 0) {\n res.isub(this.m);\n }\n return res._forceRed(this);\n };\n\n Red.prototype.iadd = function iadd (a, b) {\n this._verify2(a, b);\n\n var res = a.iadd(b);\n if (res.cmp(this.m) >= 0) {\n res.isub(this.m);\n }\n return res;\n };\n\n Red.prototype.sub = function sub (a, b) {\n this._verify2(a, b);\n\n var res = a.sub(b);\n if (res.cmpn(0) < 0) {\n res.iadd(this.m);\n }\n return res._forceRed(this);\n };\n\n Red.prototype.isub = function isub (a, b) {\n this._verify2(a, b);\n\n var res = a.isub(b);\n if (res.cmpn(0) < 0) {\n res.iadd(this.m);\n }\n return res;\n };\n\n Red.prototype.shl = function shl (a, num) {\n this._verify1(a);\n return this.imod(a.ushln(num));\n };\n\n Red.prototype.imul = function imul (a, b) {\n this._verify2(a, b);\n return this.imod(a.imul(b));\n };\n\n Red.prototype.mul = function mul (a, b) {\n this._verify2(a, b);\n return this.imod(a.mul(b));\n };\n\n Red.prototype.isqr = function isqr (a) {\n return this.imul(a, a.clone());\n };\n\n Red.prototype.sqr = function sqr (a) {\n return this.mul(a, a);\n };\n\n Red.prototype.sqrt = function sqrt (a) {\n if (a.isZero()) return a.clone();\n\n var mod3 = this.m.andln(3);\n assert(mod3 % 2 === 1);\n\n // Fast case\n if (mod3 === 3) {\n var pow = this.m.add(new BN(1)).iushrn(2);\n return this.pow(a, pow);\n }\n\n // Tonelli-Shanks algorithm (Totally unoptimized and slow)\n //\n // Find Q and S, that Q * 2 ^ S = (P - 1)\n var q = this.m.subn(1);\n var s = 0;\n while (!q.isZero() && q.andln(1) === 0) {\n s++;\n q.iushrn(1);\n }\n assert(!q.isZero());\n\n var one = new BN(1).toRed(this);\n var nOne = one.redNeg();\n\n // Find quadratic non-residue\n // NOTE: Max is such because of generalized Riemann hypothesis.\n var lpow = this.m.subn(1).iushrn(1);\n var z = this.m.bitLength();\n z = new BN(2 * z * z).toRed(this);\n\n while (this.pow(z, lpow).cmp(nOne) !== 0) {\n z.redIAdd(nOne);\n }\n\n var c = this.pow(z, q);\n var r = this.pow(a, q.addn(1).iushrn(1));\n var t = this.pow(a, q);\n var m = s;\n while (t.cmp(one) !== 0) {\n var tmp = t;\n for (var i = 0; tmp.cmp(one) !== 0; i++) {\n tmp = tmp.redSqr();\n }\n assert(i < m);\n var b = this.pow(c, new BN(1).iushln(m - i - 1));\n\n r = r.redMul(b);\n c = b.redSqr();\n t = t.redMul(c);\n m = i;\n }\n\n return r;\n };\n\n Red.prototype.invm = function invm (a) {\n var inv = a._invmp(this.m);\n if (inv.negative !== 0) {\n inv.negative = 0;\n return this.imod(inv).redNeg();\n } else {\n return this.imod(inv);\n }\n };\n\n Red.prototype.pow = function pow (a, num) {\n if (num.isZero()) return new BN(1).toRed(this);\n if (num.cmpn(1) === 0) return a.clone();\n\n var windowSize = 4;\n var wnd = new Array(1 << windowSize);\n wnd[0] = new BN(1).toRed(this);\n wnd[1] = a;\n for (var i = 2; i < wnd.length; i++) {\n wnd[i] = this.mul(wnd[i - 1], a);\n }\n\n var res = wnd[0];\n var current = 0;\n var currentLen = 0;\n var start = num.bitLength() % 26;\n if (start === 0) {\n start = 26;\n }\n\n for (i = num.length - 1; i >= 0; i--) {\n var word = num.words[i];\n for (var j = start - 1; j >= 0; j--) {\n var bit = (word >> j) & 1;\n if (res !== wnd[0]) {\n res = this.sqr(res);\n }\n\n if (bit === 0 && current === 0) {\n currentLen = 0;\n continue;\n }\n\n current <<= 1;\n current |= bit;\n currentLen++;\n if (currentLen !== windowSize && (i !== 0 || j !== 0)) continue;\n\n res = this.mul(res, wnd[current]);\n currentLen = 0;\n current = 0;\n }\n start = 26;\n }\n\n return res;\n };\n\n Red.prototype.convertTo = function convertTo (num) {\n var r = num.umod(this.m);\n\n return r === num ? r.clone() : r;\n };\n\n Red.prototype.convertFrom = function convertFrom (num) {\n var res = num.clone();\n res.red = null;\n return res;\n };\n\n //\n // Montgomery method engine\n //\n\n BN.mont = function mont (num) {\n return new Mont(num);\n };\n\n function Mont (m) {\n Red.call(this, m);\n\n this.shift = this.m.bitLength();\n if (this.shift % 26 !== 0) {\n this.shift += 26 - (this.shift % 26);\n }\n\n this.r = new BN(1).iushln(this.shift);\n this.r2 = this.imod(this.r.sqr());\n this.rinv = this.r._invmp(this.m);\n\n this.minv = this.rinv.mul(this.r).isubn(1).div(this.m);\n this.minv = this.minv.umod(this.r);\n this.minv = this.r.sub(this.minv);\n }\n inherits(Mont, Red);\n\n Mont.prototype.convertTo = function convertTo (num) {\n return this.imod(num.ushln(this.shift));\n };\n\n Mont.prototype.convertFrom = function convertFrom (num) {\n var r = this.imod(num.mul(this.rinv));\n r.red = null;\n return r;\n };\n\n Mont.prototype.imul = function imul (a, b) {\n if (a.isZero() || b.isZero()) {\n a.words[0] = 0;\n a.length = 1;\n return a;\n }\n\n var t = a.imul(b);\n var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);\n var u = t.isub(c).iushrn(this.shift);\n var res = u;\n\n if (u.cmp(this.m) >= 0) {\n res = u.isub(this.m);\n } else if (u.cmpn(0) < 0) {\n res = u.iadd(this.m);\n }\n\n return res._forceRed(this);\n };\n\n Mont.prototype.mul = function mul (a, b) {\n if (a.isZero() || b.isZero()) return new BN(0)._forceRed(this);\n\n var t = a.mul(b);\n var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);\n var u = t.isub(c).iushrn(this.shift);\n var res = u;\n if (u.cmp(this.m) >= 0) {\n res = u.isub(this.m);\n } else if (u.cmpn(0) < 0) {\n res = u.iadd(this.m);\n }\n\n return res._forceRed(this);\n };\n\n Mont.prototype.invm = function invm (a) {\n // (AR)^-1 * R^2 = (A^-1 * R^-1) * R^2 = A^-1 * R\n var res = this.imod(a._invmp(this.m).mul(this.r2));\n return res._forceRed(this);\n };\n})( false || module, this);\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/module.js */ \"./.codedoc/node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/bn.js/lib/bn.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/brorand/index.js": -/*!************************************************!*\ - !*** ./.codedoc/node_modules/brorand/index.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var r;\n\nmodule.exports = function rand(len) {\n if (!r)\n r = new Rand(null);\n\n return r.generate(len);\n};\n\nfunction Rand(rand) {\n this.rand = rand;\n}\nmodule.exports.Rand = Rand;\n\nRand.prototype.generate = function generate(len) {\n return this._rand(len);\n};\n\n// Emulate crypto API using randy\nRand.prototype._rand = function _rand(n) {\n if (this.rand.getBytes)\n return this.rand.getBytes(n);\n\n var res = new Uint8Array(n);\n for (var i = 0; i < res.length; i++)\n res[i] = this.rand.getByte();\n return res;\n};\n\nif (typeof self === 'object') {\n if (self.crypto && self.crypto.getRandomValues) {\n // Modern browsers\n Rand.prototype._rand = function _rand(n) {\n var arr = new Uint8Array(n);\n self.crypto.getRandomValues(arr);\n return arr;\n };\n } else if (self.msCrypto && self.msCrypto.getRandomValues) {\n // IE\n Rand.prototype._rand = function _rand(n) {\n var arr = new Uint8Array(n);\n self.msCrypto.getRandomValues(arr);\n return arr;\n };\n\n // Safari's WebWorkers do not have `crypto`\n } else if (typeof window === 'object') {\n // Old junk\n Rand.prototype._rand = function() {\n throw new Error('Not implemented yet');\n };\n }\n} else {\n // Node.js or Web worker with no crypto support\n try {\n var crypto = __webpack_require__(/*! crypto */ 3);\n if (typeof crypto.randomBytes !== 'function')\n throw new Error('Not supported');\n\n Rand.prototype._rand = function _rand(n) {\n return crypto.randomBytes(n);\n };\n } catch (e) {\n }\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/brorand/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/aes.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/aes.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// based on the aes implimentation in triple sec\n// https://github.com/keybase/triplesec\n// which is in turn based on the one from crypto-js\n// https://code.google.com/p/crypto-js/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nfunction asUInt32Array (buf) {\n if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)\n\n var len = (buf.length / 4) | 0\n var out = new Array(len)\n\n for (var i = 0; i < len; i++) {\n out[i] = buf.readUInt32BE(i * 4)\n }\n\n return out\n}\n\nfunction scrubVec (v) {\n for (var i = 0; i < v.length; v++) {\n v[i] = 0\n }\n}\n\nfunction cryptBlock (M, keySchedule, SUB_MIX, SBOX, nRounds) {\n var SUB_MIX0 = SUB_MIX[0]\n var SUB_MIX1 = SUB_MIX[1]\n var SUB_MIX2 = SUB_MIX[2]\n var SUB_MIX3 = SUB_MIX[3]\n\n var s0 = M[0] ^ keySchedule[0]\n var s1 = M[1] ^ keySchedule[1]\n var s2 = M[2] ^ keySchedule[2]\n var s3 = M[3] ^ keySchedule[3]\n var t0, t1, t2, t3\n var ksRow = 4\n\n for (var round = 1; round < nRounds; round++) {\n t0 = SUB_MIX0[s0 >>> 24] ^ SUB_MIX1[(s1 >>> 16) & 0xff] ^ SUB_MIX2[(s2 >>> 8) & 0xff] ^ SUB_MIX3[s3 & 0xff] ^ keySchedule[ksRow++]\n t1 = SUB_MIX0[s1 >>> 24] ^ SUB_MIX1[(s2 >>> 16) & 0xff] ^ SUB_MIX2[(s3 >>> 8) & 0xff] ^ SUB_MIX3[s0 & 0xff] ^ keySchedule[ksRow++]\n t2 = SUB_MIX0[s2 >>> 24] ^ SUB_MIX1[(s3 >>> 16) & 0xff] ^ SUB_MIX2[(s0 >>> 8) & 0xff] ^ SUB_MIX3[s1 & 0xff] ^ keySchedule[ksRow++]\n t3 = SUB_MIX0[s3 >>> 24] ^ SUB_MIX1[(s0 >>> 16) & 0xff] ^ SUB_MIX2[(s1 >>> 8) & 0xff] ^ SUB_MIX3[s2 & 0xff] ^ keySchedule[ksRow++]\n s0 = t0\n s1 = t1\n s2 = t2\n s3 = t3\n }\n\n t0 = ((SBOX[s0 >>> 24] << 24) | (SBOX[(s1 >>> 16) & 0xff] << 16) | (SBOX[(s2 >>> 8) & 0xff] << 8) | SBOX[s3 & 0xff]) ^ keySchedule[ksRow++]\n t1 = ((SBOX[s1 >>> 24] << 24) | (SBOX[(s2 >>> 16) & 0xff] << 16) | (SBOX[(s3 >>> 8) & 0xff] << 8) | SBOX[s0 & 0xff]) ^ keySchedule[ksRow++]\n t2 = ((SBOX[s2 >>> 24] << 24) | (SBOX[(s3 >>> 16) & 0xff] << 16) | (SBOX[(s0 >>> 8) & 0xff] << 8) | SBOX[s1 & 0xff]) ^ keySchedule[ksRow++]\n t3 = ((SBOX[s3 >>> 24] << 24) | (SBOX[(s0 >>> 16) & 0xff] << 16) | (SBOX[(s1 >>> 8) & 0xff] << 8) | SBOX[s2 & 0xff]) ^ keySchedule[ksRow++]\n t0 = t0 >>> 0\n t1 = t1 >>> 0\n t2 = t2 >>> 0\n t3 = t3 >>> 0\n\n return [t0, t1, t2, t3]\n}\n\n// AES constants\nvar RCON = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36]\nvar G = (function () {\n // Compute double table\n var d = new Array(256)\n for (var j = 0; j < 256; j++) {\n if (j < 128) {\n d[j] = j << 1\n } else {\n d[j] = (j << 1) ^ 0x11b\n }\n }\n\n var SBOX = []\n var INV_SBOX = []\n var SUB_MIX = [[], [], [], []]\n var INV_SUB_MIX = [[], [], [], []]\n\n // Walk GF(2^8)\n var x = 0\n var xi = 0\n for (var i = 0; i < 256; ++i) {\n // Compute sbox\n var sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4)\n sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63\n SBOX[x] = sx\n INV_SBOX[sx] = x\n\n // Compute multiplication\n var x2 = d[x]\n var x4 = d[x2]\n var x8 = d[x4]\n\n // Compute sub bytes, mix columns tables\n var t = (d[sx] * 0x101) ^ (sx * 0x1010100)\n SUB_MIX[0][x] = (t << 24) | (t >>> 8)\n SUB_MIX[1][x] = (t << 16) | (t >>> 16)\n SUB_MIX[2][x] = (t << 8) | (t >>> 24)\n SUB_MIX[3][x] = t\n\n // Compute inv sub bytes, inv mix columns tables\n t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100)\n INV_SUB_MIX[0][sx] = (t << 24) | (t >>> 8)\n INV_SUB_MIX[1][sx] = (t << 16) | (t >>> 16)\n INV_SUB_MIX[2][sx] = (t << 8) | (t >>> 24)\n INV_SUB_MIX[3][sx] = t\n\n if (x === 0) {\n x = xi = 1\n } else {\n x = x2 ^ d[d[d[x8 ^ x2]]]\n xi ^= d[d[xi]]\n }\n }\n\n return {\n SBOX: SBOX,\n INV_SBOX: INV_SBOX,\n SUB_MIX: SUB_MIX,\n INV_SUB_MIX: INV_SUB_MIX\n }\n})()\n\nfunction AES (key) {\n this._key = asUInt32Array(key)\n this._reset()\n}\n\nAES.blockSize = 4 * 4\nAES.keySize = 256 / 8\nAES.prototype.blockSize = AES.blockSize\nAES.prototype.keySize = AES.keySize\nAES.prototype._reset = function () {\n var keyWords = this._key\n var keySize = keyWords.length\n var nRounds = keySize + 6\n var ksRows = (nRounds + 1) * 4\n\n var keySchedule = []\n for (var k = 0; k < keySize; k++) {\n keySchedule[k] = keyWords[k]\n }\n\n for (k = keySize; k < ksRows; k++) {\n var t = keySchedule[k - 1]\n\n if (k % keySize === 0) {\n t = (t << 8) | (t >>> 24)\n t =\n (G.SBOX[t >>> 24] << 24) |\n (G.SBOX[(t >>> 16) & 0xff] << 16) |\n (G.SBOX[(t >>> 8) & 0xff] << 8) |\n (G.SBOX[t & 0xff])\n\n t ^= RCON[(k / keySize) | 0] << 24\n } else if (keySize > 6 && k % keySize === 4) {\n t =\n (G.SBOX[t >>> 24] << 24) |\n (G.SBOX[(t >>> 16) & 0xff] << 16) |\n (G.SBOX[(t >>> 8) & 0xff] << 8) |\n (G.SBOX[t & 0xff])\n }\n\n keySchedule[k] = keySchedule[k - keySize] ^ t\n }\n\n var invKeySchedule = []\n for (var ik = 0; ik < ksRows; ik++) {\n var ksR = ksRows - ik\n var tt = keySchedule[ksR - (ik % 4 ? 0 : 4)]\n\n if (ik < 4 || ksR <= 4) {\n invKeySchedule[ik] = tt\n } else {\n invKeySchedule[ik] =\n G.INV_SUB_MIX[0][G.SBOX[tt >>> 24]] ^\n G.INV_SUB_MIX[1][G.SBOX[(tt >>> 16) & 0xff]] ^\n G.INV_SUB_MIX[2][G.SBOX[(tt >>> 8) & 0xff]] ^\n G.INV_SUB_MIX[3][G.SBOX[tt & 0xff]]\n }\n }\n\n this._nRounds = nRounds\n this._keySchedule = keySchedule\n this._invKeySchedule = invKeySchedule\n}\n\nAES.prototype.encryptBlockRaw = function (M) {\n M = asUInt32Array(M)\n return cryptBlock(M, this._keySchedule, G.SUB_MIX, G.SBOX, this._nRounds)\n}\n\nAES.prototype.encryptBlock = function (M) {\n var out = this.encryptBlockRaw(M)\n var buf = Buffer.allocUnsafe(16)\n buf.writeUInt32BE(out[0], 0)\n buf.writeUInt32BE(out[1], 4)\n buf.writeUInt32BE(out[2], 8)\n buf.writeUInt32BE(out[3], 12)\n return buf\n}\n\nAES.prototype.decryptBlock = function (M) {\n M = asUInt32Array(M)\n\n // swap\n var m1 = M[1]\n M[1] = M[3]\n M[3] = m1\n\n var out = cryptBlock(M, this._invKeySchedule, G.INV_SUB_MIX, G.INV_SBOX, this._nRounds)\n var buf = Buffer.allocUnsafe(16)\n buf.writeUInt32BE(out[0], 0)\n buf.writeUInt32BE(out[3], 4)\n buf.writeUInt32BE(out[2], 8)\n buf.writeUInt32BE(out[1], 12)\n return buf\n}\n\nAES.prototype.scrub = function () {\n scrubVec(this._keySchedule)\n scrubVec(this._invKeySchedule)\n scrubVec(this._key)\n}\n\nmodule.exports.AES = AES\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/aes.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/authCipher.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/authCipher.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var aes = __webpack_require__(/*! ./aes */ \"./.codedoc/node_modules/browserify-aes/aes.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar Transform = __webpack_require__(/*! cipher-base */ \"./.codedoc/node_modules/cipher-base/index.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\nvar GHASH = __webpack_require__(/*! ./ghash */ \"./.codedoc/node_modules/browserify-aes/ghash.js\")\nvar xor = __webpack_require__(/*! buffer-xor */ \"./.codedoc/node_modules/buffer-xor/index.js\")\nvar incr32 = __webpack_require__(/*! ./incr32 */ \"./.codedoc/node_modules/browserify-aes/incr32.js\")\n\nfunction xorTest (a, b) {\n var out = 0\n if (a.length !== b.length) out++\n\n var len = Math.min(a.length, b.length)\n for (var i = 0; i < len; ++i) {\n out += (a[i] ^ b[i])\n }\n\n return out\n}\n\nfunction calcIv (self, iv, ck) {\n if (iv.length === 12) {\n self._finID = Buffer.concat([iv, Buffer.from([0, 0, 0, 1])])\n return Buffer.concat([iv, Buffer.from([0, 0, 0, 2])])\n }\n var ghash = new GHASH(ck)\n var len = iv.length\n var toPad = len % 16\n ghash.update(iv)\n if (toPad) {\n toPad = 16 - toPad\n ghash.update(Buffer.alloc(toPad, 0))\n }\n ghash.update(Buffer.alloc(8, 0))\n var ivBits = len * 8\n var tail = Buffer.alloc(8)\n tail.writeUIntBE(ivBits, 0, 8)\n ghash.update(tail)\n self._finID = ghash.state\n var out = Buffer.from(self._finID)\n incr32(out)\n return out\n}\nfunction StreamCipher (mode, key, iv, decrypt) {\n Transform.call(this)\n\n var h = Buffer.alloc(4, 0)\n\n this._cipher = new aes.AES(key)\n var ck = this._cipher.encryptBlock(h)\n this._ghash = new GHASH(ck)\n iv = calcIv(this, iv, ck)\n\n this._prev = Buffer.from(iv)\n this._cache = Buffer.allocUnsafe(0)\n this._secCache = Buffer.allocUnsafe(0)\n this._decrypt = decrypt\n this._alen = 0\n this._len = 0\n this._mode = mode\n\n this._authTag = null\n this._called = false\n}\n\ninherits(StreamCipher, Transform)\n\nStreamCipher.prototype._update = function (chunk) {\n if (!this._called && this._alen) {\n var rump = 16 - (this._alen % 16)\n if (rump < 16) {\n rump = Buffer.alloc(rump, 0)\n this._ghash.update(rump)\n }\n }\n\n this._called = true\n var out = this._mode.encrypt(this, chunk)\n if (this._decrypt) {\n this._ghash.update(chunk)\n } else {\n this._ghash.update(out)\n }\n this._len += chunk.length\n return out\n}\n\nStreamCipher.prototype._final = function () {\n if (this._decrypt && !this._authTag) throw new Error('Unsupported state or unable to authenticate data')\n\n var tag = xor(this._ghash.final(this._alen * 8, this._len * 8), this._cipher.encryptBlock(this._finID))\n if (this._decrypt && xorTest(tag, this._authTag)) throw new Error('Unsupported state or unable to authenticate data')\n\n this._authTag = tag\n this._cipher.scrub()\n}\n\nStreamCipher.prototype.getAuthTag = function getAuthTag () {\n if (this._decrypt || !Buffer.isBuffer(this._authTag)) throw new Error('Attempting to get auth tag in unsupported state')\n\n return this._authTag\n}\n\nStreamCipher.prototype.setAuthTag = function setAuthTag (tag) {\n if (!this._decrypt) throw new Error('Attempting to set auth tag in unsupported state')\n\n this._authTag = tag\n}\n\nStreamCipher.prototype.setAAD = function setAAD (buf) {\n if (this._called) throw new Error('Attempting to set AAD in unsupported state')\n\n this._ghash.update(buf)\n this._alen += buf.length\n}\n\nmodule.exports = StreamCipher\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/authCipher.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/browser.js": -/*!*********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/browser.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var ciphers = __webpack_require__(/*! ./encrypter */ \"./.codedoc/node_modules/browserify-aes/encrypter.js\")\nvar deciphers = __webpack_require__(/*! ./decrypter */ \"./.codedoc/node_modules/browserify-aes/decrypter.js\")\nvar modes = __webpack_require__(/*! ./modes/list.json */ \"./.codedoc/node_modules/browserify-aes/modes/list.json\")\n\nfunction getCiphers () {\n return Object.keys(modes)\n}\n\nexports.createCipher = exports.Cipher = ciphers.createCipher\nexports.createCipheriv = exports.Cipheriv = ciphers.createCipheriv\nexports.createDecipher = exports.Decipher = deciphers.createDecipher\nexports.createDecipheriv = exports.Decipheriv = deciphers.createDecipheriv\nexports.listCiphers = exports.getCiphers = getCiphers\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/decrypter.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/decrypter.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var AuthCipher = __webpack_require__(/*! ./authCipher */ \"./.codedoc/node_modules/browserify-aes/authCipher.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar MODES = __webpack_require__(/*! ./modes */ \"./.codedoc/node_modules/browserify-aes/modes/index.js\")\nvar StreamCipher = __webpack_require__(/*! ./streamCipher */ \"./.codedoc/node_modules/browserify-aes/streamCipher.js\")\nvar Transform = __webpack_require__(/*! cipher-base */ \"./.codedoc/node_modules/cipher-base/index.js\")\nvar aes = __webpack_require__(/*! ./aes */ \"./.codedoc/node_modules/browserify-aes/aes.js\")\nvar ebtk = __webpack_require__(/*! evp_bytestokey */ \"./.codedoc/node_modules/evp_bytestokey/index.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\n\nfunction Decipher (mode, key, iv) {\n Transform.call(this)\n\n this._cache = new Splitter()\n this._last = void 0\n this._cipher = new aes.AES(key)\n this._prev = Buffer.from(iv)\n this._mode = mode\n this._autopadding = true\n}\n\ninherits(Decipher, Transform)\n\nDecipher.prototype._update = function (data) {\n this._cache.add(data)\n var chunk\n var thing\n var out = []\n while ((chunk = this._cache.get(this._autopadding))) {\n thing = this._mode.decrypt(this, chunk)\n out.push(thing)\n }\n return Buffer.concat(out)\n}\n\nDecipher.prototype._final = function () {\n var chunk = this._cache.flush()\n if (this._autopadding) {\n return unpad(this._mode.decrypt(this, chunk))\n } else if (chunk) {\n throw new Error('data not multiple of block length')\n }\n}\n\nDecipher.prototype.setAutoPadding = function (setTo) {\n this._autopadding = !!setTo\n return this\n}\n\nfunction Splitter () {\n this.cache = Buffer.allocUnsafe(0)\n}\n\nSplitter.prototype.add = function (data) {\n this.cache = Buffer.concat([this.cache, data])\n}\n\nSplitter.prototype.get = function (autoPadding) {\n var out\n if (autoPadding) {\n if (this.cache.length > 16) {\n out = this.cache.slice(0, 16)\n this.cache = this.cache.slice(16)\n return out\n }\n } else {\n if (this.cache.length >= 16) {\n out = this.cache.slice(0, 16)\n this.cache = this.cache.slice(16)\n return out\n }\n }\n\n return null\n}\n\nSplitter.prototype.flush = function () {\n if (this.cache.length) return this.cache\n}\n\nfunction unpad (last) {\n var padded = last[15]\n if (padded < 1 || padded > 16) {\n throw new Error('unable to decrypt data')\n }\n var i = -1\n while (++i < padded) {\n if (last[(i + (16 - padded))] !== padded) {\n throw new Error('unable to decrypt data')\n }\n }\n if (padded === 16) return\n\n return last.slice(0, 16 - padded)\n}\n\nfunction createDecipheriv (suite, password, iv) {\n var config = MODES[suite.toLowerCase()]\n if (!config) throw new TypeError('invalid suite type')\n\n if (typeof iv === 'string') iv = Buffer.from(iv)\n if (config.mode !== 'GCM' && iv.length !== config.iv) throw new TypeError('invalid iv length ' + iv.length)\n\n if (typeof password === 'string') password = Buffer.from(password)\n if (password.length !== config.key / 8) throw new TypeError('invalid key length ' + password.length)\n\n if (config.type === 'stream') {\n return new StreamCipher(config.module, password, iv, true)\n } else if (config.type === 'auth') {\n return new AuthCipher(config.module, password, iv, true)\n }\n\n return new Decipher(config.module, password, iv)\n}\n\nfunction createDecipher (suite, password) {\n var config = MODES[suite.toLowerCase()]\n if (!config) throw new TypeError('invalid suite type')\n\n var keys = ebtk(password, false, config.key, config.iv)\n return createDecipheriv(suite, keys.key, keys.iv)\n}\n\nexports.createDecipher = createDecipher\nexports.createDecipheriv = createDecipheriv\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/decrypter.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/encrypter.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/encrypter.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var MODES = __webpack_require__(/*! ./modes */ \"./.codedoc/node_modules/browserify-aes/modes/index.js\")\nvar AuthCipher = __webpack_require__(/*! ./authCipher */ \"./.codedoc/node_modules/browserify-aes/authCipher.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar StreamCipher = __webpack_require__(/*! ./streamCipher */ \"./.codedoc/node_modules/browserify-aes/streamCipher.js\")\nvar Transform = __webpack_require__(/*! cipher-base */ \"./.codedoc/node_modules/cipher-base/index.js\")\nvar aes = __webpack_require__(/*! ./aes */ \"./.codedoc/node_modules/browserify-aes/aes.js\")\nvar ebtk = __webpack_require__(/*! evp_bytestokey */ \"./.codedoc/node_modules/evp_bytestokey/index.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\n\nfunction Cipher (mode, key, iv) {\n Transform.call(this)\n\n this._cache = new Splitter()\n this._cipher = new aes.AES(key)\n this._prev = Buffer.from(iv)\n this._mode = mode\n this._autopadding = true\n}\n\ninherits(Cipher, Transform)\n\nCipher.prototype._update = function (data) {\n this._cache.add(data)\n var chunk\n var thing\n var out = []\n\n while ((chunk = this._cache.get())) {\n thing = this._mode.encrypt(this, chunk)\n out.push(thing)\n }\n\n return Buffer.concat(out)\n}\n\nvar PADDING = Buffer.alloc(16, 0x10)\n\nCipher.prototype._final = function () {\n var chunk = this._cache.flush()\n if (this._autopadding) {\n chunk = this._mode.encrypt(this, chunk)\n this._cipher.scrub()\n return chunk\n }\n\n if (!chunk.equals(PADDING)) {\n this._cipher.scrub()\n throw new Error('data not multiple of block length')\n }\n}\n\nCipher.prototype.setAutoPadding = function (setTo) {\n this._autopadding = !!setTo\n return this\n}\n\nfunction Splitter () {\n this.cache = Buffer.allocUnsafe(0)\n}\n\nSplitter.prototype.add = function (data) {\n this.cache = Buffer.concat([this.cache, data])\n}\n\nSplitter.prototype.get = function () {\n if (this.cache.length > 15) {\n var out = this.cache.slice(0, 16)\n this.cache = this.cache.slice(16)\n return out\n }\n return null\n}\n\nSplitter.prototype.flush = function () {\n var len = 16 - this.cache.length\n var padBuff = Buffer.allocUnsafe(len)\n\n var i = -1\n while (++i < len) {\n padBuff.writeUInt8(len, i)\n }\n\n return Buffer.concat([this.cache, padBuff])\n}\n\nfunction createCipheriv (suite, password, iv) {\n var config = MODES[suite.toLowerCase()]\n if (!config) throw new TypeError('invalid suite type')\n\n if (typeof password === 'string') password = Buffer.from(password)\n if (password.length !== config.key / 8) throw new TypeError('invalid key length ' + password.length)\n\n if (typeof iv === 'string') iv = Buffer.from(iv)\n if (config.mode !== 'GCM' && iv.length !== config.iv) throw new TypeError('invalid iv length ' + iv.length)\n\n if (config.type === 'stream') {\n return new StreamCipher(config.module, password, iv)\n } else if (config.type === 'auth') {\n return new AuthCipher(config.module, password, iv)\n }\n\n return new Cipher(config.module, password, iv)\n}\n\nfunction createCipher (suite, password) {\n var config = MODES[suite.toLowerCase()]\n if (!config) throw new TypeError('invalid suite type')\n\n var keys = ebtk(password, false, config.key, config.iv)\n return createCipheriv(suite, keys.key, keys.iv)\n}\n\nexports.createCipheriv = createCipheriv\nexports.createCipher = createCipher\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/encrypter.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/ghash.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/ghash.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar ZEROES = Buffer.alloc(16, 0)\n\nfunction toArray (buf) {\n return [\n buf.readUInt32BE(0),\n buf.readUInt32BE(4),\n buf.readUInt32BE(8),\n buf.readUInt32BE(12)\n ]\n}\n\nfunction fromArray (out) {\n var buf = Buffer.allocUnsafe(16)\n buf.writeUInt32BE(out[0] >>> 0, 0)\n buf.writeUInt32BE(out[1] >>> 0, 4)\n buf.writeUInt32BE(out[2] >>> 0, 8)\n buf.writeUInt32BE(out[3] >>> 0, 12)\n return buf\n}\n\nfunction GHASH (key) {\n this.h = key\n this.state = Buffer.alloc(16, 0)\n this.cache = Buffer.allocUnsafe(0)\n}\n\n// from http://bitwiseshiftleft.github.io/sjcl/doc/symbols/src/core_gcm.js.html\n// by Juho Vähä-Herttua\nGHASH.prototype.ghash = function (block) {\n var i = -1\n while (++i < block.length) {\n this.state[i] ^= block[i]\n }\n this._multiply()\n}\n\nGHASH.prototype._multiply = function () {\n var Vi = toArray(this.h)\n var Zi = [0, 0, 0, 0]\n var j, xi, lsbVi\n var i = -1\n while (++i < 128) {\n xi = (this.state[~~(i / 8)] & (1 << (7 - (i % 8)))) !== 0\n if (xi) {\n // Z_i+1 = Z_i ^ V_i\n Zi[0] ^= Vi[0]\n Zi[1] ^= Vi[1]\n Zi[2] ^= Vi[2]\n Zi[3] ^= Vi[3]\n }\n\n // Store the value of LSB(V_i)\n lsbVi = (Vi[3] & 1) !== 0\n\n // V_i+1 = V_i >> 1\n for (j = 3; j > 0; j--) {\n Vi[j] = (Vi[j] >>> 1) | ((Vi[j - 1] & 1) << 31)\n }\n Vi[0] = Vi[0] >>> 1\n\n // If LSB(V_i) is 1, V_i+1 = (V_i >> 1) ^ R\n if (lsbVi) {\n Vi[0] = Vi[0] ^ (0xe1 << 24)\n }\n }\n this.state = fromArray(Zi)\n}\n\nGHASH.prototype.update = function (buf) {\n this.cache = Buffer.concat([this.cache, buf])\n var chunk\n while (this.cache.length >= 16) {\n chunk = this.cache.slice(0, 16)\n this.cache = this.cache.slice(16)\n this.ghash(chunk)\n }\n}\n\nGHASH.prototype.final = function (abl, bl) {\n if (this.cache.length) {\n this.ghash(Buffer.concat([this.cache, ZEROES], 16))\n }\n\n this.ghash(fromArray([0, abl, 0, bl]))\n return this.state\n}\n\nmodule.exports = GHASH\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/ghash.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/incr32.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/incr32.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("function incr32 (iv) {\n var len = iv.length\n var item\n while (len--) {\n item = iv.readUInt8(len)\n if (item === 255) {\n iv.writeUInt8(0, len)\n } else {\n item++\n iv.writeUInt8(item, len)\n break\n }\n }\n}\nmodule.exports = incr32\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/incr32.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/cbc.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/cbc.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var xor = __webpack_require__(/*! buffer-xor */ \"./.codedoc/node_modules/buffer-xor/index.js\")\n\nexports.encrypt = function (self, block) {\n var data = xor(block, self._prev)\n\n self._prev = self._cipher.encryptBlock(data)\n return self._prev\n}\n\nexports.decrypt = function (self, block) {\n var pad = self._prev\n\n self._prev = block\n var out = self._cipher.decryptBlock(block)\n\n return xor(out, pad)\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/cbc.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/cfb.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/cfb.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar xor = __webpack_require__(/*! buffer-xor */ \"./.codedoc/node_modules/buffer-xor/index.js\")\n\nfunction encryptStart (self, data, decrypt) {\n var len = data.length\n var out = xor(data, self._cache)\n self._cache = self._cache.slice(len)\n self._prev = Buffer.concat([self._prev, decrypt ? data : out])\n return out\n}\n\nexports.encrypt = function (self, data, decrypt) {\n var out = Buffer.allocUnsafe(0)\n var len\n\n while (data.length) {\n if (self._cache.length === 0) {\n self._cache = self._cipher.encryptBlock(self._prev)\n self._prev = Buffer.allocUnsafe(0)\n }\n\n if (self._cache.length <= data.length) {\n len = self._cache.length\n out = Buffer.concat([out, encryptStart(self, data.slice(0, len), decrypt)])\n data = data.slice(len)\n } else {\n out = Buffer.concat([out, encryptStart(self, data, decrypt)])\n break\n }\n }\n\n return out\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/cfb.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/cfb1.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/cfb1.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nfunction encryptByte (self, byteParam, decrypt) {\n var pad\n var i = -1\n var len = 8\n var out = 0\n var bit, value\n while (++i < len) {\n pad = self._cipher.encryptBlock(self._prev)\n bit = (byteParam & (1 << (7 - i))) ? 0x80 : 0\n value = pad[0] ^ bit\n out += ((value & 0x80) >> (i % 8))\n self._prev = shiftIn(self._prev, decrypt ? bit : value)\n }\n return out\n}\n\nfunction shiftIn (buffer, value) {\n var len = buffer.length\n var i = -1\n var out = Buffer.allocUnsafe(buffer.length)\n buffer = Buffer.concat([buffer, Buffer.from([value])])\n\n while (++i < len) {\n out[i] = buffer[i] << 1 | buffer[i + 1] >> (7)\n }\n\n return out\n}\n\nexports.encrypt = function (self, chunk, decrypt) {\n var len = chunk.length\n var out = Buffer.allocUnsafe(len)\n var i = -1\n\n while (++i < len) {\n out[i] = encryptByte(self, chunk[i], decrypt)\n }\n\n return out\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/cfb1.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/cfb8.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/cfb8.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nfunction encryptByte (self, byteParam, decrypt) {\n var pad = self._cipher.encryptBlock(self._prev)\n var out = pad[0] ^ byteParam\n\n self._prev = Buffer.concat([\n self._prev.slice(1),\n Buffer.from([decrypt ? byteParam : out])\n ])\n\n return out\n}\n\nexports.encrypt = function (self, chunk, decrypt) {\n var len = chunk.length\n var out = Buffer.allocUnsafe(len)\n var i = -1\n\n while (++i < len) {\n out[i] = encryptByte(self, chunk[i], decrypt)\n }\n\n return out\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/cfb8.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/ctr.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/ctr.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var xor = __webpack_require__(/*! buffer-xor */ \"./.codedoc/node_modules/buffer-xor/index.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar incr32 = __webpack_require__(/*! ../incr32 */ \"./.codedoc/node_modules/browserify-aes/incr32.js\")\n\nfunction getBlock (self) {\n var out = self._cipher.encryptBlockRaw(self._prev)\n incr32(self._prev)\n return out\n}\n\nvar blockSize = 16\nexports.encrypt = function (self, chunk) {\n var chunkNum = Math.ceil(chunk.length / blockSize)\n var start = self._cache.length\n self._cache = Buffer.concat([\n self._cache,\n Buffer.allocUnsafe(chunkNum * blockSize)\n ])\n for (var i = 0; i < chunkNum; i++) {\n var out = getBlock(self)\n var offset = start + i * blockSize\n self._cache.writeUInt32BE(out[0], offset + 0)\n self._cache.writeUInt32BE(out[1], offset + 4)\n self._cache.writeUInt32BE(out[2], offset + 8)\n self._cache.writeUInt32BE(out[3], offset + 12)\n }\n var pad = self._cache.slice(0, chunk.length)\n self._cache = self._cache.slice(chunk.length)\n return xor(chunk, pad)\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/ctr.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/ecb.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/ecb.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("exports.encrypt = function (self, block) {\n return self._cipher.encryptBlock(block)\n}\n\nexports.decrypt = function (self, block) {\n return self._cipher.decryptBlock(block)\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/ecb.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/index.js": -/*!*************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/index.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var modeModules = {\n ECB: __webpack_require__(/*! ./ecb */ \"./.codedoc/node_modules/browserify-aes/modes/ecb.js\"),\n CBC: __webpack_require__(/*! ./cbc */ \"./.codedoc/node_modules/browserify-aes/modes/cbc.js\"),\n CFB: __webpack_require__(/*! ./cfb */ \"./.codedoc/node_modules/browserify-aes/modes/cfb.js\"),\n CFB8: __webpack_require__(/*! ./cfb8 */ \"./.codedoc/node_modules/browserify-aes/modes/cfb8.js\"),\n CFB1: __webpack_require__(/*! ./cfb1 */ \"./.codedoc/node_modules/browserify-aes/modes/cfb1.js\"),\n OFB: __webpack_require__(/*! ./ofb */ \"./.codedoc/node_modules/browserify-aes/modes/ofb.js\"),\n CTR: __webpack_require__(/*! ./ctr */ \"./.codedoc/node_modules/browserify-aes/modes/ctr.js\"),\n GCM: __webpack_require__(/*! ./ctr */ \"./.codedoc/node_modules/browserify-aes/modes/ctr.js\")\n}\n\nvar modes = __webpack_require__(/*! ./list.json */ \"./.codedoc/node_modules/browserify-aes/modes/list.json\")\n\nfor (var key in modes) {\n modes[key].module = modeModules[modes[key].mode]\n}\n\nmodule.exports = modes\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/list.json": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/list.json ***! - \**************************************************************/ -/*! exports provided: aes-128-ecb, aes-192-ecb, aes-256-ecb, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes128, aes192, aes256, aes-128-cfb, aes-192-cfb, aes-256-cfb, aes-128-cfb8, aes-192-cfb8, aes-256-cfb8, aes-128-cfb1, aes-192-cfb1, aes-256-cfb1, aes-128-ofb, aes-192-ofb, aes-256-ofb, aes-128-ctr, aes-192-ctr, aes-256-ctr, aes-128-gcm, aes-192-gcm, aes-256-gcm, default */ -/***/ (function(module) { - -eval("module.exports = JSON.parse(\"{\\\"aes-128-ecb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":0,\\\"mode\\\":\\\"ECB\\\",\\\"type\\\":\\\"block\\\"},\\\"aes-192-ecb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":0,\\\"mode\\\":\\\"ECB\\\",\\\"type\\\":\\\"block\\\"},\\\"aes-256-ecb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":0,\\\"mode\\\":\\\"ECB\\\",\\\"type\\\":\\\"block\\\"},\\\"aes-128-cbc\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":16,\\\"mode\\\":\\\"CBC\\\",\\\"type\\\":\\\"block\\\"},\\\"aes-192-cbc\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":16,\\\"mode\\\":\\\"CBC\\\",\\\"type\\\":\\\"block\\\"},\\\"aes-256-cbc\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":16,\\\"mode\\\":\\\"CBC\\\",\\\"type\\\":\\\"block\\\"},\\\"aes128\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":16,\\\"mode\\\":\\\"CBC\\\",\\\"type\\\":\\\"block\\\"},\\\"aes192\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":16,\\\"mode\\\":\\\"CBC\\\",\\\"type\\\":\\\"block\\\"},\\\"aes256\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":16,\\\"mode\\\":\\\"CBC\\\",\\\"type\\\":\\\"block\\\"},\\\"aes-128-cfb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-192-cfb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-256-cfb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-128-cfb8\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB8\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-192-cfb8\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB8\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-256-cfb8\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB8\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-128-cfb1\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB1\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-192-cfb1\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB1\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-256-cfb1\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":16,\\\"mode\\\":\\\"CFB1\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-128-ofb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":16,\\\"mode\\\":\\\"OFB\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-192-ofb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":16,\\\"mode\\\":\\\"OFB\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-256-ofb\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":16,\\\"mode\\\":\\\"OFB\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-128-ctr\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":16,\\\"mode\\\":\\\"CTR\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-192-ctr\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":16,\\\"mode\\\":\\\"CTR\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-256-ctr\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":16,\\\"mode\\\":\\\"CTR\\\",\\\"type\\\":\\\"stream\\\"},\\\"aes-128-gcm\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":128,\\\"iv\\\":12,\\\"mode\\\":\\\"GCM\\\",\\\"type\\\":\\\"auth\\\"},\\\"aes-192-gcm\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":192,\\\"iv\\\":12,\\\"mode\\\":\\\"GCM\\\",\\\"type\\\":\\\"auth\\\"},\\\"aes-256-gcm\\\":{\\\"cipher\\\":\\\"AES\\\",\\\"key\\\":256,\\\"iv\\\":12,\\\"mode\\\":\\\"GCM\\\",\\\"type\\\":\\\"auth\\\"}}\");\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/list.json?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/modes/ofb.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/modes/ofb.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {var xor = __webpack_require__(/*! buffer-xor */ \"./.codedoc/node_modules/buffer-xor/index.js\")\n\nfunction getBlock (self) {\n self._prev = self._cipher.encryptBlock(self._prev)\n return self._prev\n}\n\nexports.encrypt = function (self, chunk) {\n while (self._cache.length < chunk.length) {\n self._cache = Buffer.concat([self._cache, getBlock(self)])\n }\n\n var pad = self._cache.slice(0, chunk.length)\n self._cache = self._cache.slice(chunk.length)\n return xor(chunk, pad)\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../buffer/index.js */ \"./.codedoc/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/modes/ofb.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-aes/streamCipher.js": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-aes/streamCipher.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var aes = __webpack_require__(/*! ./aes */ \"./.codedoc/node_modules/browserify-aes/aes.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar Transform = __webpack_require__(/*! cipher-base */ \"./.codedoc/node_modules/cipher-base/index.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\n\nfunction StreamCipher (mode, key, iv, decrypt) {\n Transform.call(this)\n\n this._cipher = new aes.AES(key)\n this._prev = Buffer.from(iv)\n this._cache = Buffer.allocUnsafe(0)\n this._secCache = Buffer.allocUnsafe(0)\n this._decrypt = decrypt\n this._mode = mode\n}\n\ninherits(StreamCipher, Transform)\n\nStreamCipher.prototype._update = function (chunk) {\n return this._mode.encrypt(this, chunk, this._decrypt)\n}\n\nStreamCipher.prototype._final = function () {\n this._cipher.scrub()\n}\n\nmodule.exports = StreamCipher\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-aes/streamCipher.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-cipher/browser.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-cipher/browser.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var DES = __webpack_require__(/*! browserify-des */ \"./.codedoc/node_modules/browserify-des/index.js\")\nvar aes = __webpack_require__(/*! browserify-aes/browser */ \"./.codedoc/node_modules/browserify-aes/browser.js\")\nvar aesModes = __webpack_require__(/*! browserify-aes/modes */ \"./.codedoc/node_modules/browserify-aes/modes/index.js\")\nvar desModes = __webpack_require__(/*! browserify-des/modes */ \"./.codedoc/node_modules/browserify-des/modes.js\")\nvar ebtk = __webpack_require__(/*! evp_bytestokey */ \"./.codedoc/node_modules/evp_bytestokey/index.js\")\n\nfunction createCipher (suite, password) {\n suite = suite.toLowerCase()\n\n var keyLen, ivLen\n if (aesModes[suite]) {\n keyLen = aesModes[suite].key\n ivLen = aesModes[suite].iv\n } else if (desModes[suite]) {\n keyLen = desModes[suite].key * 8\n ivLen = desModes[suite].iv\n } else {\n throw new TypeError('invalid suite type')\n }\n\n var keys = ebtk(password, false, keyLen, ivLen)\n return createCipheriv(suite, keys.key, keys.iv)\n}\n\nfunction createDecipher (suite, password) {\n suite = suite.toLowerCase()\n\n var keyLen, ivLen\n if (aesModes[suite]) {\n keyLen = aesModes[suite].key\n ivLen = aesModes[suite].iv\n } else if (desModes[suite]) {\n keyLen = desModes[suite].key * 8\n ivLen = desModes[suite].iv\n } else {\n throw new TypeError('invalid suite type')\n }\n\n var keys = ebtk(password, false, keyLen, ivLen)\n return createDecipheriv(suite, keys.key, keys.iv)\n}\n\nfunction createCipheriv (suite, key, iv) {\n suite = suite.toLowerCase()\n if (aesModes[suite]) return aes.createCipheriv(suite, key, iv)\n if (desModes[suite]) return new DES({ key: key, iv: iv, mode: suite })\n\n throw new TypeError('invalid suite type')\n}\n\nfunction createDecipheriv (suite, key, iv) {\n suite = suite.toLowerCase()\n if (aesModes[suite]) return aes.createDecipheriv(suite, key, iv)\n if (desModes[suite]) return new DES({ key: key, iv: iv, mode: suite, decrypt: true })\n\n throw new TypeError('invalid suite type')\n}\n\nfunction getCiphers () {\n return Object.keys(desModes).concat(aes.getCiphers())\n}\n\nexports.createCipher = exports.Cipher = createCipher\nexports.createCipheriv = exports.Cipheriv = createCipheriv\nexports.createDecipher = exports.Decipher = createDecipher\nexports.createDecipheriv = exports.Decipheriv = createDecipheriv\nexports.listCiphers = exports.getCiphers = getCiphers\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-cipher/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-des/index.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/browserify-des/index.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var CipherBase = __webpack_require__(/*! cipher-base */ \"./.codedoc/node_modules/cipher-base/index.js\")\nvar des = __webpack_require__(/*! des.js */ \"./.codedoc/node_modules/des.js/lib/des.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nvar modes = {\n 'des-ede3-cbc': des.CBC.instantiate(des.EDE),\n 'des-ede3': des.EDE,\n 'des-ede-cbc': des.CBC.instantiate(des.EDE),\n 'des-ede': des.EDE,\n 'des-cbc': des.CBC.instantiate(des.DES),\n 'des-ecb': des.DES\n}\nmodes.des = modes['des-cbc']\nmodes.des3 = modes['des-ede3-cbc']\nmodule.exports = DES\ninherits(DES, CipherBase)\nfunction DES (opts) {\n CipherBase.call(this)\n var modeName = opts.mode.toLowerCase()\n var mode = modes[modeName]\n var type\n if (opts.decrypt) {\n type = 'decrypt'\n } else {\n type = 'encrypt'\n }\n var key = opts.key\n if (!Buffer.isBuffer(key)) {\n key = Buffer.from(key)\n }\n if (modeName === 'des-ede' || modeName === 'des-ede-cbc') {\n key = Buffer.concat([key, key.slice(0, 8)])\n }\n var iv = opts.iv\n if (!Buffer.isBuffer(iv)) {\n iv = Buffer.from(iv)\n }\n this._des = mode.create({\n key: key,\n iv: iv,\n type: type\n })\n}\nDES.prototype._update = function (data) {\n return Buffer.from(this._des.update(data))\n}\nDES.prototype._final = function () {\n return Buffer.from(this._des.final())\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-des/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-des/modes.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/browserify-des/modes.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("exports['des-ecb'] = {\n key: 8,\n iv: 0\n}\nexports['des-cbc'] = exports.des = {\n key: 8,\n iv: 8\n}\nexports['des-ede3-cbc'] = exports.des3 = {\n key: 24,\n iv: 8\n}\nexports['des-ede3'] = {\n key: 24,\n iv: 0\n}\nexports['des-ede-cbc'] = {\n key: 16,\n iv: 8\n}\nexports['des-ede'] = {\n key: 16,\n iv: 0\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-des/modes.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-rsa/index.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/browserify-rsa/index.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {var BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\")\nvar randomBytes = __webpack_require__(/*! randombytes */ \"./.codedoc/node_modules/randombytes/browser.js\")\n\nfunction blind (priv) {\n var r = getr(priv)\n var blinder = r.toRed(BN.mont(priv.modulus)).redPow(new BN(priv.publicExponent)).fromRed()\n return { blinder: blinder, unblinder: r.invm(priv.modulus) }\n}\n\nfunction getr (priv) {\n var len = priv.modulus.byteLength()\n var r\n do {\n r = new BN(randomBytes(len))\n } while (r.cmp(priv.modulus) >= 0 || !r.umod(priv.prime1) || !r.umod(priv.prime2))\n return r\n}\n\nfunction crt (msg, priv) {\n var blinds = blind(priv)\n var len = priv.modulus.byteLength()\n var blinded = new BN(msg).mul(blinds.blinder).umod(priv.modulus)\n var c1 = blinded.toRed(BN.mont(priv.prime1))\n var c2 = blinded.toRed(BN.mont(priv.prime2))\n var qinv = priv.coefficient\n var p = priv.prime1\n var q = priv.prime2\n var m1 = c1.redPow(priv.exponent1).fromRed()\n var m2 = c2.redPow(priv.exponent2).fromRed()\n var h = m1.isub(m2).imul(qinv).umod(p).imul(q)\n return m2.iadd(h).imul(blinds.unblinder).umod(priv.modulus).toArrayLike(Buffer, 'be', len)\n}\ncrt.getr = getr\n\nmodule.exports = crt\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../buffer/index.js */ \"./.codedoc/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-rsa/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-sign/algos.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/browserify-sign/algos.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! ./browser/algorithms.json */ \"./.codedoc/node_modules/browserify-sign/browser/algorithms.json\")\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-sign/algos.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-sign/browser/algorithms.json": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-sign/browser/algorithms.json ***! - \***********************************************************************/ -/*! exports provided: sha224WithRSAEncryption, RSA-SHA224, sha256WithRSAEncryption, RSA-SHA256, sha384WithRSAEncryption, RSA-SHA384, sha512WithRSAEncryption, RSA-SHA512, RSA-SHA1, ecdsa-with-SHA1, sha256, sha224, sha384, sha512, DSA-SHA, DSA-SHA1, DSA, DSA-WITH-SHA224, DSA-SHA224, DSA-WITH-SHA256, DSA-SHA256, DSA-WITH-SHA384, DSA-SHA384, DSA-WITH-SHA512, DSA-SHA512, DSA-RIPEMD160, ripemd160WithRSA, RSA-RIPEMD160, md5WithRSAEncryption, RSA-MD5, default */ -/***/ (function(module) { - -eval("module.exports = JSON.parse(\"{\\\"sha224WithRSAEncryption\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"sha224\\\",\\\"id\\\":\\\"302d300d06096086480165030402040500041c\\\"},\\\"RSA-SHA224\\\":{\\\"sign\\\":\\\"ecdsa/rsa\\\",\\\"hash\\\":\\\"sha224\\\",\\\"id\\\":\\\"302d300d06096086480165030402040500041c\\\"},\\\"sha256WithRSAEncryption\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"sha256\\\",\\\"id\\\":\\\"3031300d060960864801650304020105000420\\\"},\\\"RSA-SHA256\\\":{\\\"sign\\\":\\\"ecdsa/rsa\\\",\\\"hash\\\":\\\"sha256\\\",\\\"id\\\":\\\"3031300d060960864801650304020105000420\\\"},\\\"sha384WithRSAEncryption\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"sha384\\\",\\\"id\\\":\\\"3041300d060960864801650304020205000430\\\"},\\\"RSA-SHA384\\\":{\\\"sign\\\":\\\"ecdsa/rsa\\\",\\\"hash\\\":\\\"sha384\\\",\\\"id\\\":\\\"3041300d060960864801650304020205000430\\\"},\\\"sha512WithRSAEncryption\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"sha512\\\",\\\"id\\\":\\\"3051300d060960864801650304020305000440\\\"},\\\"RSA-SHA512\\\":{\\\"sign\\\":\\\"ecdsa/rsa\\\",\\\"hash\\\":\\\"sha512\\\",\\\"id\\\":\\\"3051300d060960864801650304020305000440\\\"},\\\"RSA-SHA1\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"sha1\\\",\\\"id\\\":\\\"3021300906052b0e03021a05000414\\\"},\\\"ecdsa-with-SHA1\\\":{\\\"sign\\\":\\\"ecdsa\\\",\\\"hash\\\":\\\"sha1\\\",\\\"id\\\":\\\"\\\"},\\\"sha256\\\":{\\\"sign\\\":\\\"ecdsa\\\",\\\"hash\\\":\\\"sha256\\\",\\\"id\\\":\\\"\\\"},\\\"sha224\\\":{\\\"sign\\\":\\\"ecdsa\\\",\\\"hash\\\":\\\"sha224\\\",\\\"id\\\":\\\"\\\"},\\\"sha384\\\":{\\\"sign\\\":\\\"ecdsa\\\",\\\"hash\\\":\\\"sha384\\\",\\\"id\\\":\\\"\\\"},\\\"sha512\\\":{\\\"sign\\\":\\\"ecdsa\\\",\\\"hash\\\":\\\"sha512\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-SHA\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha1\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-SHA1\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha1\\\",\\\"id\\\":\\\"\\\"},\\\"DSA\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha1\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-WITH-SHA224\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha224\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-SHA224\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha224\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-WITH-SHA256\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha256\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-SHA256\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha256\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-WITH-SHA384\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha384\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-SHA384\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha384\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-WITH-SHA512\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha512\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-SHA512\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"sha512\\\",\\\"id\\\":\\\"\\\"},\\\"DSA-RIPEMD160\\\":{\\\"sign\\\":\\\"dsa\\\",\\\"hash\\\":\\\"rmd160\\\",\\\"id\\\":\\\"\\\"},\\\"ripemd160WithRSA\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"rmd160\\\",\\\"id\\\":\\\"3021300906052b2403020105000414\\\"},\\\"RSA-RIPEMD160\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"rmd160\\\",\\\"id\\\":\\\"3021300906052b2403020105000414\\\"},\\\"md5WithRSAEncryption\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"md5\\\",\\\"id\\\":\\\"3020300c06082a864886f70d020505000410\\\"},\\\"RSA-MD5\\\":{\\\"sign\\\":\\\"rsa\\\",\\\"hash\\\":\\\"md5\\\",\\\"id\\\":\\\"3020300c06082a864886f70d020505000410\\\"}}\");\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-sign/browser/algorithms.json?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-sign/browser/curves.json": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-sign/browser/curves.json ***! - \*******************************************************************/ -/*! exports provided: 1.3.132.0.10, 1.3.132.0.33, 1.2.840.10045.3.1.1, 1.2.840.10045.3.1.7, 1.3.132.0.34, 1.3.132.0.35, default */ -/***/ (function(module) { - -eval("module.exports = JSON.parse(\"{\\\"1.3.132.0.10\\\":\\\"secp256k1\\\",\\\"1.3.132.0.33\\\":\\\"p224\\\",\\\"1.2.840.10045.3.1.1\\\":\\\"p192\\\",\\\"1.2.840.10045.3.1.7\\\":\\\"p256\\\",\\\"1.3.132.0.34\\\":\\\"p384\\\",\\\"1.3.132.0.35\\\":\\\"p521\\\"}\");\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-sign/browser/curves.json?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-sign/browser/index.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-sign/browser/index.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar createHash = __webpack_require__(/*! create-hash */ \"./.codedoc/node_modules/create-hash/browser.js\")\nvar stream = __webpack_require__(/*! readable-stream */ \"./.codedoc/node_modules/readable-stream/readable-browser.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\nvar sign = __webpack_require__(/*! ./sign */ \"./.codedoc/node_modules/browserify-sign/browser/sign.js\")\nvar verify = __webpack_require__(/*! ./verify */ \"./.codedoc/node_modules/browserify-sign/browser/verify.js\")\n\nvar algorithms = __webpack_require__(/*! ./algorithms.json */ \"./.codedoc/node_modules/browserify-sign/browser/algorithms.json\")\nObject.keys(algorithms).forEach(function (key) {\n algorithms[key].id = Buffer.from(algorithms[key].id, 'hex')\n algorithms[key.toLowerCase()] = algorithms[key]\n})\n\nfunction Sign (algorithm) {\n stream.Writable.call(this)\n\n var data = algorithms[algorithm]\n if (!data) throw new Error('Unknown message digest')\n\n this._hashType = data.hash\n this._hash = createHash(data.hash)\n this._tag = data.id\n this._signType = data.sign\n}\ninherits(Sign, stream.Writable)\n\nSign.prototype._write = function _write (data, _, done) {\n this._hash.update(data)\n done()\n}\n\nSign.prototype.update = function update (data, enc) {\n if (typeof data === 'string') data = Buffer.from(data, enc)\n\n this._hash.update(data)\n return this\n}\n\nSign.prototype.sign = function signMethod (key, enc) {\n this.end()\n var hash = this._hash.digest()\n var sig = sign(hash, key, this._hashType, this._signType, this._tag)\n\n return enc ? sig.toString(enc) : sig\n}\n\nfunction Verify (algorithm) {\n stream.Writable.call(this)\n\n var data = algorithms[algorithm]\n if (!data) throw new Error('Unknown message digest')\n\n this._hash = createHash(data.hash)\n this._tag = data.id\n this._signType = data.sign\n}\ninherits(Verify, stream.Writable)\n\nVerify.prototype._write = function _write (data, _, done) {\n this._hash.update(data)\n done()\n}\n\nVerify.prototype.update = function update (data, enc) {\n if (typeof data === 'string') data = Buffer.from(data, enc)\n\n this._hash.update(data)\n return this\n}\n\nVerify.prototype.verify = function verifyMethod (key, sig, enc) {\n if (typeof sig === 'string') sig = Buffer.from(sig, enc)\n\n this.end()\n var hash = this._hash.digest()\n return verify(sig, hash, key, this._signType, this._tag)\n}\n\nfunction createSign (algorithm) {\n return new Sign(algorithm)\n}\n\nfunction createVerify (algorithm) {\n return new Verify(algorithm)\n}\n\nmodule.exports = {\n Sign: createSign,\n Verify: createVerify,\n createSign: createSign,\n createVerify: createVerify\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-sign/browser/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-sign/browser/sign.js": -/*!***************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-sign/browser/sign.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar createHmac = __webpack_require__(/*! create-hmac */ \"./.codedoc/node_modules/create-hmac/browser.js\")\nvar crt = __webpack_require__(/*! browserify-rsa */ \"./.codedoc/node_modules/browserify-rsa/index.js\")\nvar EC = __webpack_require__(/*! elliptic */ \"./.codedoc/node_modules/elliptic/lib/elliptic.js\").ec\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\")\nvar parseKeys = __webpack_require__(/*! parse-asn1 */ \"./.codedoc/node_modules/parse-asn1/index.js\")\nvar curves = __webpack_require__(/*! ./curves.json */ \"./.codedoc/node_modules/browserify-sign/browser/curves.json\")\n\nfunction sign (hash, key, hashType, signType, tag) {\n var priv = parseKeys(key)\n if (priv.curve) {\n // rsa keys can be interpreted as ecdsa ones in openssl\n if (signType !== 'ecdsa' && signType !== 'ecdsa/rsa') throw new Error('wrong private key type')\n return ecSign(hash, priv)\n } else if (priv.type === 'dsa') {\n if (signType !== 'dsa') throw new Error('wrong private key type')\n return dsaSign(hash, priv, hashType)\n } else {\n if (signType !== 'rsa' && signType !== 'ecdsa/rsa') throw new Error('wrong private key type')\n }\n hash = Buffer.concat([tag, hash])\n var len = priv.modulus.byteLength()\n var pad = [0, 1]\n while (hash.length + pad.length + 1 < len) pad.push(0xff)\n pad.push(0x00)\n var i = -1\n while (++i < hash.length) pad.push(hash[i])\n\n var out = crt(pad, priv)\n return out\n}\n\nfunction ecSign (hash, priv) {\n var curveId = curves[priv.curve.join('.')]\n if (!curveId) throw new Error('unknown curve ' + priv.curve.join('.'))\n\n var curve = new EC(curveId)\n var key = curve.keyFromPrivate(priv.privateKey)\n var out = key.sign(hash)\n\n return Buffer.from(out.toDER())\n}\n\nfunction dsaSign (hash, priv, algo) {\n var x = priv.params.priv_key\n var p = priv.params.p\n var q = priv.params.q\n var g = priv.params.g\n var r = new BN(0)\n var k\n var H = bits2int(hash, q).mod(q)\n var s = false\n var kv = getKey(x, q, hash, algo)\n while (s === false) {\n k = makeKey(q, kv, algo)\n r = makeR(g, k, p, q)\n s = k.invm(q).imul(H.add(x.mul(r))).mod(q)\n if (s.cmpn(0) === 0) {\n s = false\n r = new BN(0)\n }\n }\n return toDER(r, s)\n}\n\nfunction toDER (r, s) {\n r = r.toArray()\n s = s.toArray()\n\n // Pad values\n if (r[0] & 0x80) r = [0].concat(r)\n if (s[0] & 0x80) s = [0].concat(s)\n\n var total = r.length + s.length + 4\n var res = [0x30, total, 0x02, r.length]\n res = res.concat(r, [0x02, s.length], s)\n return Buffer.from(res)\n}\n\nfunction getKey (x, q, hash, algo) {\n x = Buffer.from(x.toArray())\n if (x.length < q.byteLength()) {\n var zeros = Buffer.alloc(q.byteLength() - x.length)\n x = Buffer.concat([zeros, x])\n }\n var hlen = hash.length\n var hbits = bits2octets(hash, q)\n var v = Buffer.alloc(hlen)\n v.fill(1)\n var k = Buffer.alloc(hlen)\n k = createHmac(algo, k).update(v).update(Buffer.from([0])).update(x).update(hbits).digest()\n v = createHmac(algo, k).update(v).digest()\n k = createHmac(algo, k).update(v).update(Buffer.from([1])).update(x).update(hbits).digest()\n v = createHmac(algo, k).update(v).digest()\n return { k: k, v: v }\n}\n\nfunction bits2int (obits, q) {\n var bits = new BN(obits)\n var shift = (obits.length << 3) - q.bitLength()\n if (shift > 0) bits.ishrn(shift)\n return bits\n}\n\nfunction bits2octets (bits, q) {\n bits = bits2int(bits, q)\n bits = bits.mod(q)\n var out = Buffer.from(bits.toArray())\n if (out.length < q.byteLength()) {\n var zeros = Buffer.alloc(q.byteLength() - out.length)\n out = Buffer.concat([zeros, out])\n }\n return out\n}\n\nfunction makeKey (q, kv, algo) {\n var t\n var k\n\n do {\n t = Buffer.alloc(0)\n\n while (t.length * 8 < q.bitLength()) {\n kv.v = createHmac(algo, kv.k).update(kv.v).digest()\n t = Buffer.concat([t, kv.v])\n }\n\n k = bits2int(t, q)\n kv.k = createHmac(algo, kv.k).update(kv.v).update(Buffer.from([0])).digest()\n kv.v = createHmac(algo, kv.k).update(kv.v).digest()\n } while (k.cmp(q) !== -1)\n\n return k\n}\n\nfunction makeR (g, k, p, q) {\n return g.toRed(BN.mont(p)).redPow(k).fromRed().mod(q)\n}\n\nmodule.exports = sign\nmodule.exports.getKey = getKey\nmodule.exports.makeKey = makeKey\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-sign/browser/sign.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/browserify-sign/browser/verify.js": -/*!*****************************************************************!*\ - !*** ./.codedoc/node_modules/browserify-sign/browser/verify.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\")\nvar EC = __webpack_require__(/*! elliptic */ \"./.codedoc/node_modules/elliptic/lib/elliptic.js\").ec\nvar parseKeys = __webpack_require__(/*! parse-asn1 */ \"./.codedoc/node_modules/parse-asn1/index.js\")\nvar curves = __webpack_require__(/*! ./curves.json */ \"./.codedoc/node_modules/browserify-sign/browser/curves.json\")\n\nfunction verify (sig, hash, key, signType, tag) {\n var pub = parseKeys(key)\n if (pub.type === 'ec') {\n // rsa keys can be interpreted as ecdsa ones in openssl\n if (signType !== 'ecdsa' && signType !== 'ecdsa/rsa') throw new Error('wrong public key type')\n return ecVerify(sig, hash, pub)\n } else if (pub.type === 'dsa') {\n if (signType !== 'dsa') throw new Error('wrong public key type')\n return dsaVerify(sig, hash, pub)\n } else {\n if (signType !== 'rsa' && signType !== 'ecdsa/rsa') throw new Error('wrong public key type')\n }\n hash = Buffer.concat([tag, hash])\n var len = pub.modulus.byteLength()\n var pad = [1]\n var padNum = 0\n while (hash.length + pad.length + 2 < len) {\n pad.push(0xff)\n padNum++\n }\n pad.push(0x00)\n var i = -1\n while (++i < hash.length) {\n pad.push(hash[i])\n }\n pad = Buffer.from(pad)\n var red = BN.mont(pub.modulus)\n sig = new BN(sig).toRed(red)\n\n sig = sig.redPow(new BN(pub.publicExponent))\n sig = Buffer.from(sig.fromRed().toArray())\n var out = padNum < 8 ? 1 : 0\n len = Math.min(sig.length, pad.length)\n if (sig.length !== pad.length) out = 1\n\n i = -1\n while (++i < len) out |= sig[i] ^ pad[i]\n return out === 0\n}\n\nfunction ecVerify (sig, hash, pub) {\n var curveId = curves[pub.data.algorithm.curve.join('.')]\n if (!curveId) throw new Error('unknown curve ' + pub.data.algorithm.curve.join('.'))\n\n var curve = new EC(curveId)\n var pubkey = pub.data.subjectPrivateKey.data\n\n return curve.verify(hash, sig, pubkey)\n}\n\nfunction dsaVerify (sig, hash, pub) {\n var p = pub.data.p\n var q = pub.data.q\n var g = pub.data.g\n var y = pub.data.pub_key\n var unpacked = parseKeys.signature.decode(sig, 'der')\n var s = unpacked.s\n var r = unpacked.r\n checkValue(s, q)\n checkValue(r, q)\n var montp = BN.mont(p)\n var w = s.invm(q)\n var v = g.toRed(montp)\n .redPow(new BN(hash).mul(w).mod(q))\n .fromRed()\n .mul(y.toRed(montp).redPow(r.mul(w).mod(q)).fromRed())\n .mod(p)\n .mod(q)\n return v.cmp(r) === 0\n}\n\nfunction checkValue (b, q) {\n if (b.cmpn(0) <= 0) throw new Error('invalid sig')\n if (b.cmp(q) >= q) throw new Error('invalid sig')\n}\n\nmodule.exports = verify\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/browserify-sign/browser/verify.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/buffer-xor/index.js": -/*!***************************************************!*\ - !*** ./.codedoc/node_modules/buffer-xor/index.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {module.exports = function xor (a, b) {\n var length = Math.min(a.length, b.length)\n var buffer = new Buffer(length)\n\n for (var i = 0; i < length; ++i) {\n buffer[i] = a[i] ^ b[i]\n }\n\n return buffer\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../buffer/index.js */ \"./.codedoc/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/buffer-xor/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/buffer/index.js": -/*!***********************************************!*\ - !*** ./.codedoc/node_modules/buffer/index.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(global) {/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\n\nvar base64 = __webpack_require__(/*! base64-js */ \"./.codedoc/node_modules/base64-js/index.js\")\nvar ieee754 = __webpack_require__(/*! ieee754 */ \"./.codedoc/node_modules/ieee754/index.js\")\nvar isArray = __webpack_require__(/*! isarray */ \"./.codedoc/node_modules/isarray/index.js\")\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return ''\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/buffer/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/cipher-base/index.js": -/*!****************************************************!*\ - !*** ./.codedoc/node_modules/cipher-base/index.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar Transform = __webpack_require__(/*! stream */ \"./.codedoc/node_modules/stream-browserify/index.js\").Transform\nvar StringDecoder = __webpack_require__(/*! string_decoder */ \"./.codedoc/node_modules/string_decoder/lib/string_decoder.js\").StringDecoder\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\n\nfunction CipherBase (hashMode) {\n Transform.call(this)\n this.hashMode = typeof hashMode === 'string'\n if (this.hashMode) {\n this[hashMode] = this._finalOrDigest\n } else {\n this.final = this._finalOrDigest\n }\n if (this._final) {\n this.__final = this._final\n this._final = null\n }\n this._decoder = null\n this._encoding = null\n}\ninherits(CipherBase, Transform)\n\nCipherBase.prototype.update = function (data, inputEnc, outputEnc) {\n if (typeof data === 'string') {\n data = Buffer.from(data, inputEnc)\n }\n\n var outData = this._update(data)\n if (this.hashMode) return this\n\n if (outputEnc) {\n outData = this._toString(outData, outputEnc)\n }\n\n return outData\n}\n\nCipherBase.prototype.setAutoPadding = function () {}\nCipherBase.prototype.getAuthTag = function () {\n throw new Error('trying to get auth tag in unsupported state')\n}\n\nCipherBase.prototype.setAuthTag = function () {\n throw new Error('trying to set auth tag in unsupported state')\n}\n\nCipherBase.prototype.setAAD = function () {\n throw new Error('trying to set aad in unsupported state')\n}\n\nCipherBase.prototype._transform = function (data, _, next) {\n var err\n try {\n if (this.hashMode) {\n this._update(data)\n } else {\n this.push(this._update(data))\n }\n } catch (e) {\n err = e\n } finally {\n next(err)\n }\n}\nCipherBase.prototype._flush = function (done) {\n var err\n try {\n this.push(this.__final())\n } catch (e) {\n err = e\n }\n\n done(err)\n}\nCipherBase.prototype._finalOrDigest = function (outputEnc) {\n var outData = this.__final() || Buffer.alloc(0)\n if (outputEnc) {\n outData = this._toString(outData, outputEnc, true)\n }\n return outData\n}\n\nCipherBase.prototype._toString = function (value, enc, fin) {\n if (!this._decoder) {\n this._decoder = new StringDecoder(enc)\n this._encoding = enc\n }\n\n if (this._encoding !== enc) throw new Error('can\\'t switch encodings')\n\n var out = this._decoder.write(value)\n if (fin) {\n out += this._decoder.end()\n }\n\n return out\n}\n\nmodule.exports = CipherBase\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/cipher-base/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/color-convert/conversions.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/color-convert/conversions.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* MIT license */\nvar cssKeywords = __webpack_require__(/*! color-name */ \"./.codedoc/node_modules/color-name/index.js\");\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n// values that give correct `typeof` results).\n// do not use box values types (i.e. Number(), String(), etc.)\n\nvar reverseKeywords = {};\nfor (var key in cssKeywords) {\n\tif (cssKeywords.hasOwnProperty(key)) {\n\t\treverseKeywords[cssKeywords[key]] = key;\n\t}\n}\n\nvar convert = module.exports = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\n// hide .channels and .labels properties\nfor (var model in convert) {\n\tif (convert.hasOwnProperty(model)) {\n\t\tif (!('channels' in convert[model])) {\n\t\t\tthrow new Error('missing channels property: ' + model);\n\t\t}\n\n\t\tif (!('labels' in convert[model])) {\n\t\t\tthrow new Error('missing channel labels property: ' + model);\n\t\t}\n\n\t\tif (convert[model].labels.length !== convert[model].channels) {\n\t\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t\t}\n\n\t\tvar channels = convert[model].channels;\n\t\tvar labels = convert[model].labels;\n\t\tdelete convert[model].channels;\n\t\tdelete convert[model].labels;\n\t\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\t\tObject.defineProperty(convert[model], 'labels', {value: labels});\n\t}\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar min = Math.min(r, g, b);\n\tvar max = Math.max(r, g, b);\n\tvar delta = max - min;\n\tvar h;\n\tvar s;\n\tvar l;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tl = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tvar rdif;\n\tvar gdif;\n\tvar bdif;\n\tvar h;\n\tvar s;\n\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar v = Math.max(r, g, b);\n\tvar diff = v - Math.min(r, g, b);\n\tvar diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = s = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tvar r = rgb[0];\n\tvar g = rgb[1];\n\tvar b = rgb[2];\n\tvar h = convert.rgb.hsl(rgb)[0];\n\tvar w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar c;\n\tvar m;\n\tvar y;\n\tvar k;\n\n\tk = Math.min(1 - r, 1 - g, 1 - b);\n\tc = (1 - r - k) / (1 - k) || 0;\n\tm = (1 - g - k) / (1 - k) || 0;\n\ty = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\n/**\n * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n * */\nfunction comparativeDistance(x, y) {\n\treturn (\n\t\tMath.pow(x[0] - y[0], 2) +\n\t\tMath.pow(x[1] - y[1], 2) +\n\t\tMath.pow(x[2] - y[2], 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tvar reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tvar currentClosestDistance = Infinity;\n\tvar currentClosestKeyword;\n\n\tfor (var keyword in cssKeywords) {\n\t\tif (cssKeywords.hasOwnProperty(keyword)) {\n\t\t\tvar value = cssKeywords[keyword];\n\n\t\t\t// Compute comparative distance\n\t\t\tvar distance = comparativeDistance(rgb, value);\n\n\t\t\t// Check if its less, if so set as closest\n\t\t\tif (distance < currentClosestDistance) {\n\t\t\t\tcurrentClosestDistance = distance;\n\t\t\t\tcurrentClosestKeyword = keyword;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn cssKeywords[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\n\t// assume sRGB\n\tr = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);\n\n\tvar x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tvar y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tvar z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tvar xyz = convert.rgb.xyz(rgb);\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tvar h = hsl[0] / 360;\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar t1;\n\tvar t2;\n\tvar t3;\n\tvar rgb;\n\tvar val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tt1 = 2 * l - t2;\n\n\trgb = [0, 0, 0];\n\tfor (var i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tvar h = hsl[0];\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar smin = s;\n\tvar lmin = Math.max(l, 0.01);\n\tvar sv;\n\tvar v;\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tv = (l + s) / 2;\n\tsv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tvar h = hsv[0] / 60;\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar hi = Math.floor(h) % 6;\n\n\tvar f = h - Math.floor(h);\n\tvar p = 255 * v * (1 - s);\n\tvar q = 255 * v * (1 - (s * f));\n\tvar t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tvar h = hsv[0];\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar vmin = Math.max(v, 0.01);\n\tvar lmin;\n\tvar sl;\n\tvar l;\n\n\tl = (2 - s) * v;\n\tlmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tvar h = hwb[0] / 360;\n\tvar wh = hwb[1] / 100;\n\tvar bl = hwb[2] / 100;\n\tvar ratio = wh + bl;\n\tvar i;\n\tvar v;\n\tvar f;\n\tvar n;\n\n\t// wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\ti = Math.floor(6 * h);\n\tv = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tn = wh + f * (v - wh); // linear interpolation\n\n\tvar r;\n\tvar g;\n\tvar b;\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tvar c = cmyk[0] / 100;\n\tvar m = cmyk[1] / 100;\n\tvar y = cmyk[2] / 100;\n\tvar k = cmyk[3] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = 1 - Math.min(1, c * (1 - k) + k);\n\tg = 1 - Math.min(1, m * (1 - k) + k);\n\tb = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tvar x = xyz[0] / 100;\n\tvar y = xyz[1] / 100;\n\tvar z = xyz[2] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar x;\n\tvar y;\n\tvar z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tvar y2 = Math.pow(y, 3);\n\tvar x2 = Math.pow(x, 3);\n\tvar z2 = Math.pow(z, 3);\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar hr;\n\tvar h;\n\tvar c;\n\n\thr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tc = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tvar l = lch[0];\n\tvar c = lch[1];\n\tvar h = lch[2];\n\tvar a;\n\tvar b;\n\tvar hr;\n\n\thr = h / 360 * 2 * Math.PI;\n\ta = c * Math.cos(hr);\n\tb = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\tvar value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tvar ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\n\t// we use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tvar ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tvar color = args % 10;\n\n\t// handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tvar mult = (~~(args > 50) + 1) * 0.5;\n\tvar r = ((color & 1) * mult) * 255;\n\tvar g = (((color >> 1) & 1) * mult) * 255;\n\tvar b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// handle greyscale\n\tif (args >= 232) {\n\t\tvar c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tvar rem;\n\tvar r = Math.floor(args / 36) / 5 * 255;\n\tvar g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tvar b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tvar integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tvar match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tvar colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(function (char) {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tvar integer = parseInt(colorString, 16);\n\tvar r = (integer >> 16) & 0xFF;\n\tvar g = (integer >> 8) & 0xFF;\n\tvar b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar max = Math.max(Math.max(r, g), b);\n\tvar min = Math.min(Math.min(r, g), b);\n\tvar chroma = (max - min);\n\tvar grayscale;\n\tvar hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma + 4;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar c = 1;\n\tvar f = 0;\n\n\tif (l < 0.5) {\n\t\tc = 2.0 * s * l;\n\t} else {\n\t\tc = 2.0 * s * (1.0 - l);\n\t}\n\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\n\tvar c = s * v;\n\tvar f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tvar h = hcg[0] / 360;\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tvar pure = [0, 0, 0];\n\tvar hi = (h % 1) * 6;\n\tvar v = hi % 1;\n\tvar w = 1 - v;\n\tvar mg = 0;\n\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar v = c + g * (1.0 - c);\n\tvar f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar l = g * (1.0 - c) + 0.5 * c;\n\tvar s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\tvar v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tvar w = hwb[1] / 100;\n\tvar b = hwb[2] / 100;\n\tvar v = 1 - b;\n\tvar c = v - w;\n\tvar g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = convert.gray.hsv = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tvar val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tvar integer = (val << 16) + (val << 8) + val;\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tvar val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/color-convert/conversions.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/color-convert/index.js": -/*!******************************************************!*\ - !*** ./.codedoc/node_modules/color-convert/index.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var conversions = __webpack_require__(/*! ./conversions */ \"./.codedoc/node_modules/color-convert/conversions.js\");\nvar route = __webpack_require__(/*! ./route */ \"./.codedoc/node_modules/color-convert/route.js\");\n\nvar convert = {};\n\nvar models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\tvar result = fn(args);\n\n\t\t// we're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (var len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(function (fromModel) {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tvar routes = route(fromModel);\n\tvar routeModels = Object.keys(routes);\n\n\trouteModels.forEach(function (toModel) {\n\t\tvar fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nmodule.exports = convert;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/color-convert/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/color-convert/route.js": -/*!******************************************************!*\ - !*** ./.codedoc/node_modules/color-convert/route.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var conversions = __webpack_require__(/*! ./conversions */ \"./.codedoc/node_modules/color-convert/conversions.js\");\n\n/*\n\tthis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tvar graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tvar models = Object.keys(conversions);\n\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tvar graph = buildGraph();\n\tvar queue = [fromModel]; // unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tvar current = queue.pop();\n\t\tvar adjacents = Object.keys(conversions[current]);\n\n\t\tfor (var len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tvar adjacent = adjacents[i];\n\t\t\tvar node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tvar path = [graph[toModel].parent, toModel];\n\tvar fn = conversions[graph[toModel].parent][toModel];\n\n\tvar cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nmodule.exports = function (fromModel) {\n\tvar graph = deriveBFS(fromModel);\n\tvar conversion = {};\n\n\tvar models = Object.keys(graph);\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tvar toModel = models[i];\n\t\tvar node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// no possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/color-convert/route.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/color-name/index.js": -/*!***************************************************!*\ - !*** ./.codedoc/node_modules/color-name/index.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\r\n\r\nmodule.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\r\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/color-name/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/color-string/index.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/color-string/index.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* MIT license */\nvar colorNames = __webpack_require__(/*! color-name */ \"./.codedoc/node_modules/color-name/index.js\");\nvar swizzle = __webpack_require__(/*! simple-swizzle */ \"./.codedoc/node_modules/simple-swizzle/index.js\");\n\nvar reverseNames = {};\n\n// create a list of reverse color names\nfor (var name in colorNames) {\n\tif (colorNames.hasOwnProperty(name)) {\n\t\treverseNames[colorNames[name]] = name;\n\t}\n}\n\nvar cs = module.exports = {\n\tto: {},\n\tget: {}\n};\n\ncs.get = function (string) {\n\tvar prefix = string.substring(0, 3).toLowerCase();\n\tvar val;\n\tvar model;\n\tswitch (prefix) {\n\t\tcase 'hsl':\n\t\t\tval = cs.get.hsl(string);\n\t\t\tmodel = 'hsl';\n\t\t\tbreak;\n\t\tcase 'hwb':\n\t\t\tval = cs.get.hwb(string);\n\t\t\tmodel = 'hwb';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tval = cs.get.rgb(string);\n\t\t\tmodel = 'rgb';\n\t\t\tbreak;\n\t}\n\n\tif (!val) {\n\t\treturn null;\n\t}\n\n\treturn {model: model, value: val};\n};\n\ncs.get.rgb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar abbr = /^#([a-f0-9]{3,4})$/i;\n\tvar hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;\n\tvar rgba = /^rgba?\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/;\n\tvar per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/;\n\tvar keyword = /(\\D+)/;\n\n\tvar rgb = [0, 0, 0, 1];\n\tvar match;\n\tvar i;\n\tvar hexAlpha;\n\n\tif (match = string.match(hex)) {\n\t\thexAlpha = match[2];\n\t\tmatch = match[1];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\t// https://jsperf.com/slice-vs-substr-vs-substring-methods-long-string/19\n\t\t\tvar i2 = i * 2;\n\t\t\trgb[i] = parseInt(match.slice(i2, i2 + 2), 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(abbr)) {\n\t\tmatch = match[1];\n\t\thexAlpha = match[3];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i] + match[i], 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha + hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(rgba)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i + 1], 0);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\trgb[3] = parseFloat(match[4]);\n\t\t}\n\t} else if (match = string.match(per)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\trgb[3] = parseFloat(match[4]);\n\t\t}\n\t} else if (match = string.match(keyword)) {\n\t\tif (match[1] === 'transparent') {\n\t\t\treturn [0, 0, 0, 0];\n\t\t}\n\n\t\trgb = colorNames[match[1]];\n\n\t\tif (!rgb) {\n\t\t\treturn null;\n\t\t}\n\n\t\trgb[3] = 1;\n\n\t\treturn rgb;\n\t} else {\n\t\treturn null;\n\t}\n\n\tfor (i = 0; i < 3; i++) {\n\t\trgb[i] = clamp(rgb[i], 0, 255);\n\t}\n\trgb[3] = clamp(rgb[3], 0, 1);\n\n\treturn rgb;\n};\n\ncs.get.hsl = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hsl = /^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/;\n\tvar match = string.match(hsl);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = (parseFloat(match[1]) + 360) % 360;\n\t\tvar s = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar l = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\n\t\treturn [h, s, l, a];\n\t}\n\n\treturn null;\n};\n\ncs.get.hwb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hwb = /^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/;\n\tvar match = string.match(hwb);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar w = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar b = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\t\treturn [h, w, b, a];\n\t}\n\n\treturn null;\n};\n\ncs.to.hex = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn (\n\t\t'#' +\n\t\thexDouble(rgba[0]) +\n\t\thexDouble(rgba[1]) +\n\t\thexDouble(rgba[2]) +\n\t\t(rgba[3] < 1\n\t\t\t? (hexDouble(Math.round(rgba[3] * 255)))\n\t\t\t: '')\n\t);\n};\n\ncs.to.rgb = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ')'\n\t\t: 'rgba(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ', ' + rgba[3] + ')';\n};\n\ncs.to.rgb.percent = function () {\n\tvar rgba = swizzle(arguments);\n\n\tvar r = Math.round(rgba[0] / 255 * 100);\n\tvar g = Math.round(rgba[1] / 255 * 100);\n\tvar b = Math.round(rgba[2] / 255 * 100);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + r + '%, ' + g + '%, ' + b + '%)'\n\t\t: 'rgba(' + r + '%, ' + g + '%, ' + b + '%, ' + rgba[3] + ')';\n};\n\ncs.to.hsl = function () {\n\tvar hsla = swizzle(arguments);\n\treturn hsla.length < 4 || hsla[3] === 1\n\t\t? 'hsl(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%)'\n\t\t: 'hsla(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%, ' + hsla[3] + ')';\n};\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\ncs.to.hwb = function () {\n\tvar hwba = swizzle(arguments);\n\n\tvar a = '';\n\tif (hwba.length >= 4 && hwba[3] !== 1) {\n\t\ta = ', ' + hwba[3];\n\t}\n\n\treturn 'hwb(' + hwba[0] + ', ' + hwba[1] + '%, ' + hwba[2] + '%' + a + ')';\n};\n\ncs.to.keyword = function (rgb) {\n\treturn reverseNames[rgb.slice(0, 3)];\n};\n\n// helpers\nfunction clamp(num, min, max) {\n\treturn Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n\tvar str = num.toString(16).toUpperCase();\n\treturn (str.length < 2) ? '0' + str : str;\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/color-string/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/color/index.js": -/*!**********************************************!*\ - !*** ./.codedoc/node_modules/color/index.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar colorString = __webpack_require__(/*! color-string */ \"./.codedoc/node_modules/color-string/index.js\");\nvar convert = __webpack_require__(/*! color-convert */ \"./.codedoc/node_modules/color-convert/index.js\");\n\nvar _slice = [].slice;\n\nvar skippedModels = [\n\t// to be honest, I don't really feel like keyword belongs in color convert, but eh.\n\t'keyword',\n\n\t// gray conflicts with some method names, and has its own method defined.\n\t'gray',\n\n\t// shouldn't really be in color-convert either...\n\t'hex'\n];\n\nvar hashedModelKeys = {};\nObject.keys(convert).forEach(function (model) {\n\thashedModelKeys[_slice.call(convert[model].labels).sort().join('')] = model;\n});\n\nvar limiters = {};\n\nfunction Color(obj, model) {\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(obj, model);\n\t}\n\n\tif (model && model in skippedModels) {\n\t\tmodel = null;\n\t}\n\n\tif (model && !(model in convert)) {\n\t\tthrow new Error('Unknown model: ' + model);\n\t}\n\n\tvar i;\n\tvar channels;\n\n\tif (obj == null) { // eslint-disable-line no-eq-null,eqeqeq\n\t\tthis.model = 'rgb';\n\t\tthis.color = [0, 0, 0];\n\t\tthis.valpha = 1;\n\t} else if (obj instanceof Color) {\n\t\tthis.model = obj.model;\n\t\tthis.color = obj.color.slice();\n\t\tthis.valpha = obj.valpha;\n\t} else if (typeof obj === 'string') {\n\t\tvar result = colorString.get(obj);\n\t\tif (result === null) {\n\t\t\tthrow new Error('Unable to parse color from string: ' + obj);\n\t\t}\n\n\t\tthis.model = result.model;\n\t\tchannels = convert[this.model].channels;\n\t\tthis.color = result.value.slice(0, channels);\n\t\tthis.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1;\n\t} else if (obj.length) {\n\t\tthis.model = model || 'rgb';\n\t\tchannels = convert[this.model].channels;\n\t\tvar newArr = _slice.call(obj, 0, channels);\n\t\tthis.color = zeroArray(newArr, channels);\n\t\tthis.valpha = typeof obj[channels] === 'number' ? obj[channels] : 1;\n\t} else if (typeof obj === 'number') {\n\t\t// this is always RGB - can be converted later on.\n\t\tobj &= 0xFFFFFF;\n\t\tthis.model = 'rgb';\n\t\tthis.color = [\n\t\t\t(obj >> 16) & 0xFF,\n\t\t\t(obj >> 8) & 0xFF,\n\t\t\tobj & 0xFF\n\t\t];\n\t\tthis.valpha = 1;\n\t} else {\n\t\tthis.valpha = 1;\n\n\t\tvar keys = Object.keys(obj);\n\t\tif ('alpha' in obj) {\n\t\t\tkeys.splice(keys.indexOf('alpha'), 1);\n\t\t\tthis.valpha = typeof obj.alpha === 'number' ? obj.alpha : 0;\n\t\t}\n\n\t\tvar hashedKeys = keys.sort().join('');\n\t\tif (!(hashedKeys in hashedModelKeys)) {\n\t\t\tthrow new Error('Unable to parse color from object: ' + JSON.stringify(obj));\n\t\t}\n\n\t\tthis.model = hashedModelKeys[hashedKeys];\n\n\t\tvar labels = convert[this.model].labels;\n\t\tvar color = [];\n\t\tfor (i = 0; i < labels.length; i++) {\n\t\t\tcolor.push(obj[labels[i]]);\n\t\t}\n\n\t\tthis.color = zeroArray(color);\n\t}\n\n\t// perform limitations (clamping, etc.)\n\tif (limiters[this.model]) {\n\t\tchannels = convert[this.model].channels;\n\t\tfor (i = 0; i < channels; i++) {\n\t\t\tvar limit = limiters[this.model][i];\n\t\t\tif (limit) {\n\t\t\t\tthis.color[i] = limit(this.color[i]);\n\t\t\t}\n\t\t}\n\t}\n\n\tthis.valpha = Math.max(0, Math.min(1, this.valpha));\n\n\tif (Object.freeze) {\n\t\tObject.freeze(this);\n\t}\n}\n\nColor.prototype = {\n\ttoString: function () {\n\t\treturn this.string();\n\t},\n\n\ttoJSON: function () {\n\t\treturn this[this.model]();\n\t},\n\n\tstring: function (places) {\n\t\tvar self = this.model in colorString.to ? this : this.rgb();\n\t\tself = self.round(typeof places === 'number' ? places : 1);\n\t\tvar args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);\n\t\treturn colorString.to[self.model](args);\n\t},\n\n\tpercentString: function (places) {\n\t\tvar self = this.rgb().round(typeof places === 'number' ? places : 1);\n\t\tvar args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);\n\t\treturn colorString.to.rgb.percent(args);\n\t},\n\n\tarray: function () {\n\t\treturn this.valpha === 1 ? this.color.slice() : this.color.concat(this.valpha);\n\t},\n\n\tobject: function () {\n\t\tvar result = {};\n\t\tvar channels = convert[this.model].channels;\n\t\tvar labels = convert[this.model].labels;\n\n\t\tfor (var i = 0; i < channels; i++) {\n\t\t\tresult[labels[i]] = this.color[i];\n\t\t}\n\n\t\tif (this.valpha !== 1) {\n\t\t\tresult.alpha = this.valpha;\n\t\t}\n\n\t\treturn result;\n\t},\n\n\tunitArray: function () {\n\t\tvar rgb = this.rgb().color;\n\t\trgb[0] /= 255;\n\t\trgb[1] /= 255;\n\t\trgb[2] /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.push(this.valpha);\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tunitObject: function () {\n\t\tvar rgb = this.rgb().object();\n\t\trgb.r /= 255;\n\t\trgb.g /= 255;\n\t\trgb.b /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.alpha = this.valpha;\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tround: function (places) {\n\t\tplaces = Math.max(places || 0, 0);\n\t\treturn new Color(this.color.map(roundToPlace(places)).concat(this.valpha), this.model);\n\t},\n\n\talpha: function (val) {\n\t\tif (arguments.length) {\n\t\t\treturn new Color(this.color.concat(Math.max(0, Math.min(1, val))), this.model);\n\t\t}\n\n\t\treturn this.valpha;\n\t},\n\n\t// rgb\n\tred: getset('rgb', 0, maxfn(255)),\n\tgreen: getset('rgb', 1, maxfn(255)),\n\tblue: getset('rgb', 2, maxfn(255)),\n\n\thue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, function (val) { return ((val % 360) + 360) % 360; }), // eslint-disable-line brace-style\n\n\tsaturationl: getset('hsl', 1, maxfn(100)),\n\tlightness: getset('hsl', 2, maxfn(100)),\n\n\tsaturationv: getset('hsv', 1, maxfn(100)),\n\tvalue: getset('hsv', 2, maxfn(100)),\n\n\tchroma: getset('hcg', 1, maxfn(100)),\n\tgray: getset('hcg', 2, maxfn(100)),\n\n\twhite: getset('hwb', 1, maxfn(100)),\n\twblack: getset('hwb', 2, maxfn(100)),\n\n\tcyan: getset('cmyk', 0, maxfn(100)),\n\tmagenta: getset('cmyk', 1, maxfn(100)),\n\tyellow: getset('cmyk', 2, maxfn(100)),\n\tblack: getset('cmyk', 3, maxfn(100)),\n\n\tx: getset('xyz', 0, maxfn(100)),\n\ty: getset('xyz', 1, maxfn(100)),\n\tz: getset('xyz', 2, maxfn(100)),\n\n\tl: getset('lab', 0, maxfn(100)),\n\ta: getset('lab', 1),\n\tb: getset('lab', 2),\n\n\tkeyword: function (val) {\n\t\tif (arguments.length) {\n\t\t\treturn new Color(val);\n\t\t}\n\n\t\treturn convert[this.model].keyword(this.color);\n\t},\n\n\thex: function (val) {\n\t\tif (arguments.length) {\n\t\t\treturn new Color(val);\n\t\t}\n\n\t\treturn colorString.to.hex(this.rgb().round().color);\n\t},\n\n\trgbNumber: function () {\n\t\tvar rgb = this.rgb().color;\n\t\treturn ((rgb[0] & 0xFF) << 16) | ((rgb[1] & 0xFF) << 8) | (rgb[2] & 0xFF);\n\t},\n\n\tluminosity: function () {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tvar rgb = this.rgb().color;\n\n\t\tvar lum = [];\n\t\tfor (var i = 0; i < rgb.length; i++) {\n\t\t\tvar chan = rgb[i] / 255;\n\t\t\tlum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4);\n\t\t}\n\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast: function (color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tvar lum1 = this.luminosity();\n\t\tvar lum2 = color2.luminosity();\n\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel: function (color2) {\n\t\tvar contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7.1) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tisDark: function () {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tvar rgb = this.rgb().color;\n\t\tvar yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;\n\t\treturn yiq < 128;\n\t},\n\n\tisLight: function () {\n\t\treturn !this.isDark();\n\t},\n\n\tnegate: function () {\n\t\tvar rgb = this.rgb();\n\t\tfor (var i = 0; i < 3; i++) {\n\t\t\trgb.color[i] = 255 - rgb.color[i];\n\t\t}\n\t\treturn rgb;\n\t},\n\n\tlighten: function (ratio) {\n\t\tvar hsl = this.hsl();\n\t\thsl.color[2] += hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdarken: function (ratio) {\n\t\tvar hsl = this.hsl();\n\t\thsl.color[2] -= hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tsaturate: function (ratio) {\n\t\tvar hsl = this.hsl();\n\t\thsl.color[1] += hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdesaturate: function (ratio) {\n\t\tvar hsl = this.hsl();\n\t\thsl.color[1] -= hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\twhiten: function (ratio) {\n\t\tvar hwb = this.hwb();\n\t\thwb.color[1] += hwb.color[1] * ratio;\n\t\treturn hwb;\n\t},\n\n\tblacken: function (ratio) {\n\t\tvar hwb = this.hwb();\n\t\thwb.color[2] += hwb.color[2] * ratio;\n\t\treturn hwb;\n\t},\n\n\tgrayscale: function () {\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tvar rgb = this.rgb().color;\n\t\tvar val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\treturn Color.rgb(val, val, val);\n\t},\n\n\tfade: function (ratio) {\n\t\treturn this.alpha(this.valpha - (this.valpha * ratio));\n\t},\n\n\topaquer: function (ratio) {\n\t\treturn this.alpha(this.valpha + (this.valpha * ratio));\n\t},\n\n\trotate: function (degrees) {\n\t\tvar hsl = this.hsl();\n\t\tvar hue = hsl.color[0];\n\t\thue = (hue + degrees) % 360;\n\t\thue = hue < 0 ? 360 + hue : hue;\n\t\thsl.color[0] = hue;\n\t\treturn hsl;\n\t},\n\n\tmix: function (mixinColor, weight) {\n\t\t// ported from sass implementation in C\n\t\t// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t\tif (!mixinColor || !mixinColor.rgb) {\n\t\t\tthrow new Error('Argument to \"mix\" was not a Color instance, but rather an instance of ' + typeof mixinColor);\n\t\t}\n\t\tvar color1 = mixinColor.rgb();\n\t\tvar color2 = this.rgb();\n\t\tvar p = weight === undefined ? 0.5 : weight;\n\n\t\tvar w = 2 * p - 1;\n\t\tvar a = color1.alpha() - color2.alpha();\n\n\t\tvar w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n\t\tvar w2 = 1 - w1;\n\n\t\treturn Color.rgb(\n\t\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\t\tw1 * color1.blue() + w2 * color2.blue(),\n\t\t\t\tcolor1.alpha() * p + color2.alpha() * (1 - p));\n\t}\n};\n\n// model conversion methods and static constructors\nObject.keys(convert).forEach(function (model) {\n\tif (skippedModels.indexOf(model) !== -1) {\n\t\treturn;\n\t}\n\n\tvar channels = convert[model].channels;\n\n\t// conversion methods\n\tColor.prototype[model] = function () {\n\t\tif (this.model === model) {\n\t\t\treturn new Color(this);\n\t\t}\n\n\t\tif (arguments.length) {\n\t\t\treturn new Color(arguments, model);\n\t\t}\n\n\t\tvar newAlpha = typeof arguments[channels] === 'number' ? channels : this.valpha;\n\t\treturn new Color(assertArray(convert[this.model][model].raw(this.color)).concat(newAlpha), model);\n\t};\n\n\t// 'static' construction methods\n\tColor[model] = function (color) {\n\t\tif (typeof color === 'number') {\n\t\t\tcolor = zeroArray(_slice.call(arguments), channels);\n\t\t}\n\t\treturn new Color(color, model);\n\t};\n});\n\nfunction roundTo(num, places) {\n\treturn Number(num.toFixed(places));\n}\n\nfunction roundToPlace(places) {\n\treturn function (num) {\n\t\treturn roundTo(num, places);\n\t};\n}\n\nfunction getset(model, channel, modifier) {\n\tmodel = Array.isArray(model) ? model : [model];\n\n\tmodel.forEach(function (m) {\n\t\t(limiters[m] || (limiters[m] = []))[channel] = modifier;\n\t});\n\n\tmodel = model[0];\n\n\treturn function (val) {\n\t\tvar result;\n\n\t\tif (arguments.length) {\n\t\t\tif (modifier) {\n\t\t\t\tval = modifier(val);\n\t\t\t}\n\n\t\t\tresult = this[model]();\n\t\t\tresult.color[channel] = val;\n\t\t\treturn result;\n\t\t}\n\n\t\tresult = this[model]().color[channel];\n\t\tif (modifier) {\n\t\t\tresult = modifier(result);\n\t\t}\n\n\t\treturn result;\n\t};\n}\n\nfunction maxfn(max) {\n\treturn function (v) {\n\t\treturn Math.max(0, Math.min(max, v));\n\t};\n}\n\nfunction assertArray(val) {\n\treturn Array.isArray(val) ? val : [val];\n}\n\nfunction zeroArray(arr, length) {\n\tfor (var i = 0; i < length; i++) {\n\t\tif (typeof arr[i] !== 'number') {\n\t\t\tarr[i] = 0;\n\t\t}\n\t}\n\n\treturn arr;\n}\n\nmodule.exports = Color;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/color/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/core-util-is/lib/util.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/core-util-is/lib/util.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\n\nfunction isArray(arg) {\n if (Array.isArray) {\n return Array.isArray(arg);\n }\n return objectToString(arg) === '[object Array]';\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n return objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n return objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n return (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = Buffer.isBuffer;\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../buffer/index.js */ \"./.codedoc/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/core-util-is/lib/util.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/create-ecdh/browser.js": -/*!******************************************************!*\ - !*** ./.codedoc/node_modules/create-ecdh/browser.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {var elliptic = __webpack_require__(/*! elliptic */ \"./.codedoc/node_modules/elliptic/lib/elliptic.js\")\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\")\n\nmodule.exports = function createECDH (curve) {\n return new ECDH(curve)\n}\n\nvar aliases = {\n secp256k1: {\n name: 'secp256k1',\n byteLength: 32\n },\n secp224r1: {\n name: 'p224',\n byteLength: 28\n },\n prime256v1: {\n name: 'p256',\n byteLength: 32\n },\n prime192v1: {\n name: 'p192',\n byteLength: 24\n },\n ed25519: {\n name: 'ed25519',\n byteLength: 32\n },\n secp384r1: {\n name: 'p384',\n byteLength: 48\n },\n secp521r1: {\n name: 'p521',\n byteLength: 66\n }\n}\n\naliases.p224 = aliases.secp224r1\naliases.p256 = aliases.secp256r1 = aliases.prime256v1\naliases.p192 = aliases.secp192r1 = aliases.prime192v1\naliases.p384 = aliases.secp384r1\naliases.p521 = aliases.secp521r1\n\nfunction ECDH (curve) {\n this.curveType = aliases[curve]\n if (!this.curveType) {\n this.curveType = {\n name: curve\n }\n }\n this.curve = new elliptic.ec(this.curveType.name) // eslint-disable-line new-cap\n this.keys = void 0\n}\n\nECDH.prototype.generateKeys = function (enc, format) {\n this.keys = this.curve.genKeyPair()\n return this.getPublicKey(enc, format)\n}\n\nECDH.prototype.computeSecret = function (other, inenc, enc) {\n inenc = inenc || 'utf8'\n if (!Buffer.isBuffer(other)) {\n other = new Buffer(other, inenc)\n }\n var otherPub = this.curve.keyFromPublic(other).getPublic()\n var out = otherPub.mul(this.keys.getPrivate()).getX()\n return formatReturnValue(out, enc, this.curveType.byteLength)\n}\n\nECDH.prototype.getPublicKey = function (enc, format) {\n var key = this.keys.getPublic(format === 'compressed', true)\n if (format === 'hybrid') {\n if (key[key.length - 1] % 2) {\n key[0] = 7\n } else {\n key[0] = 6\n }\n }\n return formatReturnValue(key, enc)\n}\n\nECDH.prototype.getPrivateKey = function (enc) {\n return formatReturnValue(this.keys.getPrivate(), enc)\n}\n\nECDH.prototype.setPublicKey = function (pub, enc) {\n enc = enc || 'utf8'\n if (!Buffer.isBuffer(pub)) {\n pub = new Buffer(pub, enc)\n }\n this.keys._importPublic(pub)\n return this\n}\n\nECDH.prototype.setPrivateKey = function (priv, enc) {\n enc = enc || 'utf8'\n if (!Buffer.isBuffer(priv)) {\n priv = new Buffer(priv, enc)\n }\n\n var _priv = new BN(priv)\n _priv = _priv.toString(16)\n this.keys = this.curve.genKeyPair()\n this.keys._importPrivate(_priv)\n return this\n}\n\nfunction formatReturnValue (bn, enc, len) {\n if (!Array.isArray(bn)) {\n bn = bn.toArray()\n }\n var buf = new Buffer(bn)\n if (len && buf.length < len) {\n var zeros = new Buffer(len - buf.length)\n zeros.fill(0)\n buf = Buffer.concat([zeros, buf])\n }\n if (!enc) {\n return buf\n } else {\n return buf.toString(enc)\n }\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../buffer/index.js */ \"./.codedoc/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/create-ecdh/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/create-hash/browser.js": -/*!******************************************************!*\ - !*** ./.codedoc/node_modules/create-hash/browser.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\nvar MD5 = __webpack_require__(/*! md5.js */ \"./.codedoc/node_modules/md5.js/index.js\")\nvar RIPEMD160 = __webpack_require__(/*! ripemd160 */ \"./.codedoc/node_modules/ripemd160/index.js\")\nvar sha = __webpack_require__(/*! sha.js */ \"./.codedoc/node_modules/sha.js/index.js\")\nvar Base = __webpack_require__(/*! cipher-base */ \"./.codedoc/node_modules/cipher-base/index.js\")\n\nfunction Hash (hash) {\n Base.call(this, 'digest')\n\n this._hash = hash\n}\n\ninherits(Hash, Base)\n\nHash.prototype._update = function (data) {\n this._hash.update(data)\n}\n\nHash.prototype._final = function () {\n return this._hash.digest()\n}\n\nmodule.exports = function createHash (alg) {\n alg = alg.toLowerCase()\n if (alg === 'md5') return new MD5()\n if (alg === 'rmd160' || alg === 'ripemd160') return new RIPEMD160()\n\n return new Hash(sha(alg))\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/create-hash/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/create-hash/md5.js": -/*!**************************************************!*\ - !*** ./.codedoc/node_modules/create-hash/md5.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var MD5 = __webpack_require__(/*! md5.js */ \"./.codedoc/node_modules/md5.js/index.js\")\n\nmodule.exports = function (buffer) {\n return new MD5().update(buffer).digest()\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/create-hash/md5.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/create-hmac/browser.js": -/*!******************************************************!*\ - !*** ./.codedoc/node_modules/create-hmac/browser.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\nvar Legacy = __webpack_require__(/*! ./legacy */ \"./.codedoc/node_modules/create-hmac/legacy.js\")\nvar Base = __webpack_require__(/*! cipher-base */ \"./.codedoc/node_modules/cipher-base/index.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar md5 = __webpack_require__(/*! create-hash/md5 */ \"./.codedoc/node_modules/create-hash/md5.js\")\nvar RIPEMD160 = __webpack_require__(/*! ripemd160 */ \"./.codedoc/node_modules/ripemd160/index.js\")\n\nvar sha = __webpack_require__(/*! sha.js */ \"./.codedoc/node_modules/sha.js/index.js\")\n\nvar ZEROS = Buffer.alloc(128)\n\nfunction Hmac (alg, key) {\n Base.call(this, 'digest')\n if (typeof key === 'string') {\n key = Buffer.from(key)\n }\n\n var blocksize = (alg === 'sha512' || alg === 'sha384') ? 128 : 64\n\n this._alg = alg\n this._key = key\n if (key.length > blocksize) {\n var hash = alg === 'rmd160' ? new RIPEMD160() : sha(alg)\n key = hash.update(key).digest()\n } else if (key.length < blocksize) {\n key = Buffer.concat([key, ZEROS], blocksize)\n }\n\n var ipad = this._ipad = Buffer.allocUnsafe(blocksize)\n var opad = this._opad = Buffer.allocUnsafe(blocksize)\n\n for (var i = 0; i < blocksize; i++) {\n ipad[i] = key[i] ^ 0x36\n opad[i] = key[i] ^ 0x5C\n }\n this._hash = alg === 'rmd160' ? new RIPEMD160() : sha(alg)\n this._hash.update(ipad)\n}\n\ninherits(Hmac, Base)\n\nHmac.prototype._update = function (data) {\n this._hash.update(data)\n}\n\nHmac.prototype._final = function () {\n var h = this._hash.digest()\n var hash = this._alg === 'rmd160' ? new RIPEMD160() : sha(this._alg)\n return hash.update(this._opad).update(h).digest()\n}\n\nmodule.exports = function createHmac (alg, key) {\n alg = alg.toLowerCase()\n if (alg === 'rmd160' || alg === 'ripemd160') {\n return new Hmac('rmd160', key)\n }\n if (alg === 'md5') {\n return new Legacy(md5, key)\n }\n return new Hmac(alg, key)\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/create-hmac/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/create-hmac/legacy.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/create-hmac/legacy.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nvar Base = __webpack_require__(/*! cipher-base */ \"./.codedoc/node_modules/cipher-base/index.js\")\n\nvar ZEROS = Buffer.alloc(128)\nvar blocksize = 64\n\nfunction Hmac (alg, key) {\n Base.call(this, 'digest')\n if (typeof key === 'string') {\n key = Buffer.from(key)\n }\n\n this._alg = alg\n this._key = key\n\n if (key.length > blocksize) {\n key = alg(key)\n } else if (key.length < blocksize) {\n key = Buffer.concat([key, ZEROS], blocksize)\n }\n\n var ipad = this._ipad = Buffer.allocUnsafe(blocksize)\n var opad = this._opad = Buffer.allocUnsafe(blocksize)\n\n for (var i = 0; i < blocksize; i++) {\n ipad[i] = key[i] ^ 0x36\n opad[i] = key[i] ^ 0x5C\n }\n\n this._hash = [ipad]\n}\n\ninherits(Hmac, Base)\n\nHmac.prototype._update = function (data) {\n this._hash.push(data)\n}\n\nHmac.prototype._final = function () {\n var h = this._alg(Buffer.concat(this._hash))\n return this._alg(Buffer.concat([this._opad, h]))\n}\nmodule.exports = Hmac\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/create-hmac/legacy.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/crypto-browserify/index.js": -/*!**********************************************************!*\ - !*** ./.codedoc/node_modules/crypto-browserify/index.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.randomBytes = exports.rng = exports.pseudoRandomBytes = exports.prng = __webpack_require__(/*! randombytes */ \"./.codedoc/node_modules/randombytes/browser.js\")\nexports.createHash = exports.Hash = __webpack_require__(/*! create-hash */ \"./.codedoc/node_modules/create-hash/browser.js\")\nexports.createHmac = exports.Hmac = __webpack_require__(/*! create-hmac */ \"./.codedoc/node_modules/create-hmac/browser.js\")\n\nvar algos = __webpack_require__(/*! browserify-sign/algos */ \"./.codedoc/node_modules/browserify-sign/algos.js\")\nvar algoKeys = Object.keys(algos)\nvar hashes = ['sha1', 'sha224', 'sha256', 'sha384', 'sha512', 'md5', 'rmd160'].concat(algoKeys)\nexports.getHashes = function () {\n return hashes\n}\n\nvar p = __webpack_require__(/*! pbkdf2 */ \"./.codedoc/node_modules/pbkdf2/browser.js\")\nexports.pbkdf2 = p.pbkdf2\nexports.pbkdf2Sync = p.pbkdf2Sync\n\nvar aes = __webpack_require__(/*! browserify-cipher */ \"./.codedoc/node_modules/browserify-cipher/browser.js\")\n\nexports.Cipher = aes.Cipher\nexports.createCipher = aes.createCipher\nexports.Cipheriv = aes.Cipheriv\nexports.createCipheriv = aes.createCipheriv\nexports.Decipher = aes.Decipher\nexports.createDecipher = aes.createDecipher\nexports.Decipheriv = aes.Decipheriv\nexports.createDecipheriv = aes.createDecipheriv\nexports.getCiphers = aes.getCiphers\nexports.listCiphers = aes.listCiphers\n\nvar dh = __webpack_require__(/*! diffie-hellman */ \"./.codedoc/node_modules/diffie-hellman/browser.js\")\n\nexports.DiffieHellmanGroup = dh.DiffieHellmanGroup\nexports.createDiffieHellmanGroup = dh.createDiffieHellmanGroup\nexports.getDiffieHellman = dh.getDiffieHellman\nexports.createDiffieHellman = dh.createDiffieHellman\nexports.DiffieHellman = dh.DiffieHellman\n\nvar sign = __webpack_require__(/*! browserify-sign */ \"./.codedoc/node_modules/browserify-sign/browser/index.js\")\n\nexports.createSign = sign.createSign\nexports.Sign = sign.Sign\nexports.createVerify = sign.createVerify\nexports.Verify = sign.Verify\n\nexports.createECDH = __webpack_require__(/*! create-ecdh */ \"./.codedoc/node_modules/create-ecdh/browser.js\")\n\nvar publicEncrypt = __webpack_require__(/*! public-encrypt */ \"./.codedoc/node_modules/public-encrypt/browser.js\")\n\nexports.publicEncrypt = publicEncrypt.publicEncrypt\nexports.privateEncrypt = publicEncrypt.privateEncrypt\nexports.publicDecrypt = publicEncrypt.publicDecrypt\nexports.privateDecrypt = publicEncrypt.privateDecrypt\n\n// the least I can do is make error messages for the rest of the node.js/crypto api.\n// ;[\n// 'createCredentials'\n// ].forEach(function (name) {\n// exports[name] = function () {\n// throw new Error([\n// 'sorry, ' + name + ' is not implemented yet',\n// 'we accept pull requests',\n// 'https://github.com/crypto-browserify/crypto-browserify'\n// ].join('\\n'))\n// }\n// })\n\nvar rf = __webpack_require__(/*! randomfill */ \"./.codedoc/node_modules/randomfill/browser.js\")\n\nexports.randomFill = rf.randomFill\nexports.randomFillSync = rf.randomFillSync\n\nexports.createCredentials = function () {\n throw new Error([\n 'sorry, createCredentials is not implemented yet',\n 'we accept pull requests',\n 'https://github.com/crypto-browserify/crypto-browserify'\n ].join('\\n'))\n}\n\nexports.constants = {\n 'DH_CHECK_P_NOT_SAFE_PRIME': 2,\n 'DH_CHECK_P_NOT_PRIME': 1,\n 'DH_UNABLE_TO_CHECK_GENERATOR': 4,\n 'DH_NOT_SUITABLE_GENERATOR': 8,\n 'NPN_ENABLED': 1,\n 'ALPN_ENABLED': 1,\n 'RSA_PKCS1_PADDING': 1,\n 'RSA_SSLV23_PADDING': 2,\n 'RSA_NO_PADDING': 3,\n 'RSA_PKCS1_OAEP_PADDING': 4,\n 'RSA_X931_PADDING': 5,\n 'RSA_PKCS1_PSS_PADDING': 6,\n 'POINT_CONVERSION_COMPRESSED': 2,\n 'POINT_CONVERSION_UNCOMPRESSED': 4,\n 'POINT_CONVERSION_HYBRID': 6\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/crypto-browserify/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/css-vendor/dist/css-vendor.esm.js": -/*!*****************************************************************!*\ - !*** ./.codedoc/node_modules/css-vendor/dist/css-vendor.esm.js ***! - \*****************************************************************/ -/*! exports provided: prefix, supportedKeyframes, supportedProperty, supportedValue */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"prefix\", function() { return prefix; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"supportedKeyframes\", function() { return supportedKeyframes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"supportedProperty\", function() { return supportedProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"supportedValue\", function() { return supportedValue; });\n/* harmony import */ var is_in_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! is-in-browser */ \"./.codedoc/node_modules/is-in-browser/dist/module.js\");\n/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n\n\n\n// Export javascript style and css style vendor prefixes.\nvar js = '';\nvar css = '';\nvar vendor = '';\nvar browser = '';\nvar isTouch = is_in_browser__WEBPACK_IMPORTED_MODULE_0__[\"default\"] && 'ontouchstart' in document.documentElement; // We should not do anything if required serverside.\n\nif (is_in_browser__WEBPACK_IMPORTED_MODULE_0__[\"default\"]) {\n // Order matters. We need to check Webkit the last one because\n // other vendors use to add Webkit prefixes to some properties\n var jsCssMap = {\n Moz: '-moz-',\n ms: '-ms-',\n O: '-o-',\n Webkit: '-webkit-'\n };\n\n var _document$createEleme = document.createElement('p'),\n style = _document$createEleme.style;\n\n var testProp = 'Transform';\n\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n js = key;\n css = jsCssMap[key];\n break;\n }\n } // Correctly detect the Edge browser.\n\n\n if (js === 'Webkit' && 'msHyphens' in style) {\n js = 'ms';\n css = jsCssMap.ms;\n browser = 'edge';\n } // Correctly detect the Safari browser.\n\n\n if (js === 'Webkit' && '-apple-trailing-word' in style) {\n vendor = 'apple';\n }\n}\n/**\n * Vendor prefix string for the current browser.\n *\n * @type {{js: String, css: String, vendor: String, browser: String}}\n * @api public\n */\n\n\nvar prefix = {\n js: js,\n css: css,\n vendor: vendor,\n browser: browser,\n isTouch: isTouch\n};\n\n/**\n * Test if a keyframe at-rule should be prefixed or not\n *\n * @param {String} vendor prefix string for the current browser.\n * @return {String}\n * @api public\n */\n\nfunction supportedKeyframes(key) {\n // Keyframes is already prefixed. e.g. key = '@-webkit-keyframes a'\n if (key[1] === '-') return key; // No need to prefix IE/Edge. Older browsers will ignore unsupported rules.\n // https://caniuse.com/#search=keyframes\n\n if (prefix.js === 'ms') return key;\n return \"@\" + prefix.css + \"keyframes\" + key.substr(10);\n}\n\n// https://caniuse.com/#search=appearance\n\nvar appearence = {\n noPrefill: ['appearance'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'appearance') return false;\n if (prefix.js === 'ms') return \"-webkit-\" + prop;\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=color-adjust\n\nvar colorAdjust = {\n noPrefill: ['color-adjust'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'color-adjust') return false;\n if (prefix.js === 'Webkit') return prefix.css + \"print-\" + prop;\n return prop;\n }\n};\n\nvar regExp = /[-\\s]+(.)?/g;\n/**\n * Replaces the letter with the capital letter\n *\n * @param {String} match\n * @param {String} c\n * @return {String}\n * @api private\n */\n\nfunction toUpper(match, c) {\n return c ? c.toUpperCase() : '';\n}\n/**\n * Convert dash separated strings to camel-cased.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\n\nfunction camelize(str) {\n return str.replace(regExp, toUpper);\n}\n\n/**\n * Convert dash separated strings to pascal cased.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\nfunction pascalize(str) {\n return camelize(\"-\" + str);\n}\n\n// but we can use a longhand property instead.\n// https://caniuse.com/#search=mask\n\nvar mask = {\n noPrefill: ['mask'],\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^mask/.test(prop)) return false;\n\n if (prefix.js === 'Webkit') {\n var longhand = 'mask-image';\n\n if (camelize(longhand) in style) {\n return prop;\n }\n\n if (prefix.js + pascalize(longhand) in style) {\n return prefix.css + prop;\n }\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=text-orientation\n\nvar textOrientation = {\n noPrefill: ['text-orientation'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'text-orientation') return false;\n\n if (prefix.vendor === 'apple' && !prefix.isTouch) {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=transform\n\nvar transform = {\n noPrefill: ['transform'],\n supportedProperty: function supportedProperty(prop, style, options) {\n if (prop !== 'transform') return false;\n\n if (options.transform) {\n return prop;\n }\n\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=transition\n\nvar transition = {\n noPrefill: ['transition'],\n supportedProperty: function supportedProperty(prop, style, options) {\n if (prop !== 'transition') return false;\n\n if (options.transition) {\n return prop;\n }\n\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=writing-mode\n\nvar writingMode = {\n noPrefill: ['writing-mode'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'writing-mode') return false;\n\n if (prefix.js === 'Webkit' || prefix.js === 'ms' && prefix.browser !== 'edge') {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=user-select\n\nvar userSelect = {\n noPrefill: ['user-select'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'user-select') return false;\n\n if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=multicolumn\n// https://github.com/postcss/autoprefixer/issues/491\n// https://github.com/postcss/autoprefixer/issues/177\n\nvar breakPropsOld = {\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^break-/.test(prop)) return false;\n\n if (prefix.js === 'Webkit') {\n var jsProp = \"WebkitColumn\" + pascalize(prop);\n return jsProp in style ? prefix.css + \"column-\" + prop : false;\n }\n\n if (prefix.js === 'Moz') {\n var _jsProp = \"page\" + pascalize(prop);\n\n return _jsProp in style ? \"page-\" + prop : false;\n }\n\n return false;\n }\n};\n\n// See https://github.com/postcss/autoprefixer/issues/324.\n\nvar inlineLogicalOld = {\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^(border|margin|padding)-inline/.test(prop)) return false;\n if (prefix.js === 'Moz') return prop;\n var newProp = prop.replace('-inline', '');\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n};\n\n// Camelization is required because we can't test using.\n// CSS syntax for e.g. in FF.\n\nvar unprefixed = {\n supportedProperty: function supportedProperty(prop, style) {\n return camelize(prop) in style ? prop : false;\n }\n};\n\nvar prefixed = {\n supportedProperty: function supportedProperty(prop, style) {\n var pascalized = pascalize(prop); // Return custom CSS variable without prefixing.\n\n if (prop[0] === '-') return prop; // Return already prefixed value without prefixing.\n\n if (prop[0] === '-' && prop[1] === '-') return prop;\n if (prefix.js + pascalized in style) return prefix.css + prop; // Try webkit fallback.\n\n if (prefix.js !== 'Webkit' && \"Webkit\" + pascalized in style) return \"-webkit-\" + prop;\n return false;\n }\n};\n\n// https://caniuse.com/#search=scroll-snap\n\nvar scrollSnap = {\n supportedProperty: function supportedProperty(prop) {\n if (prop.substring(0, 11) !== 'scroll-snap') return false;\n\n if (prefix.js === 'ms') {\n return \"\" + prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=overscroll-behavior\n\nvar overscrollBehavior = {\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'overscroll-behavior') return false;\n\n if (prefix.js === 'ms') {\n return prefix.css + \"scroll-chaining\";\n }\n\n return prop;\n }\n};\n\nvar propMap = {\n 'flex-grow': 'flex-positive',\n 'flex-shrink': 'flex-negative',\n 'flex-basis': 'flex-preferred-size',\n 'justify-content': 'flex-pack',\n order: 'flex-order',\n 'align-items': 'flex-align',\n 'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.\n\n}; // Support old flex spec from 2012.\n\nvar flex2012 = {\n supportedProperty: function supportedProperty(prop, style) {\n var newProp = propMap[prop];\n if (!newProp) return false;\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n};\n\nvar propMap$1 = {\n flex: 'box-flex',\n 'flex-grow': 'box-flex',\n 'flex-direction': ['box-orient', 'box-direction'],\n order: 'box-ordinal-group',\n 'align-items': 'box-align',\n 'flex-flow': ['box-orient', 'box-direction'],\n 'justify-content': 'box-pack'\n};\nvar propKeys = Object.keys(propMap$1);\n\nvar prefixCss = function prefixCss(p) {\n return prefix.css + p;\n}; // Support old flex spec from 2009.\n\n\nvar flex2009 = {\n supportedProperty: function supportedProperty(prop, style, _ref) {\n var multiple = _ref.multiple;\n\n if (propKeys.indexOf(prop) > -1) {\n var newProp = propMap$1[prop];\n\n if (!Array.isArray(newProp)) {\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n\n if (!multiple) return false;\n\n for (var i = 0; i < newProp.length; i++) {\n if (!(prefix.js + pascalize(newProp[0]) in style)) {\n return false;\n }\n }\n\n return newProp.map(prefixCss);\n }\n\n return false;\n }\n};\n\n// plugins = [\n// ...plugins,\n// breakPropsOld,\n// inlineLogicalOld,\n// unprefixed,\n// prefixed,\n// scrollSnap,\n// flex2012,\n// flex2009\n// ]\n// Plugins without 'noPrefill' value, going last.\n// 'flex-*' plugins should be at the bottom.\n// 'flex2009' going after 'flex2012'.\n// 'prefixed' going after 'unprefixed'\n\nvar plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];\nvar propertyDetectors = plugins.filter(function (p) {\n return p.supportedProperty;\n}).map(function (p) {\n return p.supportedProperty;\n});\nvar noPrefill = plugins.filter(function (p) {\n return p.noPrefill;\n}).reduce(function (a, p) {\n a.push.apply(a, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(p.noPrefill));\n return a;\n}, []);\n\nvar el;\nvar cache = {};\n\nif (is_in_browser__WEBPACK_IMPORTED_MODULE_0__[\"default\"]) {\n el = document.createElement('p'); // We test every property on vendor prefix requirement.\n // Once tested, result is cached. It gives us up to 70% perf boost.\n // http://jsperf.com/element-style-object-access-vs-plain-object\n //\n // Prefill cache with known css properties to reduce amount of\n // properties we need to feature test at runtime.\n // http://davidwalsh.name/vendor-prefix\n\n var computed = window.getComputedStyle(document.documentElement, '');\n\n for (var key$1 in computed) {\n // eslint-disable-next-line no-restricted-globals\n if (!isNaN(key$1)) cache[computed[key$1]] = computed[key$1];\n } // Properties that cannot be correctly detected using the\n // cache prefill method.\n\n\n noPrefill.forEach(function (x) {\n return delete cache[x];\n });\n}\n/**\n * Test if a property is supported, returns supported property with vendor\n * prefix if required. Returns `false` if not supported.\n *\n * @param {String} prop dash separated\n * @param {Object} [options]\n * @return {String|Boolean}\n * @api public\n */\n\n\nfunction supportedProperty(prop, options) {\n if (options === void 0) {\n options = {};\n }\n\n // For server-side rendering.\n if (!el) return prop; // Remove cache for benchmark tests or return property from the cache.\n\n if ( true && cache[prop] != null) {\n return cache[prop];\n } // Check if 'transition' or 'transform' natively supported in browser.\n\n\n if (prop === 'transition' || prop === 'transform') {\n options[prop] = prop in el.style;\n } // Find a plugin for current prefix property.\n\n\n for (var i = 0; i < propertyDetectors.length; i++) {\n cache[prop] = propertyDetectors[i](prop, el.style, options); // Break loop, if value found.\n\n if (cache[prop]) break;\n } // Reset styles for current property.\n // Firefox can even throw an error for invalid properties, e.g., \"0\".\n\n\n try {\n el.style[prop] = '';\n } catch (err) {\n return false;\n }\n\n return cache[prop];\n}\n\nvar cache$1 = {};\nvar transitionProperties = {\n transition: 1,\n 'transition-property': 1,\n '-webkit-transition': 1,\n '-webkit-transition-property': 1\n};\nvar transPropsRegExp = /(^\\s*[\\w-]+)|, (\\s*[\\w-]+)(?![^()]*\\))/g;\nvar el$1;\n/**\n * Returns prefixed value transition/transform if needed.\n *\n * @param {String} match\n * @param {String} p1\n * @param {String} p2\n * @return {String}\n * @api private\n */\n\nfunction prefixTransitionCallback(match, p1, p2) {\n if (p1 === 'var') return 'var';\n if (p1 === 'all') return 'all';\n if (p2 === 'all') return ', all';\n var prefixedValue = p1 ? supportedProperty(p1) : \", \" + supportedProperty(p2);\n if (!prefixedValue) return p1 || p2;\n return prefixedValue;\n}\n\nif (is_in_browser__WEBPACK_IMPORTED_MODULE_0__[\"default\"]) el$1 = document.createElement('p');\n/**\n * Returns prefixed value if needed. Returns `false` if value is not supported.\n *\n * @param {String} property\n * @param {String} value\n * @return {String|Boolean}\n * @api public\n */\n\nfunction supportedValue(property, value) {\n // For server-side rendering.\n var prefixedValue = value;\n if (!el$1 || property === 'content') return value; // It is a string or a number as a string like '1'.\n // We want only prefixable values here.\n // eslint-disable-next-line no-restricted-globals\n\n if (typeof prefixedValue !== 'string' || !isNaN(parseInt(prefixedValue, 10))) {\n return prefixedValue;\n } // Create cache key for current value.\n\n\n var cacheKey = property + prefixedValue; // Remove cache for benchmark tests or return value from cache.\n\n if ( true && cache$1[cacheKey] != null) {\n return cache$1[cacheKey];\n } // IE can even throw an error in some cases, for e.g. style.content = 'bar'.\n\n\n try {\n // Test value as it is.\n el$1.style[property] = prefixedValue;\n } catch (err) {\n // Return false if value not supported.\n cache$1[cacheKey] = false;\n return false;\n } // If 'transition' or 'transition-property' property.\n\n\n if (transitionProperties[property]) {\n prefixedValue = prefixedValue.replace(transPropsRegExp, prefixTransitionCallback);\n } else if (el$1.style[property] === '') {\n // Value with a vendor prefix.\n prefixedValue = prefix.css + prefixedValue; // Hardcode test to convert \"flex\" to \"-ms-flexbox\" for IE10.\n\n if (prefixedValue === '-ms-flex') el$1.style[property] = '-ms-flexbox'; // Test prefixed value.\n\n el$1.style[property] = prefixedValue; // Return false if value not supported.\n\n if (el$1.style[property] === '') {\n cache$1[cacheKey] = false;\n return false;\n }\n } // Reset styles for current property.\n\n\n el$1.style[property] = ''; // Write current value to cache.\n\n cache$1[cacheKey] = prefixedValue;\n return cache$1[cacheKey];\n}\n\n\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/css-vendor/dist/css-vendor.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/des.js/lib/des.js": -/*!*************************************************!*\ - !*** ./.codedoc/node_modules/des.js/lib/des.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.utils = __webpack_require__(/*! ./des/utils */ \"./.codedoc/node_modules/des.js/lib/des/utils.js\");\nexports.Cipher = __webpack_require__(/*! ./des/cipher */ \"./.codedoc/node_modules/des.js/lib/des/cipher.js\");\nexports.DES = __webpack_require__(/*! ./des/des */ \"./.codedoc/node_modules/des.js/lib/des/des.js\");\nexports.CBC = __webpack_require__(/*! ./des/cbc */ \"./.codedoc/node_modules/des.js/lib/des/cbc.js\");\nexports.EDE = __webpack_require__(/*! ./des/ede */ \"./.codedoc/node_modules/des.js/lib/des/ede.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/des.js/lib/des.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/des.js/lib/des/cbc.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/des.js/lib/des/cbc.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n\nvar proto = {};\n\nfunction CBCState(iv) {\n assert.equal(iv.length, 8, 'Invalid IV length');\n\n this.iv = new Array(8);\n for (var i = 0; i < this.iv.length; i++)\n this.iv[i] = iv[i];\n}\n\nfunction instantiate(Base) {\n function CBC(options) {\n Base.call(this, options);\n this._cbcInit();\n }\n inherits(CBC, Base);\n\n var keys = Object.keys(proto);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n CBC.prototype[key] = proto[key];\n }\n\n CBC.create = function create(options) {\n return new CBC(options);\n };\n\n return CBC;\n}\n\nexports.instantiate = instantiate;\n\nproto._cbcInit = function _cbcInit() {\n var state = new CBCState(this.options.iv);\n this._cbcState = state;\n};\n\nproto._update = function _update(inp, inOff, out, outOff) {\n var state = this._cbcState;\n var superProto = this.constructor.super_.prototype;\n\n var iv = state.iv;\n if (this.type === 'encrypt') {\n for (var i = 0; i < this.blockSize; i++)\n iv[i] ^= inp[inOff + i];\n\n superProto._update.call(this, iv, 0, out, outOff);\n\n for (var i = 0; i < this.blockSize; i++)\n iv[i] = out[outOff + i];\n } else {\n superProto._update.call(this, inp, inOff, out, outOff);\n\n for (var i = 0; i < this.blockSize; i++)\n out[outOff + i] ^= iv[i];\n\n for (var i = 0; i < this.blockSize; i++)\n iv[i] = inp[inOff + i];\n }\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/des.js/lib/des/cbc.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/des.js/lib/des/cipher.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/des.js/lib/des/cipher.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\n\nfunction Cipher(options) {\n this.options = options;\n\n this.type = this.options.type;\n this.blockSize = 8;\n this._init();\n\n this.buffer = new Array(this.blockSize);\n this.bufferOff = 0;\n}\nmodule.exports = Cipher;\n\nCipher.prototype._init = function _init() {\n // Might be overrided\n};\n\nCipher.prototype.update = function update(data) {\n if (data.length === 0)\n return [];\n\n if (this.type === 'decrypt')\n return this._updateDecrypt(data);\n else\n return this._updateEncrypt(data);\n};\n\nCipher.prototype._buffer = function _buffer(data, off) {\n // Append data to buffer\n var min = Math.min(this.buffer.length - this.bufferOff, data.length - off);\n for (var i = 0; i < min; i++)\n this.buffer[this.bufferOff + i] = data[off + i];\n this.bufferOff += min;\n\n // Shift next\n return min;\n};\n\nCipher.prototype._flushBuffer = function _flushBuffer(out, off) {\n this._update(this.buffer, 0, out, off);\n this.bufferOff = 0;\n return this.blockSize;\n};\n\nCipher.prototype._updateEncrypt = function _updateEncrypt(data) {\n var inputOff = 0;\n var outputOff = 0;\n\n var count = ((this.bufferOff + data.length) / this.blockSize) | 0;\n var out = new Array(count * this.blockSize);\n\n if (this.bufferOff !== 0) {\n inputOff += this._buffer(data, inputOff);\n\n if (this.bufferOff === this.buffer.length)\n outputOff += this._flushBuffer(out, outputOff);\n }\n\n // Write blocks\n var max = data.length - ((data.length - inputOff) % this.blockSize);\n for (; inputOff < max; inputOff += this.blockSize) {\n this._update(data, inputOff, out, outputOff);\n outputOff += this.blockSize;\n }\n\n // Queue rest\n for (; inputOff < data.length; inputOff++, this.bufferOff++)\n this.buffer[this.bufferOff] = data[inputOff];\n\n return out;\n};\n\nCipher.prototype._updateDecrypt = function _updateDecrypt(data) {\n var inputOff = 0;\n var outputOff = 0;\n\n var count = Math.ceil((this.bufferOff + data.length) / this.blockSize) - 1;\n var out = new Array(count * this.blockSize);\n\n // TODO(indutny): optimize it, this is far from optimal\n for (; count > 0; count--) {\n inputOff += this._buffer(data, inputOff);\n outputOff += this._flushBuffer(out, outputOff);\n }\n\n // Buffer rest of the input\n inputOff += this._buffer(data, inputOff);\n\n return out;\n};\n\nCipher.prototype.final = function final(buffer) {\n var first;\n if (buffer)\n first = this.update(buffer);\n\n var last;\n if (this.type === 'encrypt')\n last = this._finalEncrypt();\n else\n last = this._finalDecrypt();\n\n if (first)\n return first.concat(last);\n else\n return last;\n};\n\nCipher.prototype._pad = function _pad(buffer, off) {\n if (off === 0)\n return false;\n\n while (off < buffer.length)\n buffer[off++] = 0;\n\n return true;\n};\n\nCipher.prototype._finalEncrypt = function _finalEncrypt() {\n if (!this._pad(this.buffer, this.bufferOff))\n return [];\n\n var out = new Array(this.blockSize);\n this._update(this.buffer, 0, out, 0);\n return out;\n};\n\nCipher.prototype._unpad = function _unpad(buffer) {\n return buffer;\n};\n\nCipher.prototype._finalDecrypt = function _finalDecrypt() {\n assert.equal(this.bufferOff, this.blockSize, 'Not enough data to decrypt');\n var out = new Array(this.blockSize);\n this._flushBuffer(out, 0);\n\n return this._unpad(out);\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/des.js/lib/des/cipher.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/des.js/lib/des/des.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/des.js/lib/des/des.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n\nvar utils = __webpack_require__(/*! ./utils */ \"./.codedoc/node_modules/des.js/lib/des/utils.js\");\nvar Cipher = __webpack_require__(/*! ./cipher */ \"./.codedoc/node_modules/des.js/lib/des/cipher.js\");\n\nfunction DESState() {\n this.tmp = new Array(2);\n this.keys = null;\n}\n\nfunction DES(options) {\n Cipher.call(this, options);\n\n var state = new DESState();\n this._desState = state;\n\n this.deriveKeys(state, options.key);\n}\ninherits(DES, Cipher);\nmodule.exports = DES;\n\nDES.create = function create(options) {\n return new DES(options);\n};\n\nvar shiftTable = [\n 1, 1, 2, 2, 2, 2, 2, 2,\n 1, 2, 2, 2, 2, 2, 2, 1\n];\n\nDES.prototype.deriveKeys = function deriveKeys(state, key) {\n state.keys = new Array(16 * 2);\n\n assert.equal(key.length, this.blockSize, 'Invalid key length');\n\n var kL = utils.readUInt32BE(key, 0);\n var kR = utils.readUInt32BE(key, 4);\n\n utils.pc1(kL, kR, state.tmp, 0);\n kL = state.tmp[0];\n kR = state.tmp[1];\n for (var i = 0; i < state.keys.length; i += 2) {\n var shift = shiftTable[i >>> 1];\n kL = utils.r28shl(kL, shift);\n kR = utils.r28shl(kR, shift);\n utils.pc2(kL, kR, state.keys, i);\n }\n};\n\nDES.prototype._update = function _update(inp, inOff, out, outOff) {\n var state = this._desState;\n\n var l = utils.readUInt32BE(inp, inOff);\n var r = utils.readUInt32BE(inp, inOff + 4);\n\n // Initial Permutation\n utils.ip(l, r, state.tmp, 0);\n l = state.tmp[0];\n r = state.tmp[1];\n\n if (this.type === 'encrypt')\n this._encrypt(state, l, r, state.tmp, 0);\n else\n this._decrypt(state, l, r, state.tmp, 0);\n\n l = state.tmp[0];\n r = state.tmp[1];\n\n utils.writeUInt32BE(out, l, outOff);\n utils.writeUInt32BE(out, r, outOff + 4);\n};\n\nDES.prototype._pad = function _pad(buffer, off) {\n var value = buffer.length - off;\n for (var i = off; i < buffer.length; i++)\n buffer[i] = value;\n\n return true;\n};\n\nDES.prototype._unpad = function _unpad(buffer) {\n var pad = buffer[buffer.length - 1];\n for (var i = buffer.length - pad; i < buffer.length; i++)\n assert.equal(buffer[i], pad);\n\n return buffer.slice(0, buffer.length - pad);\n};\n\nDES.prototype._encrypt = function _encrypt(state, lStart, rStart, out, off) {\n var l = lStart;\n var r = rStart;\n\n // Apply f() x16 times\n for (var i = 0; i < state.keys.length; i += 2) {\n var keyL = state.keys[i];\n var keyR = state.keys[i + 1];\n\n // f(r, k)\n utils.expand(r, state.tmp, 0);\n\n keyL ^= state.tmp[0];\n keyR ^= state.tmp[1];\n var s = utils.substitute(keyL, keyR);\n var f = utils.permute(s);\n\n var t = r;\n r = (l ^ f) >>> 0;\n l = t;\n }\n\n // Reverse Initial Permutation\n utils.rip(r, l, out, off);\n};\n\nDES.prototype._decrypt = function _decrypt(state, lStart, rStart, out, off) {\n var l = rStart;\n var r = lStart;\n\n // Apply f() x16 times\n for (var i = state.keys.length - 2; i >= 0; i -= 2) {\n var keyL = state.keys[i];\n var keyR = state.keys[i + 1];\n\n // f(r, k)\n utils.expand(l, state.tmp, 0);\n\n keyL ^= state.tmp[0];\n keyR ^= state.tmp[1];\n var s = utils.substitute(keyL, keyR);\n var f = utils.permute(s);\n\n var t = l;\n l = (r ^ f) >>> 0;\n r = t;\n }\n\n // Reverse Initial Permutation\n utils.rip(l, r, out, off);\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/des.js/lib/des/des.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/des.js/lib/des/ede.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/des.js/lib/des/ede.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n\nvar Cipher = __webpack_require__(/*! ./cipher */ \"./.codedoc/node_modules/des.js/lib/des/cipher.js\");\nvar DES = __webpack_require__(/*! ./des */ \"./.codedoc/node_modules/des.js/lib/des/des.js\");\n\nfunction EDEState(type, key) {\n assert.equal(key.length, 24, 'Invalid key length');\n\n var k1 = key.slice(0, 8);\n var k2 = key.slice(8, 16);\n var k3 = key.slice(16, 24);\n\n if (type === 'encrypt') {\n this.ciphers = [\n DES.create({ type: 'encrypt', key: k1 }),\n DES.create({ type: 'decrypt', key: k2 }),\n DES.create({ type: 'encrypt', key: k3 })\n ];\n } else {\n this.ciphers = [\n DES.create({ type: 'decrypt', key: k3 }),\n DES.create({ type: 'encrypt', key: k2 }),\n DES.create({ type: 'decrypt', key: k1 })\n ];\n }\n}\n\nfunction EDE(options) {\n Cipher.call(this, options);\n\n var state = new EDEState(this.type, this.options.key);\n this._edeState = state;\n}\ninherits(EDE, Cipher);\n\nmodule.exports = EDE;\n\nEDE.create = function create(options) {\n return new EDE(options);\n};\n\nEDE.prototype._update = function _update(inp, inOff, out, outOff) {\n var state = this._edeState;\n\n state.ciphers[0]._update(inp, inOff, out, outOff);\n state.ciphers[1]._update(out, outOff, out, outOff);\n state.ciphers[2]._update(out, outOff, out, outOff);\n};\n\nEDE.prototype._pad = DES.prototype._pad;\nEDE.prototype._unpad = DES.prototype._unpad;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/des.js/lib/des/ede.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/des.js/lib/des/utils.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/des.js/lib/des/utils.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.readUInt32BE = function readUInt32BE(bytes, off) {\n var res = (bytes[0 + off] << 24) |\n (bytes[1 + off] << 16) |\n (bytes[2 + off] << 8) |\n bytes[3 + off];\n return res >>> 0;\n};\n\nexports.writeUInt32BE = function writeUInt32BE(bytes, value, off) {\n bytes[0 + off] = value >>> 24;\n bytes[1 + off] = (value >>> 16) & 0xff;\n bytes[2 + off] = (value >>> 8) & 0xff;\n bytes[3 + off] = value & 0xff;\n};\n\nexports.ip = function ip(inL, inR, out, off) {\n var outL = 0;\n var outR = 0;\n\n for (var i = 6; i >= 0; i -= 2) {\n for (var j = 0; j <= 24; j += 8) {\n outL <<= 1;\n outL |= (inR >>> (j + i)) & 1;\n }\n for (var j = 0; j <= 24; j += 8) {\n outL <<= 1;\n outL |= (inL >>> (j + i)) & 1;\n }\n }\n\n for (var i = 6; i >= 0; i -= 2) {\n for (var j = 1; j <= 25; j += 8) {\n outR <<= 1;\n outR |= (inR >>> (j + i)) & 1;\n }\n for (var j = 1; j <= 25; j += 8) {\n outR <<= 1;\n outR |= (inL >>> (j + i)) & 1;\n }\n }\n\n out[off + 0] = outL >>> 0;\n out[off + 1] = outR >>> 0;\n};\n\nexports.rip = function rip(inL, inR, out, off) {\n var outL = 0;\n var outR = 0;\n\n for (var i = 0; i < 4; i++) {\n for (var j = 24; j >= 0; j -= 8) {\n outL <<= 1;\n outL |= (inR >>> (j + i)) & 1;\n outL <<= 1;\n outL |= (inL >>> (j + i)) & 1;\n }\n }\n for (var i = 4; i < 8; i++) {\n for (var j = 24; j >= 0; j -= 8) {\n outR <<= 1;\n outR |= (inR >>> (j + i)) & 1;\n outR <<= 1;\n outR |= (inL >>> (j + i)) & 1;\n }\n }\n\n out[off + 0] = outL >>> 0;\n out[off + 1] = outR >>> 0;\n};\n\nexports.pc1 = function pc1(inL, inR, out, off) {\n var outL = 0;\n var outR = 0;\n\n // 7, 15, 23, 31, 39, 47, 55, 63\n // 6, 14, 22, 30, 39, 47, 55, 63\n // 5, 13, 21, 29, 39, 47, 55, 63\n // 4, 12, 20, 28\n for (var i = 7; i >= 5; i--) {\n for (var j = 0; j <= 24; j += 8) {\n outL <<= 1;\n outL |= (inR >> (j + i)) & 1;\n }\n for (var j = 0; j <= 24; j += 8) {\n outL <<= 1;\n outL |= (inL >> (j + i)) & 1;\n }\n }\n for (var j = 0; j <= 24; j += 8) {\n outL <<= 1;\n outL |= (inR >> (j + i)) & 1;\n }\n\n // 1, 9, 17, 25, 33, 41, 49, 57\n // 2, 10, 18, 26, 34, 42, 50, 58\n // 3, 11, 19, 27, 35, 43, 51, 59\n // 36, 44, 52, 60\n for (var i = 1; i <= 3; i++) {\n for (var j = 0; j <= 24; j += 8) {\n outR <<= 1;\n outR |= (inR >> (j + i)) & 1;\n }\n for (var j = 0; j <= 24; j += 8) {\n outR <<= 1;\n outR |= (inL >> (j + i)) & 1;\n }\n }\n for (var j = 0; j <= 24; j += 8) {\n outR <<= 1;\n outR |= (inL >> (j + i)) & 1;\n }\n\n out[off + 0] = outL >>> 0;\n out[off + 1] = outR >>> 0;\n};\n\nexports.r28shl = function r28shl(num, shift) {\n return ((num << shift) & 0xfffffff) | (num >>> (28 - shift));\n};\n\nvar pc2table = [\n // inL => outL\n 14, 11, 17, 4, 27, 23, 25, 0,\n 13, 22, 7, 18, 5, 9, 16, 24,\n 2, 20, 12, 21, 1, 8, 15, 26,\n\n // inR => outR\n 15, 4, 25, 19, 9, 1, 26, 16,\n 5, 11, 23, 8, 12, 7, 17, 0,\n 22, 3, 10, 14, 6, 20, 27, 24\n];\n\nexports.pc2 = function pc2(inL, inR, out, off) {\n var outL = 0;\n var outR = 0;\n\n var len = pc2table.length >>> 1;\n for (var i = 0; i < len; i++) {\n outL <<= 1;\n outL |= (inL >>> pc2table[i]) & 0x1;\n }\n for (var i = len; i < pc2table.length; i++) {\n outR <<= 1;\n outR |= (inR >>> pc2table[i]) & 0x1;\n }\n\n out[off + 0] = outL >>> 0;\n out[off + 1] = outR >>> 0;\n};\n\nexports.expand = function expand(r, out, off) {\n var outL = 0;\n var outR = 0;\n\n outL = ((r & 1) << 5) | (r >>> 27);\n for (var i = 23; i >= 15; i -= 4) {\n outL <<= 6;\n outL |= (r >>> i) & 0x3f;\n }\n for (var i = 11; i >= 3; i -= 4) {\n outR |= (r >>> i) & 0x3f;\n outR <<= 6;\n }\n outR |= ((r & 0x1f) << 1) | (r >>> 31);\n\n out[off + 0] = outL >>> 0;\n out[off + 1] = outR >>> 0;\n};\n\nvar sTable = [\n 14, 0, 4, 15, 13, 7, 1, 4, 2, 14, 15, 2, 11, 13, 8, 1,\n 3, 10, 10, 6, 6, 12, 12, 11, 5, 9, 9, 5, 0, 3, 7, 8,\n 4, 15, 1, 12, 14, 8, 8, 2, 13, 4, 6, 9, 2, 1, 11, 7,\n 15, 5, 12, 11, 9, 3, 7, 14, 3, 10, 10, 0, 5, 6, 0, 13,\n\n 15, 3, 1, 13, 8, 4, 14, 7, 6, 15, 11, 2, 3, 8, 4, 14,\n 9, 12, 7, 0, 2, 1, 13, 10, 12, 6, 0, 9, 5, 11, 10, 5,\n 0, 13, 14, 8, 7, 10, 11, 1, 10, 3, 4, 15, 13, 4, 1, 2,\n 5, 11, 8, 6, 12, 7, 6, 12, 9, 0, 3, 5, 2, 14, 15, 9,\n\n 10, 13, 0, 7, 9, 0, 14, 9, 6, 3, 3, 4, 15, 6, 5, 10,\n 1, 2, 13, 8, 12, 5, 7, 14, 11, 12, 4, 11, 2, 15, 8, 1,\n 13, 1, 6, 10, 4, 13, 9, 0, 8, 6, 15, 9, 3, 8, 0, 7,\n 11, 4, 1, 15, 2, 14, 12, 3, 5, 11, 10, 5, 14, 2, 7, 12,\n\n 7, 13, 13, 8, 14, 11, 3, 5, 0, 6, 6, 15, 9, 0, 10, 3,\n 1, 4, 2, 7, 8, 2, 5, 12, 11, 1, 12, 10, 4, 14, 15, 9,\n 10, 3, 6, 15, 9, 0, 0, 6, 12, 10, 11, 1, 7, 13, 13, 8,\n 15, 9, 1, 4, 3, 5, 14, 11, 5, 12, 2, 7, 8, 2, 4, 14,\n\n 2, 14, 12, 11, 4, 2, 1, 12, 7, 4, 10, 7, 11, 13, 6, 1,\n 8, 5, 5, 0, 3, 15, 15, 10, 13, 3, 0, 9, 14, 8, 9, 6,\n 4, 11, 2, 8, 1, 12, 11, 7, 10, 1, 13, 14, 7, 2, 8, 13,\n 15, 6, 9, 15, 12, 0, 5, 9, 6, 10, 3, 4, 0, 5, 14, 3,\n\n 12, 10, 1, 15, 10, 4, 15, 2, 9, 7, 2, 12, 6, 9, 8, 5,\n 0, 6, 13, 1, 3, 13, 4, 14, 14, 0, 7, 11, 5, 3, 11, 8,\n 9, 4, 14, 3, 15, 2, 5, 12, 2, 9, 8, 5, 12, 15, 3, 10,\n 7, 11, 0, 14, 4, 1, 10, 7, 1, 6, 13, 0, 11, 8, 6, 13,\n\n 4, 13, 11, 0, 2, 11, 14, 7, 15, 4, 0, 9, 8, 1, 13, 10,\n 3, 14, 12, 3, 9, 5, 7, 12, 5, 2, 10, 15, 6, 8, 1, 6,\n 1, 6, 4, 11, 11, 13, 13, 8, 12, 1, 3, 4, 7, 10, 14, 7,\n 10, 9, 15, 5, 6, 0, 8, 15, 0, 14, 5, 2, 9, 3, 2, 12,\n\n 13, 1, 2, 15, 8, 13, 4, 8, 6, 10, 15, 3, 11, 7, 1, 4,\n 10, 12, 9, 5, 3, 6, 14, 11, 5, 0, 0, 14, 12, 9, 7, 2,\n 7, 2, 11, 1, 4, 14, 1, 7, 9, 4, 12, 10, 14, 8, 2, 13,\n 0, 15, 6, 12, 10, 9, 13, 0, 15, 3, 3, 5, 5, 6, 8, 11\n];\n\nexports.substitute = function substitute(inL, inR) {\n var out = 0;\n for (var i = 0; i < 4; i++) {\n var b = (inL >>> (18 - i * 6)) & 0x3f;\n var sb = sTable[i * 0x40 + b];\n\n out <<= 4;\n out |= sb;\n }\n for (var i = 0; i < 4; i++) {\n var b = (inR >>> (18 - i * 6)) & 0x3f;\n var sb = sTable[4 * 0x40 + i * 0x40 + b];\n\n out <<= 4;\n out |= sb;\n }\n return out >>> 0;\n};\n\nvar permuteTable = [\n 16, 25, 12, 11, 3, 20, 4, 15, 31, 17, 9, 6, 27, 14, 1, 22,\n 30, 24, 8, 18, 0, 5, 29, 23, 13, 19, 2, 26, 10, 21, 28, 7\n];\n\nexports.permute = function permute(num) {\n var out = 0;\n for (var i = 0; i < permuteTable.length; i++) {\n out <<= 1;\n out |= (num >>> permuteTable[i]) & 0x1;\n }\n return out >>> 0;\n};\n\nexports.padSplit = function padSplit(num, size, group) {\n var str = num.toString(2);\n while (str.length < size)\n str = '0' + str;\n\n var out = [];\n for (var i = 0; i < size; i += group)\n out.push(str.slice(i, i + group));\n return out.join(' ');\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/des.js/lib/des/utils.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/diffie-hellman/browser.js": -/*!*********************************************************!*\ - !*** ./.codedoc/node_modules/diffie-hellman/browser.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {var generatePrime = __webpack_require__(/*! ./lib/generatePrime */ \"./.codedoc/node_modules/diffie-hellman/lib/generatePrime.js\")\nvar primes = __webpack_require__(/*! ./lib/primes.json */ \"./.codedoc/node_modules/diffie-hellman/lib/primes.json\")\n\nvar DH = __webpack_require__(/*! ./lib/dh */ \"./.codedoc/node_modules/diffie-hellman/lib/dh.js\")\n\nfunction getDiffieHellman (mod) {\n var prime = new Buffer(primes[mod].prime, 'hex')\n var gen = new Buffer(primes[mod].gen, 'hex')\n\n return new DH(prime, gen)\n}\n\nvar ENCODINGS = {\n 'binary': true, 'hex': true, 'base64': true\n}\n\nfunction createDiffieHellman (prime, enc, generator, genc) {\n if (Buffer.isBuffer(enc) || ENCODINGS[enc] === undefined) {\n return createDiffieHellman(prime, 'binary', enc, generator)\n }\n\n enc = enc || 'binary'\n genc = genc || 'binary'\n generator = generator || new Buffer([2])\n\n if (!Buffer.isBuffer(generator)) {\n generator = new Buffer(generator, genc)\n }\n\n if (typeof prime === 'number') {\n return new DH(generatePrime(prime, generator), generator, true)\n }\n\n if (!Buffer.isBuffer(prime)) {\n prime = new Buffer(prime, enc)\n }\n\n return new DH(prime, generator, true)\n}\n\nexports.DiffieHellmanGroup = exports.createDiffieHellmanGroup = exports.getDiffieHellman = getDiffieHellman\nexports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../buffer/index.js */ \"./.codedoc/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/diffie-hellman/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/diffie-hellman/lib/dh.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/diffie-hellman/lib/dh.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {var BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar MillerRabin = __webpack_require__(/*! miller-rabin */ \"./.codedoc/node_modules/miller-rabin/lib/mr.js\");\nvar millerRabin = new MillerRabin();\nvar TWENTYFOUR = new BN(24);\nvar ELEVEN = new BN(11);\nvar TEN = new BN(10);\nvar THREE = new BN(3);\nvar SEVEN = new BN(7);\nvar primes = __webpack_require__(/*! ./generatePrime */ \"./.codedoc/node_modules/diffie-hellman/lib/generatePrime.js\");\nvar randomBytes = __webpack_require__(/*! randombytes */ \"./.codedoc/node_modules/randombytes/browser.js\");\nmodule.exports = DH;\n\nfunction setPublicKey(pub, enc) {\n enc = enc || 'utf8';\n if (!Buffer.isBuffer(pub)) {\n pub = new Buffer(pub, enc);\n }\n this._pub = new BN(pub);\n return this;\n}\n\nfunction setPrivateKey(priv, enc) {\n enc = enc || 'utf8';\n if (!Buffer.isBuffer(priv)) {\n priv = new Buffer(priv, enc);\n }\n this._priv = new BN(priv);\n return this;\n}\n\nvar primeCache = {};\nfunction checkPrime(prime, generator) {\n var gen = generator.toString('hex');\n var hex = [gen, prime.toString(16)].join('_');\n if (hex in primeCache) {\n return primeCache[hex];\n }\n var error = 0;\n\n if (prime.isEven() ||\n !primes.simpleSieve ||\n !primes.fermatTest(prime) ||\n !millerRabin.test(prime)) {\n //not a prime so +1\n error += 1;\n\n if (gen === '02' || gen === '05') {\n // we'd be able to check the generator\n // it would fail so +8\n error += 8;\n } else {\n //we wouldn't be able to test the generator\n // so +4\n error += 4;\n }\n primeCache[hex] = error;\n return error;\n }\n if (!millerRabin.test(prime.shrn(1))) {\n //not a safe prime\n error += 2;\n }\n var rem;\n switch (gen) {\n case '02':\n if (prime.mod(TWENTYFOUR).cmp(ELEVEN)) {\n // unsuidable generator\n error += 8;\n }\n break;\n case '05':\n rem = prime.mod(TEN);\n if (rem.cmp(THREE) && rem.cmp(SEVEN)) {\n // prime mod 10 needs to equal 3 or 7\n error += 8;\n }\n break;\n default:\n error += 4;\n }\n primeCache[hex] = error;\n return error;\n}\n\nfunction DH(prime, generator, malleable) {\n this.setGenerator(generator);\n this.__prime = new BN(prime);\n this._prime = BN.mont(this.__prime);\n this._primeLen = prime.length;\n this._pub = undefined;\n this._priv = undefined;\n this._primeCode = undefined;\n if (malleable) {\n this.setPublicKey = setPublicKey;\n this.setPrivateKey = setPrivateKey;\n } else {\n this._primeCode = 8;\n }\n}\nObject.defineProperty(DH.prototype, 'verifyError', {\n enumerable: true,\n get: function () {\n if (typeof this._primeCode !== 'number') {\n this._primeCode = checkPrime(this.__prime, this.__gen);\n }\n return this._primeCode;\n }\n});\nDH.prototype.generateKeys = function () {\n if (!this._priv) {\n this._priv = new BN(randomBytes(this._primeLen));\n }\n this._pub = this._gen.toRed(this._prime).redPow(this._priv).fromRed();\n return this.getPublicKey();\n};\n\nDH.prototype.computeSecret = function (other) {\n other = new BN(other);\n other = other.toRed(this._prime);\n var secret = other.redPow(this._priv).fromRed();\n var out = new Buffer(secret.toArray());\n var prime = this.getPrime();\n if (out.length < prime.length) {\n var front = new Buffer(prime.length - out.length);\n front.fill(0);\n out = Buffer.concat([front, out]);\n }\n return out;\n};\n\nDH.prototype.getPublicKey = function getPublicKey(enc) {\n return formatReturnValue(this._pub, enc);\n};\n\nDH.prototype.getPrivateKey = function getPrivateKey(enc) {\n return formatReturnValue(this._priv, enc);\n};\n\nDH.prototype.getPrime = function (enc) {\n return formatReturnValue(this.__prime, enc);\n};\n\nDH.prototype.getGenerator = function (enc) {\n return formatReturnValue(this._gen, enc);\n};\n\nDH.prototype.setGenerator = function (gen, enc) {\n enc = enc || 'utf8';\n if (!Buffer.isBuffer(gen)) {\n gen = new Buffer(gen, enc);\n }\n this.__gen = gen;\n this._gen = new BN(gen);\n return this;\n};\n\nfunction formatReturnValue(bn, enc) {\n var buf = new Buffer(bn.toArray());\n if (!enc) {\n return buf;\n } else {\n return buf.toString(enc);\n }\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../buffer/index.js */ \"./.codedoc/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/diffie-hellman/lib/dh.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/diffie-hellman/lib/generatePrime.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/diffie-hellman/lib/generatePrime.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var randomBytes = __webpack_require__(/*! randombytes */ \"./.codedoc/node_modules/randombytes/browser.js\");\nmodule.exports = findPrime;\nfindPrime.simpleSieve = simpleSieve;\nfindPrime.fermatTest = fermatTest;\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar TWENTYFOUR = new BN(24);\nvar MillerRabin = __webpack_require__(/*! miller-rabin */ \"./.codedoc/node_modules/miller-rabin/lib/mr.js\");\nvar millerRabin = new MillerRabin();\nvar ONE = new BN(1);\nvar TWO = new BN(2);\nvar FIVE = new BN(5);\nvar SIXTEEN = new BN(16);\nvar EIGHT = new BN(8);\nvar TEN = new BN(10);\nvar THREE = new BN(3);\nvar SEVEN = new BN(7);\nvar ELEVEN = new BN(11);\nvar FOUR = new BN(4);\nvar TWELVE = new BN(12);\nvar primes = null;\n\nfunction _getPrimes() {\n if (primes !== null)\n return primes;\n\n var limit = 0x100000;\n var res = [];\n res[0] = 2;\n for (var i = 1, k = 3; k < limit; k += 2) {\n var sqrt = Math.ceil(Math.sqrt(k));\n for (var j = 0; j < i && res[j] <= sqrt; j++)\n if (k % res[j] === 0)\n break;\n\n if (i !== j && res[j] <= sqrt)\n continue;\n\n res[i++] = k;\n }\n primes = res;\n return res;\n}\n\nfunction simpleSieve(p) {\n var primes = _getPrimes();\n\n for (var i = 0; i < primes.length; i++)\n if (p.modn(primes[i]) === 0) {\n if (p.cmpn(primes[i]) === 0) {\n return true;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\nfunction fermatTest(p) {\n var red = BN.mont(p);\n return TWO.toRed(red).redPow(p.subn(1)).fromRed().cmpn(1) === 0;\n}\n\nfunction findPrime(bits, gen) {\n if (bits < 16) {\n // this is what openssl does\n if (gen === 2 || gen === 5) {\n return new BN([0x8c, 0x7b]);\n } else {\n return new BN([0x8c, 0x27]);\n }\n }\n gen = new BN(gen);\n\n var num, n2;\n\n while (true) {\n num = new BN(randomBytes(Math.ceil(bits / 8)));\n while (num.bitLength() > bits) {\n num.ishrn(1);\n }\n if (num.isEven()) {\n num.iadd(ONE);\n }\n if (!num.testn(1)) {\n num.iadd(TWO);\n }\n if (!gen.cmp(TWO)) {\n while (num.mod(TWENTYFOUR).cmp(ELEVEN)) {\n num.iadd(FOUR);\n }\n } else if (!gen.cmp(FIVE)) {\n while (num.mod(TEN).cmp(THREE)) {\n num.iadd(FOUR);\n }\n }\n n2 = num.shrn(1);\n if (simpleSieve(n2) && simpleSieve(num) &&\n fermatTest(n2) && fermatTest(num) &&\n millerRabin.test(n2) && millerRabin.test(num)) {\n return num;\n }\n }\n\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/diffie-hellman/lib/generatePrime.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/diffie-hellman/lib/primes.json": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/diffie-hellman/lib/primes.json ***! - \**************************************************************/ -/*! exports provided: modp1, modp2, modp5, modp14, modp15, modp16, modp17, modp18, default */ -/***/ (function(module) { - -eval("module.exports = JSON.parse(\"{\\\"modp1\\\":{\\\"gen\\\":\\\"02\\\",\\\"prime\\\":\\\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff\\\"},\\\"modp2\\\":{\\\"gen\\\":\\\"02\\\",\\\"prime\\\":\\\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff\\\"},\\\"modp5\\\":{\\\"gen\\\":\\\"02\\\",\\\"prime\\\":\\\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff\\\"},\\\"modp14\\\":{\\\"gen\\\":\\\"02\\\",\\\"prime\\\":\\\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff\\\"},\\\"modp15\\\":{\\\"gen\\\":\\\"02\\\",\\\"prime\\\":\\\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff\\\"},\\\"modp16\\\":{\\\"gen\\\":\\\"02\\\",\\\"prime\\\":\\\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff\\\"},\\\"modp17\\\":{\\\"gen\\\":\\\"02\\\",\\\"prime\\\":\\\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff\\\"},\\\"modp18\\\":{\\\"gen\\\":\\\"02\\\",\\\"prime\\\":\\\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff\\\"}}\");\n\n//# sourceURL=webpack:///./.codedoc/node_modules/diffie-hellman/lib/primes.json?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar elliptic = exports;\n\nelliptic.version = __webpack_require__(/*! ../package.json */ \"./.codedoc/node_modules/elliptic/package.json\").version;\nelliptic.utils = __webpack_require__(/*! ./elliptic/utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nelliptic.rand = __webpack_require__(/*! brorand */ \"./.codedoc/node_modules/brorand/index.js\");\nelliptic.curve = __webpack_require__(/*! ./elliptic/curve */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/index.js\");\nelliptic.curves = __webpack_require__(/*! ./elliptic/curves */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curves.js\");\n\n// Protocols\nelliptic.ec = __webpack_require__(/*! ./elliptic/ec */ \"./.codedoc/node_modules/elliptic/lib/elliptic/ec/index.js\");\nelliptic.eddsa = __webpack_require__(/*! ./elliptic/eddsa */ \"./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/index.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/curve/base.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/curve/base.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar getNAF = utils.getNAF;\nvar getJSF = utils.getJSF;\nvar assert = utils.assert;\n\nfunction BaseCurve(type, conf) {\n this.type = type;\n this.p = new BN(conf.p, 16);\n\n // Use Montgomery, when there is no fast reduction for the prime\n this.red = conf.prime ? BN.red(conf.prime) : BN.mont(this.p);\n\n // Useful for many curves\n this.zero = new BN(0).toRed(this.red);\n this.one = new BN(1).toRed(this.red);\n this.two = new BN(2).toRed(this.red);\n\n // Curve configuration, optional\n this.n = conf.n && new BN(conf.n, 16);\n this.g = conf.g && this.pointFromJSON(conf.g, conf.gRed);\n\n // Temporary arrays\n this._wnafT1 = new Array(4);\n this._wnafT2 = new Array(4);\n this._wnafT3 = new Array(4);\n this._wnafT4 = new Array(4);\n\n this._bitLength = this.n ? this.n.bitLength() : 0;\n\n // Generalized Greg Maxwell's trick\n var adjustCount = this.n && this.p.div(this.n);\n if (!adjustCount || adjustCount.cmpn(100) > 0) {\n this.redN = null;\n } else {\n this._maxwellTrick = true;\n this.redN = this.n.toRed(this.red);\n }\n}\nmodule.exports = BaseCurve;\n\nBaseCurve.prototype.point = function point() {\n throw new Error('Not implemented');\n};\n\nBaseCurve.prototype.validate = function validate() {\n throw new Error('Not implemented');\n};\n\nBaseCurve.prototype._fixedNafMul = function _fixedNafMul(p, k) {\n assert(p.precomputed);\n var doubles = p._getDoubles();\n\n var naf = getNAF(k, 1, this._bitLength);\n var I = (1 << (doubles.step + 1)) - (doubles.step % 2 === 0 ? 2 : 1);\n I /= 3;\n\n // Translate into more windowed form\n var repr = [];\n var j;\n var nafW;\n for (j = 0; j < naf.length; j += doubles.step) {\n nafW = 0;\n for (var l = j + doubles.step - 1; l >= j; l--)\n nafW = (nafW << 1) + naf[l];\n repr.push(nafW);\n }\n\n var a = this.jpoint(null, null, null);\n var b = this.jpoint(null, null, null);\n for (var i = I; i > 0; i--) {\n for (j = 0; j < repr.length; j++) {\n nafW = repr[j];\n if (nafW === i)\n b = b.mixedAdd(doubles.points[j]);\n else if (nafW === -i)\n b = b.mixedAdd(doubles.points[j].neg());\n }\n a = a.add(b);\n }\n return a.toP();\n};\n\nBaseCurve.prototype._wnafMul = function _wnafMul(p, k) {\n var w = 4;\n\n // Precompute window\n var nafPoints = p._getNAFPoints(w);\n w = nafPoints.wnd;\n var wnd = nafPoints.points;\n\n // Get NAF form\n var naf = getNAF(k, w, this._bitLength);\n\n // Add `this`*(N+1) for every w-NAF index\n var acc = this.jpoint(null, null, null);\n for (var i = naf.length - 1; i >= 0; i--) {\n // Count zeroes\n for (var l = 0; i >= 0 && naf[i] === 0; i--)\n l++;\n if (i >= 0)\n l++;\n acc = acc.dblp(l);\n\n if (i < 0)\n break;\n var z = naf[i];\n assert(z !== 0);\n if (p.type === 'affine') {\n // J +- P\n if (z > 0)\n acc = acc.mixedAdd(wnd[(z - 1) >> 1]);\n else\n acc = acc.mixedAdd(wnd[(-z - 1) >> 1].neg());\n } else {\n // J +- J\n if (z > 0)\n acc = acc.add(wnd[(z - 1) >> 1]);\n else\n acc = acc.add(wnd[(-z - 1) >> 1].neg());\n }\n }\n return p.type === 'affine' ? acc.toP() : acc;\n};\n\nBaseCurve.prototype._wnafMulAdd = function _wnafMulAdd(defW,\n points,\n coeffs,\n len,\n jacobianResult) {\n var wndWidth = this._wnafT1;\n var wnd = this._wnafT2;\n var naf = this._wnafT3;\n\n // Fill all arrays\n var max = 0;\n var i;\n var j;\n var p;\n for (i = 0; i < len; i++) {\n p = points[i];\n var nafPoints = p._getNAFPoints(defW);\n wndWidth[i] = nafPoints.wnd;\n wnd[i] = nafPoints.points;\n }\n\n // Comb small window NAFs\n for (i = len - 1; i >= 1; i -= 2) {\n var a = i - 1;\n var b = i;\n if (wndWidth[a] !== 1 || wndWidth[b] !== 1) {\n naf[a] = getNAF(coeffs[a], wndWidth[a], this._bitLength);\n naf[b] = getNAF(coeffs[b], wndWidth[b], this._bitLength);\n max = Math.max(naf[a].length, max);\n max = Math.max(naf[b].length, max);\n continue;\n }\n\n var comb = [\n points[a], /* 1 */\n null, /* 3 */\n null, /* 5 */\n points[b], /* 7 */\n ];\n\n // Try to avoid Projective points, if possible\n if (points[a].y.cmp(points[b].y) === 0) {\n comb[1] = points[a].add(points[b]);\n comb[2] = points[a].toJ().mixedAdd(points[b].neg());\n } else if (points[a].y.cmp(points[b].y.redNeg()) === 0) {\n comb[1] = points[a].toJ().mixedAdd(points[b]);\n comb[2] = points[a].add(points[b].neg());\n } else {\n comb[1] = points[a].toJ().mixedAdd(points[b]);\n comb[2] = points[a].toJ().mixedAdd(points[b].neg());\n }\n\n var index = [\n -3, /* -1 -1 */\n -1, /* -1 0 */\n -5, /* -1 1 */\n -7, /* 0 -1 */\n 0, /* 0 0 */\n 7, /* 0 1 */\n 5, /* 1 -1 */\n 1, /* 1 0 */\n 3, /* 1 1 */\n ];\n\n var jsf = getJSF(coeffs[a], coeffs[b]);\n max = Math.max(jsf[0].length, max);\n naf[a] = new Array(max);\n naf[b] = new Array(max);\n for (j = 0; j < max; j++) {\n var ja = jsf[0][j] | 0;\n var jb = jsf[1][j] | 0;\n\n naf[a][j] = index[(ja + 1) * 3 + (jb + 1)];\n naf[b][j] = 0;\n wnd[a] = comb;\n }\n }\n\n var acc = this.jpoint(null, null, null);\n var tmp = this._wnafT4;\n for (i = max; i >= 0; i--) {\n var k = 0;\n\n while (i >= 0) {\n var zero = true;\n for (j = 0; j < len; j++) {\n tmp[j] = naf[j][i] | 0;\n if (tmp[j] !== 0)\n zero = false;\n }\n if (!zero)\n break;\n k++;\n i--;\n }\n if (i >= 0)\n k++;\n acc = acc.dblp(k);\n if (i < 0)\n break;\n\n for (j = 0; j < len; j++) {\n var z = tmp[j];\n p;\n if (z === 0)\n continue;\n else if (z > 0)\n p = wnd[j][(z - 1) >> 1];\n else if (z < 0)\n p = wnd[j][(-z - 1) >> 1].neg();\n\n if (p.type === 'affine')\n acc = acc.mixedAdd(p);\n else\n acc = acc.add(p);\n }\n }\n // Zeroify references\n for (i = 0; i < len; i++)\n wnd[i] = null;\n\n if (jacobianResult)\n return acc;\n else\n return acc.toP();\n};\n\nfunction BasePoint(curve, type) {\n this.curve = curve;\n this.type = type;\n this.precomputed = null;\n}\nBaseCurve.BasePoint = BasePoint;\n\nBasePoint.prototype.eq = function eq(/*other*/) {\n throw new Error('Not implemented');\n};\n\nBasePoint.prototype.validate = function validate() {\n return this.curve.validate(this);\n};\n\nBaseCurve.prototype.decodePoint = function decodePoint(bytes, enc) {\n bytes = utils.toArray(bytes, enc);\n\n var len = this.p.byteLength();\n\n // uncompressed, hybrid-odd, hybrid-even\n if ((bytes[0] === 0x04 || bytes[0] === 0x06 || bytes[0] === 0x07) &&\n bytes.length - 1 === 2 * len) {\n if (bytes[0] === 0x06)\n assert(bytes[bytes.length - 1] % 2 === 0);\n else if (bytes[0] === 0x07)\n assert(bytes[bytes.length - 1] % 2 === 1);\n\n var res = this.point(bytes.slice(1, 1 + len),\n bytes.slice(1 + len, 1 + 2 * len));\n\n return res;\n } else if ((bytes[0] === 0x02 || bytes[0] === 0x03) &&\n bytes.length - 1 === len) {\n return this.pointFromX(bytes.slice(1, 1 + len), bytes[0] === 0x03);\n }\n throw new Error('Unknown point format');\n};\n\nBasePoint.prototype.encodeCompressed = function encodeCompressed(enc) {\n return this.encode(enc, true);\n};\n\nBasePoint.prototype._encode = function _encode(compact) {\n var len = this.curve.p.byteLength();\n var x = this.getX().toArray('be', len);\n\n if (compact)\n return [ this.getY().isEven() ? 0x02 : 0x03 ].concat(x);\n\n return [ 0x04 ].concat(x, this.getY().toArray('be', len));\n};\n\nBasePoint.prototype.encode = function encode(enc, compact) {\n return utils.encode(this._encode(compact), enc);\n};\n\nBasePoint.prototype.precompute = function precompute(power) {\n if (this.precomputed)\n return this;\n\n var precomputed = {\n doubles: null,\n naf: null,\n beta: null,\n };\n precomputed.naf = this._getNAFPoints(8);\n precomputed.doubles = this._getDoubles(4, power);\n precomputed.beta = this._getBeta();\n this.precomputed = precomputed;\n\n return this;\n};\n\nBasePoint.prototype._hasDoubles = function _hasDoubles(k) {\n if (!this.precomputed)\n return false;\n\n var doubles = this.precomputed.doubles;\n if (!doubles)\n return false;\n\n return doubles.points.length >= Math.ceil((k.bitLength() + 1) / doubles.step);\n};\n\nBasePoint.prototype._getDoubles = function _getDoubles(step, power) {\n if (this.precomputed && this.precomputed.doubles)\n return this.precomputed.doubles;\n\n var doubles = [ this ];\n var acc = this;\n for (var i = 0; i < power; i += step) {\n for (var j = 0; j < step; j++)\n acc = acc.dbl();\n doubles.push(acc);\n }\n return {\n step: step,\n points: doubles,\n };\n};\n\nBasePoint.prototype._getNAFPoints = function _getNAFPoints(wnd) {\n if (this.precomputed && this.precomputed.naf)\n return this.precomputed.naf;\n\n var res = [ this ];\n var max = (1 << wnd) - 1;\n var dbl = max === 1 ? null : this.dbl();\n for (var i = 1; i < max; i++)\n res[i] = res[i - 1].add(dbl);\n return {\n wnd: wnd,\n points: res,\n };\n};\n\nBasePoint.prototype._getBeta = function _getBeta() {\n return null;\n};\n\nBasePoint.prototype.dblp = function dblp(k) {\n var r = this;\n for (var i = 0; i < k; i++)\n r = r.dbl();\n return r;\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/curve/base.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/curve/edwards.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/curve/edwards.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\nvar Base = __webpack_require__(/*! ./base */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/base.js\");\n\nvar assert = utils.assert;\n\nfunction EdwardsCurve(conf) {\n // NOTE: Important as we are creating point in Base.call()\n this.twisted = (conf.a | 0) !== 1;\n this.mOneA = this.twisted && (conf.a | 0) === -1;\n this.extended = this.mOneA;\n\n Base.call(this, 'edwards', conf);\n\n this.a = new BN(conf.a, 16).umod(this.red.m);\n this.a = this.a.toRed(this.red);\n this.c = new BN(conf.c, 16).toRed(this.red);\n this.c2 = this.c.redSqr();\n this.d = new BN(conf.d, 16).toRed(this.red);\n this.dd = this.d.redAdd(this.d);\n\n assert(!this.twisted || this.c.fromRed().cmpn(1) === 0);\n this.oneC = (conf.c | 0) === 1;\n}\ninherits(EdwardsCurve, Base);\nmodule.exports = EdwardsCurve;\n\nEdwardsCurve.prototype._mulA = function _mulA(num) {\n if (this.mOneA)\n return num.redNeg();\n else\n return this.a.redMul(num);\n};\n\nEdwardsCurve.prototype._mulC = function _mulC(num) {\n if (this.oneC)\n return num;\n else\n return this.c.redMul(num);\n};\n\n// Just for compatibility with Short curve\nEdwardsCurve.prototype.jpoint = function jpoint(x, y, z, t) {\n return this.point(x, y, z, t);\n};\n\nEdwardsCurve.prototype.pointFromX = function pointFromX(x, odd) {\n x = new BN(x, 16);\n if (!x.red)\n x = x.toRed(this.red);\n\n var x2 = x.redSqr();\n var rhs = this.c2.redSub(this.a.redMul(x2));\n var lhs = this.one.redSub(this.c2.redMul(this.d).redMul(x2));\n\n var y2 = rhs.redMul(lhs.redInvm());\n var y = y2.redSqrt();\n if (y.redSqr().redSub(y2).cmp(this.zero) !== 0)\n throw new Error('invalid point');\n\n var isOdd = y.fromRed().isOdd();\n if (odd && !isOdd || !odd && isOdd)\n y = y.redNeg();\n\n return this.point(x, y);\n};\n\nEdwardsCurve.prototype.pointFromY = function pointFromY(y, odd) {\n y = new BN(y, 16);\n if (!y.red)\n y = y.toRed(this.red);\n\n // x^2 = (y^2 - c^2) / (c^2 d y^2 - a)\n var y2 = y.redSqr();\n var lhs = y2.redSub(this.c2);\n var rhs = y2.redMul(this.d).redMul(this.c2).redSub(this.a);\n var x2 = lhs.redMul(rhs.redInvm());\n\n if (x2.cmp(this.zero) === 0) {\n if (odd)\n throw new Error('invalid point');\n else\n return this.point(this.zero, y);\n }\n\n var x = x2.redSqrt();\n if (x.redSqr().redSub(x2).cmp(this.zero) !== 0)\n throw new Error('invalid point');\n\n if (x.fromRed().isOdd() !== odd)\n x = x.redNeg();\n\n return this.point(x, y);\n};\n\nEdwardsCurve.prototype.validate = function validate(point) {\n if (point.isInfinity())\n return true;\n\n // Curve: A * X^2 + Y^2 = C^2 * (1 + D * X^2 * Y^2)\n point.normalize();\n\n var x2 = point.x.redSqr();\n var y2 = point.y.redSqr();\n var lhs = x2.redMul(this.a).redAdd(y2);\n var rhs = this.c2.redMul(this.one.redAdd(this.d.redMul(x2).redMul(y2)));\n\n return lhs.cmp(rhs) === 0;\n};\n\nfunction Point(curve, x, y, z, t) {\n Base.BasePoint.call(this, curve, 'projective');\n if (x === null && y === null && z === null) {\n this.x = this.curve.zero;\n this.y = this.curve.one;\n this.z = this.curve.one;\n this.t = this.curve.zero;\n this.zOne = true;\n } else {\n this.x = new BN(x, 16);\n this.y = new BN(y, 16);\n this.z = z ? new BN(z, 16) : this.curve.one;\n this.t = t && new BN(t, 16);\n if (!this.x.red)\n this.x = this.x.toRed(this.curve.red);\n if (!this.y.red)\n this.y = this.y.toRed(this.curve.red);\n if (!this.z.red)\n this.z = this.z.toRed(this.curve.red);\n if (this.t && !this.t.red)\n this.t = this.t.toRed(this.curve.red);\n this.zOne = this.z === this.curve.one;\n\n // Use extended coordinates\n if (this.curve.extended && !this.t) {\n this.t = this.x.redMul(this.y);\n if (!this.zOne)\n this.t = this.t.redMul(this.z.redInvm());\n }\n }\n}\ninherits(Point, Base.BasePoint);\n\nEdwardsCurve.prototype.pointFromJSON = function pointFromJSON(obj) {\n return Point.fromJSON(this, obj);\n};\n\nEdwardsCurve.prototype.point = function point(x, y, z, t) {\n return new Point(this, x, y, z, t);\n};\n\nPoint.fromJSON = function fromJSON(curve, obj) {\n return new Point(curve, obj[0], obj[1], obj[2]);\n};\n\nPoint.prototype.inspect = function inspect() {\n if (this.isInfinity())\n return '';\n return '';\n};\n\nPoint.prototype.isInfinity = function isInfinity() {\n // XXX This code assumes that zero is always zero in red\n return this.x.cmpn(0) === 0 &&\n (this.y.cmp(this.z) === 0 ||\n (this.zOne && this.y.cmp(this.curve.c) === 0));\n};\n\nPoint.prototype._extDbl = function _extDbl() {\n // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html\n // #doubling-dbl-2008-hwcd\n // 4M + 4S\n\n // A = X1^2\n var a = this.x.redSqr();\n // B = Y1^2\n var b = this.y.redSqr();\n // C = 2 * Z1^2\n var c = this.z.redSqr();\n c = c.redIAdd(c);\n // D = a * A\n var d = this.curve._mulA(a);\n // E = (X1 + Y1)^2 - A - B\n var e = this.x.redAdd(this.y).redSqr().redISub(a).redISub(b);\n // G = D + B\n var g = d.redAdd(b);\n // F = G - C\n var f = g.redSub(c);\n // H = D - B\n var h = d.redSub(b);\n // X3 = E * F\n var nx = e.redMul(f);\n // Y3 = G * H\n var ny = g.redMul(h);\n // T3 = E * H\n var nt = e.redMul(h);\n // Z3 = F * G\n var nz = f.redMul(g);\n return this.curve.point(nx, ny, nz, nt);\n};\n\nPoint.prototype._projDbl = function _projDbl() {\n // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html\n // #doubling-dbl-2008-bbjlp\n // #doubling-dbl-2007-bl\n // and others\n // Generally 3M + 4S or 2M + 4S\n\n // B = (X1 + Y1)^2\n var b = this.x.redAdd(this.y).redSqr();\n // C = X1^2\n var c = this.x.redSqr();\n // D = Y1^2\n var d = this.y.redSqr();\n\n var nx;\n var ny;\n var nz;\n var e;\n var h;\n var j;\n if (this.curve.twisted) {\n // E = a * C\n e = this.curve._mulA(c);\n // F = E + D\n var f = e.redAdd(d);\n if (this.zOne) {\n // X3 = (B - C - D) * (F - 2)\n nx = b.redSub(c).redSub(d).redMul(f.redSub(this.curve.two));\n // Y3 = F * (E - D)\n ny = f.redMul(e.redSub(d));\n // Z3 = F^2 - 2 * F\n nz = f.redSqr().redSub(f).redSub(f);\n } else {\n // H = Z1^2\n h = this.z.redSqr();\n // J = F - 2 * H\n j = f.redSub(h).redISub(h);\n // X3 = (B-C-D)*J\n nx = b.redSub(c).redISub(d).redMul(j);\n // Y3 = F * (E - D)\n ny = f.redMul(e.redSub(d));\n // Z3 = F * J\n nz = f.redMul(j);\n }\n } else {\n // E = C + D\n e = c.redAdd(d);\n // H = (c * Z1)^2\n h = this.curve._mulC(this.z).redSqr();\n // J = E - 2 * H\n j = e.redSub(h).redSub(h);\n // X3 = c * (B - E) * J\n nx = this.curve._mulC(b.redISub(e)).redMul(j);\n // Y3 = c * E * (C - D)\n ny = this.curve._mulC(e).redMul(c.redISub(d));\n // Z3 = E * J\n nz = e.redMul(j);\n }\n return this.curve.point(nx, ny, nz);\n};\n\nPoint.prototype.dbl = function dbl() {\n if (this.isInfinity())\n return this;\n\n // Double in extended coordinates\n if (this.curve.extended)\n return this._extDbl();\n else\n return this._projDbl();\n};\n\nPoint.prototype._extAdd = function _extAdd(p) {\n // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html\n // #addition-add-2008-hwcd-3\n // 8M\n\n // A = (Y1 - X1) * (Y2 - X2)\n var a = this.y.redSub(this.x).redMul(p.y.redSub(p.x));\n // B = (Y1 + X1) * (Y2 + X2)\n var b = this.y.redAdd(this.x).redMul(p.y.redAdd(p.x));\n // C = T1 * k * T2\n var c = this.t.redMul(this.curve.dd).redMul(p.t);\n // D = Z1 * 2 * Z2\n var d = this.z.redMul(p.z.redAdd(p.z));\n // E = B - A\n var e = b.redSub(a);\n // F = D - C\n var f = d.redSub(c);\n // G = D + C\n var g = d.redAdd(c);\n // H = B + A\n var h = b.redAdd(a);\n // X3 = E * F\n var nx = e.redMul(f);\n // Y3 = G * H\n var ny = g.redMul(h);\n // T3 = E * H\n var nt = e.redMul(h);\n // Z3 = F * G\n var nz = f.redMul(g);\n return this.curve.point(nx, ny, nz, nt);\n};\n\nPoint.prototype._projAdd = function _projAdd(p) {\n // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html\n // #addition-add-2008-bbjlp\n // #addition-add-2007-bl\n // 10M + 1S\n\n // A = Z1 * Z2\n var a = this.z.redMul(p.z);\n // B = A^2\n var b = a.redSqr();\n // C = X1 * X2\n var c = this.x.redMul(p.x);\n // D = Y1 * Y2\n var d = this.y.redMul(p.y);\n // E = d * C * D\n var e = this.curve.d.redMul(c).redMul(d);\n // F = B - E\n var f = b.redSub(e);\n // G = B + E\n var g = b.redAdd(e);\n // X3 = A * F * ((X1 + Y1) * (X2 + Y2) - C - D)\n var tmp = this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(c).redISub(d);\n var nx = a.redMul(f).redMul(tmp);\n var ny;\n var nz;\n if (this.curve.twisted) {\n // Y3 = A * G * (D - a * C)\n ny = a.redMul(g).redMul(d.redSub(this.curve._mulA(c)));\n // Z3 = F * G\n nz = f.redMul(g);\n } else {\n // Y3 = A * G * (D - C)\n ny = a.redMul(g).redMul(d.redSub(c));\n // Z3 = c * F * G\n nz = this.curve._mulC(f).redMul(g);\n }\n return this.curve.point(nx, ny, nz);\n};\n\nPoint.prototype.add = function add(p) {\n if (this.isInfinity())\n return p;\n if (p.isInfinity())\n return this;\n\n if (this.curve.extended)\n return this._extAdd(p);\n else\n return this._projAdd(p);\n};\n\nPoint.prototype.mul = function mul(k) {\n if (this._hasDoubles(k))\n return this.curve._fixedNafMul(this, k);\n else\n return this.curve._wnafMul(this, k);\n};\n\nPoint.prototype.mulAdd = function mulAdd(k1, p, k2) {\n return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, false);\n};\n\nPoint.prototype.jmulAdd = function jmulAdd(k1, p, k2) {\n return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, true);\n};\n\nPoint.prototype.normalize = function normalize() {\n if (this.zOne)\n return this;\n\n // Normalize coordinates\n var zi = this.z.redInvm();\n this.x = this.x.redMul(zi);\n this.y = this.y.redMul(zi);\n if (this.t)\n this.t = this.t.redMul(zi);\n this.z = this.curve.one;\n this.zOne = true;\n return this;\n};\n\nPoint.prototype.neg = function neg() {\n return this.curve.point(this.x.redNeg(),\n this.y,\n this.z,\n this.t && this.t.redNeg());\n};\n\nPoint.prototype.getX = function getX() {\n this.normalize();\n return this.x.fromRed();\n};\n\nPoint.prototype.getY = function getY() {\n this.normalize();\n return this.y.fromRed();\n};\n\nPoint.prototype.eq = function eq(other) {\n return this === other ||\n this.getX().cmp(other.getX()) === 0 &&\n this.getY().cmp(other.getY()) === 0;\n};\n\nPoint.prototype.eqXToP = function eqXToP(x) {\n var rx = x.toRed(this.curve.red).redMul(this.z);\n if (this.x.cmp(rx) === 0)\n return true;\n\n var xc = x.clone();\n var t = this.curve.redN.redMul(this.z);\n for (;;) {\n xc.iadd(this.curve.n);\n if (xc.cmp(this.curve.p) >= 0)\n return false;\n\n rx.redIAdd(t);\n if (this.x.cmp(rx) === 0)\n return true;\n }\n};\n\n// Compatibility with BaseCurve\nPoint.prototype.toP = Point.prototype.normalize;\nPoint.prototype.mixedAdd = Point.prototype.add;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/curve/edwards.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/curve/index.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/curve/index.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar curve = exports;\n\ncurve.base = __webpack_require__(/*! ./base */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/base.js\");\ncurve.short = __webpack_require__(/*! ./short */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/short.js\");\ncurve.mont = __webpack_require__(/*! ./mont */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/mont.js\");\ncurve.edwards = __webpack_require__(/*! ./edwards */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/edwards.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/curve/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/curve/mont.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/curve/mont.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\nvar Base = __webpack_require__(/*! ./base */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/base.js\");\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\n\nfunction MontCurve(conf) {\n Base.call(this, 'mont', conf);\n\n this.a = new BN(conf.a, 16).toRed(this.red);\n this.b = new BN(conf.b, 16).toRed(this.red);\n this.i4 = new BN(4).toRed(this.red).redInvm();\n this.two = new BN(2).toRed(this.red);\n this.a24 = this.i4.redMul(this.a.redAdd(this.two));\n}\ninherits(MontCurve, Base);\nmodule.exports = MontCurve;\n\nMontCurve.prototype.validate = function validate(point) {\n var x = point.normalize().x;\n var x2 = x.redSqr();\n var rhs = x2.redMul(x).redAdd(x2.redMul(this.a)).redAdd(x);\n var y = rhs.redSqrt();\n\n return y.redSqr().cmp(rhs) === 0;\n};\n\nfunction Point(curve, x, z) {\n Base.BasePoint.call(this, curve, 'projective');\n if (x === null && z === null) {\n this.x = this.curve.one;\n this.z = this.curve.zero;\n } else {\n this.x = new BN(x, 16);\n this.z = new BN(z, 16);\n if (!this.x.red)\n this.x = this.x.toRed(this.curve.red);\n if (!this.z.red)\n this.z = this.z.toRed(this.curve.red);\n }\n}\ninherits(Point, Base.BasePoint);\n\nMontCurve.prototype.decodePoint = function decodePoint(bytes, enc) {\n return this.point(utils.toArray(bytes, enc), 1);\n};\n\nMontCurve.prototype.point = function point(x, z) {\n return new Point(this, x, z);\n};\n\nMontCurve.prototype.pointFromJSON = function pointFromJSON(obj) {\n return Point.fromJSON(this, obj);\n};\n\nPoint.prototype.precompute = function precompute() {\n // No-op\n};\n\nPoint.prototype._encode = function _encode() {\n return this.getX().toArray('be', this.curve.p.byteLength());\n};\n\nPoint.fromJSON = function fromJSON(curve, obj) {\n return new Point(curve, obj[0], obj[1] || curve.one);\n};\n\nPoint.prototype.inspect = function inspect() {\n if (this.isInfinity())\n return '';\n return '';\n};\n\nPoint.prototype.isInfinity = function isInfinity() {\n // XXX This code assumes that zero is always zero in red\n return this.z.cmpn(0) === 0;\n};\n\nPoint.prototype.dbl = function dbl() {\n // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#doubling-dbl-1987-m-3\n // 2M + 2S + 4A\n\n // A = X1 + Z1\n var a = this.x.redAdd(this.z);\n // AA = A^2\n var aa = a.redSqr();\n // B = X1 - Z1\n var b = this.x.redSub(this.z);\n // BB = B^2\n var bb = b.redSqr();\n // C = AA - BB\n var c = aa.redSub(bb);\n // X3 = AA * BB\n var nx = aa.redMul(bb);\n // Z3 = C * (BB + A24 * C)\n var nz = c.redMul(bb.redAdd(this.curve.a24.redMul(c)));\n return this.curve.point(nx, nz);\n};\n\nPoint.prototype.add = function add() {\n throw new Error('Not supported on Montgomery curve');\n};\n\nPoint.prototype.diffAdd = function diffAdd(p, diff) {\n // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#diffadd-dadd-1987-m-3\n // 4M + 2S + 6A\n\n // A = X2 + Z2\n var a = this.x.redAdd(this.z);\n // B = X2 - Z2\n var b = this.x.redSub(this.z);\n // C = X3 + Z3\n var c = p.x.redAdd(p.z);\n // D = X3 - Z3\n var d = p.x.redSub(p.z);\n // DA = D * A\n var da = d.redMul(a);\n // CB = C * B\n var cb = c.redMul(b);\n // X5 = Z1 * (DA + CB)^2\n var nx = diff.z.redMul(da.redAdd(cb).redSqr());\n // Z5 = X1 * (DA - CB)^2\n var nz = diff.x.redMul(da.redISub(cb).redSqr());\n return this.curve.point(nx, nz);\n};\n\nPoint.prototype.mul = function mul(k) {\n var t = k.clone();\n var a = this; // (N / 2) * Q + Q\n var b = this.curve.point(null, null); // (N / 2) * Q\n var c = this; // Q\n\n for (var bits = []; t.cmpn(0) !== 0; t.iushrn(1))\n bits.push(t.andln(1));\n\n for (var i = bits.length - 1; i >= 0; i--) {\n if (bits[i] === 0) {\n // N * Q + Q = ((N / 2) * Q + Q)) + (N / 2) * Q\n a = a.diffAdd(b, c);\n // N * Q = 2 * ((N / 2) * Q + Q))\n b = b.dbl();\n } else {\n // N * Q = ((N / 2) * Q + Q) + ((N / 2) * Q)\n b = a.diffAdd(b, c);\n // N * Q + Q = 2 * ((N / 2) * Q + Q)\n a = a.dbl();\n }\n }\n return b;\n};\n\nPoint.prototype.mulAdd = function mulAdd() {\n throw new Error('Not supported on Montgomery curve');\n};\n\nPoint.prototype.jumlAdd = function jumlAdd() {\n throw new Error('Not supported on Montgomery curve');\n};\n\nPoint.prototype.eq = function eq(other) {\n return this.getX().cmp(other.getX()) === 0;\n};\n\nPoint.prototype.normalize = function normalize() {\n this.x = this.x.redMul(this.z.redInvm());\n this.z = this.curve.one;\n return this;\n};\n\nPoint.prototype.getX = function getX() {\n // Normalize coordinates\n this.normalize();\n\n return this.x.fromRed();\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/curve/mont.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/curve/short.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/curve/short.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\nvar Base = __webpack_require__(/*! ./base */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/base.js\");\n\nvar assert = utils.assert;\n\nfunction ShortCurve(conf) {\n Base.call(this, 'short', conf);\n\n this.a = new BN(conf.a, 16).toRed(this.red);\n this.b = new BN(conf.b, 16).toRed(this.red);\n this.tinv = this.two.redInvm();\n\n this.zeroA = this.a.fromRed().cmpn(0) === 0;\n this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0;\n\n // If the curve is endomorphic, precalculate beta and lambda\n this.endo = this._getEndomorphism(conf);\n this._endoWnafT1 = new Array(4);\n this._endoWnafT2 = new Array(4);\n}\ninherits(ShortCurve, Base);\nmodule.exports = ShortCurve;\n\nShortCurve.prototype._getEndomorphism = function _getEndomorphism(conf) {\n // No efficient endomorphism\n if (!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1)\n return;\n\n // Compute beta and lambda, that lambda * P = (beta * Px; Py)\n var beta;\n var lambda;\n if (conf.beta) {\n beta = new BN(conf.beta, 16).toRed(this.red);\n } else {\n var betas = this._getEndoRoots(this.p);\n // Choose the smallest beta\n beta = betas[0].cmp(betas[1]) < 0 ? betas[0] : betas[1];\n beta = beta.toRed(this.red);\n }\n if (conf.lambda) {\n lambda = new BN(conf.lambda, 16);\n } else {\n // Choose the lambda that is matching selected beta\n var lambdas = this._getEndoRoots(this.n);\n if (this.g.mul(lambdas[0]).x.cmp(this.g.x.redMul(beta)) === 0) {\n lambda = lambdas[0];\n } else {\n lambda = lambdas[1];\n assert(this.g.mul(lambda).x.cmp(this.g.x.redMul(beta)) === 0);\n }\n }\n\n // Get basis vectors, used for balanced length-two representation\n var basis;\n if (conf.basis) {\n basis = conf.basis.map(function(vec) {\n return {\n a: new BN(vec.a, 16),\n b: new BN(vec.b, 16),\n };\n });\n } else {\n basis = this._getEndoBasis(lambda);\n }\n\n return {\n beta: beta,\n lambda: lambda,\n basis: basis,\n };\n};\n\nShortCurve.prototype._getEndoRoots = function _getEndoRoots(num) {\n // Find roots of for x^2 + x + 1 in F\n // Root = (-1 +- Sqrt(-3)) / 2\n //\n var red = num === this.p ? this.red : BN.mont(num);\n var tinv = new BN(2).toRed(red).redInvm();\n var ntinv = tinv.redNeg();\n\n var s = new BN(3).toRed(red).redNeg().redSqrt().redMul(tinv);\n\n var l1 = ntinv.redAdd(s).fromRed();\n var l2 = ntinv.redSub(s).fromRed();\n return [ l1, l2 ];\n};\n\nShortCurve.prototype._getEndoBasis = function _getEndoBasis(lambda) {\n // aprxSqrt >= sqrt(this.n)\n var aprxSqrt = this.n.ushrn(Math.floor(this.n.bitLength() / 2));\n\n // 3.74\n // Run EGCD, until r(L + 1) < aprxSqrt\n var u = lambda;\n var v = this.n.clone();\n var x1 = new BN(1);\n var y1 = new BN(0);\n var x2 = new BN(0);\n var y2 = new BN(1);\n\n // NOTE: all vectors are roots of: a + b * lambda = 0 (mod n)\n var a0;\n var b0;\n // First vector\n var a1;\n var b1;\n // Second vector\n var a2;\n var b2;\n\n var prevR;\n var i = 0;\n var r;\n var x;\n while (u.cmpn(0) !== 0) {\n var q = v.div(u);\n r = v.sub(q.mul(u));\n x = x2.sub(q.mul(x1));\n var y = y2.sub(q.mul(y1));\n\n if (!a1 && r.cmp(aprxSqrt) < 0) {\n a0 = prevR.neg();\n b0 = x1;\n a1 = r.neg();\n b1 = x;\n } else if (a1 && ++i === 2) {\n break;\n }\n prevR = r;\n\n v = u;\n u = r;\n x2 = x1;\n x1 = x;\n y2 = y1;\n y1 = y;\n }\n a2 = r.neg();\n b2 = x;\n\n var len1 = a1.sqr().add(b1.sqr());\n var len2 = a2.sqr().add(b2.sqr());\n if (len2.cmp(len1) >= 0) {\n a2 = a0;\n b2 = b0;\n }\n\n // Normalize signs\n if (a1.negative) {\n a1 = a1.neg();\n b1 = b1.neg();\n }\n if (a2.negative) {\n a2 = a2.neg();\n b2 = b2.neg();\n }\n\n return [\n { a: a1, b: b1 },\n { a: a2, b: b2 },\n ];\n};\n\nShortCurve.prototype._endoSplit = function _endoSplit(k) {\n var basis = this.endo.basis;\n var v1 = basis[0];\n var v2 = basis[1];\n\n var c1 = v2.b.mul(k).divRound(this.n);\n var c2 = v1.b.neg().mul(k).divRound(this.n);\n\n var p1 = c1.mul(v1.a);\n var p2 = c2.mul(v2.a);\n var q1 = c1.mul(v1.b);\n var q2 = c2.mul(v2.b);\n\n // Calculate answer\n var k1 = k.sub(p1).sub(p2);\n var k2 = q1.add(q2).neg();\n return { k1: k1, k2: k2 };\n};\n\nShortCurve.prototype.pointFromX = function pointFromX(x, odd) {\n x = new BN(x, 16);\n if (!x.red)\n x = x.toRed(this.red);\n\n var y2 = x.redSqr().redMul(x).redIAdd(x.redMul(this.a)).redIAdd(this.b);\n var y = y2.redSqrt();\n if (y.redSqr().redSub(y2).cmp(this.zero) !== 0)\n throw new Error('invalid point');\n\n // XXX Is there any way to tell if the number is odd without converting it\n // to non-red form?\n var isOdd = y.fromRed().isOdd();\n if (odd && !isOdd || !odd && isOdd)\n y = y.redNeg();\n\n return this.point(x, y);\n};\n\nShortCurve.prototype.validate = function validate(point) {\n if (point.inf)\n return true;\n\n var x = point.x;\n var y = point.y;\n\n var ax = this.a.redMul(x);\n var rhs = x.redSqr().redMul(x).redIAdd(ax).redIAdd(this.b);\n return y.redSqr().redISub(rhs).cmpn(0) === 0;\n};\n\nShortCurve.prototype._endoWnafMulAdd =\n function _endoWnafMulAdd(points, coeffs, jacobianResult) {\n var npoints = this._endoWnafT1;\n var ncoeffs = this._endoWnafT2;\n for (var i = 0; i < points.length; i++) {\n var split = this._endoSplit(coeffs[i]);\n var p = points[i];\n var beta = p._getBeta();\n\n if (split.k1.negative) {\n split.k1.ineg();\n p = p.neg(true);\n }\n if (split.k2.negative) {\n split.k2.ineg();\n beta = beta.neg(true);\n }\n\n npoints[i * 2] = p;\n npoints[i * 2 + 1] = beta;\n ncoeffs[i * 2] = split.k1;\n ncoeffs[i * 2 + 1] = split.k2;\n }\n var res = this._wnafMulAdd(1, npoints, ncoeffs, i * 2, jacobianResult);\n\n // Clean-up references to points and coefficients\n for (var j = 0; j < i * 2; j++) {\n npoints[j] = null;\n ncoeffs[j] = null;\n }\n return res;\n };\n\nfunction Point(curve, x, y, isRed) {\n Base.BasePoint.call(this, curve, 'affine');\n if (x === null && y === null) {\n this.x = null;\n this.y = null;\n this.inf = true;\n } else {\n this.x = new BN(x, 16);\n this.y = new BN(y, 16);\n // Force redgomery representation when loading from JSON\n if (isRed) {\n this.x.forceRed(this.curve.red);\n this.y.forceRed(this.curve.red);\n }\n if (!this.x.red)\n this.x = this.x.toRed(this.curve.red);\n if (!this.y.red)\n this.y = this.y.toRed(this.curve.red);\n this.inf = false;\n }\n}\ninherits(Point, Base.BasePoint);\n\nShortCurve.prototype.point = function point(x, y, isRed) {\n return new Point(this, x, y, isRed);\n};\n\nShortCurve.prototype.pointFromJSON = function pointFromJSON(obj, red) {\n return Point.fromJSON(this, obj, red);\n};\n\nPoint.prototype._getBeta = function _getBeta() {\n if (!this.curve.endo)\n return;\n\n var pre = this.precomputed;\n if (pre && pre.beta)\n return pre.beta;\n\n var beta = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y);\n if (pre) {\n var curve = this.curve;\n var endoMul = function(p) {\n return curve.point(p.x.redMul(curve.endo.beta), p.y);\n };\n pre.beta = beta;\n beta.precomputed = {\n beta: null,\n naf: pre.naf && {\n wnd: pre.naf.wnd,\n points: pre.naf.points.map(endoMul),\n },\n doubles: pre.doubles && {\n step: pre.doubles.step,\n points: pre.doubles.points.map(endoMul),\n },\n };\n }\n return beta;\n};\n\nPoint.prototype.toJSON = function toJSON() {\n if (!this.precomputed)\n return [ this.x, this.y ];\n\n return [ this.x, this.y, this.precomputed && {\n doubles: this.precomputed.doubles && {\n step: this.precomputed.doubles.step,\n points: this.precomputed.doubles.points.slice(1),\n },\n naf: this.precomputed.naf && {\n wnd: this.precomputed.naf.wnd,\n points: this.precomputed.naf.points.slice(1),\n },\n } ];\n};\n\nPoint.fromJSON = function fromJSON(curve, obj, red) {\n if (typeof obj === 'string')\n obj = JSON.parse(obj);\n var res = curve.point(obj[0], obj[1], red);\n if (!obj[2])\n return res;\n\n function obj2point(obj) {\n return curve.point(obj[0], obj[1], red);\n }\n\n var pre = obj[2];\n res.precomputed = {\n beta: null,\n doubles: pre.doubles && {\n step: pre.doubles.step,\n points: [ res ].concat(pre.doubles.points.map(obj2point)),\n },\n naf: pre.naf && {\n wnd: pre.naf.wnd,\n points: [ res ].concat(pre.naf.points.map(obj2point)),\n },\n };\n return res;\n};\n\nPoint.prototype.inspect = function inspect() {\n if (this.isInfinity())\n return '';\n return '';\n};\n\nPoint.prototype.isInfinity = function isInfinity() {\n return this.inf;\n};\n\nPoint.prototype.add = function add(p) {\n // O + P = P\n if (this.inf)\n return p;\n\n // P + O = P\n if (p.inf)\n return this;\n\n // P + P = 2P\n if (this.eq(p))\n return this.dbl();\n\n // P + (-P) = O\n if (this.neg().eq(p))\n return this.curve.point(null, null);\n\n // P + Q = O\n if (this.x.cmp(p.x) === 0)\n return this.curve.point(null, null);\n\n var c = this.y.redSub(p.y);\n if (c.cmpn(0) !== 0)\n c = c.redMul(this.x.redSub(p.x).redInvm());\n var nx = c.redSqr().redISub(this.x).redISub(p.x);\n var ny = c.redMul(this.x.redSub(nx)).redISub(this.y);\n return this.curve.point(nx, ny);\n};\n\nPoint.prototype.dbl = function dbl() {\n if (this.inf)\n return this;\n\n // 2P = O\n var ys1 = this.y.redAdd(this.y);\n if (ys1.cmpn(0) === 0)\n return this.curve.point(null, null);\n\n var a = this.curve.a;\n\n var x2 = this.x.redSqr();\n var dyinv = ys1.redInvm();\n var c = x2.redAdd(x2).redIAdd(x2).redIAdd(a).redMul(dyinv);\n\n var nx = c.redSqr().redISub(this.x.redAdd(this.x));\n var ny = c.redMul(this.x.redSub(nx)).redISub(this.y);\n return this.curve.point(nx, ny);\n};\n\nPoint.prototype.getX = function getX() {\n return this.x.fromRed();\n};\n\nPoint.prototype.getY = function getY() {\n return this.y.fromRed();\n};\n\nPoint.prototype.mul = function mul(k) {\n k = new BN(k, 16);\n if (this.isInfinity())\n return this;\n else if (this._hasDoubles(k))\n return this.curve._fixedNafMul(this, k);\n else if (this.curve.endo)\n return this.curve._endoWnafMulAdd([ this ], [ k ]);\n else\n return this.curve._wnafMul(this, k);\n};\n\nPoint.prototype.mulAdd = function mulAdd(k1, p2, k2) {\n var points = [ this, p2 ];\n var coeffs = [ k1, k2 ];\n if (this.curve.endo)\n return this.curve._endoWnafMulAdd(points, coeffs);\n else\n return this.curve._wnafMulAdd(1, points, coeffs, 2);\n};\n\nPoint.prototype.jmulAdd = function jmulAdd(k1, p2, k2) {\n var points = [ this, p2 ];\n var coeffs = [ k1, k2 ];\n if (this.curve.endo)\n return this.curve._endoWnafMulAdd(points, coeffs, true);\n else\n return this.curve._wnafMulAdd(1, points, coeffs, 2, true);\n};\n\nPoint.prototype.eq = function eq(p) {\n return this === p ||\n this.inf === p.inf &&\n (this.inf || this.x.cmp(p.x) === 0 && this.y.cmp(p.y) === 0);\n};\n\nPoint.prototype.neg = function neg(_precompute) {\n if (this.inf)\n return this;\n\n var res = this.curve.point(this.x, this.y.redNeg());\n if (_precompute && this.precomputed) {\n var pre = this.precomputed;\n var negate = function(p) {\n return p.neg();\n };\n res.precomputed = {\n naf: pre.naf && {\n wnd: pre.naf.wnd,\n points: pre.naf.points.map(negate),\n },\n doubles: pre.doubles && {\n step: pre.doubles.step,\n points: pre.doubles.points.map(negate),\n },\n };\n }\n return res;\n};\n\nPoint.prototype.toJ = function toJ() {\n if (this.inf)\n return this.curve.jpoint(null, null, null);\n\n var res = this.curve.jpoint(this.x, this.y, this.curve.one);\n return res;\n};\n\nfunction JPoint(curve, x, y, z) {\n Base.BasePoint.call(this, curve, 'jacobian');\n if (x === null && y === null && z === null) {\n this.x = this.curve.one;\n this.y = this.curve.one;\n this.z = new BN(0);\n } else {\n this.x = new BN(x, 16);\n this.y = new BN(y, 16);\n this.z = new BN(z, 16);\n }\n if (!this.x.red)\n this.x = this.x.toRed(this.curve.red);\n if (!this.y.red)\n this.y = this.y.toRed(this.curve.red);\n if (!this.z.red)\n this.z = this.z.toRed(this.curve.red);\n\n this.zOne = this.z === this.curve.one;\n}\ninherits(JPoint, Base.BasePoint);\n\nShortCurve.prototype.jpoint = function jpoint(x, y, z) {\n return new JPoint(this, x, y, z);\n};\n\nJPoint.prototype.toP = function toP() {\n if (this.isInfinity())\n return this.curve.point(null, null);\n\n var zinv = this.z.redInvm();\n var zinv2 = zinv.redSqr();\n var ax = this.x.redMul(zinv2);\n var ay = this.y.redMul(zinv2).redMul(zinv);\n\n return this.curve.point(ax, ay);\n};\n\nJPoint.prototype.neg = function neg() {\n return this.curve.jpoint(this.x, this.y.redNeg(), this.z);\n};\n\nJPoint.prototype.add = function add(p) {\n // O + P = P\n if (this.isInfinity())\n return p;\n\n // P + O = P\n if (p.isInfinity())\n return this;\n\n // 12M + 4S + 7A\n var pz2 = p.z.redSqr();\n var z2 = this.z.redSqr();\n var u1 = this.x.redMul(pz2);\n var u2 = p.x.redMul(z2);\n var s1 = this.y.redMul(pz2.redMul(p.z));\n var s2 = p.y.redMul(z2.redMul(this.z));\n\n var h = u1.redSub(u2);\n var r = s1.redSub(s2);\n if (h.cmpn(0) === 0) {\n if (r.cmpn(0) !== 0)\n return this.curve.jpoint(null, null, null);\n else\n return this.dbl();\n }\n\n var h2 = h.redSqr();\n var h3 = h2.redMul(h);\n var v = u1.redMul(h2);\n\n var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v);\n var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3));\n var nz = this.z.redMul(p.z).redMul(h);\n\n return this.curve.jpoint(nx, ny, nz);\n};\n\nJPoint.prototype.mixedAdd = function mixedAdd(p) {\n // O + P = P\n if (this.isInfinity())\n return p.toJ();\n\n // P + O = P\n if (p.isInfinity())\n return this;\n\n // 8M + 3S + 7A\n var z2 = this.z.redSqr();\n var u1 = this.x;\n var u2 = p.x.redMul(z2);\n var s1 = this.y;\n var s2 = p.y.redMul(z2).redMul(this.z);\n\n var h = u1.redSub(u2);\n var r = s1.redSub(s2);\n if (h.cmpn(0) === 0) {\n if (r.cmpn(0) !== 0)\n return this.curve.jpoint(null, null, null);\n else\n return this.dbl();\n }\n\n var h2 = h.redSqr();\n var h3 = h2.redMul(h);\n var v = u1.redMul(h2);\n\n var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v);\n var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3));\n var nz = this.z.redMul(h);\n\n return this.curve.jpoint(nx, ny, nz);\n};\n\nJPoint.prototype.dblp = function dblp(pow) {\n if (pow === 0)\n return this;\n if (this.isInfinity())\n return this;\n if (!pow)\n return this.dbl();\n\n var i;\n if (this.curve.zeroA || this.curve.threeA) {\n var r = this;\n for (i = 0; i < pow; i++)\n r = r.dbl();\n return r;\n }\n\n // 1M + 2S + 1A + N * (4S + 5M + 8A)\n // N = 1 => 6M + 6S + 9A\n var a = this.curve.a;\n var tinv = this.curve.tinv;\n\n var jx = this.x;\n var jy = this.y;\n var jz = this.z;\n var jz4 = jz.redSqr().redSqr();\n\n // Reuse results\n var jyd = jy.redAdd(jy);\n for (i = 0; i < pow; i++) {\n var jx2 = jx.redSqr();\n var jyd2 = jyd.redSqr();\n var jyd4 = jyd2.redSqr();\n var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4));\n\n var t1 = jx.redMul(jyd2);\n var nx = c.redSqr().redISub(t1.redAdd(t1));\n var t2 = t1.redISub(nx);\n var dny = c.redMul(t2);\n dny = dny.redIAdd(dny).redISub(jyd4);\n var nz = jyd.redMul(jz);\n if (i + 1 < pow)\n jz4 = jz4.redMul(jyd4);\n\n jx = nx;\n jz = nz;\n jyd = dny;\n }\n\n return this.curve.jpoint(jx, jyd.redMul(tinv), jz);\n};\n\nJPoint.prototype.dbl = function dbl() {\n if (this.isInfinity())\n return this;\n\n if (this.curve.zeroA)\n return this._zeroDbl();\n else if (this.curve.threeA)\n return this._threeDbl();\n else\n return this._dbl();\n};\n\nJPoint.prototype._zeroDbl = function _zeroDbl() {\n var nx;\n var ny;\n var nz;\n // Z = 1\n if (this.zOne) {\n // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html\n // #doubling-mdbl-2007-bl\n // 1M + 5S + 14A\n\n // XX = X1^2\n var xx = this.x.redSqr();\n // YY = Y1^2\n var yy = this.y.redSqr();\n // YYYY = YY^2\n var yyyy = yy.redSqr();\n // S = 2 * ((X1 + YY)^2 - XX - YYYY)\n var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy);\n s = s.redIAdd(s);\n // M = 3 * XX + a; a = 0\n var m = xx.redAdd(xx).redIAdd(xx);\n // T = M ^ 2 - 2*S\n var t = m.redSqr().redISub(s).redISub(s);\n\n // 8 * YYYY\n var yyyy8 = yyyy.redIAdd(yyyy);\n yyyy8 = yyyy8.redIAdd(yyyy8);\n yyyy8 = yyyy8.redIAdd(yyyy8);\n\n // X3 = T\n nx = t;\n // Y3 = M * (S - T) - 8 * YYYY\n ny = m.redMul(s.redISub(t)).redISub(yyyy8);\n // Z3 = 2*Y1\n nz = this.y.redAdd(this.y);\n } else {\n // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html\n // #doubling-dbl-2009-l\n // 2M + 5S + 13A\n\n // A = X1^2\n var a = this.x.redSqr();\n // B = Y1^2\n var b = this.y.redSqr();\n // C = B^2\n var c = b.redSqr();\n // D = 2 * ((X1 + B)^2 - A - C)\n var d = this.x.redAdd(b).redSqr().redISub(a).redISub(c);\n d = d.redIAdd(d);\n // E = 3 * A\n var e = a.redAdd(a).redIAdd(a);\n // F = E^2\n var f = e.redSqr();\n\n // 8 * C\n var c8 = c.redIAdd(c);\n c8 = c8.redIAdd(c8);\n c8 = c8.redIAdd(c8);\n\n // X3 = F - 2 * D\n nx = f.redISub(d).redISub(d);\n // Y3 = E * (D - X3) - 8 * C\n ny = e.redMul(d.redISub(nx)).redISub(c8);\n // Z3 = 2 * Y1 * Z1\n nz = this.y.redMul(this.z);\n nz = nz.redIAdd(nz);\n }\n\n return this.curve.jpoint(nx, ny, nz);\n};\n\nJPoint.prototype._threeDbl = function _threeDbl() {\n var nx;\n var ny;\n var nz;\n // Z = 1\n if (this.zOne) {\n // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html\n // #doubling-mdbl-2007-bl\n // 1M + 5S + 15A\n\n // XX = X1^2\n var xx = this.x.redSqr();\n // YY = Y1^2\n var yy = this.y.redSqr();\n // YYYY = YY^2\n var yyyy = yy.redSqr();\n // S = 2 * ((X1 + YY)^2 - XX - YYYY)\n var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy);\n s = s.redIAdd(s);\n // M = 3 * XX + a\n var m = xx.redAdd(xx).redIAdd(xx).redIAdd(this.curve.a);\n // T = M^2 - 2 * S\n var t = m.redSqr().redISub(s).redISub(s);\n // X3 = T\n nx = t;\n // Y3 = M * (S - T) - 8 * YYYY\n var yyyy8 = yyyy.redIAdd(yyyy);\n yyyy8 = yyyy8.redIAdd(yyyy8);\n yyyy8 = yyyy8.redIAdd(yyyy8);\n ny = m.redMul(s.redISub(t)).redISub(yyyy8);\n // Z3 = 2 * Y1\n nz = this.y.redAdd(this.y);\n } else {\n // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b\n // 3M + 5S\n\n // delta = Z1^2\n var delta = this.z.redSqr();\n // gamma = Y1^2\n var gamma = this.y.redSqr();\n // beta = X1 * gamma\n var beta = this.x.redMul(gamma);\n // alpha = 3 * (X1 - delta) * (X1 + delta)\n var alpha = this.x.redSub(delta).redMul(this.x.redAdd(delta));\n alpha = alpha.redAdd(alpha).redIAdd(alpha);\n // X3 = alpha^2 - 8 * beta\n var beta4 = beta.redIAdd(beta);\n beta4 = beta4.redIAdd(beta4);\n var beta8 = beta4.redAdd(beta4);\n nx = alpha.redSqr().redISub(beta8);\n // Z3 = (Y1 + Z1)^2 - gamma - delta\n nz = this.y.redAdd(this.z).redSqr().redISub(gamma).redISub(delta);\n // Y3 = alpha * (4 * beta - X3) - 8 * gamma^2\n var ggamma8 = gamma.redSqr();\n ggamma8 = ggamma8.redIAdd(ggamma8);\n ggamma8 = ggamma8.redIAdd(ggamma8);\n ggamma8 = ggamma8.redIAdd(ggamma8);\n ny = alpha.redMul(beta4.redISub(nx)).redISub(ggamma8);\n }\n\n return this.curve.jpoint(nx, ny, nz);\n};\n\nJPoint.prototype._dbl = function _dbl() {\n var a = this.curve.a;\n\n // 4M + 6S + 10A\n var jx = this.x;\n var jy = this.y;\n var jz = this.z;\n var jz4 = jz.redSqr().redSqr();\n\n var jx2 = jx.redSqr();\n var jy2 = jy.redSqr();\n\n var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4));\n\n var jxd4 = jx.redAdd(jx);\n jxd4 = jxd4.redIAdd(jxd4);\n var t1 = jxd4.redMul(jy2);\n var nx = c.redSqr().redISub(t1.redAdd(t1));\n var t2 = t1.redISub(nx);\n\n var jyd8 = jy2.redSqr();\n jyd8 = jyd8.redIAdd(jyd8);\n jyd8 = jyd8.redIAdd(jyd8);\n jyd8 = jyd8.redIAdd(jyd8);\n var ny = c.redMul(t2).redISub(jyd8);\n var nz = jy.redAdd(jy).redMul(jz);\n\n return this.curve.jpoint(nx, ny, nz);\n};\n\nJPoint.prototype.trpl = function trpl() {\n if (!this.curve.zeroA)\n return this.dbl().add(this);\n\n // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#tripling-tpl-2007-bl\n // 5M + 10S + ...\n\n // XX = X1^2\n var xx = this.x.redSqr();\n // YY = Y1^2\n var yy = this.y.redSqr();\n // ZZ = Z1^2\n var zz = this.z.redSqr();\n // YYYY = YY^2\n var yyyy = yy.redSqr();\n // M = 3 * XX + a * ZZ2; a = 0\n var m = xx.redAdd(xx).redIAdd(xx);\n // MM = M^2\n var mm = m.redSqr();\n // E = 6 * ((X1 + YY)^2 - XX - YYYY) - MM\n var e = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy);\n e = e.redIAdd(e);\n e = e.redAdd(e).redIAdd(e);\n e = e.redISub(mm);\n // EE = E^2\n var ee = e.redSqr();\n // T = 16*YYYY\n var t = yyyy.redIAdd(yyyy);\n t = t.redIAdd(t);\n t = t.redIAdd(t);\n t = t.redIAdd(t);\n // U = (M + E)^2 - MM - EE - T\n var u = m.redIAdd(e).redSqr().redISub(mm).redISub(ee).redISub(t);\n // X3 = 4 * (X1 * EE - 4 * YY * U)\n var yyu4 = yy.redMul(u);\n yyu4 = yyu4.redIAdd(yyu4);\n yyu4 = yyu4.redIAdd(yyu4);\n var nx = this.x.redMul(ee).redISub(yyu4);\n nx = nx.redIAdd(nx);\n nx = nx.redIAdd(nx);\n // Y3 = 8 * Y1 * (U * (T - U) - E * EE)\n var ny = this.y.redMul(u.redMul(t.redISub(u)).redISub(e.redMul(ee)));\n ny = ny.redIAdd(ny);\n ny = ny.redIAdd(ny);\n ny = ny.redIAdd(ny);\n // Z3 = (Z1 + E)^2 - ZZ - EE\n var nz = this.z.redAdd(e).redSqr().redISub(zz).redISub(ee);\n\n return this.curve.jpoint(nx, ny, nz);\n};\n\nJPoint.prototype.mul = function mul(k, kbase) {\n k = new BN(k, kbase);\n\n return this.curve._wnafMul(this, k);\n};\n\nJPoint.prototype.eq = function eq(p) {\n if (p.type === 'affine')\n return this.eq(p.toJ());\n\n if (this === p)\n return true;\n\n // x1 * z2^2 == x2 * z1^2\n var z2 = this.z.redSqr();\n var pz2 = p.z.redSqr();\n if (this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0) !== 0)\n return false;\n\n // y1 * z2^3 == y2 * z1^3\n var z3 = z2.redMul(this.z);\n var pz3 = pz2.redMul(p.z);\n return this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0) === 0;\n};\n\nJPoint.prototype.eqXToP = function eqXToP(x) {\n var zs = this.z.redSqr();\n var rx = x.toRed(this.curve.red).redMul(zs);\n if (this.x.cmp(rx) === 0)\n return true;\n\n var xc = x.clone();\n var t = this.curve.redN.redMul(zs);\n for (;;) {\n xc.iadd(this.curve.n);\n if (xc.cmp(this.curve.p) >= 0)\n return false;\n\n rx.redIAdd(t);\n if (this.x.cmp(rx) === 0)\n return true;\n }\n};\n\nJPoint.prototype.inspect = function inspect() {\n if (this.isInfinity())\n return '';\n return '';\n};\n\nJPoint.prototype.isInfinity = function isInfinity() {\n // XXX This code assumes that zero is always zero in red\n return this.z.cmpn(0) === 0;\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/curve/short.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/curves.js": -/*!***************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/curves.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar curves = exports;\n\nvar hash = __webpack_require__(/*! hash.js */ \"./.codedoc/node_modules/hash.js/lib/hash.js\");\nvar curve = __webpack_require__(/*! ./curve */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curve/index.js\");\nvar utils = __webpack_require__(/*! ./utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\n\nvar assert = utils.assert;\n\nfunction PresetCurve(options) {\n if (options.type === 'short')\n this.curve = new curve.short(options);\n else if (options.type === 'edwards')\n this.curve = new curve.edwards(options);\n else\n this.curve = new curve.mont(options);\n this.g = this.curve.g;\n this.n = this.curve.n;\n this.hash = options.hash;\n\n assert(this.g.validate(), 'Invalid curve');\n assert(this.g.mul(this.n).isInfinity(), 'Invalid curve, G*N != O');\n}\ncurves.PresetCurve = PresetCurve;\n\nfunction defineCurve(name, options) {\n Object.defineProperty(curves, name, {\n configurable: true,\n enumerable: true,\n get: function() {\n var curve = new PresetCurve(options);\n Object.defineProperty(curves, name, {\n configurable: true,\n enumerable: true,\n value: curve,\n });\n return curve;\n },\n });\n}\n\ndefineCurve('p192', {\n type: 'short',\n prime: 'p192',\n p: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff',\n a: 'ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc',\n b: '64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1',\n n: 'ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831',\n hash: hash.sha256,\n gRed: false,\n g: [\n '188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012',\n '07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811',\n ],\n});\n\ndefineCurve('p224', {\n type: 'short',\n prime: 'p224',\n p: 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001',\n a: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe',\n b: 'b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4',\n n: 'ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d',\n hash: hash.sha256,\n gRed: false,\n g: [\n 'b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21',\n 'bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34',\n ],\n});\n\ndefineCurve('p256', {\n type: 'short',\n prime: null,\n p: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff',\n a: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc',\n b: '5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b',\n n: 'ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551',\n hash: hash.sha256,\n gRed: false,\n g: [\n '6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296',\n '4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5',\n ],\n});\n\ndefineCurve('p384', {\n type: 'short',\n prime: null,\n p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' +\n 'fffffffe ffffffff 00000000 00000000 ffffffff',\n a: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' +\n 'fffffffe ffffffff 00000000 00000000 fffffffc',\n b: 'b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f ' +\n '5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef',\n n: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 ' +\n 'f4372ddf 581a0db2 48b0a77a ecec196a ccc52973',\n hash: hash.sha384,\n gRed: false,\n g: [\n 'aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 ' +\n '5502f25d bf55296c 3a545e38 72760ab7',\n '3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 ' +\n '0a60b1ce 1d7e819d 7a431d7c 90ea0e5f',\n ],\n});\n\ndefineCurve('p521', {\n type: 'short',\n prime: null,\n p: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' +\n 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' +\n 'ffffffff ffffffff ffffffff ffffffff ffffffff',\n a: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' +\n 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' +\n 'ffffffff ffffffff ffffffff ffffffff fffffffc',\n b: '00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b ' +\n '99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd ' +\n '3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00',\n n: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' +\n 'ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 ' +\n 'f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409',\n hash: hash.sha512,\n gRed: false,\n g: [\n '000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 ' +\n '053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 ' +\n 'a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66',\n '00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 ' +\n '579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 ' +\n '3fad0761 353c7086 a272c240 88be9476 9fd16650',\n ],\n});\n\ndefineCurve('curve25519', {\n type: 'mont',\n prime: 'p25519',\n p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed',\n a: '76d06',\n b: '1',\n n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed',\n hash: hash.sha256,\n gRed: false,\n g: [\n '9',\n ],\n});\n\ndefineCurve('ed25519', {\n type: 'edwards',\n prime: 'p25519',\n p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed',\n a: '-1',\n c: '1',\n // -121665 * (121666^(-1)) (mod P)\n d: '52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3',\n n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed',\n hash: hash.sha256,\n gRed: false,\n g: [\n '216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a',\n\n // 4/5\n '6666666666666666666666666666666666666666666666666666666666666658',\n ],\n});\n\nvar pre;\ntry {\n pre = __webpack_require__(/*! ./precomputed/secp256k1 */ \"./.codedoc/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js\");\n} catch (e) {\n pre = undefined;\n}\n\ndefineCurve('secp256k1', {\n type: 'short',\n prime: 'k256',\n p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f',\n a: '0',\n b: '7',\n n: 'ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141',\n h: '1',\n hash: hash.sha256,\n\n // Precomputed endomorphism\n beta: '7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee',\n lambda: '5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72',\n basis: [\n {\n a: '3086d221a7d46bcde86c90e49284eb15',\n b: '-e4437ed6010e88286f547fa90abfe4c3',\n },\n {\n a: '114ca50f7a8e2f3f657c1108d9d44cfd8',\n b: '3086d221a7d46bcde86c90e49284eb15',\n },\n ],\n\n gRed: false,\n g: [\n '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798',\n '483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8',\n pre,\n ],\n});\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/curves.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/ec/index.js": -/*!*****************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/ec/index.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar HmacDRBG = __webpack_require__(/*! hmac-drbg */ \"./.codedoc/node_modules/hmac-drbg/lib/hmac-drbg.js\");\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar curves = __webpack_require__(/*! ../curves */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curves.js\");\nvar rand = __webpack_require__(/*! brorand */ \"./.codedoc/node_modules/brorand/index.js\");\nvar assert = utils.assert;\n\nvar KeyPair = __webpack_require__(/*! ./key */ \"./.codedoc/node_modules/elliptic/lib/elliptic/ec/key.js\");\nvar Signature = __webpack_require__(/*! ./signature */ \"./.codedoc/node_modules/elliptic/lib/elliptic/ec/signature.js\");\n\nfunction EC(options) {\n if (!(this instanceof EC))\n return new EC(options);\n\n // Shortcut `elliptic.ec(curve-name)`\n if (typeof options === 'string') {\n assert(Object.prototype.hasOwnProperty.call(curves, options),\n 'Unknown curve ' + options);\n\n options = curves[options];\n }\n\n // Shortcut for `elliptic.ec(elliptic.curves.curveName)`\n if (options instanceof curves.PresetCurve)\n options = { curve: options };\n\n this.curve = options.curve.curve;\n this.n = this.curve.n;\n this.nh = this.n.ushrn(1);\n this.g = this.curve.g;\n\n // Point on curve\n this.g = options.curve.g;\n this.g.precompute(options.curve.n.bitLength() + 1);\n\n // Hash for function for DRBG\n this.hash = options.hash || options.curve.hash;\n}\nmodule.exports = EC;\n\nEC.prototype.keyPair = function keyPair(options) {\n return new KeyPair(this, options);\n};\n\nEC.prototype.keyFromPrivate = function keyFromPrivate(priv, enc) {\n return KeyPair.fromPrivate(this, priv, enc);\n};\n\nEC.prototype.keyFromPublic = function keyFromPublic(pub, enc) {\n return KeyPair.fromPublic(this, pub, enc);\n};\n\nEC.prototype.genKeyPair = function genKeyPair(options) {\n if (!options)\n options = {};\n\n // Instantiate Hmac_DRBG\n var drbg = new HmacDRBG({\n hash: this.hash,\n pers: options.pers,\n persEnc: options.persEnc || 'utf8',\n entropy: options.entropy || rand(this.hash.hmacStrength),\n entropyEnc: options.entropy && options.entropyEnc || 'utf8',\n nonce: this.n.toArray(),\n });\n\n var bytes = this.n.byteLength();\n var ns2 = this.n.sub(new BN(2));\n for (;;) {\n var priv = new BN(drbg.generate(bytes));\n if (priv.cmp(ns2) > 0)\n continue;\n\n priv.iaddn(1);\n return this.keyFromPrivate(priv);\n }\n};\n\nEC.prototype._truncateToN = function _truncateToN(msg, truncOnly) {\n var delta = msg.byteLength() * 8 - this.n.bitLength();\n if (delta > 0)\n msg = msg.ushrn(delta);\n if (!truncOnly && msg.cmp(this.n) >= 0)\n return msg.sub(this.n);\n else\n return msg;\n};\n\nEC.prototype.sign = function sign(msg, key, enc, options) {\n if (typeof enc === 'object') {\n options = enc;\n enc = null;\n }\n if (!options)\n options = {};\n\n key = this.keyFromPrivate(key, enc);\n msg = this._truncateToN(new BN(msg, 16));\n\n // Zero-extend key to provide enough entropy\n var bytes = this.n.byteLength();\n var bkey = key.getPrivate().toArray('be', bytes);\n\n // Zero-extend nonce to have the same byte size as N\n var nonce = msg.toArray('be', bytes);\n\n // Instantiate Hmac_DRBG\n var drbg = new HmacDRBG({\n hash: this.hash,\n entropy: bkey,\n nonce: nonce,\n pers: options.pers,\n persEnc: options.persEnc || 'utf8',\n });\n\n // Number of bytes to generate\n var ns1 = this.n.sub(new BN(1));\n\n for (var iter = 0; ; iter++) {\n var k = options.k ?\n options.k(iter) :\n new BN(drbg.generate(this.n.byteLength()));\n k = this._truncateToN(k, true);\n if (k.cmpn(1) <= 0 || k.cmp(ns1) >= 0)\n continue;\n\n var kp = this.g.mul(k);\n if (kp.isInfinity())\n continue;\n\n var kpX = kp.getX();\n var r = kpX.umod(this.n);\n if (r.cmpn(0) === 0)\n continue;\n\n var s = k.invm(this.n).mul(r.mul(key.getPrivate()).iadd(msg));\n s = s.umod(this.n);\n if (s.cmpn(0) === 0)\n continue;\n\n var recoveryParam = (kp.getY().isOdd() ? 1 : 0) |\n (kpX.cmp(r) !== 0 ? 2 : 0);\n\n // Use complement of `s`, if it is > `n / 2`\n if (options.canonical && s.cmp(this.nh) > 0) {\n s = this.n.sub(s);\n recoveryParam ^= 1;\n }\n\n return new Signature({ r: r, s: s, recoveryParam: recoveryParam });\n }\n};\n\nEC.prototype.verify = function verify(msg, signature, key, enc) {\n msg = this._truncateToN(new BN(msg, 16));\n key = this.keyFromPublic(key, enc);\n signature = new Signature(signature, 'hex');\n\n // Perform primitive values validation\n var r = signature.r;\n var s = signature.s;\n if (r.cmpn(1) < 0 || r.cmp(this.n) >= 0)\n return false;\n if (s.cmpn(1) < 0 || s.cmp(this.n) >= 0)\n return false;\n\n // Validate signature\n var sinv = s.invm(this.n);\n var u1 = sinv.mul(msg).umod(this.n);\n var u2 = sinv.mul(r).umod(this.n);\n var p;\n\n if (!this.curve._maxwellTrick) {\n p = this.g.mulAdd(u1, key.getPublic(), u2);\n if (p.isInfinity())\n return false;\n\n return p.getX().umod(this.n).cmp(r) === 0;\n }\n\n // NOTE: Greg Maxwell's trick, inspired by:\n // https://git.io/vad3K\n\n p = this.g.jmulAdd(u1, key.getPublic(), u2);\n if (p.isInfinity())\n return false;\n\n // Compare `p.x` of Jacobian point with `r`,\n // this will do `p.x == r * p.z^2` instead of multiplying `p.x` by the\n // inverse of `p.z^2`\n return p.eqXToP(r);\n};\n\nEC.prototype.recoverPubKey = function(msg, signature, j, enc) {\n assert((3 & j) === j, 'The recovery param is more than two bits');\n signature = new Signature(signature, enc);\n\n var n = this.n;\n var e = new BN(msg);\n var r = signature.r;\n var s = signature.s;\n\n // A set LSB signifies that the y-coordinate is odd\n var isYOdd = j & 1;\n var isSecondKey = j >> 1;\n if (r.cmp(this.curve.p.umod(this.curve.n)) >= 0 && isSecondKey)\n throw new Error('Unable to find sencond key candinate');\n\n // 1.1. Let x = r + jn.\n if (isSecondKey)\n r = this.curve.pointFromX(r.add(this.curve.n), isYOdd);\n else\n r = this.curve.pointFromX(r, isYOdd);\n\n var rInv = signature.r.invm(n);\n var s1 = n.sub(e).mul(rInv).umod(n);\n var s2 = s.mul(rInv).umod(n);\n\n // 1.6.1 Compute Q = r^-1 (sR - eG)\n // Q = r^-1 (sR + -eG)\n return this.g.mulAdd(s1, r, s2);\n};\n\nEC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) {\n signature = new Signature(signature, enc);\n if (signature.recoveryParam !== null)\n return signature.recoveryParam;\n\n for (var i = 0; i < 4; i++) {\n var Qprime;\n try {\n Qprime = this.recoverPubKey(e, signature, i);\n } catch (e) {\n continue;\n }\n\n if (Qprime.eq(Q))\n return i;\n }\n throw new Error('Unable to find valid recovery factor');\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/ec/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/ec/key.js": -/*!***************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/ec/key.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar assert = utils.assert;\n\nfunction KeyPair(ec, options) {\n this.ec = ec;\n this.priv = null;\n this.pub = null;\n\n // KeyPair(ec, { priv: ..., pub: ... })\n if (options.priv)\n this._importPrivate(options.priv, options.privEnc);\n if (options.pub)\n this._importPublic(options.pub, options.pubEnc);\n}\nmodule.exports = KeyPair;\n\nKeyPair.fromPublic = function fromPublic(ec, pub, enc) {\n if (pub instanceof KeyPair)\n return pub;\n\n return new KeyPair(ec, {\n pub: pub,\n pubEnc: enc,\n });\n};\n\nKeyPair.fromPrivate = function fromPrivate(ec, priv, enc) {\n if (priv instanceof KeyPair)\n return priv;\n\n return new KeyPair(ec, {\n priv: priv,\n privEnc: enc,\n });\n};\n\nKeyPair.prototype.validate = function validate() {\n var pub = this.getPublic();\n\n if (pub.isInfinity())\n return { result: false, reason: 'Invalid public key' };\n if (!pub.validate())\n return { result: false, reason: 'Public key is not a point' };\n if (!pub.mul(this.ec.curve.n).isInfinity())\n return { result: false, reason: 'Public key * N != O' };\n\n return { result: true, reason: null };\n};\n\nKeyPair.prototype.getPublic = function getPublic(compact, enc) {\n // compact is optional argument\n if (typeof compact === 'string') {\n enc = compact;\n compact = null;\n }\n\n if (!this.pub)\n this.pub = this.ec.g.mul(this.priv);\n\n if (!enc)\n return this.pub;\n\n return this.pub.encode(enc, compact);\n};\n\nKeyPair.prototype.getPrivate = function getPrivate(enc) {\n if (enc === 'hex')\n return this.priv.toString(16, 2);\n else\n return this.priv;\n};\n\nKeyPair.prototype._importPrivate = function _importPrivate(key, enc) {\n this.priv = new BN(key, enc || 16);\n\n // Ensure that the priv won't be bigger than n, otherwise we may fail\n // in fixed multiplication method\n this.priv = this.priv.umod(this.ec.curve.n);\n};\n\nKeyPair.prototype._importPublic = function _importPublic(key, enc) {\n if (key.x || key.y) {\n // Montgomery points only have an `x` coordinate.\n // Weierstrass/Edwards points on the other hand have both `x` and\n // `y` coordinates.\n if (this.ec.curve.type === 'mont') {\n assert(key.x, 'Need x coordinate');\n } else if (this.ec.curve.type === 'short' ||\n this.ec.curve.type === 'edwards') {\n assert(key.x && key.y, 'Need both x and y coordinate');\n }\n this.pub = this.ec.curve.point(key.x, key.y);\n return;\n }\n this.pub = this.ec.curve.decodePoint(key, enc);\n};\n\n// ECDH\nKeyPair.prototype.derive = function derive(pub) {\n if(!pub.validate()) {\n assert(pub.validate(), 'public point not validated');\n }\n return pub.mul(this.priv).getX();\n};\n\n// ECDSA\nKeyPair.prototype.sign = function sign(msg, enc, options) {\n return this.ec.sign(msg, this, enc, options);\n};\n\nKeyPair.prototype.verify = function verify(msg, signature) {\n return this.ec.verify(msg, signature, this);\n};\n\nKeyPair.prototype.inspect = function inspect() {\n return '';\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/ec/key.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/ec/signature.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/ec/signature.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar assert = utils.assert;\n\nfunction Signature(options, enc) {\n if (options instanceof Signature)\n return options;\n\n if (this._importDER(options, enc))\n return;\n\n assert(options.r && options.s, 'Signature without r or s');\n this.r = new BN(options.r, 16);\n this.s = new BN(options.s, 16);\n if (options.recoveryParam === undefined)\n this.recoveryParam = null;\n else\n this.recoveryParam = options.recoveryParam;\n}\nmodule.exports = Signature;\n\nfunction Position() {\n this.place = 0;\n}\n\nfunction getLength(buf, p) {\n var initial = buf[p.place++];\n if (!(initial & 0x80)) {\n return initial;\n }\n var octetLen = initial & 0xf;\n\n // Indefinite length or overflow\n if (octetLen === 0 || octetLen > 4) {\n return false;\n }\n\n var val = 0;\n for (var i = 0, off = p.place; i < octetLen; i++, off++) {\n val <<= 8;\n val |= buf[off];\n val >>>= 0;\n }\n\n // Leading zeroes\n if (val <= 0x7f) {\n return false;\n }\n\n p.place = off;\n return val;\n}\n\nfunction rmPadding(buf) {\n var i = 0;\n var len = buf.length - 1;\n while (!buf[i] && !(buf[i + 1] & 0x80) && i < len) {\n i++;\n }\n if (i === 0) {\n return buf;\n }\n return buf.slice(i);\n}\n\nSignature.prototype._importDER = function _importDER(data, enc) {\n data = utils.toArray(data, enc);\n var p = new Position();\n if (data[p.place++] !== 0x30) {\n return false;\n }\n var len = getLength(data, p);\n if (len === false) {\n return false;\n }\n if ((len + p.place) !== data.length) {\n return false;\n }\n if (data[p.place++] !== 0x02) {\n return false;\n }\n var rlen = getLength(data, p);\n if (rlen === false) {\n return false;\n }\n var r = data.slice(p.place, rlen + p.place);\n p.place += rlen;\n if (data[p.place++] !== 0x02) {\n return false;\n }\n var slen = getLength(data, p);\n if (slen === false) {\n return false;\n }\n if (data.length !== slen + p.place) {\n return false;\n }\n var s = data.slice(p.place, slen + p.place);\n if (r[0] === 0) {\n if (r[1] & 0x80) {\n r = r.slice(1);\n } else {\n // Leading zeroes\n return false;\n }\n }\n if (s[0] === 0) {\n if (s[1] & 0x80) {\n s = s.slice(1);\n } else {\n // Leading zeroes\n return false;\n }\n }\n\n this.r = new BN(r);\n this.s = new BN(s);\n this.recoveryParam = null;\n\n return true;\n};\n\nfunction constructLength(arr, len) {\n if (len < 0x80) {\n arr.push(len);\n return;\n }\n var octets = 1 + (Math.log(len) / Math.LN2 >>> 3);\n arr.push(octets | 0x80);\n while (--octets) {\n arr.push((len >>> (octets << 3)) & 0xff);\n }\n arr.push(len);\n}\n\nSignature.prototype.toDER = function toDER(enc) {\n var r = this.r.toArray();\n var s = this.s.toArray();\n\n // Pad values\n if (r[0] & 0x80)\n r = [ 0 ].concat(r);\n // Pad values\n if (s[0] & 0x80)\n s = [ 0 ].concat(s);\n\n r = rmPadding(r);\n s = rmPadding(s);\n\n while (!s[0] && !(s[1] & 0x80)) {\n s = s.slice(1);\n }\n var arr = [ 0x02 ];\n constructLength(arr, r.length);\n arr = arr.concat(r);\n arr.push(0x02);\n constructLength(arr, s.length);\n var backHalf = arr.concat(s);\n var res = [ 0x30 ];\n constructLength(res, backHalf.length);\n res = res.concat(backHalf);\n return utils.encode(res, enc);\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/ec/signature.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/index.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/index.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar hash = __webpack_require__(/*! hash.js */ \"./.codedoc/node_modules/hash.js/lib/hash.js\");\nvar curves = __webpack_require__(/*! ../curves */ \"./.codedoc/node_modules/elliptic/lib/elliptic/curves.js\");\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar assert = utils.assert;\nvar parseBytes = utils.parseBytes;\nvar KeyPair = __webpack_require__(/*! ./key */ \"./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/key.js\");\nvar Signature = __webpack_require__(/*! ./signature */ \"./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/signature.js\");\n\nfunction EDDSA(curve) {\n assert(curve === 'ed25519', 'only tested with ed25519 so far');\n\n if (!(this instanceof EDDSA))\n return new EDDSA(curve);\n\n curve = curves[curve].curve;\n this.curve = curve;\n this.g = curve.g;\n this.g.precompute(curve.n.bitLength() + 1);\n\n this.pointClass = curve.point().constructor;\n this.encodingLength = Math.ceil(curve.n.bitLength() / 8);\n this.hash = hash.sha512;\n}\n\nmodule.exports = EDDSA;\n\n/**\n* @param {Array|String} message - message bytes\n* @param {Array|String|KeyPair} secret - secret bytes or a keypair\n* @returns {Signature} - signature\n*/\nEDDSA.prototype.sign = function sign(message, secret) {\n message = parseBytes(message);\n var key = this.keyFromSecret(secret);\n var r = this.hashInt(key.messagePrefix(), message);\n var R = this.g.mul(r);\n var Rencoded = this.encodePoint(R);\n var s_ = this.hashInt(Rencoded, key.pubBytes(), message)\n .mul(key.priv());\n var S = r.add(s_).umod(this.curve.n);\n return this.makeSignature({ R: R, S: S, Rencoded: Rencoded });\n};\n\n/**\n* @param {Array} message - message bytes\n* @param {Array|String|Signature} sig - sig bytes\n* @param {Array|String|Point|KeyPair} pub - public key\n* @returns {Boolean} - true if public key matches sig of message\n*/\nEDDSA.prototype.verify = function verify(message, sig, pub) {\n message = parseBytes(message);\n sig = this.makeSignature(sig);\n var key = this.keyFromPublic(pub);\n var h = this.hashInt(sig.Rencoded(), key.pubBytes(), message);\n var SG = this.g.mul(sig.S());\n var RplusAh = sig.R().add(key.pub().mul(h));\n return RplusAh.eq(SG);\n};\n\nEDDSA.prototype.hashInt = function hashInt() {\n var hash = this.hash();\n for (var i = 0; i < arguments.length; i++)\n hash.update(arguments[i]);\n return utils.intFromLE(hash.digest()).umod(this.curve.n);\n};\n\nEDDSA.prototype.keyFromPublic = function keyFromPublic(pub) {\n return KeyPair.fromPublic(this, pub);\n};\n\nEDDSA.prototype.keyFromSecret = function keyFromSecret(secret) {\n return KeyPair.fromSecret(this, secret);\n};\n\nEDDSA.prototype.makeSignature = function makeSignature(sig) {\n if (sig instanceof Signature)\n return sig;\n return new Signature(this, sig);\n};\n\n/**\n* * https://tools.ietf.org/html/draft-josefsson-eddsa-ed25519-03#section-5.2\n*\n* EDDSA defines methods for encoding and decoding points and integers. These are\n* helper convenience methods, that pass along to utility functions implied\n* parameters.\n*\n*/\nEDDSA.prototype.encodePoint = function encodePoint(point) {\n var enc = point.getY().toArray('le', this.encodingLength);\n enc[this.encodingLength - 1] |= point.getX().isOdd() ? 0x80 : 0;\n return enc;\n};\n\nEDDSA.prototype.decodePoint = function decodePoint(bytes) {\n bytes = utils.parseBytes(bytes);\n\n var lastIx = bytes.length - 1;\n var normed = bytes.slice(0, lastIx).concat(bytes[lastIx] & ~0x80);\n var xIsOdd = (bytes[lastIx] & 0x80) !== 0;\n\n var y = utils.intFromLE(normed);\n return this.curve.pointFromY(y, xIsOdd);\n};\n\nEDDSA.prototype.encodeInt = function encodeInt(num) {\n return num.toArray('le', this.encodingLength);\n};\n\nEDDSA.prototype.decodeInt = function decodeInt(bytes) {\n return utils.intFromLE(bytes);\n};\n\nEDDSA.prototype.isPoint = function isPoint(val) {\n return val instanceof this.pointClass;\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/key.js": -/*!******************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/key.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar assert = utils.assert;\nvar parseBytes = utils.parseBytes;\nvar cachedProperty = utils.cachedProperty;\n\n/**\n* @param {EDDSA} eddsa - instance\n* @param {Object} params - public/private key parameters\n*\n* @param {Array} [params.secret] - secret seed bytes\n* @param {Point} [params.pub] - public key point (aka `A` in eddsa terms)\n* @param {Array} [params.pub] - public key point encoded as bytes\n*\n*/\nfunction KeyPair(eddsa, params) {\n this.eddsa = eddsa;\n this._secret = parseBytes(params.secret);\n if (eddsa.isPoint(params.pub))\n this._pub = params.pub;\n else\n this._pubBytes = parseBytes(params.pub);\n}\n\nKeyPair.fromPublic = function fromPublic(eddsa, pub) {\n if (pub instanceof KeyPair)\n return pub;\n return new KeyPair(eddsa, { pub: pub });\n};\n\nKeyPair.fromSecret = function fromSecret(eddsa, secret) {\n if (secret instanceof KeyPair)\n return secret;\n return new KeyPair(eddsa, { secret: secret });\n};\n\nKeyPair.prototype.secret = function secret() {\n return this._secret;\n};\n\ncachedProperty(KeyPair, 'pubBytes', function pubBytes() {\n return this.eddsa.encodePoint(this.pub());\n});\n\ncachedProperty(KeyPair, 'pub', function pub() {\n if (this._pubBytes)\n return this.eddsa.decodePoint(this._pubBytes);\n return this.eddsa.g.mul(this.priv());\n});\n\ncachedProperty(KeyPair, 'privBytes', function privBytes() {\n var eddsa = this.eddsa;\n var hash = this.hash();\n var lastIx = eddsa.encodingLength - 1;\n\n var a = hash.slice(0, eddsa.encodingLength);\n a[0] &= 248;\n a[lastIx] &= 127;\n a[lastIx] |= 64;\n\n return a;\n});\n\ncachedProperty(KeyPair, 'priv', function priv() {\n return this.eddsa.decodeInt(this.privBytes());\n});\n\ncachedProperty(KeyPair, 'hash', function hash() {\n return this.eddsa.hash().update(this.secret()).digest();\n});\n\ncachedProperty(KeyPair, 'messagePrefix', function messagePrefix() {\n return this.hash().slice(this.eddsa.encodingLength);\n});\n\nKeyPair.prototype.sign = function sign(message) {\n assert(this._secret, 'KeyPair can only verify');\n return this.eddsa.sign(message, this);\n};\n\nKeyPair.prototype.verify = function verify(message, sig) {\n return this.eddsa.verify(message, sig, this);\n};\n\nKeyPair.prototype.getSecret = function getSecret(enc) {\n assert(this._secret, 'KeyPair is public only');\n return utils.encode(this.secret(), enc);\n};\n\nKeyPair.prototype.getPublic = function getPublic(enc) {\n return utils.encode(this.pubBytes(), enc);\n};\n\nmodule.exports = KeyPair;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/key.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/signature.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/signature.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/elliptic/lib/elliptic/utils.js\");\nvar assert = utils.assert;\nvar cachedProperty = utils.cachedProperty;\nvar parseBytes = utils.parseBytes;\n\n/**\n* @param {EDDSA} eddsa - eddsa instance\n* @param {Array|Object} sig -\n* @param {Array|Point} [sig.R] - R point as Point or bytes\n* @param {Array|bn} [sig.S] - S scalar as bn or bytes\n* @param {Array} [sig.Rencoded] - R point encoded\n* @param {Array} [sig.Sencoded] - S scalar encoded\n*/\nfunction Signature(eddsa, sig) {\n this.eddsa = eddsa;\n\n if (typeof sig !== 'object')\n sig = parseBytes(sig);\n\n if (Array.isArray(sig)) {\n sig = {\n R: sig.slice(0, eddsa.encodingLength),\n S: sig.slice(eddsa.encodingLength),\n };\n }\n\n assert(sig.R && sig.S, 'Signature without R or S');\n\n if (eddsa.isPoint(sig.R))\n this._R = sig.R;\n if (sig.S instanceof BN)\n this._S = sig.S;\n\n this._Rencoded = Array.isArray(sig.R) ? sig.R : sig.Rencoded;\n this._Sencoded = Array.isArray(sig.S) ? sig.S : sig.Sencoded;\n}\n\ncachedProperty(Signature, 'S', function S() {\n return this.eddsa.decodeInt(this.Sencoded());\n});\n\ncachedProperty(Signature, 'R', function R() {\n return this.eddsa.decodePoint(this.Rencoded());\n});\n\ncachedProperty(Signature, 'Rencoded', function Rencoded() {\n return this.eddsa.encodePoint(this.R());\n});\n\ncachedProperty(Signature, 'Sencoded', function Sencoded() {\n return this.eddsa.encodeInt(this.S());\n});\n\nSignature.prototype.toBytes = function toBytes() {\n return this.Rencoded().concat(this.Sencoded());\n};\n\nSignature.prototype.toHex = function toHex() {\n return utils.encode(this.toBytes(), 'hex').toUpperCase();\n};\n\nmodule.exports = Signature;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/eddsa/signature.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js ***! - \******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = {\n doubles: {\n step: 4,\n points: [\n [\n 'e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a',\n 'f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821',\n ],\n [\n '8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508',\n '11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf',\n ],\n [\n '175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739',\n 'd3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695',\n ],\n [\n '363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640',\n '4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9',\n ],\n [\n '8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c',\n '4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36',\n ],\n [\n '723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda',\n '96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f',\n ],\n [\n 'eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa',\n '5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999',\n ],\n [\n '100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0',\n 'cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09',\n ],\n [\n 'e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d',\n '9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d',\n ],\n [\n 'feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d',\n 'e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088',\n ],\n [\n 'da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1',\n '9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d',\n ],\n [\n '53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0',\n '5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8',\n ],\n [\n '8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047',\n '10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a',\n ],\n [\n '385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862',\n '283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453',\n ],\n [\n '6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7',\n '7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160',\n ],\n [\n '3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd',\n '56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0',\n ],\n [\n '85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83',\n '7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6',\n ],\n [\n '948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a',\n '53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589',\n ],\n [\n '6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8',\n 'bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17',\n ],\n [\n 'e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d',\n '4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda',\n ],\n [\n 'e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725',\n '7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd',\n ],\n [\n '213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754',\n '4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2',\n ],\n [\n '4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c',\n '17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6',\n ],\n [\n 'fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6',\n '6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f',\n ],\n [\n '76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39',\n 'c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01',\n ],\n [\n 'c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891',\n '893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3',\n ],\n [\n 'd895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b',\n 'febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f',\n ],\n [\n 'b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03',\n '2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7',\n ],\n [\n 'e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d',\n 'eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78',\n ],\n [\n 'a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070',\n '7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1',\n ],\n [\n '90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4',\n 'e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150',\n ],\n [\n '8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da',\n '662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82',\n ],\n [\n 'e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11',\n '1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc',\n ],\n [\n '8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e',\n 'efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b',\n ],\n [\n 'e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41',\n '2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51',\n ],\n [\n 'b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef',\n '67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45',\n ],\n [\n 'd68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8',\n 'db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120',\n ],\n [\n '324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d',\n '648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84',\n ],\n [\n '4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96',\n '35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d',\n ],\n [\n '9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd',\n 'ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d',\n ],\n [\n '6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5',\n '9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8',\n ],\n [\n 'a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266',\n '40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8',\n ],\n [\n '7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71',\n '34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac',\n ],\n [\n '928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac',\n 'c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f',\n ],\n [\n '85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751',\n '1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962',\n ],\n [\n 'ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e',\n '493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907',\n ],\n [\n '827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241',\n 'c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec',\n ],\n [\n 'eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3',\n 'be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d',\n ],\n [\n 'e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f',\n '4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414',\n ],\n [\n '1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19',\n 'aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd',\n ],\n [\n '146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be',\n 'b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0',\n ],\n [\n 'fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9',\n '6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811',\n ],\n [\n 'da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2',\n '8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1',\n ],\n [\n 'a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13',\n '7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c',\n ],\n [\n '174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c',\n 'ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73',\n ],\n [\n '959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba',\n '2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd',\n ],\n [\n 'd2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151',\n 'e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405',\n ],\n [\n '64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073',\n 'd99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589',\n ],\n [\n '8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458',\n '38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e',\n ],\n [\n '13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b',\n '69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27',\n ],\n [\n 'bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366',\n 'd3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1',\n ],\n [\n '8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa',\n '40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482',\n ],\n [\n '8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0',\n '620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945',\n ],\n [\n 'dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787',\n '7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573',\n ],\n [\n 'f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e',\n 'ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82',\n ],\n ],\n },\n naf: {\n wnd: 7,\n points: [\n [\n 'f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9',\n '388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672',\n ],\n [\n '2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4',\n 'd8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6',\n ],\n [\n '5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc',\n '6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da',\n ],\n [\n 'acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe',\n 'cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37',\n ],\n [\n '774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb',\n 'd984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b',\n ],\n [\n 'f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8',\n 'ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81',\n ],\n [\n 'd7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e',\n '581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58',\n ],\n [\n 'defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34',\n '4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77',\n ],\n [\n '2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c',\n '85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a',\n ],\n [\n '352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5',\n '321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c',\n ],\n [\n '2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f',\n '2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67',\n ],\n [\n '9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714',\n '73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402',\n ],\n [\n 'daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729',\n 'a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55',\n ],\n [\n 'c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db',\n '2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482',\n ],\n [\n '6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4',\n 'e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82',\n ],\n [\n '1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5',\n 'b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396',\n ],\n [\n '605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479',\n '2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49',\n ],\n [\n '62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d',\n '80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf',\n ],\n [\n '80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f',\n '1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a',\n ],\n [\n '7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb',\n 'd0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7',\n ],\n [\n 'd528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9',\n 'eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933',\n ],\n [\n '49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963',\n '758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a',\n ],\n [\n '77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74',\n '958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6',\n ],\n [\n 'f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530',\n 'e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37',\n ],\n [\n '463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b',\n '5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e',\n ],\n [\n 'f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247',\n 'cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6',\n ],\n [\n 'caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1',\n 'cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476',\n ],\n [\n '2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120',\n '4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40',\n ],\n [\n '7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435',\n '91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61',\n ],\n [\n '754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18',\n '673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683',\n ],\n [\n 'e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8',\n '59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5',\n ],\n [\n '186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb',\n '3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b',\n ],\n [\n 'df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f',\n '55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417',\n ],\n [\n '5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143',\n 'efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868',\n ],\n [\n '290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba',\n 'e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a',\n ],\n [\n 'af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45',\n 'f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6',\n ],\n [\n '766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a',\n '744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996',\n ],\n [\n '59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e',\n 'c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e',\n ],\n [\n 'f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8',\n 'e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d',\n ],\n [\n '7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c',\n '30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2',\n ],\n [\n '948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519',\n 'e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e',\n ],\n [\n '7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab',\n '100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437',\n ],\n [\n '3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca',\n 'ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311',\n ],\n [\n 'd3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf',\n '8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4',\n ],\n [\n '1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610',\n '68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575',\n ],\n [\n '733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4',\n 'f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d',\n ],\n [\n '15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c',\n 'd56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d',\n ],\n [\n 'a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940',\n 'edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629',\n ],\n [\n 'e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980',\n 'a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06',\n ],\n [\n '311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3',\n '66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374',\n ],\n [\n '34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf',\n '9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee',\n ],\n [\n 'f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63',\n '4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1',\n ],\n [\n 'd7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448',\n 'fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b',\n ],\n [\n '32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf',\n '5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661',\n ],\n [\n '7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5',\n '8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6',\n ],\n [\n 'ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6',\n '8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e',\n ],\n [\n '16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5',\n '5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d',\n ],\n [\n 'eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99',\n 'f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc',\n ],\n [\n '78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51',\n 'f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4',\n ],\n [\n '494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5',\n '42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c',\n ],\n [\n 'a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5',\n '204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b',\n ],\n [\n 'c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997',\n '4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913',\n ],\n [\n '841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881',\n '73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154',\n ],\n [\n '5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5',\n '39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865',\n ],\n [\n '36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66',\n 'd2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc',\n ],\n [\n '336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726',\n 'ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224',\n ],\n [\n '8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede',\n '6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e',\n ],\n [\n '1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94',\n '60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6',\n ],\n [\n '85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31',\n '3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511',\n ],\n [\n '29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51',\n 'b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b',\n ],\n [\n 'a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252',\n 'ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2',\n ],\n [\n '4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5',\n 'cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c',\n ],\n [\n 'd24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b',\n '6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3',\n ],\n [\n 'ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4',\n '322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d',\n ],\n [\n 'af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f',\n '6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700',\n ],\n [\n 'e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889',\n '2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4',\n ],\n [\n '591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246',\n 'b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196',\n ],\n [\n '11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984',\n '998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4',\n ],\n [\n '3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a',\n 'b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257',\n ],\n [\n 'cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030',\n 'bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13',\n ],\n [\n 'c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197',\n '6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096',\n ],\n [\n 'c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593',\n 'c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38',\n ],\n [\n 'a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef',\n '21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f',\n ],\n [\n '347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38',\n '60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448',\n ],\n [\n 'da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a',\n '49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a',\n ],\n [\n 'c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111',\n '5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4',\n ],\n [\n '4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502',\n '7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437',\n ],\n [\n '3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea',\n 'be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7',\n ],\n [\n 'cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26',\n '8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d',\n ],\n [\n 'b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986',\n '39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a',\n ],\n [\n 'd4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e',\n '62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54',\n ],\n [\n '48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4',\n '25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77',\n ],\n [\n 'dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda',\n 'ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517',\n ],\n [\n '6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859',\n 'cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10',\n ],\n [\n 'e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f',\n 'f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125',\n ],\n [\n 'eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c',\n '6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e',\n ],\n [\n '13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942',\n 'fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1',\n ],\n [\n 'ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a',\n '1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2',\n ],\n [\n 'b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80',\n '5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423',\n ],\n [\n 'ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d',\n '438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8',\n ],\n [\n '8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1',\n 'cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758',\n ],\n [\n '52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63',\n 'c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375',\n ],\n [\n 'e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352',\n '6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d',\n ],\n [\n '7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193',\n 'ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec',\n ],\n [\n '5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00',\n '9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0',\n ],\n [\n '32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58',\n 'ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c',\n ],\n [\n 'e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7',\n 'd3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4',\n ],\n [\n '8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8',\n 'c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f',\n ],\n [\n '4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e',\n '67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649',\n ],\n [\n '3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d',\n 'cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826',\n ],\n [\n '674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b',\n '299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5',\n ],\n [\n 'd32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f',\n 'f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87',\n ],\n [\n '30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6',\n '462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b',\n ],\n [\n 'be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297',\n '62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc',\n ],\n [\n '93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a',\n '7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c',\n ],\n [\n 'b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c',\n 'ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f',\n ],\n [\n 'd5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52',\n '4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a',\n ],\n [\n 'd3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb',\n 'bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46',\n ],\n [\n '463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065',\n 'bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f',\n ],\n [\n '7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917',\n '603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03',\n ],\n [\n '74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9',\n 'cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08',\n ],\n [\n '30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3',\n '553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8',\n ],\n [\n '9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57',\n '712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373',\n ],\n [\n '176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66',\n 'ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3',\n ],\n [\n '75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8',\n '9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8',\n ],\n [\n '809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721',\n '9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1',\n ],\n [\n '1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180',\n '4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9',\n ],\n ],\n },\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/lib/elliptic/utils.js": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/lib/elliptic/utils.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = exports;\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar minAssert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\nvar minUtils = __webpack_require__(/*! minimalistic-crypto-utils */ \"./.codedoc/node_modules/minimalistic-crypto-utils/lib/utils.js\");\n\nutils.assert = minAssert;\nutils.toArray = minUtils.toArray;\nutils.zero2 = minUtils.zero2;\nutils.toHex = minUtils.toHex;\nutils.encode = minUtils.encode;\n\n// Represent num in a w-NAF form\nfunction getNAF(num, w, bits) {\n var naf = new Array(Math.max(num.bitLength(), bits) + 1);\n naf.fill(0);\n\n var ws = 1 << (w + 1);\n var k = num.clone();\n\n for (var i = 0; i < naf.length; i++) {\n var z;\n var mod = k.andln(ws - 1);\n if (k.isOdd()) {\n if (mod > (ws >> 1) - 1)\n z = (ws >> 1) - mod;\n else\n z = mod;\n k.isubn(z);\n } else {\n z = 0;\n }\n\n naf[i] = z;\n k.iushrn(1);\n }\n\n return naf;\n}\nutils.getNAF = getNAF;\n\n// Represent k1, k2 in a Joint Sparse Form\nfunction getJSF(k1, k2) {\n var jsf = [\n [],\n [],\n ];\n\n k1 = k1.clone();\n k2 = k2.clone();\n var d1 = 0;\n var d2 = 0;\n var m8;\n while (k1.cmpn(-d1) > 0 || k2.cmpn(-d2) > 0) {\n // First phase\n var m14 = (k1.andln(3) + d1) & 3;\n var m24 = (k2.andln(3) + d2) & 3;\n if (m14 === 3)\n m14 = -1;\n if (m24 === 3)\n m24 = -1;\n var u1;\n if ((m14 & 1) === 0) {\n u1 = 0;\n } else {\n m8 = (k1.andln(7) + d1) & 7;\n if ((m8 === 3 || m8 === 5) && m24 === 2)\n u1 = -m14;\n else\n u1 = m14;\n }\n jsf[0].push(u1);\n\n var u2;\n if ((m24 & 1) === 0) {\n u2 = 0;\n } else {\n m8 = (k2.andln(7) + d2) & 7;\n if ((m8 === 3 || m8 === 5) && m14 === 2)\n u2 = -m24;\n else\n u2 = m24;\n }\n jsf[1].push(u2);\n\n // Second phase\n if (2 * d1 === u1 + 1)\n d1 = 1 - d1;\n if (2 * d2 === u2 + 1)\n d2 = 1 - d2;\n k1.iushrn(1);\n k2.iushrn(1);\n }\n\n return jsf;\n}\nutils.getJSF = getJSF;\n\nfunction cachedProperty(obj, name, computer) {\n var key = '_' + name;\n obj.prototype[name] = function cachedProperty() {\n return this[key] !== undefined ? this[key] :\n this[key] = computer.call(this);\n };\n}\nutils.cachedProperty = cachedProperty;\n\nfunction parseBytes(bytes) {\n return typeof bytes === 'string' ? utils.toArray(bytes, 'hex') :\n bytes;\n}\nutils.parseBytes = parseBytes;\n\nfunction intFromLE(bytes) {\n return new BN(bytes, 'hex', 'le');\n}\nutils.intFromLE = intFromLE;\n\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/lib/elliptic/utils.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/elliptic/package.json": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/elliptic/package.json ***! - \*****************************************************/ -/*! exports provided: name, version, description, main, files, scripts, repository, keywords, author, license, bugs, homepage, devDependencies, dependencies, default */ -/***/ (function(module) { - -eval("module.exports = JSON.parse(\"{\\\"name\\\":\\\"elliptic\\\",\\\"version\\\":\\\"6.5.4\\\",\\\"description\\\":\\\"EC cryptography\\\",\\\"main\\\":\\\"lib/elliptic.js\\\",\\\"files\\\":[\\\"lib\\\"],\\\"scripts\\\":{\\\"lint\\\":\\\"eslint lib test\\\",\\\"lint:fix\\\":\\\"npm run lint -- --fix\\\",\\\"unit\\\":\\\"istanbul test _mocha --reporter=spec test/index.js\\\",\\\"test\\\":\\\"npm run lint && npm run unit\\\",\\\"version\\\":\\\"grunt dist && git add dist/\\\"},\\\"repository\\\":{\\\"type\\\":\\\"git\\\",\\\"url\\\":\\\"git@github.com:indutny/elliptic\\\"},\\\"keywords\\\":[\\\"EC\\\",\\\"Elliptic\\\",\\\"curve\\\",\\\"Cryptography\\\"],\\\"author\\\":\\\"Fedor Indutny \\\",\\\"license\\\":\\\"MIT\\\",\\\"bugs\\\":{\\\"url\\\":\\\"https://github.com/indutny/elliptic/issues\\\"},\\\"homepage\\\":\\\"https://github.com/indutny/elliptic\\\",\\\"devDependencies\\\":{\\\"brfs\\\":\\\"^2.0.2\\\",\\\"coveralls\\\":\\\"^3.1.0\\\",\\\"eslint\\\":\\\"^7.6.0\\\",\\\"grunt\\\":\\\"^1.2.1\\\",\\\"grunt-browserify\\\":\\\"^5.3.0\\\",\\\"grunt-cli\\\":\\\"^1.3.2\\\",\\\"grunt-contrib-connect\\\":\\\"^3.0.0\\\",\\\"grunt-contrib-copy\\\":\\\"^1.0.0\\\",\\\"grunt-contrib-uglify\\\":\\\"^5.0.0\\\",\\\"grunt-mocha-istanbul\\\":\\\"^5.0.2\\\",\\\"grunt-saucelabs\\\":\\\"^9.0.1\\\",\\\"istanbul\\\":\\\"^0.4.5\\\",\\\"mocha\\\":\\\"^8.0.1\\\"},\\\"dependencies\\\":{\\\"bn.js\\\":\\\"^4.11.9\\\",\\\"brorand\\\":\\\"^1.1.0\\\",\\\"hash.js\\\":\\\"^1.0.0\\\",\\\"hmac-drbg\\\":\\\"^1.0.1\\\",\\\"inherits\\\":\\\"^2.0.4\\\",\\\"minimalistic-assert\\\":\\\"^1.0.1\\\",\\\"minimalistic-crypto-utils\\\":\\\"^1.0.1\\\"}}\");\n\n//# sourceURL=webpack:///./.codedoc/node_modules/elliptic/package.json?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/events/events.js": -/*!************************************************!*\ - !*** ./.codedoc/node_modules/events/events.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/events/events.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/evp_bytestokey/index.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/evp_bytestokey/index.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar MD5 = __webpack_require__(/*! md5.js */ \"./.codedoc/node_modules/md5.js/index.js\")\n\n/* eslint-disable camelcase */\nfunction EVP_BytesToKey (password, salt, keyBits, ivLen) {\n if (!Buffer.isBuffer(password)) password = Buffer.from(password, 'binary')\n if (salt) {\n if (!Buffer.isBuffer(salt)) salt = Buffer.from(salt, 'binary')\n if (salt.length !== 8) throw new RangeError('salt should be Buffer with 8 byte length')\n }\n\n var keyLen = keyBits / 8\n var key = Buffer.alloc(keyLen)\n var iv = Buffer.alloc(ivLen || 0)\n var tmp = Buffer.alloc(0)\n\n while (keyLen > 0 || ivLen > 0) {\n var hash = new MD5()\n hash.update(tmp)\n hash.update(password)\n if (salt) hash.update(salt)\n tmp = hash.digest()\n\n var used = 0\n\n if (keyLen > 0) {\n var keyStart = key.length - keyLen\n used = Math.min(keyLen, tmp.length)\n tmp.copy(key, keyStart, 0, used)\n keyLen -= used\n }\n\n if (used < tmp.length && ivLen > 0) {\n var ivStart = iv.length - ivLen\n var length = Math.min(ivLen, tmp.length - used)\n tmp.copy(iv, ivStart, used, used + length)\n ivLen -= length\n }\n }\n\n tmp.fill(0)\n return { key: key, iv: iv }\n}\n\nmodule.exports = EVP_BytesToKey\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/evp_bytestokey/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash-base/index.js": -/*!**************************************************!*\ - !*** ./.codedoc/node_modules/hash-base/index.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar Transform = __webpack_require__(/*! readable-stream */ \"./.codedoc/node_modules/readable-stream/readable-browser.js\").Transform\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\n\nfunction throwIfNotStringOrBuffer (val, prefix) {\n if (!Buffer.isBuffer(val) && typeof val !== 'string') {\n throw new TypeError(prefix + ' must be a string or a buffer')\n }\n}\n\nfunction HashBase (blockSize) {\n Transform.call(this)\n\n this._block = Buffer.allocUnsafe(blockSize)\n this._blockSize = blockSize\n this._blockOffset = 0\n this._length = [0, 0, 0, 0]\n\n this._finalized = false\n}\n\ninherits(HashBase, Transform)\n\nHashBase.prototype._transform = function (chunk, encoding, callback) {\n var error = null\n try {\n this.update(chunk, encoding)\n } catch (err) {\n error = err\n }\n\n callback(error)\n}\n\nHashBase.prototype._flush = function (callback) {\n var error = null\n try {\n this.push(this.digest())\n } catch (err) {\n error = err\n }\n\n callback(error)\n}\n\nHashBase.prototype.update = function (data, encoding) {\n throwIfNotStringOrBuffer(data, 'Data')\n if (this._finalized) throw new Error('Digest already called')\n if (!Buffer.isBuffer(data)) data = Buffer.from(data, encoding)\n\n // consume data\n var block = this._block\n var offset = 0\n while (this._blockOffset + data.length - offset >= this._blockSize) {\n for (var i = this._blockOffset; i < this._blockSize;) block[i++] = data[offset++]\n this._update()\n this._blockOffset = 0\n }\n while (offset < data.length) block[this._blockOffset++] = data[offset++]\n\n // update length\n for (var j = 0, carry = data.length * 8; carry > 0; ++j) {\n this._length[j] += carry\n carry = (this._length[j] / 0x0100000000) | 0\n if (carry > 0) this._length[j] -= 0x0100000000 * carry\n }\n\n return this\n}\n\nHashBase.prototype._update = function () {\n throw new Error('_update is not implemented')\n}\n\nHashBase.prototype.digest = function (encoding) {\n if (this._finalized) throw new Error('Digest already called')\n this._finalized = true\n\n var digest = this._digest()\n if (encoding !== undefined) digest = digest.toString(encoding)\n\n // reset state\n this._block.fill(0)\n this._blockOffset = 0\n for (var i = 0; i < 4; ++i) this._length[i] = 0\n\n return digest\n}\n\nHashBase.prototype._digest = function () {\n throw new Error('_digest is not implemented')\n}\n\nmodule.exports = HashBase\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash-base/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash.js": -/*!***************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var hash = exports;\n\nhash.utils = __webpack_require__(/*! ./hash/utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nhash.common = __webpack_require__(/*! ./hash/common */ \"./.codedoc/node_modules/hash.js/lib/hash/common.js\");\nhash.sha = __webpack_require__(/*! ./hash/sha */ \"./.codedoc/node_modules/hash.js/lib/hash/sha.js\");\nhash.ripemd = __webpack_require__(/*! ./hash/ripemd */ \"./.codedoc/node_modules/hash.js/lib/hash/ripemd.js\");\nhash.hmac = __webpack_require__(/*! ./hash/hmac */ \"./.codedoc/node_modules/hash.js/lib/hash/hmac.js\");\n\n// Proxy hash functions to the main object\nhash.sha1 = hash.sha.sha1;\nhash.sha256 = hash.sha.sha256;\nhash.sha224 = hash.sha.sha224;\nhash.sha384 = hash.sha.sha384;\nhash.sha512 = hash.sha.sha512;\nhash.ripemd160 = hash.ripemd.ripemd160;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/common.js": -/*!**********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/common.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\n\nfunction BlockHash() {\n this.pending = null;\n this.pendingTotal = 0;\n this.blockSize = this.constructor.blockSize;\n this.outSize = this.constructor.outSize;\n this.hmacStrength = this.constructor.hmacStrength;\n this.padLength = this.constructor.padLength / 8;\n this.endian = 'big';\n\n this._delta8 = this.blockSize / 8;\n this._delta32 = this.blockSize / 32;\n}\nexports.BlockHash = BlockHash;\n\nBlockHash.prototype.update = function update(msg, enc) {\n // Convert message to array, pad it, and join into 32bit blocks\n msg = utils.toArray(msg, enc);\n if (!this.pending)\n this.pending = msg;\n else\n this.pending = this.pending.concat(msg);\n this.pendingTotal += msg.length;\n\n // Enough data, try updating\n if (this.pending.length >= this._delta8) {\n msg = this.pending;\n\n // Process pending data in blocks\n var r = msg.length % this._delta8;\n this.pending = msg.slice(msg.length - r, msg.length);\n if (this.pending.length === 0)\n this.pending = null;\n\n msg = utils.join32(msg, 0, msg.length - r, this.endian);\n for (var i = 0; i < msg.length; i += this._delta32)\n this._update(msg, i, i + this._delta32);\n }\n\n return this;\n};\n\nBlockHash.prototype.digest = function digest(enc) {\n this.update(this._pad());\n assert(this.pending === null);\n\n return this._digest(enc);\n};\n\nBlockHash.prototype._pad = function pad() {\n var len = this.pendingTotal;\n var bytes = this._delta8;\n var k = bytes - ((len + this.padLength) % bytes);\n var res = new Array(k + this.padLength);\n res[0] = 0x80;\n for (var i = 1; i < k; i++)\n res[i] = 0;\n\n // Append length\n len <<= 3;\n if (this.endian === 'big') {\n for (var t = 8; t < this.padLength; t++)\n res[i++] = 0;\n\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = (len >>> 24) & 0xff;\n res[i++] = (len >>> 16) & 0xff;\n res[i++] = (len >>> 8) & 0xff;\n res[i++] = len & 0xff;\n } else {\n res[i++] = len & 0xff;\n res[i++] = (len >>> 8) & 0xff;\n res[i++] = (len >>> 16) & 0xff;\n res[i++] = (len >>> 24) & 0xff;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n res[i++] = 0;\n\n for (t = 8; t < this.padLength; t++)\n res[i++] = 0;\n }\n\n return res;\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/common.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/hmac.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/hmac.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\n\nfunction Hmac(hash, key, enc) {\n if (!(this instanceof Hmac))\n return new Hmac(hash, key, enc);\n this.Hash = hash;\n this.blockSize = hash.blockSize / 8;\n this.outSize = hash.outSize / 8;\n this.inner = null;\n this.outer = null;\n\n this._init(utils.toArray(key, enc));\n}\nmodule.exports = Hmac;\n\nHmac.prototype._init = function init(key) {\n // Shorten key, if needed\n if (key.length > this.blockSize)\n key = new this.Hash().update(key).digest();\n assert(key.length <= this.blockSize);\n\n // Add padding to key\n for (var i = key.length; i < this.blockSize; i++)\n key.push(0);\n\n for (i = 0; i < key.length; i++)\n key[i] ^= 0x36;\n this.inner = new this.Hash().update(key);\n\n // 0x36 ^ 0x5c = 0x6a\n for (i = 0; i < key.length; i++)\n key[i] ^= 0x6a;\n this.outer = new this.Hash().update(key);\n};\n\nHmac.prototype.update = function update(msg, enc) {\n this.inner.update(msg, enc);\n return this;\n};\n\nHmac.prototype.digest = function digest(enc) {\n this.outer.update(this.inner.digest());\n return this.outer.digest(enc);\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/hmac.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/ripemd.js": -/*!**********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/ripemd.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nvar common = __webpack_require__(/*! ./common */ \"./.codedoc/node_modules/hash.js/lib/hash/common.js\");\n\nvar rotl32 = utils.rotl32;\nvar sum32 = utils.sum32;\nvar sum32_3 = utils.sum32_3;\nvar sum32_4 = utils.sum32_4;\nvar BlockHash = common.BlockHash;\n\nfunction RIPEMD160() {\n if (!(this instanceof RIPEMD160))\n return new RIPEMD160();\n\n BlockHash.call(this);\n\n this.h = [ 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0 ];\n this.endian = 'little';\n}\nutils.inherits(RIPEMD160, BlockHash);\nexports.ripemd160 = RIPEMD160;\n\nRIPEMD160.blockSize = 512;\nRIPEMD160.outSize = 160;\nRIPEMD160.hmacStrength = 192;\nRIPEMD160.padLength = 64;\n\nRIPEMD160.prototype._update = function update(msg, start) {\n var A = this.h[0];\n var B = this.h[1];\n var C = this.h[2];\n var D = this.h[3];\n var E = this.h[4];\n var Ah = A;\n var Bh = B;\n var Ch = C;\n var Dh = D;\n var Eh = E;\n for (var j = 0; j < 80; j++) {\n var T = sum32(\n rotl32(\n sum32_4(A, f(j, B, C, D), msg[r[j] + start], K(j)),\n s[j]),\n E);\n A = E;\n E = D;\n D = rotl32(C, 10);\n C = B;\n B = T;\n T = sum32(\n rotl32(\n sum32_4(Ah, f(79 - j, Bh, Ch, Dh), msg[rh[j] + start], Kh(j)),\n sh[j]),\n Eh);\n Ah = Eh;\n Eh = Dh;\n Dh = rotl32(Ch, 10);\n Ch = Bh;\n Bh = T;\n }\n T = sum32_3(this.h[1], C, Dh);\n this.h[1] = sum32_3(this.h[2], D, Eh);\n this.h[2] = sum32_3(this.h[3], E, Ah);\n this.h[3] = sum32_3(this.h[4], A, Bh);\n this.h[4] = sum32_3(this.h[0], B, Ch);\n this.h[0] = T;\n};\n\nRIPEMD160.prototype._digest = function digest(enc) {\n if (enc === 'hex')\n return utils.toHex32(this.h, 'little');\n else\n return utils.split32(this.h, 'little');\n};\n\nfunction f(j, x, y, z) {\n if (j <= 15)\n return x ^ y ^ z;\n else if (j <= 31)\n return (x & y) | ((~x) & z);\n else if (j <= 47)\n return (x | (~y)) ^ z;\n else if (j <= 63)\n return (x & z) | (y & (~z));\n else\n return x ^ (y | (~z));\n}\n\nfunction K(j) {\n if (j <= 15)\n return 0x00000000;\n else if (j <= 31)\n return 0x5a827999;\n else if (j <= 47)\n return 0x6ed9eba1;\n else if (j <= 63)\n return 0x8f1bbcdc;\n else\n return 0xa953fd4e;\n}\n\nfunction Kh(j) {\n if (j <= 15)\n return 0x50a28be6;\n else if (j <= 31)\n return 0x5c4dd124;\n else if (j <= 47)\n return 0x6d703ef3;\n else if (j <= 63)\n return 0x7a6d76e9;\n else\n return 0x00000000;\n}\n\nvar r = [\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8,\n 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12,\n 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2,\n 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13\n];\n\nvar rh = [\n 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12,\n 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2,\n 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13,\n 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14,\n 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11\n];\n\nvar s = [\n 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8,\n 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12,\n 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5,\n 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12,\n 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6\n];\n\nvar sh = [\n 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6,\n 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11,\n 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5,\n 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8,\n 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11\n];\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/ripemd.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/sha.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/sha.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.sha1 = __webpack_require__(/*! ./sha/1 */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/1.js\");\nexports.sha224 = __webpack_require__(/*! ./sha/224 */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/224.js\");\nexports.sha256 = __webpack_require__(/*! ./sha/256 */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/256.js\");\nexports.sha384 = __webpack_require__(/*! ./sha/384 */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/384.js\");\nexports.sha512 = __webpack_require__(/*! ./sha/512 */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/512.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/sha.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/sha/1.js": -/*!*********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/sha/1.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nvar common = __webpack_require__(/*! ../common */ \"./.codedoc/node_modules/hash.js/lib/hash/common.js\");\nvar shaCommon = __webpack_require__(/*! ./common */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/common.js\");\n\nvar rotl32 = utils.rotl32;\nvar sum32 = utils.sum32;\nvar sum32_5 = utils.sum32_5;\nvar ft_1 = shaCommon.ft_1;\nvar BlockHash = common.BlockHash;\n\nvar sha1_K = [\n 0x5A827999, 0x6ED9EBA1,\n 0x8F1BBCDC, 0xCA62C1D6\n];\n\nfunction SHA1() {\n if (!(this instanceof SHA1))\n return new SHA1();\n\n BlockHash.call(this);\n this.h = [\n 0x67452301, 0xefcdab89, 0x98badcfe,\n 0x10325476, 0xc3d2e1f0 ];\n this.W = new Array(80);\n}\n\nutils.inherits(SHA1, BlockHash);\nmodule.exports = SHA1;\n\nSHA1.blockSize = 512;\nSHA1.outSize = 160;\nSHA1.hmacStrength = 80;\nSHA1.padLength = 64;\n\nSHA1.prototype._update = function _update(msg, start) {\n var W = this.W;\n\n for (var i = 0; i < 16; i++)\n W[i] = msg[start + i];\n\n for(; i < W.length; i++)\n W[i] = rotl32(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1);\n\n var a = this.h[0];\n var b = this.h[1];\n var c = this.h[2];\n var d = this.h[3];\n var e = this.h[4];\n\n for (i = 0; i < W.length; i++) {\n var s = ~~(i / 20);\n var t = sum32_5(rotl32(a, 5), ft_1(s, b, c, d), e, W[i], sha1_K[s]);\n e = d;\n d = c;\n c = rotl32(b, 30);\n b = a;\n a = t;\n }\n\n this.h[0] = sum32(this.h[0], a);\n this.h[1] = sum32(this.h[1], b);\n this.h[2] = sum32(this.h[2], c);\n this.h[3] = sum32(this.h[3], d);\n this.h[4] = sum32(this.h[4], e);\n};\n\nSHA1.prototype._digest = function digest(enc) {\n if (enc === 'hex')\n return utils.toHex32(this.h, 'big');\n else\n return utils.split32(this.h, 'big');\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/sha/1.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/sha/224.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/sha/224.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nvar SHA256 = __webpack_require__(/*! ./256 */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/256.js\");\n\nfunction SHA224() {\n if (!(this instanceof SHA224))\n return new SHA224();\n\n SHA256.call(this);\n this.h = [\n 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939,\n 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4 ];\n}\nutils.inherits(SHA224, SHA256);\nmodule.exports = SHA224;\n\nSHA224.blockSize = 512;\nSHA224.outSize = 224;\nSHA224.hmacStrength = 192;\nSHA224.padLength = 64;\n\nSHA224.prototype._digest = function digest(enc) {\n // Just truncate output\n if (enc === 'hex')\n return utils.toHex32(this.h.slice(0, 7), 'big');\n else\n return utils.split32(this.h.slice(0, 7), 'big');\n};\n\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/sha/224.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/sha/256.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/sha/256.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nvar common = __webpack_require__(/*! ../common */ \"./.codedoc/node_modules/hash.js/lib/hash/common.js\");\nvar shaCommon = __webpack_require__(/*! ./common */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/common.js\");\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\n\nvar sum32 = utils.sum32;\nvar sum32_4 = utils.sum32_4;\nvar sum32_5 = utils.sum32_5;\nvar ch32 = shaCommon.ch32;\nvar maj32 = shaCommon.maj32;\nvar s0_256 = shaCommon.s0_256;\nvar s1_256 = shaCommon.s1_256;\nvar g0_256 = shaCommon.g0_256;\nvar g1_256 = shaCommon.g1_256;\n\nvar BlockHash = common.BlockHash;\n\nvar sha256_K = [\n 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5,\n 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,\n 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3,\n 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,\n 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc,\n 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,\n 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7,\n 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,\n 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13,\n 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,\n 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3,\n 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,\n 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5,\n 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,\n 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,\n 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2\n];\n\nfunction SHA256() {\n if (!(this instanceof SHA256))\n return new SHA256();\n\n BlockHash.call(this);\n this.h = [\n 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a,\n 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19\n ];\n this.k = sha256_K;\n this.W = new Array(64);\n}\nutils.inherits(SHA256, BlockHash);\nmodule.exports = SHA256;\n\nSHA256.blockSize = 512;\nSHA256.outSize = 256;\nSHA256.hmacStrength = 192;\nSHA256.padLength = 64;\n\nSHA256.prototype._update = function _update(msg, start) {\n var W = this.W;\n\n for (var i = 0; i < 16; i++)\n W[i] = msg[start + i];\n for (; i < W.length; i++)\n W[i] = sum32_4(g1_256(W[i - 2]), W[i - 7], g0_256(W[i - 15]), W[i - 16]);\n\n var a = this.h[0];\n var b = this.h[1];\n var c = this.h[2];\n var d = this.h[3];\n var e = this.h[4];\n var f = this.h[5];\n var g = this.h[6];\n var h = this.h[7];\n\n assert(this.k.length === W.length);\n for (i = 0; i < W.length; i++) {\n var T1 = sum32_5(h, s1_256(e), ch32(e, f, g), this.k[i], W[i]);\n var T2 = sum32(s0_256(a), maj32(a, b, c));\n h = g;\n g = f;\n f = e;\n e = sum32(d, T1);\n d = c;\n c = b;\n b = a;\n a = sum32(T1, T2);\n }\n\n this.h[0] = sum32(this.h[0], a);\n this.h[1] = sum32(this.h[1], b);\n this.h[2] = sum32(this.h[2], c);\n this.h[3] = sum32(this.h[3], d);\n this.h[4] = sum32(this.h[4], e);\n this.h[5] = sum32(this.h[5], f);\n this.h[6] = sum32(this.h[6], g);\n this.h[7] = sum32(this.h[7], h);\n};\n\nSHA256.prototype._digest = function digest(enc) {\n if (enc === 'hex')\n return utils.toHex32(this.h, 'big');\n else\n return utils.split32(this.h, 'big');\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/sha/256.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/sha/384.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/sha/384.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\n\nvar SHA512 = __webpack_require__(/*! ./512 */ \"./.codedoc/node_modules/hash.js/lib/hash/sha/512.js\");\n\nfunction SHA384() {\n if (!(this instanceof SHA384))\n return new SHA384();\n\n SHA512.call(this);\n this.h = [\n 0xcbbb9d5d, 0xc1059ed8,\n 0x629a292a, 0x367cd507,\n 0x9159015a, 0x3070dd17,\n 0x152fecd8, 0xf70e5939,\n 0x67332667, 0xffc00b31,\n 0x8eb44a87, 0x68581511,\n 0xdb0c2e0d, 0x64f98fa7,\n 0x47b5481d, 0xbefa4fa4 ];\n}\nutils.inherits(SHA384, SHA512);\nmodule.exports = SHA384;\n\nSHA384.blockSize = 1024;\nSHA384.outSize = 384;\nSHA384.hmacStrength = 192;\nSHA384.padLength = 128;\n\nSHA384.prototype._digest = function digest(enc) {\n if (enc === 'hex')\n return utils.toHex32(this.h.slice(0, 12), 'big');\n else\n return utils.split32(this.h.slice(0, 12), 'big');\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/sha/384.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/sha/512.js": -/*!***********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/sha/512.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nvar common = __webpack_require__(/*! ../common */ \"./.codedoc/node_modules/hash.js/lib/hash/common.js\");\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\n\nvar rotr64_hi = utils.rotr64_hi;\nvar rotr64_lo = utils.rotr64_lo;\nvar shr64_hi = utils.shr64_hi;\nvar shr64_lo = utils.shr64_lo;\nvar sum64 = utils.sum64;\nvar sum64_hi = utils.sum64_hi;\nvar sum64_lo = utils.sum64_lo;\nvar sum64_4_hi = utils.sum64_4_hi;\nvar sum64_4_lo = utils.sum64_4_lo;\nvar sum64_5_hi = utils.sum64_5_hi;\nvar sum64_5_lo = utils.sum64_5_lo;\n\nvar BlockHash = common.BlockHash;\n\nvar sha512_K = [\n 0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd,\n 0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc,\n 0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019,\n 0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118,\n 0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe,\n 0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2,\n 0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1,\n 0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694,\n 0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3,\n 0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65,\n 0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483,\n 0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5,\n 0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210,\n 0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4,\n 0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725,\n 0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70,\n 0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926,\n 0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df,\n 0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8,\n 0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b,\n 0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001,\n 0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30,\n 0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910,\n 0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8,\n 0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53,\n 0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8,\n 0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb,\n 0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3,\n 0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60,\n 0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec,\n 0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9,\n 0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b,\n 0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207,\n 0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178,\n 0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6,\n 0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b,\n 0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493,\n 0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c,\n 0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a,\n 0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817\n];\n\nfunction SHA512() {\n if (!(this instanceof SHA512))\n return new SHA512();\n\n BlockHash.call(this);\n this.h = [\n 0x6a09e667, 0xf3bcc908,\n 0xbb67ae85, 0x84caa73b,\n 0x3c6ef372, 0xfe94f82b,\n 0xa54ff53a, 0x5f1d36f1,\n 0x510e527f, 0xade682d1,\n 0x9b05688c, 0x2b3e6c1f,\n 0x1f83d9ab, 0xfb41bd6b,\n 0x5be0cd19, 0x137e2179 ];\n this.k = sha512_K;\n this.W = new Array(160);\n}\nutils.inherits(SHA512, BlockHash);\nmodule.exports = SHA512;\n\nSHA512.blockSize = 1024;\nSHA512.outSize = 512;\nSHA512.hmacStrength = 192;\nSHA512.padLength = 128;\n\nSHA512.prototype._prepareBlock = function _prepareBlock(msg, start) {\n var W = this.W;\n\n // 32 x 32bit words\n for (var i = 0; i < 32; i++)\n W[i] = msg[start + i];\n for (; i < W.length; i += 2) {\n var c0_hi = g1_512_hi(W[i - 4], W[i - 3]); // i - 2\n var c0_lo = g1_512_lo(W[i - 4], W[i - 3]);\n var c1_hi = W[i - 14]; // i - 7\n var c1_lo = W[i - 13];\n var c2_hi = g0_512_hi(W[i - 30], W[i - 29]); // i - 15\n var c2_lo = g0_512_lo(W[i - 30], W[i - 29]);\n var c3_hi = W[i - 32]; // i - 16\n var c3_lo = W[i - 31];\n\n W[i] = sum64_4_hi(\n c0_hi, c0_lo,\n c1_hi, c1_lo,\n c2_hi, c2_lo,\n c3_hi, c3_lo);\n W[i + 1] = sum64_4_lo(\n c0_hi, c0_lo,\n c1_hi, c1_lo,\n c2_hi, c2_lo,\n c3_hi, c3_lo);\n }\n};\n\nSHA512.prototype._update = function _update(msg, start) {\n this._prepareBlock(msg, start);\n\n var W = this.W;\n\n var ah = this.h[0];\n var al = this.h[1];\n var bh = this.h[2];\n var bl = this.h[3];\n var ch = this.h[4];\n var cl = this.h[5];\n var dh = this.h[6];\n var dl = this.h[7];\n var eh = this.h[8];\n var el = this.h[9];\n var fh = this.h[10];\n var fl = this.h[11];\n var gh = this.h[12];\n var gl = this.h[13];\n var hh = this.h[14];\n var hl = this.h[15];\n\n assert(this.k.length === W.length);\n for (var i = 0; i < W.length; i += 2) {\n var c0_hi = hh;\n var c0_lo = hl;\n var c1_hi = s1_512_hi(eh, el);\n var c1_lo = s1_512_lo(eh, el);\n var c2_hi = ch64_hi(eh, el, fh, fl, gh, gl);\n var c2_lo = ch64_lo(eh, el, fh, fl, gh, gl);\n var c3_hi = this.k[i];\n var c3_lo = this.k[i + 1];\n var c4_hi = W[i];\n var c4_lo = W[i + 1];\n\n var T1_hi = sum64_5_hi(\n c0_hi, c0_lo,\n c1_hi, c1_lo,\n c2_hi, c2_lo,\n c3_hi, c3_lo,\n c4_hi, c4_lo);\n var T1_lo = sum64_5_lo(\n c0_hi, c0_lo,\n c1_hi, c1_lo,\n c2_hi, c2_lo,\n c3_hi, c3_lo,\n c4_hi, c4_lo);\n\n c0_hi = s0_512_hi(ah, al);\n c0_lo = s0_512_lo(ah, al);\n c1_hi = maj64_hi(ah, al, bh, bl, ch, cl);\n c1_lo = maj64_lo(ah, al, bh, bl, ch, cl);\n\n var T2_hi = sum64_hi(c0_hi, c0_lo, c1_hi, c1_lo);\n var T2_lo = sum64_lo(c0_hi, c0_lo, c1_hi, c1_lo);\n\n hh = gh;\n hl = gl;\n\n gh = fh;\n gl = fl;\n\n fh = eh;\n fl = el;\n\n eh = sum64_hi(dh, dl, T1_hi, T1_lo);\n el = sum64_lo(dl, dl, T1_hi, T1_lo);\n\n dh = ch;\n dl = cl;\n\n ch = bh;\n cl = bl;\n\n bh = ah;\n bl = al;\n\n ah = sum64_hi(T1_hi, T1_lo, T2_hi, T2_lo);\n al = sum64_lo(T1_hi, T1_lo, T2_hi, T2_lo);\n }\n\n sum64(this.h, 0, ah, al);\n sum64(this.h, 2, bh, bl);\n sum64(this.h, 4, ch, cl);\n sum64(this.h, 6, dh, dl);\n sum64(this.h, 8, eh, el);\n sum64(this.h, 10, fh, fl);\n sum64(this.h, 12, gh, gl);\n sum64(this.h, 14, hh, hl);\n};\n\nSHA512.prototype._digest = function digest(enc) {\n if (enc === 'hex')\n return utils.toHex32(this.h, 'big');\n else\n return utils.split32(this.h, 'big');\n};\n\nfunction ch64_hi(xh, xl, yh, yl, zh) {\n var r = (xh & yh) ^ ((~xh) & zh);\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction ch64_lo(xh, xl, yh, yl, zh, zl) {\n var r = (xl & yl) ^ ((~xl) & zl);\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction maj64_hi(xh, xl, yh, yl, zh) {\n var r = (xh & yh) ^ (xh & zh) ^ (yh & zh);\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction maj64_lo(xh, xl, yh, yl, zh, zl) {\n var r = (xl & yl) ^ (xl & zl) ^ (yl & zl);\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction s0_512_hi(xh, xl) {\n var c0_hi = rotr64_hi(xh, xl, 28);\n var c1_hi = rotr64_hi(xl, xh, 2); // 34\n var c2_hi = rotr64_hi(xl, xh, 7); // 39\n\n var r = c0_hi ^ c1_hi ^ c2_hi;\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction s0_512_lo(xh, xl) {\n var c0_lo = rotr64_lo(xh, xl, 28);\n var c1_lo = rotr64_lo(xl, xh, 2); // 34\n var c2_lo = rotr64_lo(xl, xh, 7); // 39\n\n var r = c0_lo ^ c1_lo ^ c2_lo;\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction s1_512_hi(xh, xl) {\n var c0_hi = rotr64_hi(xh, xl, 14);\n var c1_hi = rotr64_hi(xh, xl, 18);\n var c2_hi = rotr64_hi(xl, xh, 9); // 41\n\n var r = c0_hi ^ c1_hi ^ c2_hi;\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction s1_512_lo(xh, xl) {\n var c0_lo = rotr64_lo(xh, xl, 14);\n var c1_lo = rotr64_lo(xh, xl, 18);\n var c2_lo = rotr64_lo(xl, xh, 9); // 41\n\n var r = c0_lo ^ c1_lo ^ c2_lo;\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction g0_512_hi(xh, xl) {\n var c0_hi = rotr64_hi(xh, xl, 1);\n var c1_hi = rotr64_hi(xh, xl, 8);\n var c2_hi = shr64_hi(xh, xl, 7);\n\n var r = c0_hi ^ c1_hi ^ c2_hi;\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction g0_512_lo(xh, xl) {\n var c0_lo = rotr64_lo(xh, xl, 1);\n var c1_lo = rotr64_lo(xh, xl, 8);\n var c2_lo = shr64_lo(xh, xl, 7);\n\n var r = c0_lo ^ c1_lo ^ c2_lo;\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction g1_512_hi(xh, xl) {\n var c0_hi = rotr64_hi(xh, xl, 19);\n var c1_hi = rotr64_hi(xl, xh, 29); // 61\n var c2_hi = shr64_hi(xh, xl, 6);\n\n var r = c0_hi ^ c1_hi ^ c2_hi;\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\nfunction g1_512_lo(xh, xl) {\n var c0_lo = rotr64_lo(xh, xl, 19);\n var c1_lo = rotr64_lo(xl, xh, 29); // 61\n var c2_lo = shr64_lo(xh, xl, 6);\n\n var r = c0_lo ^ c1_lo ^ c2_lo;\n if (r < 0)\n r += 0x100000000;\n return r;\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/sha/512.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/sha/common.js": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/sha/common.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./.codedoc/node_modules/hash.js/lib/hash/utils.js\");\nvar rotr32 = utils.rotr32;\n\nfunction ft_1(s, x, y, z) {\n if (s === 0)\n return ch32(x, y, z);\n if (s === 1 || s === 3)\n return p32(x, y, z);\n if (s === 2)\n return maj32(x, y, z);\n}\nexports.ft_1 = ft_1;\n\nfunction ch32(x, y, z) {\n return (x & y) ^ ((~x) & z);\n}\nexports.ch32 = ch32;\n\nfunction maj32(x, y, z) {\n return (x & y) ^ (x & z) ^ (y & z);\n}\nexports.maj32 = maj32;\n\nfunction p32(x, y, z) {\n return x ^ y ^ z;\n}\nexports.p32 = p32;\n\nfunction s0_256(x) {\n return rotr32(x, 2) ^ rotr32(x, 13) ^ rotr32(x, 22);\n}\nexports.s0_256 = s0_256;\n\nfunction s1_256(x) {\n return rotr32(x, 6) ^ rotr32(x, 11) ^ rotr32(x, 25);\n}\nexports.s1_256 = s1_256;\n\nfunction g0_256(x) {\n return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3);\n}\nexports.g0_256 = g0_256;\n\nfunction g1_256(x) {\n return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10);\n}\nexports.g1_256 = g1_256;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/sha/common.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hash.js/lib/hash/utils.js": -/*!*********************************************************!*\ - !*** ./.codedoc/node_modules/hash.js/lib/hash/utils.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n\nexports.inherits = inherits;\n\nfunction isSurrogatePair(msg, i) {\n if ((msg.charCodeAt(i) & 0xFC00) !== 0xD800) {\n return false;\n }\n if (i < 0 || i + 1 >= msg.length) {\n return false;\n }\n return (msg.charCodeAt(i + 1) & 0xFC00) === 0xDC00;\n}\n\nfunction toArray(msg, enc) {\n if (Array.isArray(msg))\n return msg.slice();\n if (!msg)\n return [];\n var res = [];\n if (typeof msg === 'string') {\n if (!enc) {\n // Inspired by stringToUtf8ByteArray() in closure-library by Google\n // https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143\n // Apache License 2.0\n // https://github.com/google/closure-library/blob/master/LICENSE\n var p = 0;\n for (var i = 0; i < msg.length; i++) {\n var c = msg.charCodeAt(i);\n if (c < 128) {\n res[p++] = c;\n } else if (c < 2048) {\n res[p++] = (c >> 6) | 192;\n res[p++] = (c & 63) | 128;\n } else if (isSurrogatePair(msg, i)) {\n c = 0x10000 + ((c & 0x03FF) << 10) + (msg.charCodeAt(++i) & 0x03FF);\n res[p++] = (c >> 18) | 240;\n res[p++] = ((c >> 12) & 63) | 128;\n res[p++] = ((c >> 6) & 63) | 128;\n res[p++] = (c & 63) | 128;\n } else {\n res[p++] = (c >> 12) | 224;\n res[p++] = ((c >> 6) & 63) | 128;\n res[p++] = (c & 63) | 128;\n }\n }\n } else if (enc === 'hex') {\n msg = msg.replace(/[^a-z0-9]+/ig, '');\n if (msg.length % 2 !== 0)\n msg = '0' + msg;\n for (i = 0; i < msg.length; i += 2)\n res.push(parseInt(msg[i] + msg[i + 1], 16));\n }\n } else {\n for (i = 0; i < msg.length; i++)\n res[i] = msg[i] | 0;\n }\n return res;\n}\nexports.toArray = toArray;\n\nfunction toHex(msg) {\n var res = '';\n for (var i = 0; i < msg.length; i++)\n res += zero2(msg[i].toString(16));\n return res;\n}\nexports.toHex = toHex;\n\nfunction htonl(w) {\n var res = (w >>> 24) |\n ((w >>> 8) & 0xff00) |\n ((w << 8) & 0xff0000) |\n ((w & 0xff) << 24);\n return res >>> 0;\n}\nexports.htonl = htonl;\n\nfunction toHex32(msg, endian) {\n var res = '';\n for (var i = 0; i < msg.length; i++) {\n var w = msg[i];\n if (endian === 'little')\n w = htonl(w);\n res += zero8(w.toString(16));\n }\n return res;\n}\nexports.toHex32 = toHex32;\n\nfunction zero2(word) {\n if (word.length === 1)\n return '0' + word;\n else\n return word;\n}\nexports.zero2 = zero2;\n\nfunction zero8(word) {\n if (word.length === 7)\n return '0' + word;\n else if (word.length === 6)\n return '00' + word;\n else if (word.length === 5)\n return '000' + word;\n else if (word.length === 4)\n return '0000' + word;\n else if (word.length === 3)\n return '00000' + word;\n else if (word.length === 2)\n return '000000' + word;\n else if (word.length === 1)\n return '0000000' + word;\n else\n return word;\n}\nexports.zero8 = zero8;\n\nfunction join32(msg, start, end, endian) {\n var len = end - start;\n assert(len % 4 === 0);\n var res = new Array(len / 4);\n for (var i = 0, k = start; i < res.length; i++, k += 4) {\n var w;\n if (endian === 'big')\n w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3];\n else\n w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k];\n res[i] = w >>> 0;\n }\n return res;\n}\nexports.join32 = join32;\n\nfunction split32(msg, endian) {\n var res = new Array(msg.length * 4);\n for (var i = 0, k = 0; i < msg.length; i++, k += 4) {\n var m = msg[i];\n if (endian === 'big') {\n res[k] = m >>> 24;\n res[k + 1] = (m >>> 16) & 0xff;\n res[k + 2] = (m >>> 8) & 0xff;\n res[k + 3] = m & 0xff;\n } else {\n res[k + 3] = m >>> 24;\n res[k + 2] = (m >>> 16) & 0xff;\n res[k + 1] = (m >>> 8) & 0xff;\n res[k] = m & 0xff;\n }\n }\n return res;\n}\nexports.split32 = split32;\n\nfunction rotr32(w, b) {\n return (w >>> b) | (w << (32 - b));\n}\nexports.rotr32 = rotr32;\n\nfunction rotl32(w, b) {\n return (w << b) | (w >>> (32 - b));\n}\nexports.rotl32 = rotl32;\n\nfunction sum32(a, b) {\n return (a + b) >>> 0;\n}\nexports.sum32 = sum32;\n\nfunction sum32_3(a, b, c) {\n return (a + b + c) >>> 0;\n}\nexports.sum32_3 = sum32_3;\n\nfunction sum32_4(a, b, c, d) {\n return (a + b + c + d) >>> 0;\n}\nexports.sum32_4 = sum32_4;\n\nfunction sum32_5(a, b, c, d, e) {\n return (a + b + c + d + e) >>> 0;\n}\nexports.sum32_5 = sum32_5;\n\nfunction sum64(buf, pos, ah, al) {\n var bh = buf[pos];\n var bl = buf[pos + 1];\n\n var lo = (al + bl) >>> 0;\n var hi = (lo < al ? 1 : 0) + ah + bh;\n buf[pos] = hi >>> 0;\n buf[pos + 1] = lo;\n}\nexports.sum64 = sum64;\n\nfunction sum64_hi(ah, al, bh, bl) {\n var lo = (al + bl) >>> 0;\n var hi = (lo < al ? 1 : 0) + ah + bh;\n return hi >>> 0;\n}\nexports.sum64_hi = sum64_hi;\n\nfunction sum64_lo(ah, al, bh, bl) {\n var lo = al + bl;\n return lo >>> 0;\n}\nexports.sum64_lo = sum64_lo;\n\nfunction sum64_4_hi(ah, al, bh, bl, ch, cl, dh, dl) {\n var carry = 0;\n var lo = al;\n lo = (lo + bl) >>> 0;\n carry += lo < al ? 1 : 0;\n lo = (lo + cl) >>> 0;\n carry += lo < cl ? 1 : 0;\n lo = (lo + dl) >>> 0;\n carry += lo < dl ? 1 : 0;\n\n var hi = ah + bh + ch + dh + carry;\n return hi >>> 0;\n}\nexports.sum64_4_hi = sum64_4_hi;\n\nfunction sum64_4_lo(ah, al, bh, bl, ch, cl, dh, dl) {\n var lo = al + bl + cl + dl;\n return lo >>> 0;\n}\nexports.sum64_4_lo = sum64_4_lo;\n\nfunction sum64_5_hi(ah, al, bh, bl, ch, cl, dh, dl, eh, el) {\n var carry = 0;\n var lo = al;\n lo = (lo + bl) >>> 0;\n carry += lo < al ? 1 : 0;\n lo = (lo + cl) >>> 0;\n carry += lo < cl ? 1 : 0;\n lo = (lo + dl) >>> 0;\n carry += lo < dl ? 1 : 0;\n lo = (lo + el) >>> 0;\n carry += lo < el ? 1 : 0;\n\n var hi = ah + bh + ch + dh + eh + carry;\n return hi >>> 0;\n}\nexports.sum64_5_hi = sum64_5_hi;\n\nfunction sum64_5_lo(ah, al, bh, bl, ch, cl, dh, dl, eh, el) {\n var lo = al + bl + cl + dl + el;\n\n return lo >>> 0;\n}\nexports.sum64_5_lo = sum64_5_lo;\n\nfunction rotr64_hi(ah, al, num) {\n var r = (al << (32 - num)) | (ah >>> num);\n return r >>> 0;\n}\nexports.rotr64_hi = rotr64_hi;\n\nfunction rotr64_lo(ah, al, num) {\n var r = (ah << (32 - num)) | (al >>> num);\n return r >>> 0;\n}\nexports.rotr64_lo = rotr64_lo;\n\nfunction shr64_hi(ah, al, num) {\n return ah >>> num;\n}\nexports.shr64_hi = shr64_hi;\n\nfunction shr64_lo(ah, al, num) {\n var r = (ah << (32 - num)) | (al >>> num);\n return r >>> 0;\n}\nexports.shr64_lo = shr64_lo;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hash.js/lib/hash/utils.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hmac-drbg/lib/hmac-drbg.js": -/*!**********************************************************!*\ - !*** ./.codedoc/node_modules/hmac-drbg/lib/hmac-drbg.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar hash = __webpack_require__(/*! hash.js */ \"./.codedoc/node_modules/hash.js/lib/hash.js\");\nvar utils = __webpack_require__(/*! minimalistic-crypto-utils */ \"./.codedoc/node_modules/minimalistic-crypto-utils/lib/utils.js\");\nvar assert = __webpack_require__(/*! minimalistic-assert */ \"./.codedoc/node_modules/minimalistic-assert/index.js\");\n\nfunction HmacDRBG(options) {\n if (!(this instanceof HmacDRBG))\n return new HmacDRBG(options);\n this.hash = options.hash;\n this.predResist = !!options.predResist;\n\n this.outLen = this.hash.outSize;\n this.minEntropy = options.minEntropy || this.hash.hmacStrength;\n\n this._reseed = null;\n this.reseedInterval = null;\n this.K = null;\n this.V = null;\n\n var entropy = utils.toArray(options.entropy, options.entropyEnc || 'hex');\n var nonce = utils.toArray(options.nonce, options.nonceEnc || 'hex');\n var pers = utils.toArray(options.pers, options.persEnc || 'hex');\n assert(entropy.length >= (this.minEntropy / 8),\n 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits');\n this._init(entropy, nonce, pers);\n}\nmodule.exports = HmacDRBG;\n\nHmacDRBG.prototype._init = function init(entropy, nonce, pers) {\n var seed = entropy.concat(nonce).concat(pers);\n\n this.K = new Array(this.outLen / 8);\n this.V = new Array(this.outLen / 8);\n for (var i = 0; i < this.V.length; i++) {\n this.K[i] = 0x00;\n this.V[i] = 0x01;\n }\n\n this._update(seed);\n this._reseed = 1;\n this.reseedInterval = 0x1000000000000; // 2^48\n};\n\nHmacDRBG.prototype._hmac = function hmac() {\n return new hash.hmac(this.hash, this.K);\n};\n\nHmacDRBG.prototype._update = function update(seed) {\n var kmac = this._hmac()\n .update(this.V)\n .update([ 0x00 ]);\n if (seed)\n kmac = kmac.update(seed);\n this.K = kmac.digest();\n this.V = this._hmac().update(this.V).digest();\n if (!seed)\n return;\n\n this.K = this._hmac()\n .update(this.V)\n .update([ 0x01 ])\n .update(seed)\n .digest();\n this.V = this._hmac().update(this.V).digest();\n};\n\nHmacDRBG.prototype.reseed = function reseed(entropy, entropyEnc, add, addEnc) {\n // Optional entropy enc\n if (typeof entropyEnc !== 'string') {\n addEnc = add;\n add = entropyEnc;\n entropyEnc = null;\n }\n\n entropy = utils.toArray(entropy, entropyEnc);\n add = utils.toArray(add, addEnc);\n\n assert(entropy.length >= (this.minEntropy / 8),\n 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits');\n\n this._update(entropy.concat(add || []));\n this._reseed = 1;\n};\n\nHmacDRBG.prototype.generate = function generate(len, enc, add, addEnc) {\n if (this._reseed > this.reseedInterval)\n throw new Error('Reseed is required');\n\n // Optional encoding\n if (typeof enc !== 'string') {\n addEnc = add;\n add = enc;\n enc = null;\n }\n\n // Optional additional data\n if (add) {\n add = utils.toArray(add, addEnc || 'hex');\n this._update(add);\n }\n\n var temp = [];\n while (temp.length < len) {\n this.V = this._hmac().update(this.V).digest();\n temp = temp.concat(this.V);\n }\n\n var res = temp.slice(0, len);\n this._update(add);\n this._reseed++;\n return utils.encode(res, enc);\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hmac-drbg/lib/hmac-drbg.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/hyphenate-style-name/index.js": -/*!*************************************************************!*\ - !*** ./.codedoc/node_modules/hyphenate-style-name/index.js ***! - \*************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* eslint-disable no-var, prefer-template */\nvar uppercasePattern = /[A-Z]/g\nvar msPattern = /^ms-/\nvar cache = {}\n\nfunction toHyphenLower(match) {\n return '-' + match.toLowerCase()\n}\n\nfunction hyphenateStyleName(name) {\n if (cache.hasOwnProperty(name)) {\n return cache[name]\n }\n\n var hName = name.replace(uppercasePattern, toHyphenLower)\n return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (hyphenateStyleName);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/hyphenate-style-name/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/ieee754/index.js": -/*!************************************************!*\ - !*** ./.codedoc/node_modules/ieee754/index.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/ieee754/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/inherits/inherits_browser.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/inherits/inherits_browser.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/inherits/inherits_browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/is-arrayish/index.js": -/*!****************************************************!*\ - !*** ./.codedoc/node_modules/is-arrayish/index.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function isArrayish(obj) {\n\tif (!obj || typeof obj === 'string') {\n\t\treturn false;\n\t}\n\n\treturn obj instanceof Array || Array.isArray(obj) ||\n\t\t(obj.length >= 0 && (obj.splice instanceof Function ||\n\t\t\t(Object.getOwnPropertyDescriptor(obj, (obj.length - 1)) && obj.constructor.name !== 'String')));\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/is-arrayish/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/is-in-browser/dist/module.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/is-in-browser/dist/module.js ***! - \************************************************************/ -/*! exports provided: isBrowser, default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isBrowser\", function() { return isBrowser; });\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar isBrowser = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && (typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) === 'object' && document.nodeType === 9;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (isBrowser);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/is-in-browser/dist/module.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/isarray/index.js": -/*!************************************************!*\ - !*** ./.codedoc/node_modules/isarray/index.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/isarray/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js ***! - \***************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hyphenate-style-name */ \"./.codedoc/node_modules/hyphenate-style-name/index.js\");\n\n\n/**\n * Convert camel cased property names to dash separated.\n *\n * @param {Object} style\n * @return {Object}\n */\n\nfunction convertCase(style) {\n var converted = {};\n\n for (var prop in style) {\n var key = prop.indexOf('--') === 0 ? prop : Object(hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(prop);\n converted[key] = style[prop];\n }\n\n if (style.fallbacks) {\n if (Array.isArray(style.fallbacks)) converted.fallbacks = style.fallbacks.map(convertCase);else converted.fallbacks = convertCase(style.fallbacks);\n }\n\n return converted;\n}\n/**\n * Allow camel cased property names by converting them back to dasherized.\n *\n * @param {Rule} rule\n */\n\n\nfunction camelCase() {\n function onProcessStyle(style) {\n if (Array.isArray(style)) {\n // Handle rules like @font-face, which can have multiple styles in an array\n for (var index = 0; index < style.length; index++) {\n style[index] = convertCase(style[index]);\n }\n\n return style;\n }\n\n return convertCase(style);\n }\n\n function onChangeValue(value, prop, rule) {\n if (prop.indexOf('--') === 0) {\n return value;\n }\n\n var hyphenatedProp = Object(hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(prop); // There was no camel case in place\n\n if (prop === hyphenatedProp) return value;\n rule.prop(hyphenatedProp, value); // Core will ignore that property value we set the proper one above.\n\n return null;\n }\n\n return {\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (camelCase);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-compose/dist/jss-plugin-compose.esm.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-compose/dist/jss-plugin-compose.esm.js ***! - \*********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-warning */ \"./.codedoc/node_modules/tiny-warning/dist/tiny-warning.esm.js\");\n\n\n/**\n * Set selector.\n *\n * @param {Object} original rule\n * @param {String} className class string\n * @return {Boolean} flag, indicating function was successfull or not\n */\nfunction registerClass(rule, className) {\n // Skip falsy values\n if (!className) return true; // Support array of class names `{composes: ['foo', 'bar']}`\n\n if (Array.isArray(className)) {\n for (var index = 0; index < className.length; index++) {\n var isSetted = registerClass(rule, className[index]);\n if (!isSetted) return false;\n }\n\n return true;\n } // Support space separated class names `{composes: 'foo bar'}`\n\n\n if (className.indexOf(' ') > -1) {\n return registerClass(rule, className.split(' '));\n }\n\n var _ref = rule.options,\n parent = _ref.parent; // It is a ref to a local rule.\n\n if (className[0] === '$') {\n var refRule = parent.getRule(className.substr(1));\n\n if (!refRule) {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(false, \"[JSS] Referenced rule is not defined. \\n\" + rule.toString()) : undefined;\n return false;\n }\n\n if (refRule === rule) {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(false, \"[JSS] Cyclic composition detected. \\n\" + rule.toString()) : undefined;\n return false;\n }\n\n parent.classes[rule.key] += \" \" + parent.classes[refRule.key];\n return true;\n }\n\n parent.classes[rule.key] += \" \" + className;\n return true;\n}\n/**\n * Convert compose property to additional class, remove property from original styles.\n *\n * @param {Rule} rule\n * @api public\n */\n\n\nfunction jssCompose() {\n function onProcessStyle(style, rule) {\n if (!('composes' in style)) return style;\n registerClass(rule, style.composes); // Remove composes property to prevent infinite loop.\n\n delete style.composes;\n return style;\n }\n\n return {\n onProcessStyle: onProcessStyle\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (jssCompose);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-compose/dist/jss-plugin-compose.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js": -/*!*******************************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js ***! - \*******************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss */ \"./.codedoc/node_modules/jss/dist/jss.esm.js\");\n\n\nvar px = jss__WEBPACK_IMPORTED_MODULE_0__[\"hasCSSTOMSupport\"] && CSS ? CSS.px : 'px';\nvar ms = jss__WEBPACK_IMPORTED_MODULE_0__[\"hasCSSTOMSupport\"] && CSS ? CSS.ms : 'ms';\nvar percent = jss__WEBPACK_IMPORTED_MODULE_0__[\"hasCSSTOMSupport\"] && CSS ? CSS.percent : '%';\n/**\n * Generated jss-plugin-default-unit CSS property units\n *\n * @type object\n */\n\nvar defaultUnits = {\n // Animation properties\n 'animation-delay': ms,\n 'animation-duration': ms,\n // Background properties\n 'background-position': px,\n 'background-position-x': px,\n 'background-position-y': px,\n 'background-size': px,\n // Border Properties\n border: px,\n 'border-bottom': px,\n 'border-bottom-left-radius': px,\n 'border-bottom-right-radius': px,\n 'border-bottom-width': px,\n 'border-left': px,\n 'border-left-width': px,\n 'border-radius': px,\n 'border-right': px,\n 'border-right-width': px,\n 'border-top': px,\n 'border-top-left-radius': px,\n 'border-top-right-radius': px,\n 'border-top-width': px,\n 'border-width': px,\n 'border-block': px,\n 'border-block-end': px,\n 'border-block-end-width': px,\n 'border-block-start': px,\n 'border-block-start-width': px,\n 'border-block-width': px,\n 'border-inline': px,\n 'border-inline-end': px,\n 'border-inline-end-width': px,\n 'border-inline-start': px,\n 'border-inline-start-width': px,\n 'border-inline-width': px,\n 'border-start-start-radius': px,\n 'border-start-end-radius': px,\n 'border-end-start-radius': px,\n 'border-end-end-radius': px,\n // Margin properties\n margin: px,\n 'margin-bottom': px,\n 'margin-left': px,\n 'margin-right': px,\n 'margin-top': px,\n 'margin-block': px,\n 'margin-block-end': px,\n 'margin-block-start': px,\n 'margin-inline': px,\n 'margin-inline-end': px,\n 'margin-inline-start': px,\n // Padding properties\n padding: px,\n 'padding-bottom': px,\n 'padding-left': px,\n 'padding-right': px,\n 'padding-top': px,\n 'padding-block': px,\n 'padding-block-end': px,\n 'padding-block-start': px,\n 'padding-inline': px,\n 'padding-inline-end': px,\n 'padding-inline-start': px,\n // Mask properties\n 'mask-position-x': px,\n 'mask-position-y': px,\n 'mask-size': px,\n // Width and height properties\n height: px,\n width: px,\n 'min-height': px,\n 'max-height': px,\n 'min-width': px,\n 'max-width': px,\n // Position properties\n bottom: px,\n left: px,\n top: px,\n right: px,\n inset: px,\n 'inset-block': px,\n 'inset-block-end': px,\n 'inset-block-start': px,\n 'inset-inline': px,\n 'inset-inline-end': px,\n 'inset-inline-start': px,\n // Shadow properties\n 'box-shadow': px,\n 'text-shadow': px,\n // Column properties\n 'column-gap': px,\n 'column-rule': px,\n 'column-rule-width': px,\n 'column-width': px,\n // Font and text properties\n 'font-size': px,\n 'font-size-delta': px,\n 'letter-spacing': px,\n 'text-decoration-thickness': px,\n 'text-indent': px,\n 'text-stroke': px,\n 'text-stroke-width': px,\n 'word-spacing': px,\n // Motion properties\n motion: px,\n 'motion-offset': px,\n // Outline properties\n outline: px,\n 'outline-offset': px,\n 'outline-width': px,\n // Perspective properties\n perspective: px,\n 'perspective-origin-x': percent,\n 'perspective-origin-y': percent,\n // Transform properties\n 'transform-origin': percent,\n 'transform-origin-x': percent,\n 'transform-origin-y': percent,\n 'transform-origin-z': percent,\n // Transition properties\n 'transition-delay': ms,\n 'transition-duration': ms,\n // Alignment properties\n 'vertical-align': px,\n 'flex-basis': px,\n // Some random properties\n 'shape-margin': px,\n size: px,\n gap: px,\n // Grid properties\n grid: px,\n 'grid-gap': px,\n 'row-gap': px,\n 'grid-row-gap': px,\n 'grid-column-gap': px,\n 'grid-template-rows': px,\n 'grid-template-columns': px,\n 'grid-auto-rows': px,\n 'grid-auto-columns': px,\n // Not existing properties.\n // Used to avoid issues with jss-plugin-expand integration.\n 'box-shadow-x': px,\n 'box-shadow-y': px,\n 'box-shadow-blur': px,\n 'box-shadow-spread': px,\n 'font-line-height': px,\n 'text-shadow-x': px,\n 'text-shadow-y': px,\n 'text-shadow-blur': px\n};\n\n/**\n * Clones the object and adds a camel cased property version.\n */\nfunction addCamelCasedVersion(obj) {\n var regExp = /(-[a-z])/g;\n\n var replace = function replace(str) {\n return str[1].toUpperCase();\n };\n\n var newObj = {};\n\n for (var _key in obj) {\n newObj[_key] = obj[_key];\n newObj[_key.replace(regExp, replace)] = obj[_key];\n }\n\n return newObj;\n}\n\nvar units = addCamelCasedVersion(defaultUnits);\n/**\n * Recursive deep style passing function\n */\n\nfunction iterate(prop, value, options) {\n if (value == null) return value;\n\n if (Array.isArray(value)) {\n for (var i = 0; i < value.length; i++) {\n value[i] = iterate(prop, value[i], options);\n }\n } else if (typeof value === 'object') {\n if (prop === 'fallbacks') {\n for (var innerProp in value) {\n value[innerProp] = iterate(innerProp, value[innerProp], options);\n }\n } else {\n for (var _innerProp in value) {\n value[_innerProp] = iterate(prop + \"-\" + _innerProp, value[_innerProp], options);\n }\n } // eslint-disable-next-line no-restricted-globals\n\n } else if (typeof value === 'number' && isNaN(value) === false) {\n var unit = options[prop] || units[prop]; // Add the unit if available, except for the special case of 0px.\n\n if (unit && !(value === 0 && unit === px)) {\n return typeof unit === 'function' ? unit(value).toString() : \"\" + value + unit;\n }\n\n return value.toString();\n }\n\n return value;\n}\n/**\n * Add unit to numeric values.\n */\n\n\nfunction defaultUnit(options) {\n if (options === void 0) {\n options = {};\n }\n\n var camelCasedOptions = addCamelCasedVersion(options);\n\n function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n\n for (var prop in style) {\n style[prop] = iterate(prop, style[prop], camelCasedOptions);\n }\n\n return style;\n }\n\n function onChangeValue(value, prop) {\n return iterate(prop, value, camelCasedOptions);\n }\n\n return {\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (defaultUnit);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-expand/dist/jss-plugin-expand.esm.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-expand/dist/jss-plugin-expand.esm.js ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/**\n * A scheme for converting properties from array to regular style.\n * All properties listed below will be transformed to a string separated by space.\n */\nvar propArray = {\n 'background-size': true,\n 'background-position': true,\n border: true,\n 'border-bottom': true,\n 'border-left': true,\n 'border-top': true,\n 'border-right': true,\n 'border-radius': true,\n 'border-image': true,\n 'border-width': true,\n 'border-style': true,\n 'border-color': true,\n 'box-shadow': true,\n flex: true,\n margin: true,\n padding: true,\n outline: true,\n 'transform-origin': true,\n transform: true,\n transition: true\n /**\n * A scheme for converting arrays to regular styles inside of objects.\n * For e.g.: \"{position: [0, 0]}\" => \"background-position: 0 0;\".\n */\n\n};\nvar propArrayInObj = {\n position: true,\n // background-position\n size: true // background-size\n\n /**\n * A scheme for parsing and building correct styles from passed objects.\n */\n\n};\nvar propObj = {\n padding: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n margin: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n background: {\n attachment: null,\n color: null,\n image: null,\n position: null,\n repeat: null\n },\n border: {\n width: null,\n style: null,\n color: null\n },\n 'border-top': {\n width: null,\n style: null,\n color: null\n },\n 'border-right': {\n width: null,\n style: null,\n color: null\n },\n 'border-bottom': {\n width: null,\n style: null,\n color: null\n },\n 'border-left': {\n width: null,\n style: null,\n color: null\n },\n outline: {\n width: null,\n style: null,\n color: null\n },\n 'list-style': {\n type: null,\n position: null,\n image: null\n },\n transition: {\n property: null,\n duration: null,\n 'timing-function': null,\n timingFunction: null,\n // Needed for avoiding comilation issues with jss-plugin-camel-case\n delay: null\n },\n animation: {\n name: null,\n duration: null,\n 'timing-function': null,\n timingFunction: null,\n // Needed to avoid compilation issues with jss-plugin-camel-case\n delay: null,\n 'iteration-count': null,\n iterationCount: null,\n // Needed to avoid compilation issues with jss-plugin-camel-case\n direction: null,\n 'fill-mode': null,\n fillMode: null,\n // Needed to avoid compilation issues with jss-plugin-camel-case\n 'play-state': null,\n playState: null // Needed to avoid compilation issues with jss-plugin-camel-case\n\n },\n 'box-shadow': {\n x: 0,\n y: 0,\n blur: 0,\n spread: 0,\n color: null,\n inset: null\n },\n 'text-shadow': {\n x: 0,\n y: 0,\n blur: null,\n color: null\n }\n /**\n * A scheme for converting non-standart properties inside object.\n * For e.g.: include 'border-radius' property inside 'border' object.\n */\n\n};\nvar customPropObj = {\n border: {\n radius: 'border-radius',\n image: 'border-image',\n width: 'border-width',\n style: 'border-style',\n color: 'border-color'\n },\n 'border-bottom': {\n width: 'border-bottom-width',\n style: 'border-bottom-style',\n color: 'border-bottom-color'\n },\n 'border-top': {\n width: 'border-top-width',\n style: 'border-top-style',\n color: 'border-top-color'\n },\n 'border-left': {\n width: 'border-left-width',\n style: 'border-left-style',\n color: 'border-left-color'\n },\n 'border-right': {\n width: 'border-right-width',\n style: 'border-right-style',\n color: 'border-right-color'\n },\n background: {\n size: 'background-size',\n image: 'background-image'\n },\n font: {\n style: 'font-style',\n variant: 'font-variant',\n weight: 'font-weight',\n stretch: 'font-stretch',\n size: 'font-size',\n family: 'font-family',\n lineHeight: 'line-height',\n // Needed to avoid compilation issues with jss-plugin-camel-case\n 'line-height': 'line-height'\n },\n flex: {\n grow: 'flex-grow',\n basis: 'flex-basis',\n direction: 'flex-direction',\n wrap: 'flex-wrap',\n flow: 'flex-flow',\n shrink: 'flex-shrink'\n },\n align: {\n self: 'align-self',\n items: 'align-items',\n content: 'align-content'\n },\n grid: {\n 'template-columns': 'grid-template-columns',\n templateColumns: 'grid-template-columns',\n 'template-rows': 'grid-template-rows',\n templateRows: 'grid-template-rows',\n 'template-areas': 'grid-template-areas',\n templateAreas: 'grid-template-areas',\n template: 'grid-template',\n 'auto-columns': 'grid-auto-columns',\n autoColumns: 'grid-auto-columns',\n 'auto-rows': 'grid-auto-rows',\n autoRows: 'grid-auto-rows',\n 'auto-flow': 'grid-auto-flow',\n autoFlow: 'grid-auto-flow',\n row: 'grid-row',\n column: 'grid-column',\n 'row-start': 'grid-row-start',\n rowStart: 'grid-row-start',\n 'row-end': 'grid-row-end',\n rowEnd: 'grid-row-end',\n 'column-start': 'grid-column-start',\n columnStart: 'grid-column-start',\n 'column-end': 'grid-column-end',\n columnEnd: 'grid-column-end',\n area: 'grid-area',\n gap: 'grid-gap',\n 'row-gap': 'grid-row-gap',\n rowGap: 'grid-row-gap',\n 'column-gap': 'grid-column-gap',\n columnGap: 'grid-column-gap'\n }\n};\n\n/* eslint-disable no-use-before-define */\n\n/**\n * Map values by given prop.\n *\n * @param {Array} array of values\n * @param {String} original property\n * @param {String} original rule\n * @return {String} mapped values\n */\nfunction mapValuesByProp(value, prop, rule) {\n return value.map(function (item) {\n return objectToArray(item, prop, rule, false, true);\n });\n}\n/**\n * Convert array to nested array, if needed\n */\n\n\nfunction processArray(value, prop, scheme, rule) {\n if (scheme[prop] == null) return value;\n if (value.length === 0) return [];\n if (Array.isArray(value[0])) return processArray(value[0], prop, scheme, rule);\n\n if (typeof value[0] === 'object') {\n return mapValuesByProp(value, prop, rule);\n }\n\n return [value];\n}\n/**\n * Convert object to array.\n */\n\n\nfunction objectToArray(value, prop, rule, isFallback, isInArray) {\n if (!(propObj[prop] || customPropObj[prop])) return [];\n var result = []; // Check if exists any non-standard property\n\n if (customPropObj[prop]) {\n // eslint-disable-next-line no-param-reassign\n value = customPropsToStyle(value, rule, customPropObj[prop], isFallback);\n } // Pass throught all standart props\n\n\n if (Object.keys(value).length) {\n for (var baseProp in propObj[prop]) {\n if (value[baseProp]) {\n if (Array.isArray(value[baseProp])) {\n result.push(propArrayInObj[baseProp] === null ? value[baseProp] : value[baseProp].join(' '));\n } else result.push(value[baseProp]);\n\n continue;\n } // Add default value from props config.\n\n\n if (propObj[prop][baseProp] != null) {\n result.push(propObj[prop][baseProp]);\n }\n }\n }\n\n if (!result.length || isInArray) return result;\n return [result];\n}\n/**\n * Convert custom properties values to styles adding them to rule directly\n */\n\n\nfunction customPropsToStyle(value, rule, customProps, isFallback) {\n for (var prop in customProps) {\n var propName = customProps[prop]; // If current property doesn't exist already in rule - add new one\n\n if (typeof value[prop] !== 'undefined' && (isFallback || !rule.prop(propName))) {\n var _styleDetector;\n\n var appendedValue = styleDetector((_styleDetector = {}, _styleDetector[propName] = value[prop], _styleDetector), rule)[propName]; // Add style directly in rule\n\n if (isFallback) rule.style.fallbacks[propName] = appendedValue;else rule.style[propName] = appendedValue;\n } // Delete converted property to avoid double converting\n\n\n delete value[prop];\n }\n\n return value;\n}\n/**\n * Detect if a style needs to be converted.\n */\n\n\nfunction styleDetector(style, rule, isFallback) {\n for (var prop in style) {\n var value = style[prop];\n\n if (Array.isArray(value)) {\n // Check double arrays to avoid recursion.\n if (!Array.isArray(value[0])) {\n if (prop === 'fallbacks') {\n for (var index = 0; index < style.fallbacks.length; index++) {\n style.fallbacks[index] = styleDetector(style.fallbacks[index], rule, true);\n }\n\n continue;\n }\n\n style[prop] = processArray(value, prop, propArray, rule); // Avoid creating properties with empty values\n\n if (!style[prop].length) delete style[prop];\n }\n } else if (typeof value === 'object') {\n if (prop === 'fallbacks') {\n style.fallbacks = styleDetector(style.fallbacks, rule, true);\n continue;\n }\n\n style[prop] = objectToArray(value, prop, rule, isFallback); // Avoid creating properties with empty values\n\n if (!style[prop].length) delete style[prop];\n } // Maybe a computed value resulting in an empty string\n else if (style[prop] === '') delete style[prop];\n }\n\n return style;\n}\n/**\n * Adds possibility to write expanded styles.\n */\n\n\nfunction jssExpand() {\n function onProcessStyle(style, rule) {\n if (!style || rule.type !== 'style') return style;\n\n if (Array.isArray(style)) {\n // Pass rules one by one and reformat them\n for (var index = 0; index < style.length; index++) {\n style[index] = styleDetector(style[index], rule);\n }\n\n return style;\n }\n\n return styleDetector(style, rule);\n }\n\n return {\n onProcessStyle: onProcessStyle\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (jssExpand);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-expand/dist/jss-plugin-expand.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-extend/dist/jss-plugin-extend.esm.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-extend/dist/jss-plugin-extend.esm.js ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/extends.js\");\n/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-warning */ \"./.codedoc/node_modules/tiny-warning/dist/tiny-warning.esm.js\");\n\n\n\nvar isObject = function isObject(obj) {\n return obj && typeof obj === 'object' && !Array.isArray(obj);\n};\n\nvar valueNs = \"extendCurrValue\" + Date.now();\n\nfunction mergeExtend(style, rule, sheet, newStyle) {\n var extendType = typeof style.extend; // Extend using a rule name.\n\n if (extendType === 'string') {\n if (!sheet) return;\n var refRule = sheet.getRule(style.extend);\n if (!refRule) return;\n\n if (refRule === rule) {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(false, \"[JSS] A rule tries to extend itself \\n\" + rule.toString()) : undefined;\n return;\n }\n\n var parent = refRule.options.parent;\n\n if (parent) {\n var originalStyle = parent.rules.raw[style.extend];\n extend(originalStyle, rule, sheet, newStyle);\n }\n\n return;\n } // Extend using an array.\n\n\n if (Array.isArray(style.extend)) {\n for (var index = 0; index < style.extend.length; index++) {\n var singleExtend = style.extend[index];\n var singleStyle = typeof singleExtend === 'string' ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, style, {\n extend: singleExtend\n }) : style.extend[index];\n extend(singleStyle, rule, sheet, newStyle);\n }\n\n return;\n } // Extend is a style object.\n\n\n for (var prop in style.extend) {\n if (prop === 'extend') {\n extend(style.extend.extend, rule, sheet, newStyle);\n continue;\n }\n\n if (isObject(style.extend[prop])) {\n if (!(prop in newStyle)) newStyle[prop] = {};\n extend(style.extend[prop], rule, sheet, newStyle[prop]);\n continue;\n }\n\n newStyle[prop] = style.extend[prop];\n }\n}\n\nfunction mergeRest(style, rule, sheet, newStyle) {\n // Copy base style.\n for (var prop in style) {\n if (prop === 'extend') continue;\n\n if (isObject(newStyle[prop]) && isObject(style[prop])) {\n extend(style[prop], rule, sheet, newStyle[prop]);\n continue;\n }\n\n if (isObject(style[prop])) {\n newStyle[prop] = extend(style[prop], rule, sheet);\n continue;\n }\n\n newStyle[prop] = style[prop];\n }\n}\n/**\n * Recursively extend styles.\n */\n\n\nfunction extend(style, rule, sheet, newStyle) {\n if (newStyle === void 0) {\n newStyle = {};\n }\n\n mergeExtend(style, rule, sheet, newStyle);\n mergeRest(style, rule, sheet, newStyle);\n return newStyle;\n}\n/**\n * Handle `extend` property.\n *\n * @param {Rule} rule\n * @api public\n */\n\n\nfunction jssExtend() {\n function onProcessStyle(style, rule, sheet) {\n if ('extend' in style) return extend(style, rule, sheet);\n return style;\n }\n\n function onChangeValue(value, prop, rule) {\n if (prop !== 'extend') return value; // Value is empty, remove properties set previously.\n\n if (value == null || value === false) {\n // $FlowFixMe[prop-missing]\n for (var key in rule[valueNs]) {\n rule.prop(key, null);\n } // $FlowFixMe[prop-missing] Flow complains because there is no indexer property in StyleRule\n\n\n rule[valueNs] = null;\n return null;\n }\n\n if (typeof value === 'object') {\n // $FlowFixMe[invalid-in-rhs] This will be an object\n for (var _key in value) {\n // $FlowFixMe[incompatible-use] This will be an object\n rule.prop(_key, value[_key]);\n } // $FlowFixMe[prop-missing] Flow complains because there is no indexer property in StyleRule\n\n\n rule[valueNs] = value;\n } // Make sure we don't set the value in the core.\n\n\n return null;\n }\n\n return {\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (jssExtend);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-extend/dist/jss-plugin-extend.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/extends.js\");\n/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ \"./.codedoc/node_modules/jss/dist/jss.esm.js\");\n\n\n\nvar at = '@global';\nvar atPrefix = '@global ';\n\nvar GlobalContainerRule =\n/*#__PURE__*/\nfunction () {\n function GlobalContainerRule(key, styles, options) {\n this.type = 'global';\n this.at = at;\n this.rules = void 0;\n this.options = void 0;\n this.key = void 0;\n this.isProcessed = false;\n this.key = key;\n this.options = options;\n this.rules = new jss__WEBPACK_IMPORTED_MODULE_1__[\"RuleList\"](Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n parent: this\n }));\n\n for (var selector in styles) {\n this.rules.add(selector, styles[selector]);\n }\n\n this.rules.process();\n }\n /**\n * Get a rule.\n */\n\n\n var _proto = GlobalContainerRule.prototype;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Create and register rule, run plugins.\n */\n ;\n\n _proto.addRule = function addRule(name, style, options) {\n var rule = this.rules.add(name, style, options);\n if (rule) this.options.jss.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto.toString = function toString() {\n return this.rules.toString();\n };\n\n return GlobalContainerRule;\n}();\n\nvar GlobalPrefixedRule =\n/*#__PURE__*/\nfunction () {\n function GlobalPrefixedRule(key, style, options) {\n this.type = 'global';\n this.at = at;\n this.options = void 0;\n this.rule = void 0;\n this.isProcessed = false;\n this.key = void 0;\n this.key = key;\n this.options = options;\n var selector = key.substr(atPrefix.length);\n this.rule = options.jss.createRule(selector, style, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n parent: this\n }));\n }\n\n var _proto2 = GlobalPrefixedRule.prototype;\n\n _proto2.toString = function toString(options) {\n return this.rule ? this.rule.toString(options) : '';\n };\n\n return GlobalPrefixedRule;\n}();\n\nvar separatorRegExp = /\\s*,\\s*/g;\n\nfunction addScope(selector, scope) {\n var parts = selector.split(separatorRegExp);\n var scoped = '';\n\n for (var i = 0; i < parts.length; i++) {\n scoped += scope + \" \" + parts[i].trim();\n if (parts[i + 1]) scoped += ', ';\n }\n\n return scoped;\n}\n\nfunction handleNestedGlobalContainerRule(rule, sheet) {\n var options = rule.options,\n style = rule.style;\n var rules = style ? style[at] : null;\n if (!rules) return;\n\n for (var name in rules) {\n sheet.addRule(name, rules[name], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n selector: addScope(name, rule.selector)\n }));\n }\n\n delete style[at];\n}\n\nfunction handlePrefixedGlobalRule(rule, sheet) {\n var options = rule.options,\n style = rule.style;\n\n for (var prop in style) {\n if (prop[0] !== '@' || prop.substr(0, at.length) !== at) continue;\n var selector = addScope(prop.substr(at.length), rule.selector);\n sheet.addRule(selector, style[prop], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n selector: selector\n }));\n delete style[prop];\n }\n}\n/**\n * Convert nested rules to separate, remove them from original styles.\n *\n * @param {Rule} rule\n * @api public\n */\n\n\nfunction jssGlobal() {\n function onCreateRule(name, styles, options) {\n if (!name) return null;\n\n if (name === at) {\n return new GlobalContainerRule(name, styles, options);\n }\n\n if (name[0] === '@' && name.substr(0, atPrefix.length) === atPrefix) {\n return new GlobalPrefixedRule(name, styles, options);\n }\n\n var parent = options.parent;\n\n if (parent) {\n if (parent.type === 'global' || parent.options.parent && parent.options.parent.type === 'global') {\n options.scoped = false;\n }\n }\n\n if (options.scoped === false) {\n options.selector = name;\n }\n\n return null;\n }\n\n function onProcessRule(rule, sheet) {\n if (rule.type !== 'style' || !sheet) return;\n handleNestedGlobalContainerRule(rule, sheet);\n handlePrefixedGlobalRule(rule, sheet);\n }\n\n return {\n onCreateRule: onCreateRule,\n onProcessRule: onProcessRule\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (jssGlobal);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js ***! - \*******************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/extends.js\");\n/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-warning */ \"./.codedoc/node_modules/tiny-warning/dist/tiny-warning.esm.js\");\n\n\n\nvar separatorRegExp = /\\s*,\\s*/g;\nvar parentRegExp = /&/g;\nvar refRegExp = /\\$([\\w-]+)/g;\n/**\n * Convert nested rules to separate, remove them from original styles.\n *\n * @param {Rule} rule\n * @api public\n */\n\nfunction jssNested() {\n // Get a function to be used for $ref replacement.\n function getReplaceRef(container, sheet) {\n return function (match, key) {\n var rule = container.getRule(key) || sheet && sheet.getRule(key);\n\n if (rule) {\n rule = rule;\n return rule.selector;\n }\n\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(false, \"[JSS] Could not find the referenced rule \\\"\" + key + \"\\\" in \\\"\" + (container.options.meta || container.toString()) + \"\\\".\") : undefined;\n return key;\n };\n }\n\n function replaceParentRefs(nestedProp, parentProp) {\n var parentSelectors = parentProp.split(separatorRegExp);\n var nestedSelectors = nestedProp.split(separatorRegExp);\n var result = '';\n\n for (var i = 0; i < parentSelectors.length; i++) {\n var parent = parentSelectors[i];\n\n for (var j = 0; j < nestedSelectors.length; j++) {\n var nested = nestedSelectors[j];\n if (result) result += ', '; // Replace all & by the parent or prefix & with the parent.\n\n result += nested.indexOf('&') !== -1 ? nested.replace(parentRegExp, parent) : parent + \" \" + nested;\n }\n }\n\n return result;\n }\n\n function getOptions(rule, container, prevOptions) {\n // Options has been already created, now we only increase index.\n if (prevOptions) return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, prevOptions, {\n index: prevOptions.index + 1 // $FlowFixMe[prop-missing]\n\n });\n var nestingLevel = rule.options.nestingLevel;\n nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;\n\n var options = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, rule.options, {\n nestingLevel: nestingLevel,\n index: container.indexOf(rule) + 1 // We don't need the parent name to be set options for chlid.\n\n });\n\n delete options.name;\n return options;\n }\n\n function onProcessStyle(style, rule, sheet) {\n if (rule.type !== 'style') return style;\n var styleRule = rule;\n var container = styleRule.options.parent;\n var options;\n var replaceRef;\n\n for (var prop in style) {\n var isNested = prop.indexOf('&') !== -1;\n var isNestedConditional = prop[0] === '@';\n if (!isNested && !isNestedConditional) continue;\n options = getOptions(styleRule, container, options);\n\n if (isNested) {\n var selector = replaceParentRefs(prop, styleRule.selector); // Lazily create the ref replacer function just once for\n // all nested rules within the sheet.\n\n if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.\n\n selector = selector.replace(refRegExp, replaceRef);\n container.addRule(selector, style[prop], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n selector: selector\n }));\n } else if (isNestedConditional) {\n // Place conditional right after the parent rule to ensure right ordering.\n container.addRule(prop, {}, options) // Flow expects more options but they aren't required\n // And flow doesn't know this will always be a StyleRule which has the addRule method\n // $FlowFixMe[incompatible-use]\n // $FlowFixMe[prop-missing]\n .addRule(styleRule.key, style[prop], {\n selector: styleRule.selector\n });\n }\n\n delete style[prop];\n }\n\n return style;\n }\n\n return {\n onProcessStyle: onProcessStyle\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (jssNested);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js ***! - \***************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/**\n * Sort props by length.\n */\nfunction jssPropsSort() {\n var sort = function sort(prop0, prop1) {\n if (prop0.length === prop1.length) {\n return prop0 > prop1 ? 1 : -1;\n }\n\n return prop0.length - prop1.length;\n };\n\n return {\n onProcessStyle: function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n var newStyle = {};\n var props = Object.keys(style).sort(sort);\n\n for (var i = 0; i < props.length; i++) {\n newStyle[props[i]] = style[props[i]];\n }\n\n return newStyle;\n }\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (jssPropsSort);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js": -/*!*********************************************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js ***! - \*********************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-warning */ \"./.codedoc/node_modules/tiny-warning/dist/tiny-warning.esm.js\");\n/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ \"./.codedoc/node_modules/jss/dist/jss.esm.js\");\n\n\n\nvar now = Date.now();\nvar fnValuesNs = \"fnValues\" + now;\nvar fnRuleNs = \"fnStyle\" + ++now;\n\nvar functionPlugin = function functionPlugin() {\n return {\n onCreateRule: function onCreateRule(name, decl, options) {\n if (typeof decl !== 'function') return null;\n var rule = Object(jss__WEBPACK_IMPORTED_MODULE_1__[\"createRule\"])(name, {}, options);\n rule[fnRuleNs] = decl;\n return rule;\n },\n onProcessStyle: function onProcessStyle(style, rule) {\n // We need to extract function values from the declaration, so that we can keep core unaware of them.\n // We need to do that only once.\n // We don't need to extract functions on each style update, since this can happen only once.\n // We don't support function values inside of function rules.\n if (fnValuesNs in rule || fnRuleNs in rule) return style;\n var fnValues = {};\n\n for (var prop in style) {\n var value = style[prop];\n if (typeof value !== 'function') continue;\n delete style[prop];\n fnValues[prop] = value;\n } // $FlowFixMe[prop-missing]\n\n\n rule[fnValuesNs] = fnValues;\n return style;\n },\n onUpdate: function onUpdate(data, rule, sheet, options) {\n var styleRule = rule; // $FlowFixMe[prop-missing]\n\n var fnRule = styleRule[fnRuleNs]; // If we have a style function, the entire rule is dynamic and style object\n // will be returned from that function.\n\n if (fnRule) {\n // Empty object will remove all currently defined props\n // in case function rule returns a falsy value.\n styleRule.style = fnRule(data) || {};\n\n if (true) {\n for (var prop in styleRule.style) {\n if (typeof styleRule.style[prop] === 'function') {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(false, '[JSS] Function values inside function rules are not supported.') : undefined;\n break;\n }\n }\n }\n } // $FlowFixMe[prop-missing]\n\n\n var fnValues = styleRule[fnValuesNs]; // If we have a fn values map, it is a rule with function values.\n\n if (fnValues) {\n for (var _prop in fnValues) {\n styleRule.prop(_prop, fnValues[_prop](data), options);\n }\n }\n }\n };\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (functionPlugin);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-rule-value-observable/dist/jss-plugin-rule-value-observable.esm.js": -/*!*************************************************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-rule-value-observable/dist/jss-plugin-rule-value-observable.esm.js ***! - \*************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! symbol-observable */ \"./.codedoc/node_modules/symbol-observable/es/index.js\");\n/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ \"./.codedoc/node_modules/jss/dist/jss.esm.js\");\n\n\n\nvar isObservable = function isObservable(value) {\n return value && value[symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"default\"]] && value === value[symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"default\"]]();\n};\n\nvar observablePlugin = function observablePlugin(updateOptions) {\n return {\n onCreateRule: function onCreateRule(name, decl, options) {\n if (!isObservable(decl)) return null; // Cast `decl` to `Observable`, since it passed the type guard.\n\n var style$ = decl;\n var rule = Object(jss__WEBPACK_IMPORTED_MODULE_1__[\"createRule\"])(name, {}, options); // TODO\n // Call `stream.subscribe()` returns a subscription, which should be explicitly\n // unsubscribed from when we know this sheet is no longer needed.\n\n style$.subscribe(function (style) {\n for (var prop in style) {\n rule.prop(prop, style[prop], updateOptions);\n }\n });\n return rule;\n },\n onProcessRule: function onProcessRule(rule) {\n if (rule && rule.type !== 'style') return;\n var styleRule = rule;\n var style = styleRule.style;\n\n var _loop = function _loop(prop) {\n var value = style[prop];\n if (!isObservable(value)) return \"continue\";\n delete style[prop];\n value.subscribe({\n next: function next(nextValue) {\n styleRule.prop(prop, nextValue, updateOptions);\n }\n });\n };\n\n for (var prop in style) {\n var _ret = _loop(prop);\n\n if (_ret === \"continue\") continue;\n }\n }\n };\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (observablePlugin);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-rule-value-observable/dist/jss-plugin-rule-value-observable.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-template/dist/jss-plugin-template.esm.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-template/dist/jss-plugin-template.esm.js ***! - \***********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-warning */ \"./.codedoc/node_modules/tiny-warning/dist/tiny-warning.esm.js\");\n\n\nvar semiWithNl = /;\\n/;\n\n/**\n * Naive CSS parser.\n * - Supports only rule body (no selectors)\n * - Requires semicolon and new line after the value (except of last line)\n * - No nested rules support\n */\nvar parse = function parse(cssText) {\n var style = {};\n var split = cssText.split(semiWithNl);\n\n for (var i = 0; i < split.length; i++) {\n var decl = (split[i] || '').trim();\n if (!decl) continue;\n var colonIndex = decl.indexOf(':');\n\n if (colonIndex === -1) {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(false, \"[JSS] Malformed CSS string \\\"\" + decl + \"\\\"\") : undefined;\n continue;\n }\n\n var prop = decl.substr(0, colonIndex).trim();\n var value = decl.substr(colonIndex + 1).trim();\n style[prop] = value;\n }\n\n return style;\n};\n\nvar onProcessRule = function onProcessRule(rule) {\n if (typeof rule.style === 'string') {\n // $FlowFixMe[prop-missing] We can safely assume that rule has the style property\n rule.style = parse(rule.style);\n }\n};\n\nfunction templatePlugin() {\n return {\n onProcessRule: onProcessRule\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (templatePlugin);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-template/dist/jss-plugin-template.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js": -/*!*************************************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js ***! - \*************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var css_vendor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! css-vendor */ \"./.codedoc/node_modules/css-vendor/dist/css-vendor.esm.js\");\n/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ \"./.codedoc/node_modules/jss/dist/jss.esm.js\");\n\n\n\n/**\n * Add vendor prefix to a property name when needed.\n *\n * @api public\n */\n\nfunction jssVendorPrefixer() {\n function onProcessRule(rule) {\n if (rule.type === 'keyframes') {\n var atRule = rule;\n atRule.at = Object(css_vendor__WEBPACK_IMPORTED_MODULE_0__[\"supportedKeyframes\"])(atRule.at);\n }\n }\n\n function prefixStyle(style) {\n for (var prop in style) {\n var value = style[prop];\n\n if (prop === 'fallbacks' && Array.isArray(value)) {\n style[prop] = value.map(prefixStyle);\n continue;\n }\n\n var changeProp = false;\n var supportedProp = Object(css_vendor__WEBPACK_IMPORTED_MODULE_0__[\"supportedProperty\"])(prop);\n if (supportedProp && supportedProp !== prop) changeProp = true;\n var changeValue = false;\n var supportedValue$1 = Object(css_vendor__WEBPACK_IMPORTED_MODULE_0__[\"supportedValue\"])(supportedProp, Object(jss__WEBPACK_IMPORTED_MODULE_1__[\"toCssValue\"])(value));\n if (supportedValue$1 && supportedValue$1 !== value) changeValue = true;\n\n if (changeProp || changeValue) {\n if (changeProp) delete style[prop];\n style[supportedProp || prop] = supportedValue$1 || value;\n }\n }\n\n return style;\n }\n\n function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n return prefixStyle(style);\n }\n\n function onChangeValue(value, prop) {\n return Object(css_vendor__WEBPACK_IMPORTED_MODULE_0__[\"supportedValue\"])(prop, Object(jss__WEBPACK_IMPORTED_MODULE_1__[\"toCssValue\"])(value)) || value;\n }\n\n return {\n onProcessRule: onProcessRule,\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (jssVendorPrefixer);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss-preset-default/dist/jss-preset-default.esm.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/jss-preset-default/dist/jss-preset-default.esm.js ***! - \*********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var jss_plugin_rule_value_function__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss-plugin-rule-value-function */ \"./.codedoc/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js\");\n/* harmony import */ var jss_plugin_rule_value_observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss-plugin-rule-value-observable */ \"./.codedoc/node_modules/jss-plugin-rule-value-observable/dist/jss-plugin-rule-value-observable.esm.js\");\n/* harmony import */ var jss_plugin_template__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! jss-plugin-template */ \"./.codedoc/node_modules/jss-plugin-template/dist/jss-plugin-template.esm.js\");\n/* harmony import */ var jss_plugin_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! jss-plugin-global */ \"./.codedoc/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js\");\n/* harmony import */ var jss_plugin_extend__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! jss-plugin-extend */ \"./.codedoc/node_modules/jss-plugin-extend/dist/jss-plugin-extend.esm.js\");\n/* harmony import */ var jss_plugin_nested__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! jss-plugin-nested */ \"./.codedoc/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js\");\n/* harmony import */ var jss_plugin_compose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! jss-plugin-compose */ \"./.codedoc/node_modules/jss-plugin-compose/dist/jss-plugin-compose.esm.js\");\n/* harmony import */ var jss_plugin_camel_case__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! jss-plugin-camel-case */ \"./.codedoc/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js\");\n/* harmony import */ var jss_plugin_default_unit__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! jss-plugin-default-unit */ \"./.codedoc/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js\");\n/* harmony import */ var jss_plugin_expand__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! jss-plugin-expand */ \"./.codedoc/node_modules/jss-plugin-expand/dist/jss-plugin-expand.esm.js\");\n/* harmony import */ var jss_plugin_vendor_prefixer__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! jss-plugin-vendor-prefixer */ \"./.codedoc/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js\");\n/* harmony import */ var jss_plugin_props_sort__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! jss-plugin-props-sort */ \"./.codedoc/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar create = function create(options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n plugins: [Object(jss_plugin_rule_value_function__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(), Object(jss_plugin_rule_value_observable__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(options.observable), Object(jss_plugin_template__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), Object(jss_plugin_global__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(), Object(jss_plugin_extend__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(), Object(jss_plugin_nested__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(), Object(jss_plugin_compose__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(), Object(jss_plugin_camel_case__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(), Object(jss_plugin_default_unit__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(options.defaultUnit), Object(jss_plugin_expand__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(), Object(jss_plugin_vendor_prefixer__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(), Object(jss_plugin_props_sort__WEBPACK_IMPORTED_MODULE_11__[\"default\"])()]\n };\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (create);\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss-preset-default/dist/jss-preset-default.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/jss/dist/jss.esm.js": -/*!***************************************************!*\ - !*** ./.codedoc/node_modules/jss/dist/jss.esm.js ***! - \***************************************************/ -/*! exports provided: default, RuleList, SheetsManager, SheetsRegistry, create, createGenerateId, createRule, getDynamicStyles, hasCSSTOMSupport, sheets, toCssValue */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RuleList\", function() { return RuleList; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SheetsManager\", function() { return SheetsManager; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SheetsRegistry\", function() { return SheetsRegistry; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"create\", function() { return create; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createGenerateId\", function() { return createGenerateId; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createRule\", function() { return createRule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getDynamicStyles\", function() { return getDynamicStyles; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hasCSSTOMSupport\", function() { return hasCSSTOMSupport; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sheets\", function() { return registry; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toCssValue\", function() { return toCssValue; });\n/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/extends.js\");\n/* harmony import */ var is_in_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! is-in-browser */ \"./.codedoc/node_modules/is-in-browser/dist/module.js\");\n/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-warning */ \"./.codedoc/node_modules/tiny-warning/dist/tiny-warning.esm.js\");\n/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/createClass.js\");\n/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js\");\n/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js\");\n/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ \"./.codedoc/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js\");\n\n\n\n\n\n\n\n\nvar plainObjectConstrurctor = {}.constructor;\nfunction cloneStyle(style) {\n if (style == null || typeof style !== 'object') return style;\n if (Array.isArray(style)) return style.map(cloneStyle);\n if (style.constructor !== plainObjectConstrurctor) return style;\n var newStyle = {};\n\n for (var name in style) {\n newStyle[name] = cloneStyle(style[name]);\n }\n\n return newStyle;\n}\n\n/**\n * Create a rule instance.\n */\n\nfunction createRule(name, decl, options) {\n if (name === void 0) {\n name = 'unnamed';\n }\n\n var jss = options.jss;\n var declCopy = cloneStyle(decl);\n var rule = jss.plugins.onCreateRule(name, declCopy, options);\n if (rule) return rule; // It is an at-rule and it has no instance.\n\n if (name[0] === '@') {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] Unknown rule \" + name) : undefined;\n }\n\n return null;\n}\n\nvar join = function join(value, by) {\n var result = '';\n\n for (var i = 0; i < value.length; i++) {\n // Remove !important from the value, it will be readded later.\n if (value[i] === '!important') break;\n if (result) result += by;\n result += value[i];\n }\n\n return result;\n};\n\n/**\n * Converts array values to string.\n *\n * `margin: [['5px', '10px']]` > `margin: 5px 10px;`\n * `border: ['1px', '2px']` > `border: 1px, 2px;`\n * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`\n * `color: ['red', !important]` > `color: red !important;`\n */\nvar toCssValue = function toCssValue(value, ignoreImportant) {\n if (ignoreImportant === void 0) {\n ignoreImportant = false;\n }\n\n if (!Array.isArray(value)) return value;\n var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.\n\n if (Array.isArray(value[0])) {\n for (var i = 0; i < value.length; i++) {\n if (value[i] === '!important') break;\n if (cssValue) cssValue += ', ';\n cssValue += join(value[i], ' ');\n }\n } else cssValue = join(value, ', '); // Add !important, because it was ignored.\n\n\n if (!ignoreImportant && value[value.length - 1] === '!important') {\n cssValue += ' !important';\n }\n\n return cssValue;\n};\n\n/**\n * Indent a string.\n * http://jsperf.com/array-join-vs-for\n */\nfunction indentStr(str, indent) {\n var result = '';\n\n for (var index = 0; index < indent; index++) {\n result += ' ';\n }\n\n return result + str;\n}\n/**\n * Converts a Rule to CSS string.\n */\n\n\nfunction toCss(selector, style, options) {\n if (options === void 0) {\n options = {};\n }\n\n var result = '';\n if (!style) return result;\n var _options = options,\n _options$indent = _options.indent,\n indent = _options$indent === void 0 ? 0 : _options$indent;\n var fallbacks = style.fallbacks;\n if (selector) indent++; // Apply fallbacks first.\n\n if (fallbacks) {\n // Array syntax {fallbacks: [{prop: value}]}\n if (Array.isArray(fallbacks)) {\n for (var index = 0; index < fallbacks.length; index++) {\n var fallback = fallbacks[index];\n\n for (var prop in fallback) {\n var value = fallback[prop];\n\n if (value != null) {\n if (result) result += '\\n';\n result += \"\" + indentStr(prop + \": \" + toCssValue(value) + \";\", indent);\n }\n }\n }\n } else {\n // Object syntax {fallbacks: {prop: value}}\n for (var _prop in fallbacks) {\n var _value = fallbacks[_prop];\n\n if (_value != null) {\n if (result) result += '\\n';\n result += \"\" + indentStr(_prop + \": \" + toCssValue(_value) + \";\", indent);\n }\n }\n }\n }\n\n for (var _prop2 in style) {\n var _value2 = style[_prop2];\n\n if (_value2 != null && _prop2 !== 'fallbacks') {\n if (result) result += '\\n';\n result += \"\" + indentStr(_prop2 + \": \" + toCssValue(_value2) + \";\", indent);\n }\n } // Allow empty style in this case, because properties will be added dynamically.\n\n\n if (!result && !options.allowEmpty) return result; // When rule is being stringified before selector was defined.\n\n if (!selector) return result;\n indent--;\n if (result) result = \"\\n\" + result + \"\\n\";\n return indentStr(selector + \" {\" + result, indent) + indentStr('}', indent);\n}\n\nvar escapeRegex = /([[\\].#*$><+~=|^:(),\"'`\\s])/g;\nvar nativeEscape = typeof CSS !== 'undefined' && CSS.escape;\nvar escape = (function (str) {\n return nativeEscape ? nativeEscape(str) : str.replace(escapeRegex, '\\\\$1');\n});\n\nvar BaseStyleRule =\n/*#__PURE__*/\nfunction () {\n function BaseStyleRule(key, style, options) {\n this.type = 'style';\n this.key = void 0;\n this.isProcessed = false;\n this.style = void 0;\n this.renderer = void 0;\n this.renderable = void 0;\n this.options = void 0;\n var sheet = options.sheet,\n Renderer = options.Renderer;\n this.key = key;\n this.options = options;\n this.style = style;\n if (sheet) this.renderer = sheet.renderer;else if (Renderer) this.renderer = new Renderer();\n }\n /**\n * Get or set a style property.\n */\n\n\n var _proto = BaseStyleRule.prototype;\n\n _proto.prop = function prop(name, value, options) {\n // It's a getter.\n if (value === undefined) return this.style[name]; // Don't do anything if the value has not changed.\n\n var force = options ? options.force : false;\n if (!force && this.style[name] === value) return this;\n var newValue = value;\n\n if (!options || options.process !== false) {\n newValue = this.options.jss.plugins.onChangeValue(value, name, this);\n }\n\n var isEmpty = newValue == null || newValue === false;\n var isDefined = name in this.style; // Value is empty and wasn't defined before.\n\n if (isEmpty && !isDefined && !force) return this; // We are going to remove this value.\n\n var remove = isEmpty && isDefined;\n if (remove) delete this.style[name];else this.style[name] = newValue; // Renderable is defined if StyleSheet option `link` is true.\n\n if (this.renderable && this.renderer) {\n if (remove) this.renderer.removeProperty(this.renderable, name);else this.renderer.setProperty(this.renderable, name, newValue);\n return this;\n }\n\n var sheet = this.options.sheet;\n\n if (sheet && sheet.attached) {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, '[JSS] Rule is not linked. Missing sheet option \"link: true\".') : undefined;\n }\n\n return this;\n };\n\n return BaseStyleRule;\n}();\nvar StyleRule =\n/*#__PURE__*/\nfunction (_BaseStyleRule) {\n Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(StyleRule, _BaseStyleRule);\n\n function StyleRule(key, style, options) {\n var _this;\n\n _this = _BaseStyleRule.call(this, key, style, options) || this;\n _this.selectorText = void 0;\n _this.id = void 0;\n _this.renderable = void 0;\n var selector = options.selector,\n scoped = options.scoped,\n sheet = options.sheet,\n generateId = options.generateId;\n\n if (selector) {\n _this.selectorText = selector;\n } else if (scoped !== false) {\n _this.id = generateId(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_this)), sheet);\n _this.selectorText = \".\" + escape(_this.id);\n }\n\n return _this;\n }\n /**\n * Set selector string.\n * Attention: use this with caution. Most browsers didn't implement\n * selectorText setter, so this may result in rerendering of entire Style Sheet.\n */\n\n\n var _proto2 = StyleRule.prototype;\n\n /**\n * Apply rule to an element inline.\n */\n _proto2.applyTo = function applyTo(renderable) {\n var renderer = this.renderer;\n\n if (renderer) {\n var json = this.toJSON();\n\n for (var prop in json) {\n renderer.setProperty(renderable, prop, json[prop]);\n }\n }\n\n return this;\n }\n /**\n * Returns JSON representation of the rule.\n * Fallbacks are not supported.\n * Useful for inline styles.\n */\n ;\n\n _proto2.toJSON = function toJSON() {\n var json = {};\n\n for (var prop in this.style) {\n var value = this.style[prop];\n if (typeof value !== 'object') json[prop] = value;else if (Array.isArray(value)) json[prop] = toCssValue(value);\n }\n\n return json;\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto2.toString = function toString(options) {\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n var opts = link ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n allowEmpty: true\n }) : options;\n return toCss(this.selectorText, this.style, opts);\n };\n\n Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(StyleRule, [{\n key: \"selector\",\n set: function set(selector) {\n if (selector === this.selectorText) return;\n this.selectorText = selector;\n var renderer = this.renderer,\n renderable = this.renderable;\n if (!renderable || !renderer) return;\n var hasChanged = renderer.setSelector(renderable, selector); // If selector setter is not implemented, rerender the rule.\n\n if (!hasChanged) {\n renderer.replaceRule(renderable, this);\n }\n }\n /**\n * Get selector string.\n */\n ,\n get: function get() {\n return this.selectorText;\n }\n }]);\n\n return StyleRule;\n}(BaseStyleRule);\nvar pluginStyleRule = {\n onCreateRule: function onCreateRule(name, style, options) {\n if (name[0] === '@' || options.parent && options.parent.type === 'keyframes') {\n return null;\n }\n\n return new StyleRule(name, style, options);\n }\n};\n\nvar defaultToStringOptions = {\n indent: 1,\n children: true\n};\nvar atRegExp = /@([\\w-]+)/;\n/**\n * Conditional rule for @media, @supports\n */\n\nvar ConditionalRule =\n/*#__PURE__*/\nfunction () {\n function ConditionalRule(key, styles, options) {\n this.type = 'conditional';\n this.at = void 0;\n this.key = void 0;\n this.query = void 0;\n this.rules = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n var atMatch = key.match(atRegExp);\n this.at = atMatch ? atMatch[1] : 'unknown'; // Key might contain a unique suffix in case the `name` passed by user was duplicate.\n\n this.query = options.name || \"@\" + this.at;\n this.options = options;\n this.rules = new RuleList(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n parent: this\n }));\n\n for (var name in styles) {\n this.rules.add(name, styles[name]);\n }\n\n this.rules.process();\n }\n /**\n * Get a rule.\n */\n\n\n var _proto = ConditionalRule.prototype;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Create and register rule, run plugins.\n */\n ;\n\n _proto.addRule = function addRule(name, style, options) {\n var rule = this.rules.add(name, style, options);\n if (!rule) return null;\n this.options.jss.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n if (options === void 0) {\n options = defaultToStringOptions;\n }\n\n if (options.indent == null) options.indent = defaultToStringOptions.indent;\n if (options.children == null) options.children = defaultToStringOptions.children;\n\n if (options.children === false) {\n return this.query + \" {}\";\n }\n\n var children = this.rules.toString(options);\n return children ? this.query + \" {\\n\" + children + \"\\n}\" : '';\n };\n\n return ConditionalRule;\n}();\nvar keyRegExp = /@media|@supports\\s+/;\nvar pluginConditionalRule = {\n onCreateRule: function onCreateRule(key, styles, options) {\n return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;\n }\n};\n\nvar defaultToStringOptions$1 = {\n indent: 1,\n children: true\n};\nvar nameRegExp = /@keyframes\\s+([\\w-]+)/;\n/**\n * Rule for @keyframes\n */\n\nvar KeyframesRule =\n/*#__PURE__*/\nfunction () {\n function KeyframesRule(key, frames, options) {\n this.type = 'keyframes';\n this.at = '@keyframes';\n this.key = void 0;\n this.name = void 0;\n this.id = void 0;\n this.rules = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n var nameMatch = key.match(nameRegExp);\n\n if (nameMatch && nameMatch[1]) {\n this.name = nameMatch[1];\n } else {\n this.name = 'noname';\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] Bad keyframes name \" + key) : undefined;\n }\n\n this.key = this.type + \"-\" + this.name;\n this.options = options;\n var scoped = options.scoped,\n sheet = options.sheet,\n generateId = options.generateId;\n this.id = scoped === false ? this.name : escape(generateId(this, sheet));\n this.rules = new RuleList(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n parent: this\n }));\n\n for (var name in frames) {\n this.rules.add(name, frames[name], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n parent: this\n }));\n }\n\n this.rules.process();\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = KeyframesRule.prototype;\n\n _proto.toString = function toString(options) {\n if (options === void 0) {\n options = defaultToStringOptions$1;\n }\n\n if (options.indent == null) options.indent = defaultToStringOptions$1.indent;\n if (options.children == null) options.children = defaultToStringOptions$1.children;\n\n if (options.children === false) {\n return this.at + \" \" + this.id + \" {}\";\n }\n\n var children = this.rules.toString(options);\n if (children) children = \"\\n\" + children + \"\\n\";\n return this.at + \" \" + this.id + \" {\" + children + \"}\";\n };\n\n return KeyframesRule;\n}();\nvar keyRegExp$1 = /@keyframes\\s+/;\nvar refRegExp = /\\$([\\w-]+)/g;\n\nvar findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {\n if (typeof val === 'string') {\n return val.replace(refRegExp, function (match, name) {\n if (name in keyframes) {\n return keyframes[name];\n }\n\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] Referenced keyframes rule \\\"\" + name + \"\\\" is not defined.\") : undefined;\n return match;\n });\n }\n\n return val;\n};\n/**\n * Replace the reference for a animation name.\n */\n\n\nvar replaceRef = function replaceRef(style, prop, keyframes) {\n var value = style[prop];\n var refKeyframe = findReferencedKeyframe(value, keyframes);\n\n if (refKeyframe !== value) {\n style[prop] = refKeyframe;\n }\n};\n\nvar plugin = {\n onCreateRule: function onCreateRule(key, frames, options) {\n return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;\n },\n // Animation name ref replacer.\n onProcessStyle: function onProcessStyle(style, rule, sheet) {\n if (rule.type !== 'style' || !sheet) return style;\n if ('animation-name' in style) replaceRef(style, 'animation-name', sheet.keyframes);\n if ('animation' in style) replaceRef(style, 'animation', sheet.keyframes);\n return style;\n },\n onChangeValue: function onChangeValue(val, prop, rule) {\n var sheet = rule.options.sheet;\n\n if (!sheet) {\n return val;\n }\n\n switch (prop) {\n case 'animation':\n return findReferencedKeyframe(val, sheet.keyframes);\n\n case 'animation-name':\n return findReferencedKeyframe(val, sheet.keyframes);\n\n default:\n return val;\n }\n }\n};\n\nvar KeyframeRule =\n/*#__PURE__*/\nfunction (_BaseStyleRule) {\n Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(KeyframeRule, _BaseStyleRule);\n\n function KeyframeRule() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;\n _this.renderable = void 0;\n return _this;\n }\n\n var _proto = KeyframeRule.prototype;\n\n /**\n * Generates a CSS string.\n */\n _proto.toString = function toString(options) {\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n var opts = link ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n allowEmpty: true\n }) : options;\n return toCss(this.key, this.style, opts);\n };\n\n return KeyframeRule;\n}(BaseStyleRule);\nvar pluginKeyframeRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n if (options.parent && options.parent.type === 'keyframes') {\n return new KeyframeRule(key, style, options);\n }\n\n return null;\n }\n};\n\nvar FontFaceRule =\n/*#__PURE__*/\nfunction () {\n function FontFaceRule(key, style, options) {\n this.type = 'font-face';\n this.at = '@font-face';\n this.key = void 0;\n this.style = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.style = style;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = FontFaceRule.prototype;\n\n _proto.toString = function toString(options) {\n if (Array.isArray(this.style)) {\n var str = '';\n\n for (var index = 0; index < this.style.length; index++) {\n str += toCss(this.at, this.style[index]);\n if (this.style[index + 1]) str += '\\n';\n }\n\n return str;\n }\n\n return toCss(this.at, this.style, options);\n };\n\n return FontFaceRule;\n}();\nvar keyRegExp$2 = /@font-face/;\nvar pluginFontFaceRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;\n }\n};\n\nvar ViewportRule =\n/*#__PURE__*/\nfunction () {\n function ViewportRule(key, style, options) {\n this.type = 'viewport';\n this.at = '@viewport';\n this.key = void 0;\n this.style = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.style = style;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = ViewportRule.prototype;\n\n _proto.toString = function toString(options) {\n return toCss(this.key, this.style, options);\n };\n\n return ViewportRule;\n}();\nvar pluginViewportRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n return key === '@viewport' || key === '@-ms-viewport' ? new ViewportRule(key, style, options) : null;\n }\n};\n\nvar SimpleRule =\n/*#__PURE__*/\nfunction () {\n function SimpleRule(key, value, options) {\n this.type = 'simple';\n this.key = void 0;\n this.value = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.value = value;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n // eslint-disable-next-line no-unused-vars\n\n\n var _proto = SimpleRule.prototype;\n\n _proto.toString = function toString(options) {\n if (Array.isArray(this.value)) {\n var str = '';\n\n for (var index = 0; index < this.value.length; index++) {\n str += this.key + \" \" + this.value[index] + \";\";\n if (this.value[index + 1]) str += '\\n';\n }\n\n return str;\n }\n\n return this.key + \" \" + this.value + \";\";\n };\n\n return SimpleRule;\n}();\nvar keysMap = {\n '@charset': true,\n '@import': true,\n '@namespace': true\n};\nvar pluginSimpleRule = {\n onCreateRule: function onCreateRule(key, value, options) {\n return key in keysMap ? new SimpleRule(key, value, options) : null;\n }\n};\n\nvar plugins = [pluginStyleRule, pluginConditionalRule, plugin, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];\n\nvar defaultUpdateOptions = {\n process: true\n};\nvar forceUpdateOptions = {\n force: true,\n process: true\n /**\n * Contains rules objects and allows adding/removing etc.\n * Is used for e.g. by `StyleSheet` or `ConditionalRule`.\n */\n\n};\n\nvar RuleList =\n/*#__PURE__*/\nfunction () {\n // Rules registry for access by .get() method.\n // It contains the same rule registered by name and by selector.\n // Original styles object.\n // Used to ensure correct rules order.\n function RuleList(options) {\n this.map = {};\n this.raw = {};\n this.index = [];\n this.counter = 0;\n this.options = void 0;\n this.classes = void 0;\n this.keyframes = void 0;\n this.options = options;\n this.classes = options.classes;\n this.keyframes = options.keyframes;\n }\n /**\n * Create and register rule.\n *\n * Will not render after Style Sheet was rendered the first time.\n */\n\n\n var _proto = RuleList.prototype;\n\n _proto.add = function add(name, decl, ruleOptions) {\n var _this$options = this.options,\n parent = _this$options.parent,\n sheet = _this$options.sheet,\n jss = _this$options.jss,\n Renderer = _this$options.Renderer,\n generateId = _this$options.generateId,\n scoped = _this$options.scoped;\n\n var options = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n classes: this.classes,\n parent: parent,\n sheet: sheet,\n jss: jss,\n Renderer: Renderer,\n generateId: generateId,\n scoped: scoped,\n name: name,\n keyframes: this.keyframes,\n selector: undefined\n }, ruleOptions); // When user uses .createStyleSheet(), duplicate names are not possible, but\n // `sheet.addRule()` opens the door for any duplicate rule name. When this happens\n // we need to make the key unique within this RuleList instance scope.\n\n\n var key = name;\n\n if (name in this.raw) {\n key = name + \"-d\" + this.counter++;\n } // We need to save the original decl before creating the rule\n // because cache plugin needs to use it as a key to return a cached rule.\n\n\n this.raw[key] = decl;\n\n if (key in this.classes) {\n // E.g. rules inside of @media container\n options.selector = \".\" + escape(this.classes[key]);\n }\n\n var rule = createRule(key, decl, options);\n if (!rule) return null;\n this.register(rule);\n var index = options.index === undefined ? this.index.length : options.index;\n this.index.splice(index, 0, rule);\n return rule;\n }\n /**\n * Get a rule.\n */\n ;\n\n _proto.get = function get(name) {\n return this.map[name];\n }\n /**\n * Delete a rule.\n */\n ;\n\n _proto.remove = function remove(rule) {\n this.unregister(rule);\n delete this.raw[rule.key];\n this.index.splice(this.index.indexOf(rule), 1);\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.index.indexOf(rule);\n }\n /**\n * Run `onProcessRule()` plugins on every rule.\n */\n ;\n\n _proto.process = function process() {\n var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop\n // we end up with very hard-to-track-down side effects.\n\n this.index.slice(0).forEach(plugins.onProcessRule, plugins);\n }\n /**\n * Register a rule in `.map`, `.classes` and `.keyframes` maps.\n */\n ;\n\n _proto.register = function register(rule) {\n this.map[rule.key] = rule;\n\n if (rule instanceof StyleRule) {\n this.map[rule.selector] = rule;\n if (rule.id) this.classes[rule.key] = rule.id;\n } else if (rule instanceof KeyframesRule && this.keyframes) {\n this.keyframes[rule.name] = rule.id;\n }\n }\n /**\n * Unregister a rule.\n */\n ;\n\n _proto.unregister = function unregister(rule) {\n delete this.map[rule.key];\n\n if (rule instanceof StyleRule) {\n delete this.map[rule.selector];\n delete this.classes[rule.key];\n } else if (rule instanceof KeyframesRule) {\n delete this.keyframes[rule.name];\n }\n }\n /**\n * Update the function values with a new data.\n */\n ;\n\n _proto.update = function update() {\n var name;\n var data;\n var options;\n\n if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {\n name = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]\n\n data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe[invalid-tuple-index]\n\n options = arguments.length <= 2 ? undefined : arguments[2];\n } else {\n data = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]\n\n options = arguments.length <= 1 ? undefined : arguments[1];\n name = null;\n }\n\n if (name) {\n this.updateOne(this.map[name], data, options);\n } else {\n for (var index = 0; index < this.index.length; index++) {\n this.updateOne(this.index[index], data, options);\n }\n }\n }\n /**\n * Execute plugins, update rule props.\n */\n ;\n\n _proto.updateOne = function updateOne(rule, data, options) {\n if (options === void 0) {\n options = defaultUpdateOptions;\n }\n\n var _this$options2 = this.options,\n plugins = _this$options2.jss.plugins,\n sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.\n\n if (rule.rules instanceof RuleList) {\n rule.rules.update(data, options);\n return;\n }\n\n var styleRule = rule;\n var style = styleRule.style;\n plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.\n\n if (options.process && style && style !== styleRule.style) {\n // We need to run the plugins in case new `style` relies on syntax plugins.\n plugins.onProcessStyle(styleRule.style, styleRule, sheet); // Update and add props.\n\n for (var prop in styleRule.style) {\n var nextValue = styleRule.style[prop];\n var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.\n // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.\n\n if (nextValue !== prevValue) {\n styleRule.prop(prop, nextValue, forceUpdateOptions);\n }\n } // Remove props.\n\n\n for (var _prop in style) {\n var _nextValue = styleRule.style[_prop];\n var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.\n // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.\n\n if (_nextValue == null && _nextValue !== _prevValue) {\n styleRule.prop(_prop, null, forceUpdateOptions);\n }\n }\n }\n }\n /**\n * Convert rules to a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n var str = '';\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n\n for (var index = 0; index < this.index.length; index++) {\n var rule = this.index[index];\n var css = rule.toString(options); // No need to render an empty rule.\n\n if (!css && !link) continue;\n if (str) str += '\\n';\n str += css;\n }\n\n return str;\n };\n\n return RuleList;\n}();\n\nvar StyleSheet =\n/*#__PURE__*/\nfunction () {\n function StyleSheet(styles, options) {\n this.options = void 0;\n this.deployed = void 0;\n this.attached = void 0;\n this.rules = void 0;\n this.renderer = void 0;\n this.classes = void 0;\n this.keyframes = void 0;\n this.queue = void 0;\n this.attached = false;\n this.deployed = false;\n this.classes = {};\n this.keyframes = {};\n this.options = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n sheet: this,\n parent: this,\n classes: this.classes,\n keyframes: this.keyframes\n });\n\n if (options.Renderer) {\n this.renderer = new options.Renderer(this);\n }\n\n this.rules = new RuleList(this.options);\n\n for (var name in styles) {\n this.rules.add(name, styles[name]);\n }\n\n this.rules.process();\n }\n /**\n * Attach renderable to the render tree.\n */\n\n\n var _proto = StyleSheet.prototype;\n\n _proto.attach = function attach() {\n if (this.attached) return this;\n if (this.renderer) this.renderer.attach();\n this.attached = true; // Order is important, because we can't use insertRule API if style element is not attached.\n\n if (!this.deployed) this.deploy();\n return this;\n }\n /**\n * Remove renderable from render tree.\n */\n ;\n\n _proto.detach = function detach() {\n if (!this.attached) return this;\n if (this.renderer) this.renderer.detach();\n this.attached = false;\n return this;\n }\n /**\n * Add a rule to the current stylesheet.\n * Will insert a rule also after the stylesheet has been rendered first time.\n */\n ;\n\n _proto.addRule = function addRule(name, decl, options) {\n var queue = this.queue; // Plugins can create rules.\n // In order to preserve the right order, we need to queue all `.addRule` calls,\n // which happen after the first `rules.add()` call.\n\n if (this.attached && !queue) this.queue = [];\n var rule = this.rules.add(name, decl, options);\n if (!rule) return null;\n this.options.jss.plugins.onProcessRule(rule);\n\n if (this.attached) {\n if (!this.deployed) return rule; // Don't insert rule directly if there is no stringified version yet.\n // It will be inserted all together when .attach is called.\n\n if (queue) queue.push(rule);else {\n this.insertRule(rule);\n\n if (this.queue) {\n this.queue.forEach(this.insertRule, this);\n this.queue = undefined;\n }\n }\n return rule;\n } // We can't add rules to a detached style node.\n // We will redeploy the sheet once user will attach it.\n\n\n this.deployed = false;\n return rule;\n }\n /**\n * Insert rule into the StyleSheet\n */\n ;\n\n _proto.insertRule = function insertRule(rule) {\n if (this.renderer) {\n this.renderer.insertRule(rule);\n }\n }\n /**\n * Create and add rules.\n * Will render also after Style Sheet was rendered the first time.\n */\n ;\n\n _proto.addRules = function addRules(styles, options) {\n var added = [];\n\n for (var name in styles) {\n var rule = this.addRule(name, styles[name], options);\n if (rule) added.push(rule);\n }\n\n return added;\n }\n /**\n * Get a rule by name.\n */\n ;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Delete a rule by name.\n * Returns `true`: if rule has been deleted from the DOM.\n */\n ;\n\n _proto.deleteRule = function deleteRule(name) {\n var rule = typeof name === 'object' ? name : this.rules.get(name);\n\n if (!rule || // Style sheet was created without link: true and attached, in this case we\n // won't be able to remove the CSS rule from the DOM.\n this.attached && !rule.renderable) {\n return false;\n }\n\n this.rules.remove(rule);\n\n if (this.attached && rule.renderable && this.renderer) {\n return this.renderer.deleteRule(rule.renderable);\n }\n\n return true;\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Deploy pure CSS string to a renderable.\n */\n ;\n\n _proto.deploy = function deploy() {\n if (this.renderer) this.renderer.deploy();\n this.deployed = true;\n return this;\n }\n /**\n * Update the function values with a new data.\n */\n ;\n\n _proto.update = function update() {\n var _this$rules;\n\n (_this$rules = this.rules).update.apply(_this$rules, arguments);\n\n return this;\n }\n /**\n * Updates a single rule.\n */\n ;\n\n _proto.updateOne = function updateOne(rule, data, options) {\n this.rules.updateOne(rule, data, options);\n return this;\n }\n /**\n * Convert rules to a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n return this.rules.toString(options);\n };\n\n return StyleSheet;\n}();\n\nvar PluginsRegistry =\n/*#__PURE__*/\nfunction () {\n function PluginsRegistry() {\n this.plugins = {\n internal: [],\n external: []\n };\n this.registry = void 0;\n }\n\n var _proto = PluginsRegistry.prototype;\n\n /**\n * Call `onCreateRule` hooks and return an object if returned by a hook.\n */\n _proto.onCreateRule = function onCreateRule(name, decl, options) {\n for (var i = 0; i < this.registry.onCreateRule.length; i++) {\n var rule = this.registry.onCreateRule[i](name, decl, options);\n if (rule) return rule;\n }\n\n return null;\n }\n /**\n * Call `onProcessRule` hooks.\n */\n ;\n\n _proto.onProcessRule = function onProcessRule(rule) {\n if (rule.isProcessed) return;\n var sheet = rule.options.sheet;\n\n for (var i = 0; i < this.registry.onProcessRule.length; i++) {\n this.registry.onProcessRule[i](rule, sheet);\n }\n\n if (rule.style) this.onProcessStyle(rule.style, rule, sheet);\n rule.isProcessed = true;\n }\n /**\n * Call `onProcessStyle` hooks.\n */\n ;\n\n _proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {\n for (var i = 0; i < this.registry.onProcessStyle.length; i++) {\n // $FlowFixMe[prop-missing]\n rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);\n }\n }\n /**\n * Call `onProcessSheet` hooks.\n */\n ;\n\n _proto.onProcessSheet = function onProcessSheet(sheet) {\n for (var i = 0; i < this.registry.onProcessSheet.length; i++) {\n this.registry.onProcessSheet[i](sheet);\n }\n }\n /**\n * Call `onUpdate` hooks.\n */\n ;\n\n _proto.onUpdate = function onUpdate(data, rule, sheet, options) {\n for (var i = 0; i < this.registry.onUpdate.length; i++) {\n this.registry.onUpdate[i](data, rule, sheet, options);\n }\n }\n /**\n * Call `onChangeValue` hooks.\n */\n ;\n\n _proto.onChangeValue = function onChangeValue(value, prop, rule) {\n var processedValue = value;\n\n for (var i = 0; i < this.registry.onChangeValue.length; i++) {\n processedValue = this.registry.onChangeValue[i](processedValue, prop, rule);\n }\n\n return processedValue;\n }\n /**\n * Register a plugin.\n */\n ;\n\n _proto.use = function use(newPlugin, options) {\n if (options === void 0) {\n options = {\n queue: 'external'\n };\n }\n\n var plugins = this.plugins[options.queue]; // Avoids applying same plugin twice, at least based on ref.\n\n if (plugins.indexOf(newPlugin) !== -1) {\n return;\n }\n\n plugins.push(newPlugin);\n this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function (registry, plugin) {\n for (var name in plugin) {\n if (name in registry) {\n registry[name].push(plugin[name]);\n } else {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] Unknown hook \\\"\" + name + \"\\\".\") : undefined;\n }\n }\n\n return registry;\n }, {\n onCreateRule: [],\n onProcessRule: [],\n onProcessStyle: [],\n onProcessSheet: [],\n onChangeValue: [],\n onUpdate: []\n });\n };\n\n return PluginsRegistry;\n}();\n\n/**\n * Sheets registry to access them all at one place.\n */\nvar SheetsRegistry =\n/*#__PURE__*/\nfunction () {\n function SheetsRegistry() {\n this.registry = [];\n }\n\n var _proto = SheetsRegistry.prototype;\n\n /**\n * Register a Style Sheet.\n */\n _proto.add = function add(sheet) {\n var registry = this.registry;\n var index = sheet.options.index;\n if (registry.indexOf(sheet) !== -1) return;\n\n if (registry.length === 0 || index >= this.index) {\n registry.push(sheet);\n return;\n } // Find a position.\n\n\n for (var i = 0; i < registry.length; i++) {\n if (registry[i].options.index > index) {\n registry.splice(i, 0, sheet);\n return;\n }\n }\n }\n /**\n * Reset the registry.\n */\n ;\n\n _proto.reset = function reset() {\n this.registry = [];\n }\n /**\n * Remove a Style Sheet.\n */\n ;\n\n _proto.remove = function remove(sheet) {\n var index = this.registry.indexOf(sheet);\n this.registry.splice(index, 1);\n }\n /**\n * Convert all attached sheets to a CSS string.\n */\n ;\n\n _proto.toString = function toString(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n attached = _ref.attached,\n options = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_ref, [\"attached\"]);\n\n var css = '';\n\n for (var i = 0; i < this.registry.length; i++) {\n var sheet = this.registry[i];\n\n if (attached != null && sheet.attached !== attached) {\n continue;\n }\n\n if (css) css += '\\n';\n css += sheet.toString(options);\n }\n\n return css;\n };\n\n Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(SheetsRegistry, [{\n key: \"index\",\n\n /**\n * Current highest index number.\n */\n get: function get() {\n return this.registry.length === 0 ? 0 : this.registry[this.registry.length - 1].options.index;\n }\n }]);\n\n return SheetsRegistry;\n}();\n\n/**\n * This is a global sheets registry. Only DomRenderer will add sheets to it.\n * On the server one should use an own SheetsRegistry instance and add the\n * sheets to it, because you need to make sure to create a new registry for\n * each request in order to not leak sheets across requests.\n */\n\nvar registry = new SheetsRegistry();\n\n/* eslint-disable */\n\n/**\n * Now that `globalThis` is available on most platforms\n * (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility)\n * we check for `globalThis` first. `globalThis` is necessary for jss\n * to run in Agoric's secure version of JavaScript (SES). Under SES,\n * `globalThis` exists, but `window`, `self`, and `Function('return\n * this')()` are all undefined for security reasons.\n *\n * https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n */\nvar globalThis$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' && window.Math === Math ? window : typeof self !== 'undefined' && self.Math === Math ? self : Function('return this')();\n\nvar ns = '2f1acc6c3a606b082e5eef5e54414ffb';\nif (globalThis$1[ns] == null) globalThis$1[ns] = 0; // Bundle may contain multiple JSS versions at the same time. In order to identify\n// the current version with just one short number and use it for classes generation\n// we use a counter. Also it is more accurate, because user can manually reevaluate\n// the module.\n\nvar moduleId = globalThis$1[ns]++;\n\nvar maxRules = 1e10;\n\n/**\n * Returns a function which generates unique class names based on counters.\n * When new generator function is created, rule counter is reseted.\n * We need to reset the rule counter for SSR for each request.\n */\nvar createGenerateId = function createGenerateId(options) {\n if (options === void 0) {\n options = {};\n }\n\n var ruleCounter = 0;\n return function (rule, sheet) {\n ruleCounter += 1;\n\n if (ruleCounter > maxRules) {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] You might have a memory leak. Rule counter is at \" + ruleCounter + \".\") : undefined;\n }\n\n var jssId = '';\n var prefix = '';\n\n if (sheet) {\n if (sheet.options.classNamePrefix) {\n prefix = sheet.options.classNamePrefix;\n }\n\n if (sheet.options.jss.id != null) {\n jssId = String(sheet.options.jss.id);\n }\n }\n\n if (options.minify) {\n // Using \"c\" because a number can't be the first char in a class name.\n return \"\" + (prefix || 'c') + moduleId + jssId + ruleCounter;\n }\n\n return prefix + rule.key + \"-\" + moduleId + (jssId ? \"-\" + jssId : '') + \"-\" + ruleCounter;\n };\n};\n\n/**\n * Cache the value from the first time a function is called.\n */\nvar memoize = function memoize(fn) {\n var value;\n return function () {\n if (!value) value = fn();\n return value;\n };\n};\n\n/**\n * Get a style property value.\n */\nvar getPropertyValue = function getPropertyValue(cssRule, prop) {\n try {\n // Support CSSTOM.\n if (cssRule.attributeStyleMap) {\n return cssRule.attributeStyleMap.get(prop);\n }\n\n return cssRule.style.getPropertyValue(prop);\n } catch (err) {\n // IE may throw if property is unknown.\n return '';\n }\n};\n\n/**\n * Set a style property.\n */\nvar setProperty = function setProperty(cssRule, prop, value) {\n try {\n var cssValue = value;\n\n if (Array.isArray(value)) {\n cssValue = toCssValue(value, true);\n\n if (value[value.length - 1] === '!important') {\n cssRule.style.setProperty(prop, cssValue, 'important');\n return true;\n }\n } // Support CSSTOM.\n\n\n if (cssRule.attributeStyleMap) {\n cssRule.attributeStyleMap.set(prop, cssValue);\n } else {\n cssRule.style.setProperty(prop, cssValue);\n }\n } catch (err) {\n // IE may throw if property is unknown.\n return false;\n }\n\n return true;\n};\n\n/**\n * Remove a style property.\n */\nvar removeProperty = function removeProperty(cssRule, prop) {\n try {\n // Support CSSTOM.\n if (cssRule.attributeStyleMap) {\n cssRule.attributeStyleMap.delete(prop);\n } else {\n cssRule.style.removeProperty(prop);\n }\n } catch (err) {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] DOMException \\\"\" + err.message + \"\\\" was thrown. Tried to remove property \\\"\" + prop + \"\\\".\") : undefined;\n }\n};\n\n/**\n * Set the selector.\n */\nvar setSelector = function setSelector(cssRule, selectorText) {\n cssRule.selectorText = selectorText; // Return false if setter was not successful.\n // Currently works in chrome only.\n\n return cssRule.selectorText === selectorText;\n};\n/**\n * Gets the `head` element upon the first call and caches it.\n * We assume it can't be null.\n */\n\n\nvar getHead = memoize(function () {\n return document.querySelector('head');\n});\n/**\n * Find attached sheet with an index higher than the passed one.\n */\n\nfunction findHigherSheet(registry, options) {\n for (var i = 0; i < registry.length; i++) {\n var sheet = registry[i];\n\n if (sheet.attached && sheet.options.index > options.index && sheet.options.insertionPoint === options.insertionPoint) {\n return sheet;\n }\n }\n\n return null;\n}\n/**\n * Find attached sheet with the highest index.\n */\n\n\nfunction findHighestSheet(registry, options) {\n for (var i = registry.length - 1; i >= 0; i--) {\n var sheet = registry[i];\n\n if (sheet.attached && sheet.options.insertionPoint === options.insertionPoint) {\n return sheet;\n }\n }\n\n return null;\n}\n/**\n * Find a comment with \"jss\" inside.\n */\n\n\nfunction findCommentNode(text) {\n var head = getHead();\n\n for (var i = 0; i < head.childNodes.length; i++) {\n var node = head.childNodes[i];\n\n if (node.nodeType === 8 && node.nodeValue.trim() === text) {\n return node;\n }\n }\n\n return null;\n}\n\n/**\n * Find a node before which we can insert the sheet.\n */\nfunction findPrevNode(options) {\n var registry$1 = registry.registry;\n\n if (registry$1.length > 0) {\n // Try to insert before the next higher sheet.\n var sheet = findHigherSheet(registry$1, options);\n\n if (sheet && sheet.renderer) {\n return {\n parent: sheet.renderer.element.parentNode,\n node: sheet.renderer.element\n };\n } // Otherwise insert after the last attached.\n\n\n sheet = findHighestSheet(registry$1, options);\n\n if (sheet && sheet.renderer) {\n return {\n parent: sheet.renderer.element.parentNode,\n node: sheet.renderer.element.nextSibling\n };\n }\n } // Try to find a comment placeholder if registry is empty.\n\n\n var insertionPoint = options.insertionPoint;\n\n if (insertionPoint && typeof insertionPoint === 'string') {\n var comment = findCommentNode(insertionPoint);\n\n if (comment) {\n return {\n parent: comment.parentNode,\n node: comment.nextSibling\n };\n } // If user specifies an insertion point and it can't be found in the document -\n // bad specificity issues may appear.\n\n\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] Insertion point \\\"\" + insertionPoint + \"\\\" not found.\") : undefined;\n }\n\n return false;\n}\n/**\n * Insert style element into the DOM.\n */\n\n\nfunction insertStyle(style, options) {\n var insertionPoint = options.insertionPoint;\n var nextNode = findPrevNode(options);\n\n if (nextNode !== false && nextNode.parent) {\n nextNode.parent.insertBefore(style, nextNode.node);\n return;\n } // Works with iframes and any node types.\n\n\n if (insertionPoint && typeof insertionPoint.nodeType === 'number') {\n // https://stackoverflow.com/questions/41328728/force-casting-in-flow\n var insertionPointElement = insertionPoint;\n var parentNode = insertionPointElement.parentNode;\n if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);else true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, '[JSS] Insertion point is not in the DOM.') : undefined;\n return;\n }\n\n getHead().appendChild(style);\n}\n/**\n * Read jss nonce setting from the page if the user has set it.\n */\n\n\nvar getNonce = memoize(function () {\n var node = document.querySelector('meta[property=\"csp-nonce\"]');\n return node ? node.getAttribute('content') : null;\n});\n\nvar _insertRule = function insertRule(container, rule, index) {\n try {\n if ('insertRule' in container) {\n var c = container;\n c.insertRule(rule, index);\n } // Keyframes rule.\n else if ('appendRule' in container) {\n var _c = container;\n\n _c.appendRule(rule);\n }\n } catch (err) {\n true ? Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] \" + err.message) : undefined;\n return false;\n }\n\n return container.cssRules[index];\n};\n\nvar getValidRuleInsertionIndex = function getValidRuleInsertionIndex(container, index) {\n var maxIndex = container.cssRules.length; // In case previous insertion fails, passed index might be wrong\n\n if (index === undefined || index > maxIndex) {\n // eslint-disable-next-line no-param-reassign\n return maxIndex;\n }\n\n return index;\n};\n\nvar createStyle = function createStyle() {\n var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we\n // insert rules after we insert the style tag.\n // It seems to kick-off the source order specificity algorithm.\n\n el.textContent = '\\n';\n return el;\n};\n\nvar DomRenderer =\n/*#__PURE__*/\nfunction () {\n // HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696\n // Will be empty if link: true option is not set, because\n // it is only for use together with insertRule API.\n function DomRenderer(sheet) {\n this.getPropertyValue = getPropertyValue;\n this.setProperty = setProperty;\n this.removeProperty = removeProperty;\n this.setSelector = setSelector;\n this.element = void 0;\n this.sheet = void 0;\n this.hasInsertedRules = false;\n this.cssRules = [];\n // There is no sheet when the renderer is used from a standalone StyleRule.\n if (sheet) registry.add(sheet);\n this.sheet = sheet;\n\n var _ref = this.sheet ? this.sheet.options : {},\n media = _ref.media,\n meta = _ref.meta,\n element = _ref.element;\n\n this.element = element || createStyle();\n this.element.setAttribute('data-jss', '');\n if (media) this.element.setAttribute('media', media);\n if (meta) this.element.setAttribute('data-meta', meta);\n var nonce = getNonce();\n if (nonce) this.element.setAttribute('nonce', nonce);\n }\n /**\n * Insert style element into render tree.\n */\n\n\n var _proto = DomRenderer.prototype;\n\n _proto.attach = function attach() {\n // In the case the element node is external and it is already in the DOM.\n if (this.element.parentNode || !this.sheet) return;\n insertStyle(this.element, this.sheet.options); // When rules are inserted using `insertRule` API, after `sheet.detach().attach()`\n // most browsers create a new CSSStyleSheet, except of all IEs.\n\n var deployed = Boolean(this.sheet && this.sheet.deployed);\n\n if (this.hasInsertedRules && deployed) {\n this.hasInsertedRules = false;\n this.deploy();\n }\n }\n /**\n * Remove style element from render tree.\n */\n ;\n\n _proto.detach = function detach() {\n if (!this.sheet) return;\n var parentNode = this.element.parentNode;\n if (parentNode) parentNode.removeChild(this.element); // In the most browsers, rules inserted using insertRule() API will be lost when style element is removed.\n // Though IE will keep them and we need a consistent behavior.\n\n if (this.sheet.options.link) {\n this.cssRules = [];\n this.element.textContent = '\\n';\n }\n }\n /**\n * Inject CSS string into element.\n */\n ;\n\n _proto.deploy = function deploy() {\n var sheet = this.sheet;\n if (!sheet) return;\n\n if (sheet.options.link) {\n this.insertRules(sheet.rules);\n return;\n }\n\n this.element.textContent = \"\\n\" + sheet.toString() + \"\\n\";\n }\n /**\n * Insert RuleList into an element.\n */\n ;\n\n _proto.insertRules = function insertRules(rules, nativeParent) {\n for (var i = 0; i < rules.index.length; i++) {\n this.insertRule(rules.index[i], i, nativeParent);\n }\n }\n /**\n * Insert a rule into element.\n */\n ;\n\n _proto.insertRule = function insertRule(rule, index, nativeParent) {\n if (nativeParent === void 0) {\n nativeParent = this.element.sheet;\n }\n\n if (rule.rules) {\n var parent = rule;\n var latestNativeParent = nativeParent;\n\n if (rule.type === 'conditional' || rule.type === 'keyframes') {\n var _insertionIndex = getValidRuleInsertionIndex(nativeParent, index); // We need to render the container without children first.\n\n\n latestNativeParent = _insertRule(nativeParent, parent.toString({\n children: false\n }), _insertionIndex);\n\n if (latestNativeParent === false) {\n return false;\n }\n\n this.refCssRule(rule, _insertionIndex, latestNativeParent);\n }\n\n this.insertRules(parent.rules, latestNativeParent);\n return latestNativeParent;\n }\n\n var ruleStr = rule.toString();\n if (!ruleStr) return false;\n var insertionIndex = getValidRuleInsertionIndex(nativeParent, index);\n\n var nativeRule = _insertRule(nativeParent, ruleStr, insertionIndex);\n\n if (nativeRule === false) {\n return false;\n }\n\n this.hasInsertedRules = true;\n this.refCssRule(rule, insertionIndex, nativeRule);\n return nativeRule;\n };\n\n _proto.refCssRule = function refCssRule(rule, index, cssRule) {\n rule.renderable = cssRule; // We only want to reference the top level rules, deleteRule API doesn't support removing nested rules\n // like rules inside media queries or keyframes\n\n if (rule.options.parent instanceof StyleSheet) {\n this.cssRules[index] = cssRule;\n }\n }\n /**\n * Delete a rule.\n */\n ;\n\n _proto.deleteRule = function deleteRule(cssRule) {\n var sheet = this.element.sheet;\n var index = this.indexOf(cssRule);\n if (index === -1) return false;\n sheet.deleteRule(index);\n this.cssRules.splice(index, 1);\n return true;\n }\n /**\n * Get index of a CSS Rule.\n */\n ;\n\n _proto.indexOf = function indexOf(cssRule) {\n return this.cssRules.indexOf(cssRule);\n }\n /**\n * Generate a new CSS rule and replace the existing one.\n *\n * Only used for some old browsers because they can't set a selector.\n */\n ;\n\n _proto.replaceRule = function replaceRule(cssRule, rule) {\n var index = this.indexOf(cssRule);\n if (index === -1) return false;\n this.element.sheet.deleteRule(index);\n this.cssRules.splice(index, 1);\n return this.insertRule(rule, index);\n }\n /**\n * Get all rules elements.\n */\n ;\n\n _proto.getRules = function getRules() {\n return this.element.sheet.cssRules;\n };\n\n return DomRenderer;\n}();\n\nvar instanceCounter = 0;\n\nvar Jss =\n/*#__PURE__*/\nfunction () {\n function Jss(options) {\n this.id = instanceCounter++;\n this.version = \"10.6.0\";\n this.plugins = new PluginsRegistry();\n this.options = {\n id: {\n minify: false\n },\n createGenerateId: createGenerateId,\n Renderer: is_in_browser__WEBPACK_IMPORTED_MODULE_1__[\"default\"] ? DomRenderer : null,\n plugins: []\n };\n this.generateId = createGenerateId({\n minify: false\n });\n\n for (var i = 0; i < plugins.length; i++) {\n this.plugins.use(plugins[i], {\n queue: 'internal'\n });\n }\n\n this.setup(options);\n }\n /**\n * Prepares various options, applies plugins.\n * Should not be used twice on the same instance, because there is no plugins\n * deduplication logic.\n */\n\n\n var _proto = Jss.prototype;\n\n _proto.setup = function setup(options) {\n if (options === void 0) {\n options = {};\n }\n\n if (options.createGenerateId) {\n this.options.createGenerateId = options.createGenerateId;\n }\n\n if (options.id) {\n this.options.id = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, this.options.id, options.id);\n }\n\n if (options.createGenerateId || options.id) {\n this.generateId = this.options.createGenerateId(this.options.id);\n }\n\n if (options.insertionPoint != null) this.options.insertionPoint = options.insertionPoint;\n\n if ('Renderer' in options) {\n this.options.Renderer = options.Renderer;\n } // eslint-disable-next-line prefer-spread\n\n\n if (options.plugins) this.use.apply(this, options.plugins);\n return this;\n }\n /**\n * Create a Style Sheet.\n */\n ;\n\n _proto.createStyleSheet = function createStyleSheet(styles, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n index = _options.index;\n\n if (typeof index !== 'number') {\n index = registry.index === 0 ? 0 : registry.index + 1;\n }\n\n var sheet = new StyleSheet(styles, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n jss: this,\n generateId: options.generateId || this.generateId,\n insertionPoint: this.options.insertionPoint,\n Renderer: this.options.Renderer,\n index: index\n }));\n this.plugins.onProcessSheet(sheet);\n return sheet;\n }\n /**\n * Detach the Style Sheet and remove it from the registry.\n */\n ;\n\n _proto.removeStyleSheet = function removeStyleSheet(sheet) {\n sheet.detach();\n registry.remove(sheet);\n return this;\n }\n /**\n * Create a rule without a Style Sheet.\n * [Deprecated] will be removed in the next major version.\n */\n ;\n\n _proto.createRule = function createRule$1(name, style, options) {\n if (style === void 0) {\n style = {};\n }\n\n if (options === void 0) {\n options = {};\n }\n\n // Enable rule without name for inline styles.\n if (typeof name === 'object') {\n // $FlowFixMe[incompatible-call]\n return this.createRule(undefined, name, style);\n } // $FlowFixMe[incompatible-type]\n\n\n var ruleOptions = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, options, {\n name: name,\n jss: this,\n Renderer: this.options.Renderer\n });\n\n if (!ruleOptions.generateId) ruleOptions.generateId = this.generateId;\n if (!ruleOptions.classes) ruleOptions.classes = {};\n if (!ruleOptions.keyframes) ruleOptions.keyframes = {};\n\n var rule = createRule(name, style, ruleOptions);\n\n if (rule) this.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Register plugin. Passed function will be invoked with a rule instance.\n */\n ;\n\n _proto.use = function use() {\n var _this = this;\n\n for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {\n plugins[_key] = arguments[_key];\n }\n\n plugins.forEach(function (plugin) {\n _this.plugins.use(plugin);\n });\n return this;\n };\n\n return Jss;\n}();\n\n/**\n * Extracts a styles object with only props that contain function values.\n */\nfunction getDynamicStyles(styles) {\n var to = null;\n\n for (var key in styles) {\n var value = styles[key];\n var type = typeof value;\n\n if (type === 'function') {\n if (!to) to = {};\n to[key] = value;\n } else if (type === 'object' && value !== null && !Array.isArray(value)) {\n var extracted = getDynamicStyles(value);\n\n if (extracted) {\n if (!to) to = {};\n to[key] = extracted;\n }\n }\n }\n\n return to;\n}\n\n/**\n * SheetsManager is like a WeakMap which is designed to count StyleSheet\n * instances and attach/detach automatically.\n */\nvar SheetsManager =\n/*#__PURE__*/\nfunction () {\n function SheetsManager() {\n this.length = 0;\n this.sheets = new WeakMap();\n }\n\n var _proto = SheetsManager.prototype;\n\n _proto.get = function get(key) {\n var entry = this.sheets.get(key);\n return entry && entry.sheet;\n };\n\n _proto.add = function add(key, sheet) {\n if (this.sheets.has(key)) return;\n this.length++;\n this.sheets.set(key, {\n sheet: sheet,\n refs: 0\n });\n };\n\n _proto.manage = function manage(key) {\n var entry = this.sheets.get(key);\n\n if (entry) {\n if (entry.refs === 0) {\n entry.sheet.attach();\n }\n\n entry.refs++;\n return entry.sheet;\n }\n\n Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"[JSS] SheetsManager: can't find sheet to manage\");\n return undefined;\n };\n\n _proto.unmanage = function unmanage(key) {\n var entry = this.sheets.get(key);\n\n if (entry) {\n if (entry.refs > 0) {\n entry.refs--;\n if (entry.refs === 0) entry.sheet.detach();\n }\n } else {\n Object(tiny_warning__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(false, \"SheetsManager: can't find sheet to unmanage\");\n }\n };\n\n Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(SheetsManager, [{\n key: \"size\",\n get: function get() {\n return this.length;\n }\n }]);\n\n return SheetsManager;\n}();\n\n/**\n * A better abstraction over CSS.\n *\n * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present\n * @website https://github.com/cssinjs/jss\n * @license MIT\n */\n\n/**\n * Export a constant indicating if this browser has CSSTOM support.\n * https://developers.google.com/web/updates/2018/03/cssom\n */\nvar hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;\n/**\n * Creates a new instance of Jss.\n */\n\nvar create = function create(options) {\n return new Jss(options);\n};\n/**\n * A global Jss instance.\n */\n\nvar jss = create();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (jss);\n\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/jss/dist/jss.esm.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/lodash.isequal/index.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/lodash.isequal/index.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(global, module) {/**\n * Lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright JS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\n/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\n/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\n/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeKeys = overArg(Object.keys, Object);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView'),\n Map = getNative(root, 'Map'),\n Promise = getNative(root, 'Promise'),\n Set = getNative(root, 'Set'),\n WeakMap = getNative(root, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\n/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = isEqual;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./.codedoc/node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/lodash.isequal/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/md5.js/index.js": -/*!***********************************************!*\ - !*** ./.codedoc/node_modules/md5.js/index.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\nvar HashBase = __webpack_require__(/*! hash-base */ \"./.codedoc/node_modules/hash-base/index.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nvar ARRAY16 = new Array(16)\n\nfunction MD5 () {\n HashBase.call(this, 64)\n\n // state\n this._a = 0x67452301\n this._b = 0xefcdab89\n this._c = 0x98badcfe\n this._d = 0x10325476\n}\n\ninherits(MD5, HashBase)\n\nMD5.prototype._update = function () {\n var M = ARRAY16\n for (var i = 0; i < 16; ++i) M[i] = this._block.readInt32LE(i * 4)\n\n var a = this._a\n var b = this._b\n var c = this._c\n var d = this._d\n\n a = fnF(a, b, c, d, M[0], 0xd76aa478, 7)\n d = fnF(d, a, b, c, M[1], 0xe8c7b756, 12)\n c = fnF(c, d, a, b, M[2], 0x242070db, 17)\n b = fnF(b, c, d, a, M[3], 0xc1bdceee, 22)\n a = fnF(a, b, c, d, M[4], 0xf57c0faf, 7)\n d = fnF(d, a, b, c, M[5], 0x4787c62a, 12)\n c = fnF(c, d, a, b, M[6], 0xa8304613, 17)\n b = fnF(b, c, d, a, M[7], 0xfd469501, 22)\n a = fnF(a, b, c, d, M[8], 0x698098d8, 7)\n d = fnF(d, a, b, c, M[9], 0x8b44f7af, 12)\n c = fnF(c, d, a, b, M[10], 0xffff5bb1, 17)\n b = fnF(b, c, d, a, M[11], 0x895cd7be, 22)\n a = fnF(a, b, c, d, M[12], 0x6b901122, 7)\n d = fnF(d, a, b, c, M[13], 0xfd987193, 12)\n c = fnF(c, d, a, b, M[14], 0xa679438e, 17)\n b = fnF(b, c, d, a, M[15], 0x49b40821, 22)\n\n a = fnG(a, b, c, d, M[1], 0xf61e2562, 5)\n d = fnG(d, a, b, c, M[6], 0xc040b340, 9)\n c = fnG(c, d, a, b, M[11], 0x265e5a51, 14)\n b = fnG(b, c, d, a, M[0], 0xe9b6c7aa, 20)\n a = fnG(a, b, c, d, M[5], 0xd62f105d, 5)\n d = fnG(d, a, b, c, M[10], 0x02441453, 9)\n c = fnG(c, d, a, b, M[15], 0xd8a1e681, 14)\n b = fnG(b, c, d, a, M[4], 0xe7d3fbc8, 20)\n a = fnG(a, b, c, d, M[9], 0x21e1cde6, 5)\n d = fnG(d, a, b, c, M[14], 0xc33707d6, 9)\n c = fnG(c, d, a, b, M[3], 0xf4d50d87, 14)\n b = fnG(b, c, d, a, M[8], 0x455a14ed, 20)\n a = fnG(a, b, c, d, M[13], 0xa9e3e905, 5)\n d = fnG(d, a, b, c, M[2], 0xfcefa3f8, 9)\n c = fnG(c, d, a, b, M[7], 0x676f02d9, 14)\n b = fnG(b, c, d, a, M[12], 0x8d2a4c8a, 20)\n\n a = fnH(a, b, c, d, M[5], 0xfffa3942, 4)\n d = fnH(d, a, b, c, M[8], 0x8771f681, 11)\n c = fnH(c, d, a, b, M[11], 0x6d9d6122, 16)\n b = fnH(b, c, d, a, M[14], 0xfde5380c, 23)\n a = fnH(a, b, c, d, M[1], 0xa4beea44, 4)\n d = fnH(d, a, b, c, M[4], 0x4bdecfa9, 11)\n c = fnH(c, d, a, b, M[7], 0xf6bb4b60, 16)\n b = fnH(b, c, d, a, M[10], 0xbebfbc70, 23)\n a = fnH(a, b, c, d, M[13], 0x289b7ec6, 4)\n d = fnH(d, a, b, c, M[0], 0xeaa127fa, 11)\n c = fnH(c, d, a, b, M[3], 0xd4ef3085, 16)\n b = fnH(b, c, d, a, M[6], 0x04881d05, 23)\n a = fnH(a, b, c, d, M[9], 0xd9d4d039, 4)\n d = fnH(d, a, b, c, M[12], 0xe6db99e5, 11)\n c = fnH(c, d, a, b, M[15], 0x1fa27cf8, 16)\n b = fnH(b, c, d, a, M[2], 0xc4ac5665, 23)\n\n a = fnI(a, b, c, d, M[0], 0xf4292244, 6)\n d = fnI(d, a, b, c, M[7], 0x432aff97, 10)\n c = fnI(c, d, a, b, M[14], 0xab9423a7, 15)\n b = fnI(b, c, d, a, M[5], 0xfc93a039, 21)\n a = fnI(a, b, c, d, M[12], 0x655b59c3, 6)\n d = fnI(d, a, b, c, M[3], 0x8f0ccc92, 10)\n c = fnI(c, d, a, b, M[10], 0xffeff47d, 15)\n b = fnI(b, c, d, a, M[1], 0x85845dd1, 21)\n a = fnI(a, b, c, d, M[8], 0x6fa87e4f, 6)\n d = fnI(d, a, b, c, M[15], 0xfe2ce6e0, 10)\n c = fnI(c, d, a, b, M[6], 0xa3014314, 15)\n b = fnI(b, c, d, a, M[13], 0x4e0811a1, 21)\n a = fnI(a, b, c, d, M[4], 0xf7537e82, 6)\n d = fnI(d, a, b, c, M[11], 0xbd3af235, 10)\n c = fnI(c, d, a, b, M[2], 0x2ad7d2bb, 15)\n b = fnI(b, c, d, a, M[9], 0xeb86d391, 21)\n\n this._a = (this._a + a) | 0\n this._b = (this._b + b) | 0\n this._c = (this._c + c) | 0\n this._d = (this._d + d) | 0\n}\n\nMD5.prototype._digest = function () {\n // create padding and handle blocks\n this._block[this._blockOffset++] = 0x80\n if (this._blockOffset > 56) {\n this._block.fill(0, this._blockOffset, 64)\n this._update()\n this._blockOffset = 0\n }\n\n this._block.fill(0, this._blockOffset, 56)\n this._block.writeUInt32LE(this._length[0], 56)\n this._block.writeUInt32LE(this._length[1], 60)\n this._update()\n\n // produce result\n var buffer = Buffer.allocUnsafe(16)\n buffer.writeInt32LE(this._a, 0)\n buffer.writeInt32LE(this._b, 4)\n buffer.writeInt32LE(this._c, 8)\n buffer.writeInt32LE(this._d, 12)\n return buffer\n}\n\nfunction rotl (x, n) {\n return (x << n) | (x >>> (32 - n))\n}\n\nfunction fnF (a, b, c, d, m, k, s) {\n return (rotl((a + ((b & c) | ((~b) & d)) + m + k) | 0, s) + b) | 0\n}\n\nfunction fnG (a, b, c, d, m, k, s) {\n return (rotl((a + ((b & d) | (c & (~d))) + m + k) | 0, s) + b) | 0\n}\n\nfunction fnH (a, b, c, d, m, k, s) {\n return (rotl((a + (b ^ c ^ d) + m + k) | 0, s) + b) | 0\n}\n\nfunction fnI (a, b, c, d, m, k, s) {\n return (rotl((a + ((c ^ (b | (~d)))) + m + k) | 0, s) + b) | 0\n}\n\nmodule.exports = MD5\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/md5.js/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/miller-rabin/lib/mr.js": -/*!******************************************************!*\ - !*** ./.codedoc/node_modules/miller-rabin/lib/mr.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var bn = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\");\nvar brorand = __webpack_require__(/*! brorand */ \"./.codedoc/node_modules/brorand/index.js\");\n\nfunction MillerRabin(rand) {\n this.rand = rand || new brorand.Rand();\n}\nmodule.exports = MillerRabin;\n\nMillerRabin.create = function create(rand) {\n return new MillerRabin(rand);\n};\n\nMillerRabin.prototype._randbelow = function _randbelow(n) {\n var len = n.bitLength();\n var min_bytes = Math.ceil(len / 8);\n\n // Generage random bytes until a number less than n is found.\n // This ensures that 0..n-1 have an equal probability of being selected.\n do\n var a = new bn(this.rand.generate(min_bytes));\n while (a.cmp(n) >= 0);\n\n return a;\n};\n\nMillerRabin.prototype._randrange = function _randrange(start, stop) {\n // Generate a random number greater than or equal to start and less than stop.\n var size = stop.sub(start);\n return start.add(this._randbelow(size));\n};\n\nMillerRabin.prototype.test = function test(n, k, cb) {\n var len = n.bitLength();\n var red = bn.mont(n);\n var rone = new bn(1).toRed(red);\n\n if (!k)\n k = Math.max(1, (len / 48) | 0);\n\n // Find d and s, (n - 1) = (2 ^ s) * d;\n var n1 = n.subn(1);\n for (var s = 0; !n1.testn(s); s++) {}\n var d = n.shrn(s);\n\n var rn1 = n1.toRed(red);\n\n var prime = true;\n for (; k > 0; k--) {\n var a = this._randrange(new bn(2), n1);\n if (cb)\n cb(a);\n\n var x = a.toRed(red).redPow(d);\n if (x.cmp(rone) === 0 || x.cmp(rn1) === 0)\n continue;\n\n for (var i = 1; i < s; i++) {\n x = x.redSqr();\n\n if (x.cmp(rone) === 0)\n return false;\n if (x.cmp(rn1) === 0)\n break;\n }\n\n if (i === s)\n return false;\n }\n\n return prime;\n};\n\nMillerRabin.prototype.getDivisor = function getDivisor(n, k) {\n var len = n.bitLength();\n var red = bn.mont(n);\n var rone = new bn(1).toRed(red);\n\n if (!k)\n k = Math.max(1, (len / 48) | 0);\n\n // Find d and s, (n - 1) = (2 ^ s) * d;\n var n1 = n.subn(1);\n for (var s = 0; !n1.testn(s); s++) {}\n var d = n.shrn(s);\n\n var rn1 = n1.toRed(red);\n\n for (; k > 0; k--) {\n var a = this._randrange(new bn(2), n1);\n\n var g = n.gcd(a);\n if (g.cmpn(1) !== 0)\n return g;\n\n var x = a.toRed(red).redPow(d);\n if (x.cmp(rone) === 0 || x.cmp(rn1) === 0)\n continue;\n\n for (var i = 1; i < s; i++) {\n x = x.redSqr();\n\n if (x.cmp(rone) === 0)\n return x.fromRed().subn(1).gcd(n);\n if (x.cmp(rn1) === 0)\n break;\n }\n\n if (i === s) {\n x = x.redSqr();\n return x.fromRed().subn(1).gcd(n);\n }\n }\n\n return false;\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/miller-rabin/lib/mr.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/minimalistic-assert/index.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/minimalistic-assert/index.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = assert;\n\nfunction assert(val, msg) {\n if (!val)\n throw new Error(msg || 'Assertion failed');\n}\n\nassert.equal = function assertEqual(l, r, msg) {\n if (l != r)\n throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r));\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/minimalistic-assert/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/minimalistic-crypto-utils/lib/utils.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/minimalistic-crypto-utils/lib/utils.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = exports;\n\nfunction toArray(msg, enc) {\n if (Array.isArray(msg))\n return msg.slice();\n if (!msg)\n return [];\n var res = [];\n if (typeof msg !== 'string') {\n for (var i = 0; i < msg.length; i++)\n res[i] = msg[i] | 0;\n return res;\n }\n if (enc === 'hex') {\n msg = msg.replace(/[^a-z0-9]+/ig, '');\n if (msg.length % 2 !== 0)\n msg = '0' + msg;\n for (var i = 0; i < msg.length; i += 2)\n res.push(parseInt(msg[i] + msg[i + 1], 16));\n } else {\n for (var i = 0; i < msg.length; i++) {\n var c = msg.charCodeAt(i);\n var hi = c >> 8;\n var lo = c & 0xff;\n if (hi)\n res.push(hi, lo);\n else\n res.push(lo);\n }\n }\n return res;\n}\nutils.toArray = toArray;\n\nfunction zero2(word) {\n if (word.length === 1)\n return '0' + word;\n else\n return word;\n}\nutils.zero2 = zero2;\n\nfunction toHex(msg) {\n var res = '';\n for (var i = 0; i < msg.length; i++)\n res += zero2(msg[i].toString(16));\n return res;\n}\nutils.toHex = toHex;\n\nutils.encode = function encode(arr, enc) {\n if (enc === 'hex')\n return toHex(arr);\n else\n return arr;\n};\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/minimalistic-crypto-utils/lib/utils.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/parse-asn1/aesid.json": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/parse-asn1/aesid.json ***! - \*****************************************************/ -/*! exports provided: 2.16.840.1.101.3.4.1.1, 2.16.840.1.101.3.4.1.2, 2.16.840.1.101.3.4.1.3, 2.16.840.1.101.3.4.1.4, 2.16.840.1.101.3.4.1.21, 2.16.840.1.101.3.4.1.22, 2.16.840.1.101.3.4.1.23, 2.16.840.1.101.3.4.1.24, 2.16.840.1.101.3.4.1.41, 2.16.840.1.101.3.4.1.42, 2.16.840.1.101.3.4.1.43, 2.16.840.1.101.3.4.1.44, default */ -/***/ (function(module) { - -eval("module.exports = JSON.parse(\"{\\\"2.16.840.1.101.3.4.1.1\\\":\\\"aes-128-ecb\\\",\\\"2.16.840.1.101.3.4.1.2\\\":\\\"aes-128-cbc\\\",\\\"2.16.840.1.101.3.4.1.3\\\":\\\"aes-128-ofb\\\",\\\"2.16.840.1.101.3.4.1.4\\\":\\\"aes-128-cfb\\\",\\\"2.16.840.1.101.3.4.1.21\\\":\\\"aes-192-ecb\\\",\\\"2.16.840.1.101.3.4.1.22\\\":\\\"aes-192-cbc\\\",\\\"2.16.840.1.101.3.4.1.23\\\":\\\"aes-192-ofb\\\",\\\"2.16.840.1.101.3.4.1.24\\\":\\\"aes-192-cfb\\\",\\\"2.16.840.1.101.3.4.1.41\\\":\\\"aes-256-ecb\\\",\\\"2.16.840.1.101.3.4.1.42\\\":\\\"aes-256-cbc\\\",\\\"2.16.840.1.101.3.4.1.43\\\":\\\"aes-256-ofb\\\",\\\"2.16.840.1.101.3.4.1.44\\\":\\\"aes-256-cfb\\\"}\");\n\n//# sourceURL=webpack:///./.codedoc/node_modules/parse-asn1/aesid.json?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/parse-asn1/asn1.js": -/*!**************************************************!*\ - !*** ./.codedoc/node_modules/parse-asn1/asn1.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// from https://github.com/indutny/self-signed/blob/gh-pages/lib/asn1.js\n// Fedor, you are amazing.\n\n\nvar asn1 = __webpack_require__(/*! asn1.js */ \"./.codedoc/node_modules/asn1.js/lib/asn1.js\")\n\nexports.certificate = __webpack_require__(/*! ./certificate */ \"./.codedoc/node_modules/parse-asn1/certificate.js\")\n\nvar RSAPrivateKey = asn1.define('RSAPrivateKey', function () {\n this.seq().obj(\n this.key('version').int(),\n this.key('modulus').int(),\n this.key('publicExponent').int(),\n this.key('privateExponent').int(),\n this.key('prime1').int(),\n this.key('prime2').int(),\n this.key('exponent1').int(),\n this.key('exponent2').int(),\n this.key('coefficient').int()\n )\n})\nexports.RSAPrivateKey = RSAPrivateKey\n\nvar RSAPublicKey = asn1.define('RSAPublicKey', function () {\n this.seq().obj(\n this.key('modulus').int(),\n this.key('publicExponent').int()\n )\n})\nexports.RSAPublicKey = RSAPublicKey\n\nvar PublicKey = asn1.define('SubjectPublicKeyInfo', function () {\n this.seq().obj(\n this.key('algorithm').use(AlgorithmIdentifier),\n this.key('subjectPublicKey').bitstr()\n )\n})\nexports.PublicKey = PublicKey\n\nvar AlgorithmIdentifier = asn1.define('AlgorithmIdentifier', function () {\n this.seq().obj(\n this.key('algorithm').objid(),\n this.key('none').null_().optional(),\n this.key('curve').objid().optional(),\n this.key('params').seq().obj(\n this.key('p').int(),\n this.key('q').int(),\n this.key('g').int()\n ).optional()\n )\n})\n\nvar PrivateKeyInfo = asn1.define('PrivateKeyInfo', function () {\n this.seq().obj(\n this.key('version').int(),\n this.key('algorithm').use(AlgorithmIdentifier),\n this.key('subjectPrivateKey').octstr()\n )\n})\nexports.PrivateKey = PrivateKeyInfo\nvar EncryptedPrivateKeyInfo = asn1.define('EncryptedPrivateKeyInfo', function () {\n this.seq().obj(\n this.key('algorithm').seq().obj(\n this.key('id').objid(),\n this.key('decrypt').seq().obj(\n this.key('kde').seq().obj(\n this.key('id').objid(),\n this.key('kdeparams').seq().obj(\n this.key('salt').octstr(),\n this.key('iters').int()\n )\n ),\n this.key('cipher').seq().obj(\n this.key('algo').objid(),\n this.key('iv').octstr()\n )\n )\n ),\n this.key('subjectPrivateKey').octstr()\n )\n})\n\nexports.EncryptedPrivateKey = EncryptedPrivateKeyInfo\n\nvar DSAPrivateKey = asn1.define('DSAPrivateKey', function () {\n this.seq().obj(\n this.key('version').int(),\n this.key('p').int(),\n this.key('q').int(),\n this.key('g').int(),\n this.key('pub_key').int(),\n this.key('priv_key').int()\n )\n})\nexports.DSAPrivateKey = DSAPrivateKey\n\nexports.DSAparam = asn1.define('DSAparam', function () {\n this.int()\n})\n\nvar ECPrivateKey = asn1.define('ECPrivateKey', function () {\n this.seq().obj(\n this.key('version').int(),\n this.key('privateKey').octstr(),\n this.key('parameters').optional().explicit(0).use(ECParameters),\n this.key('publicKey').optional().explicit(1).bitstr()\n )\n})\nexports.ECPrivateKey = ECPrivateKey\n\nvar ECParameters = asn1.define('ECParameters', function () {\n this.choice({\n namedCurve: this.objid()\n })\n})\n\nexports.signature = asn1.define('signature', function () {\n this.seq().obj(\n this.key('r').int(),\n this.key('s').int()\n )\n})\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/parse-asn1/asn1.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/parse-asn1/certificate.js": -/*!*********************************************************!*\ - !*** ./.codedoc/node_modules/parse-asn1/certificate.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// from https://github.com/Rantanen/node-dtls/blob/25a7dc861bda38cfeac93a723500eea4f0ac2e86/Certificate.js\n// thanks to @Rantanen\n\n\n\nvar asn = __webpack_require__(/*! asn1.js */ \"./.codedoc/node_modules/asn1.js/lib/asn1.js\")\n\nvar Time = asn.define('Time', function () {\n this.choice({\n utcTime: this.utctime(),\n generalTime: this.gentime()\n })\n})\n\nvar AttributeTypeValue = asn.define('AttributeTypeValue', function () {\n this.seq().obj(\n this.key('type').objid(),\n this.key('value').any()\n )\n})\n\nvar AlgorithmIdentifier = asn.define('AlgorithmIdentifier', function () {\n this.seq().obj(\n this.key('algorithm').objid(),\n this.key('parameters').optional(),\n this.key('curve').objid().optional()\n )\n})\n\nvar SubjectPublicKeyInfo = asn.define('SubjectPublicKeyInfo', function () {\n this.seq().obj(\n this.key('algorithm').use(AlgorithmIdentifier),\n this.key('subjectPublicKey').bitstr()\n )\n})\n\nvar RelativeDistinguishedName = asn.define('RelativeDistinguishedName', function () {\n this.setof(AttributeTypeValue)\n})\n\nvar RDNSequence = asn.define('RDNSequence', function () {\n this.seqof(RelativeDistinguishedName)\n})\n\nvar Name = asn.define('Name', function () {\n this.choice({\n rdnSequence: this.use(RDNSequence)\n })\n})\n\nvar Validity = asn.define('Validity', function () {\n this.seq().obj(\n this.key('notBefore').use(Time),\n this.key('notAfter').use(Time)\n )\n})\n\nvar Extension = asn.define('Extension', function () {\n this.seq().obj(\n this.key('extnID').objid(),\n this.key('critical').bool().def(false),\n this.key('extnValue').octstr()\n )\n})\n\nvar TBSCertificate = asn.define('TBSCertificate', function () {\n this.seq().obj(\n this.key('version').explicit(0).int().optional(),\n this.key('serialNumber').int(),\n this.key('signature').use(AlgorithmIdentifier),\n this.key('issuer').use(Name),\n this.key('validity').use(Validity),\n this.key('subject').use(Name),\n this.key('subjectPublicKeyInfo').use(SubjectPublicKeyInfo),\n this.key('issuerUniqueID').implicit(1).bitstr().optional(),\n this.key('subjectUniqueID').implicit(2).bitstr().optional(),\n this.key('extensions').explicit(3).seqof(Extension).optional()\n )\n})\n\nvar X509Certificate = asn.define('X509Certificate', function () {\n this.seq().obj(\n this.key('tbsCertificate').use(TBSCertificate),\n this.key('signatureAlgorithm').use(AlgorithmIdentifier),\n this.key('signatureValue').bitstr()\n )\n})\n\nmodule.exports = X509Certificate\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/parse-asn1/certificate.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/parse-asn1/fixProc.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/parse-asn1/fixProc.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// adapted from https://github.com/apatil/pemstrip\nvar findProc = /Proc-Type: 4,ENCRYPTED[\\n\\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\\n\\r]+([0-9A-z\\n\\r+/=]+)[\\n\\r]+/m\nvar startRegex = /^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m\nvar fullRegex = /^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\\n\\r+/=]+)-----END \\1-----$/m\nvar evp = __webpack_require__(/*! evp_bytestokey */ \"./.codedoc/node_modules/evp_bytestokey/index.js\")\nvar ciphers = __webpack_require__(/*! browserify-aes */ \"./.codedoc/node_modules/browserify-aes/browser.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nmodule.exports = function (okey, password) {\n var key = okey.toString()\n var match = key.match(findProc)\n var decrypted\n if (!match) {\n var match2 = key.match(fullRegex)\n decrypted = Buffer.from(match2[2].replace(/[\\r\\n]/g, ''), 'base64')\n } else {\n var suite = 'aes' + match[1]\n var iv = Buffer.from(match[2], 'hex')\n var cipherText = Buffer.from(match[3].replace(/[\\r\\n]/g, ''), 'base64')\n var cipherKey = evp(password, iv.slice(0, 8), parseInt(match[1], 10)).key\n var out = []\n var cipher = ciphers.createDecipheriv(suite, cipherKey, iv)\n out.push(cipher.update(cipherText))\n out.push(cipher.final())\n decrypted = Buffer.concat(out)\n }\n var tag = key.match(startRegex)[1]\n return {\n tag: tag,\n data: decrypted\n }\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/parse-asn1/fixProc.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/parse-asn1/index.js": -/*!***************************************************!*\ - !*** ./.codedoc/node_modules/parse-asn1/index.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var asn1 = __webpack_require__(/*! ./asn1 */ \"./.codedoc/node_modules/parse-asn1/asn1.js\")\nvar aesid = __webpack_require__(/*! ./aesid.json */ \"./.codedoc/node_modules/parse-asn1/aesid.json\")\nvar fixProc = __webpack_require__(/*! ./fixProc */ \"./.codedoc/node_modules/parse-asn1/fixProc.js\")\nvar ciphers = __webpack_require__(/*! browserify-aes */ \"./.codedoc/node_modules/browserify-aes/browser.js\")\nvar compat = __webpack_require__(/*! pbkdf2 */ \"./.codedoc/node_modules/pbkdf2/browser.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nmodule.exports = parseKeys\n\nfunction parseKeys (buffer) {\n var password\n if (typeof buffer === 'object' && !Buffer.isBuffer(buffer)) {\n password = buffer.passphrase\n buffer = buffer.key\n }\n if (typeof buffer === 'string') {\n buffer = Buffer.from(buffer)\n }\n\n var stripped = fixProc(buffer, password)\n\n var type = stripped.tag\n var data = stripped.data\n var subtype, ndata\n switch (type) {\n case 'CERTIFICATE':\n ndata = asn1.certificate.decode(data, 'der').tbsCertificate.subjectPublicKeyInfo\n // falls through\n case 'PUBLIC KEY':\n if (!ndata) {\n ndata = asn1.PublicKey.decode(data, 'der')\n }\n subtype = ndata.algorithm.algorithm.join('.')\n switch (subtype) {\n case '1.2.840.113549.1.1.1':\n return asn1.RSAPublicKey.decode(ndata.subjectPublicKey.data, 'der')\n case '1.2.840.10045.2.1':\n ndata.subjectPrivateKey = ndata.subjectPublicKey\n return {\n type: 'ec',\n data: ndata\n }\n case '1.2.840.10040.4.1':\n ndata.algorithm.params.pub_key = asn1.DSAparam.decode(ndata.subjectPublicKey.data, 'der')\n return {\n type: 'dsa',\n data: ndata.algorithm.params\n }\n default: throw new Error('unknown key id ' + subtype)\n }\n // throw new Error('unknown key type ' + type)\n case 'ENCRYPTED PRIVATE KEY':\n data = asn1.EncryptedPrivateKey.decode(data, 'der')\n data = decrypt(data, password)\n // falls through\n case 'PRIVATE KEY':\n ndata = asn1.PrivateKey.decode(data, 'der')\n subtype = ndata.algorithm.algorithm.join('.')\n switch (subtype) {\n case '1.2.840.113549.1.1.1':\n return asn1.RSAPrivateKey.decode(ndata.subjectPrivateKey, 'der')\n case '1.2.840.10045.2.1':\n return {\n curve: ndata.algorithm.curve,\n privateKey: asn1.ECPrivateKey.decode(ndata.subjectPrivateKey, 'der').privateKey\n }\n case '1.2.840.10040.4.1':\n ndata.algorithm.params.priv_key = asn1.DSAparam.decode(ndata.subjectPrivateKey, 'der')\n return {\n type: 'dsa',\n params: ndata.algorithm.params\n }\n default: throw new Error('unknown key id ' + subtype)\n }\n // throw new Error('unknown key type ' + type)\n case 'RSA PUBLIC KEY':\n return asn1.RSAPublicKey.decode(data, 'der')\n case 'RSA PRIVATE KEY':\n return asn1.RSAPrivateKey.decode(data, 'der')\n case 'DSA PRIVATE KEY':\n return {\n type: 'dsa',\n params: asn1.DSAPrivateKey.decode(data, 'der')\n }\n case 'EC PRIVATE KEY':\n data = asn1.ECPrivateKey.decode(data, 'der')\n return {\n curve: data.parameters.value,\n privateKey: data.privateKey\n }\n default: throw new Error('unknown key type ' + type)\n }\n}\nparseKeys.signature = asn1.signature\nfunction decrypt (data, password) {\n var salt = data.algorithm.decrypt.kde.kdeparams.salt\n var iters = parseInt(data.algorithm.decrypt.kde.kdeparams.iters.toString(), 10)\n var algo = aesid[data.algorithm.decrypt.cipher.algo.join('.')]\n var iv = data.algorithm.decrypt.cipher.iv\n var cipherText = data.subjectPrivateKey\n var keylen = parseInt(algo.split('-')[1], 10) / 8\n var key = compat.pbkdf2Sync(password, salt, iters, keylen, 'sha1')\n var cipher = ciphers.createDecipheriv(algo, key, iv)\n var out = []\n out.push(cipher.update(cipherText))\n out.push(cipher.final())\n return Buffer.concat(out)\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/parse-asn1/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/path-browserify/index.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/path-browserify/index.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = (i >= 0) ? arguments[i] : process.cwd();\n\n // Skip empty and invalid entries\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n\n return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/';\n\n // Normalize the path\n path = normalizeArray(filter(path.split('/'), function(p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function(p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n return p;\n }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47 /*/*/;\n var end = -1;\n var matchedSlash = true;\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n return path.slice(0, end);\n};\n\nfunction basename(path) {\n if (typeof path !== 'string') path = path + '';\n\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n}\n\n// Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\nexports.basename = function (path, ext) {\n var f = basename(path);\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n};\n\nexports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1)\n startDot = i;\n else if (preDotState !== 1)\n preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n return path.slice(startDot, end);\n};\n\nfunction filter (xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n ? function (str, start, len) { return str.substr(start, len) }\n : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n }\n;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../process/browser.js */ \"./.codedoc/node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/path-browserify/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/pbkdf2/browser.js": -/*!*************************************************!*\ - !*** ./.codedoc/node_modules/pbkdf2/browser.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("exports.pbkdf2 = __webpack_require__(/*! ./lib/async */ \"./.codedoc/node_modules/pbkdf2/lib/async.js\")\nexports.pbkdf2Sync = __webpack_require__(/*! ./lib/sync */ \"./.codedoc/node_modules/pbkdf2/lib/sync-browser.js\")\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/pbkdf2/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/pbkdf2/lib/async.js": -/*!***************************************************!*\ - !*** ./.codedoc/node_modules/pbkdf2/lib/async.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(global) {var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nvar checkParameters = __webpack_require__(/*! ./precondition */ \"./.codedoc/node_modules/pbkdf2/lib/precondition.js\")\nvar defaultEncoding = __webpack_require__(/*! ./default-encoding */ \"./.codedoc/node_modules/pbkdf2/lib/default-encoding.js\")\nvar sync = __webpack_require__(/*! ./sync */ \"./.codedoc/node_modules/pbkdf2/lib/sync-browser.js\")\nvar toBuffer = __webpack_require__(/*! ./to-buffer */ \"./.codedoc/node_modules/pbkdf2/lib/to-buffer.js\")\n\nvar ZERO_BUF\nvar subtle = global.crypto && global.crypto.subtle\nvar toBrowser = {\n sha: 'SHA-1',\n 'sha-1': 'SHA-1',\n sha1: 'SHA-1',\n sha256: 'SHA-256',\n 'sha-256': 'SHA-256',\n sha384: 'SHA-384',\n 'sha-384': 'SHA-384',\n 'sha-512': 'SHA-512',\n sha512: 'SHA-512'\n}\nvar checks = []\nfunction checkNative (algo) {\n if (global.process && !global.process.browser) {\n return Promise.resolve(false)\n }\n if (!subtle || !subtle.importKey || !subtle.deriveBits) {\n return Promise.resolve(false)\n }\n if (checks[algo] !== undefined) {\n return checks[algo]\n }\n ZERO_BUF = ZERO_BUF || Buffer.alloc(8)\n var prom = browserPbkdf2(ZERO_BUF, ZERO_BUF, 10, 128, algo)\n .then(function () {\n return true\n }).catch(function () {\n return false\n })\n checks[algo] = prom\n return prom\n}\nvar nextTick\nfunction getNextTick () {\n if (nextTick) {\n return nextTick\n }\n if (global.process && global.process.nextTick) {\n nextTick = global.process.nextTick\n } else if (global.queueMicrotask) {\n nextTick = global.queueMicrotask\n } else if (global.setImmediate) {\n nextTick = global.setImmediate\n } else {\n nextTick = global.setTimeout\n }\n return nextTick\n}\nfunction browserPbkdf2 (password, salt, iterations, length, algo) {\n return subtle.importKey(\n 'raw', password, { name: 'PBKDF2' }, false, ['deriveBits']\n ).then(function (key) {\n return subtle.deriveBits({\n name: 'PBKDF2',\n salt: salt,\n iterations: iterations,\n hash: {\n name: algo\n }\n }, key, length << 3)\n }).then(function (res) {\n return Buffer.from(res)\n })\n}\n\nfunction resolvePromise (promise, callback) {\n promise.then(function (out) {\n getNextTick()(function () {\n callback(null, out)\n })\n }, function (e) {\n getNextTick()(function () {\n callback(e)\n })\n })\n}\nmodule.exports = function (password, salt, iterations, keylen, digest, callback) {\n if (typeof digest === 'function') {\n callback = digest\n digest = undefined\n }\n\n digest = digest || 'sha1'\n var algo = toBrowser[digest.toLowerCase()]\n\n if (!algo || typeof global.Promise !== 'function') {\n getNextTick()(function () {\n var out\n try {\n out = sync(password, salt, iterations, keylen, digest)\n } catch (e) {\n return callback(e)\n }\n callback(null, out)\n })\n return\n }\n\n checkParameters(iterations, keylen)\n password = toBuffer(password, defaultEncoding, 'Password')\n salt = toBuffer(salt, defaultEncoding, 'Salt')\n if (typeof callback !== 'function') throw new Error('No callback provided to pbkdf2')\n\n resolvePromise(checkNative(algo).then(function (resp) {\n if (resp) return browserPbkdf2(password, salt, iterations, keylen, algo)\n\n return sync(password, salt, iterations, keylen, digest)\n }), callback)\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/pbkdf2/lib/async.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/pbkdf2/lib/default-encoding.js": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/pbkdf2/lib/default-encoding.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(global, process) {var defaultEncoding\n/* istanbul ignore next */\nif (global.process && global.process.browser) {\n defaultEncoding = 'utf-8'\n} else if (global.process && global.process.version) {\n var pVersionMajor = parseInt(process.version.split('.')[0].slice(1), 10)\n\n defaultEncoding = pVersionMajor >= 6 ? 'utf-8' : 'binary'\n} else {\n defaultEncoding = 'utf-8'\n}\nmodule.exports = defaultEncoding\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../process/browser.js */ \"./.codedoc/node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/pbkdf2/lib/default-encoding.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/pbkdf2/lib/precondition.js": -/*!**********************************************************!*\ - !*** ./.codedoc/node_modules/pbkdf2/lib/precondition.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var MAX_ALLOC = Math.pow(2, 30) - 1 // default in iojs\n\nmodule.exports = function (iterations, keylen) {\n if (typeof iterations !== 'number') {\n throw new TypeError('Iterations not a number')\n }\n\n if (iterations < 0) {\n throw new TypeError('Bad iterations')\n }\n\n if (typeof keylen !== 'number') {\n throw new TypeError('Key length not a number')\n }\n\n if (keylen < 0 || keylen > MAX_ALLOC || keylen !== keylen) { /* eslint no-self-compare: 0 */\n throw new TypeError('Bad key length')\n }\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/pbkdf2/lib/precondition.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/pbkdf2/lib/sync-browser.js": -/*!**********************************************************!*\ - !*** ./.codedoc/node_modules/pbkdf2/lib/sync-browser.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var md5 = __webpack_require__(/*! create-hash/md5 */ \"./.codedoc/node_modules/create-hash/md5.js\")\nvar RIPEMD160 = __webpack_require__(/*! ripemd160 */ \"./.codedoc/node_modules/ripemd160/index.js\")\nvar sha = __webpack_require__(/*! sha.js */ \"./.codedoc/node_modules/sha.js/index.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nvar checkParameters = __webpack_require__(/*! ./precondition */ \"./.codedoc/node_modules/pbkdf2/lib/precondition.js\")\nvar defaultEncoding = __webpack_require__(/*! ./default-encoding */ \"./.codedoc/node_modules/pbkdf2/lib/default-encoding.js\")\nvar toBuffer = __webpack_require__(/*! ./to-buffer */ \"./.codedoc/node_modules/pbkdf2/lib/to-buffer.js\")\n\nvar ZEROS = Buffer.alloc(128)\nvar sizes = {\n md5: 16,\n sha1: 20,\n sha224: 28,\n sha256: 32,\n sha384: 48,\n sha512: 64,\n rmd160: 20,\n ripemd160: 20\n}\n\nfunction Hmac (alg, key, saltLen) {\n var hash = getDigest(alg)\n var blocksize = (alg === 'sha512' || alg === 'sha384') ? 128 : 64\n\n if (key.length > blocksize) {\n key = hash(key)\n } else if (key.length < blocksize) {\n key = Buffer.concat([key, ZEROS], blocksize)\n }\n\n var ipad = Buffer.allocUnsafe(blocksize + sizes[alg])\n var opad = Buffer.allocUnsafe(blocksize + sizes[alg])\n for (var i = 0; i < blocksize; i++) {\n ipad[i] = key[i] ^ 0x36\n opad[i] = key[i] ^ 0x5C\n }\n\n var ipad1 = Buffer.allocUnsafe(blocksize + saltLen + 4)\n ipad.copy(ipad1, 0, 0, blocksize)\n this.ipad1 = ipad1\n this.ipad2 = ipad\n this.opad = opad\n this.alg = alg\n this.blocksize = blocksize\n this.hash = hash\n this.size = sizes[alg]\n}\n\nHmac.prototype.run = function (data, ipad) {\n data.copy(ipad, this.blocksize)\n var h = this.hash(ipad)\n h.copy(this.opad, this.blocksize)\n return this.hash(this.opad)\n}\n\nfunction getDigest (alg) {\n function shaFunc (data) {\n return sha(alg).update(data).digest()\n }\n function rmd160Func (data) {\n return new RIPEMD160().update(data).digest()\n }\n\n if (alg === 'rmd160' || alg === 'ripemd160') return rmd160Func\n if (alg === 'md5') return md5\n return shaFunc\n}\n\nfunction pbkdf2 (password, salt, iterations, keylen, digest) {\n checkParameters(iterations, keylen)\n password = toBuffer(password, defaultEncoding, 'Password')\n salt = toBuffer(salt, defaultEncoding, 'Salt')\n\n digest = digest || 'sha1'\n\n var hmac = new Hmac(digest, password, salt.length)\n\n var DK = Buffer.allocUnsafe(keylen)\n var block1 = Buffer.allocUnsafe(salt.length + 4)\n salt.copy(block1, 0, 0, salt.length)\n\n var destPos = 0\n var hLen = sizes[digest]\n var l = Math.ceil(keylen / hLen)\n\n for (var i = 1; i <= l; i++) {\n block1.writeUInt32BE(i, salt.length)\n\n var T = hmac.run(block1, hmac.ipad1)\n var U = T\n\n for (var j = 1; j < iterations; j++) {\n U = hmac.run(U, hmac.ipad2)\n for (var k = 0; k < hLen; k++) T[k] ^= U[k]\n }\n\n T.copy(DK, destPos)\n destPos += hLen\n }\n\n return DK\n}\n\nmodule.exports = pbkdf2\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/pbkdf2/lib/sync-browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/pbkdf2/lib/to-buffer.js": -/*!*******************************************************!*\ - !*** ./.codedoc/node_modules/pbkdf2/lib/to-buffer.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nmodule.exports = function (thing, encoding, name) {\n if (Buffer.isBuffer(thing)) {\n return thing\n } else if (typeof thing === 'string') {\n return Buffer.from(thing, encoding)\n } else if (ArrayBuffer.isView(thing)) {\n return Buffer.from(thing.buffer)\n } else {\n throw new TypeError(name + ' must be a string, a Buffer, a typed array or a DataView')\n }\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/pbkdf2/lib/to-buffer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/process-nextick-args/index.js": -/*!*************************************************************!*\ - !*** ./.codedoc/node_modules/process-nextick-args/index.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(process) {\n\nif (typeof process === 'undefined' ||\n !process.version ||\n process.version.indexOf('v0.') === 0 ||\n process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {\n module.exports = { nextTick: nextTick };\n} else {\n module.exports = process\n}\n\nfunction nextTick(fn, arg1, arg2, arg3) {\n if (typeof fn !== 'function') {\n throw new TypeError('\"callback\" argument must be a function');\n }\n var len = arguments.length;\n var args, i;\n switch (len) {\n case 0:\n case 1:\n return process.nextTick(fn);\n case 2:\n return process.nextTick(function afterTickOne() {\n fn.call(null, arg1);\n });\n case 3:\n return process.nextTick(function afterTickTwo() {\n fn.call(null, arg1, arg2);\n });\n case 4:\n return process.nextTick(function afterTickThree() {\n fn.call(null, arg1, arg2, arg3);\n });\n default:\n args = new Array(len - 1);\n i = 0;\n while (i < args.length) {\n args[i++] = arguments[i];\n }\n return process.nextTick(function afterTick() {\n fn.apply(null, args);\n });\n }\n}\n\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../process/browser.js */ \"./.codedoc/node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/process-nextick-args/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/process/browser.js": -/*!**************************************************!*\ - !*** ./.codedoc/node_modules/process/browser.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/process/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/public-encrypt/browser.js": -/*!*********************************************************!*\ - !*** ./.codedoc/node_modules/public-encrypt/browser.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("exports.publicEncrypt = __webpack_require__(/*! ./publicEncrypt */ \"./.codedoc/node_modules/public-encrypt/publicEncrypt.js\")\nexports.privateDecrypt = __webpack_require__(/*! ./privateDecrypt */ \"./.codedoc/node_modules/public-encrypt/privateDecrypt.js\")\n\nexports.privateEncrypt = function privateEncrypt (key, buf) {\n return exports.publicEncrypt(key, buf, true)\n}\n\nexports.publicDecrypt = function publicDecrypt (key, buf) {\n return exports.privateDecrypt(key, buf, true)\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/public-encrypt/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/public-encrypt/mgf.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/public-encrypt/mgf.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var createHash = __webpack_require__(/*! create-hash */ \"./.codedoc/node_modules/create-hash/browser.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nmodule.exports = function (seed, len) {\n var t = Buffer.alloc(0)\n var i = 0\n var c\n while (t.length < len) {\n c = i2ops(i++)\n t = Buffer.concat([t, createHash('sha1').update(seed).update(c).digest()])\n }\n return t.slice(0, len)\n}\n\nfunction i2ops (c) {\n var out = Buffer.allocUnsafe(4)\n out.writeUInt32BE(c, 0)\n return out\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/public-encrypt/mgf.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/public-encrypt/privateDecrypt.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/public-encrypt/privateDecrypt.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var parseKeys = __webpack_require__(/*! parse-asn1 */ \"./.codedoc/node_modules/parse-asn1/index.js\")\nvar mgf = __webpack_require__(/*! ./mgf */ \"./.codedoc/node_modules/public-encrypt/mgf.js\")\nvar xor = __webpack_require__(/*! ./xor */ \"./.codedoc/node_modules/public-encrypt/xor.js\")\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\")\nvar crt = __webpack_require__(/*! browserify-rsa */ \"./.codedoc/node_modules/browserify-rsa/index.js\")\nvar createHash = __webpack_require__(/*! create-hash */ \"./.codedoc/node_modules/create-hash/browser.js\")\nvar withPublic = __webpack_require__(/*! ./withPublic */ \"./.codedoc/node_modules/public-encrypt/withPublic.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nmodule.exports = function privateDecrypt (privateKey, enc, reverse) {\n var padding\n if (privateKey.padding) {\n padding = privateKey.padding\n } else if (reverse) {\n padding = 1\n } else {\n padding = 4\n }\n\n var key = parseKeys(privateKey)\n var k = key.modulus.byteLength()\n if (enc.length > k || new BN(enc).cmp(key.modulus) >= 0) {\n throw new Error('decryption error')\n }\n var msg\n if (reverse) {\n msg = withPublic(new BN(enc), key)\n } else {\n msg = crt(enc, key)\n }\n var zBuffer = Buffer.alloc(k - msg.length)\n msg = Buffer.concat([zBuffer, msg], k)\n if (padding === 4) {\n return oaep(key, msg)\n } else if (padding === 1) {\n return pkcs1(key, msg, reverse)\n } else if (padding === 3) {\n return msg\n } else {\n throw new Error('unknown padding')\n }\n}\n\nfunction oaep (key, msg) {\n var k = key.modulus.byteLength()\n var iHash = createHash('sha1').update(Buffer.alloc(0)).digest()\n var hLen = iHash.length\n if (msg[0] !== 0) {\n throw new Error('decryption error')\n }\n var maskedSeed = msg.slice(1, hLen + 1)\n var maskedDb = msg.slice(hLen + 1)\n var seed = xor(maskedSeed, mgf(maskedDb, hLen))\n var db = xor(maskedDb, mgf(seed, k - hLen - 1))\n if (compare(iHash, db.slice(0, hLen))) {\n throw new Error('decryption error')\n }\n var i = hLen\n while (db[i] === 0) {\n i++\n }\n if (db[i++] !== 1) {\n throw new Error('decryption error')\n }\n return db.slice(i)\n}\n\nfunction pkcs1 (key, msg, reverse) {\n var p1 = msg.slice(0, 2)\n var i = 2\n var status = 0\n while (msg[i++] !== 0) {\n if (i >= msg.length) {\n status++\n break\n }\n }\n var ps = msg.slice(2, i - 1)\n\n if ((p1.toString('hex') !== '0002' && !reverse) || (p1.toString('hex') !== '0001' && reverse)) {\n status++\n }\n if (ps.length < 8) {\n status++\n }\n if (status) {\n throw new Error('decryption error')\n }\n return msg.slice(i)\n}\nfunction compare (a, b) {\n a = Buffer.from(a)\n b = Buffer.from(b)\n var dif = 0\n var len = a.length\n if (a.length !== b.length) {\n dif++\n len = Math.min(a.length, b.length)\n }\n var i = -1\n while (++i < len) {\n dif += (a[i] ^ b[i])\n }\n return dif\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/public-encrypt/privateDecrypt.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/public-encrypt/publicEncrypt.js": -/*!***************************************************************!*\ - !*** ./.codedoc/node_modules/public-encrypt/publicEncrypt.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var parseKeys = __webpack_require__(/*! parse-asn1 */ \"./.codedoc/node_modules/parse-asn1/index.js\")\nvar randomBytes = __webpack_require__(/*! randombytes */ \"./.codedoc/node_modules/randombytes/browser.js\")\nvar createHash = __webpack_require__(/*! create-hash */ \"./.codedoc/node_modules/create-hash/browser.js\")\nvar mgf = __webpack_require__(/*! ./mgf */ \"./.codedoc/node_modules/public-encrypt/mgf.js\")\nvar xor = __webpack_require__(/*! ./xor */ \"./.codedoc/node_modules/public-encrypt/xor.js\")\nvar BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\")\nvar withPublic = __webpack_require__(/*! ./withPublic */ \"./.codedoc/node_modules/public-encrypt/withPublic.js\")\nvar crt = __webpack_require__(/*! browserify-rsa */ \"./.codedoc/node_modules/browserify-rsa/index.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nmodule.exports = function publicEncrypt (publicKey, msg, reverse) {\n var padding\n if (publicKey.padding) {\n padding = publicKey.padding\n } else if (reverse) {\n padding = 1\n } else {\n padding = 4\n }\n var key = parseKeys(publicKey)\n var paddedMsg\n if (padding === 4) {\n paddedMsg = oaep(key, msg)\n } else if (padding === 1) {\n paddedMsg = pkcs1(key, msg, reverse)\n } else if (padding === 3) {\n paddedMsg = new BN(msg)\n if (paddedMsg.cmp(key.modulus) >= 0) {\n throw new Error('data too long for modulus')\n }\n } else {\n throw new Error('unknown padding')\n }\n if (reverse) {\n return crt(paddedMsg, key)\n } else {\n return withPublic(paddedMsg, key)\n }\n}\n\nfunction oaep (key, msg) {\n var k = key.modulus.byteLength()\n var mLen = msg.length\n var iHash = createHash('sha1').update(Buffer.alloc(0)).digest()\n var hLen = iHash.length\n var hLen2 = 2 * hLen\n if (mLen > k - hLen2 - 2) {\n throw new Error('message too long')\n }\n var ps = Buffer.alloc(k - mLen - hLen2 - 2)\n var dblen = k - hLen - 1\n var seed = randomBytes(hLen)\n var maskedDb = xor(Buffer.concat([iHash, ps, Buffer.alloc(1, 1), msg], dblen), mgf(seed, dblen))\n var maskedSeed = xor(seed, mgf(maskedDb, hLen))\n return new BN(Buffer.concat([Buffer.alloc(1), maskedSeed, maskedDb], k))\n}\nfunction pkcs1 (key, msg, reverse) {\n var mLen = msg.length\n var k = key.modulus.byteLength()\n if (mLen > k - 11) {\n throw new Error('message too long')\n }\n var ps\n if (reverse) {\n ps = Buffer.alloc(k - mLen - 3, 0xff)\n } else {\n ps = nonZero(k - mLen - 3)\n }\n return new BN(Buffer.concat([Buffer.from([0, reverse ? 1 : 2]), ps, Buffer.alloc(1), msg], k))\n}\nfunction nonZero (len) {\n var out = Buffer.allocUnsafe(len)\n var i = 0\n var cache = randomBytes(len * 2)\n var cur = 0\n var num\n while (i < len) {\n if (cur === cache.length) {\n cache = randomBytes(len * 2)\n cur = 0\n }\n num = cache[cur++]\n if (num) {\n out[i++] = num\n }\n }\n return out\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/public-encrypt/publicEncrypt.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/public-encrypt/withPublic.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/public-encrypt/withPublic.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var BN = __webpack_require__(/*! bn.js */ \"./.codedoc/node_modules/bn.js/lib/bn.js\")\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\n\nfunction withPublic (paddedMsg, key) {\n return Buffer.from(paddedMsg\n .toRed(BN.mont(key.modulus))\n .redPow(new BN(key.publicExponent))\n .fromRed()\n .toArray())\n}\n\nmodule.exports = withPublic\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/public-encrypt/withPublic.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/public-encrypt/xor.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/public-encrypt/xor.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function xor (a, b) {\n var len = a.length\n var i = -1\n while (++i < len) {\n a[i] ^= b[i]\n }\n return a\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/public-encrypt/xor.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/randombytes/browser.js": -/*!******************************************************!*\ - !*** ./.codedoc/node_modules/randombytes/browser.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(global, process) {\n\n// limit of Crypto.getRandomValues()\n// https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues\nvar MAX_BYTES = 65536\n\n// Node supports requesting up to this number of bytes\n// https://github.com/nodejs/node/blob/master/lib/internal/crypto/random.js#L48\nvar MAX_UINT32 = 4294967295\n\nfunction oldBrowser () {\n throw new Error('Secure random number generation is not supported by this browser.\\nUse Chrome, Firefox or Internet Explorer 11')\n}\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer\nvar crypto = global.crypto || global.msCrypto\n\nif (crypto && crypto.getRandomValues) {\n module.exports = randomBytes\n} else {\n module.exports = oldBrowser\n}\n\nfunction randomBytes (size, cb) {\n // phantomjs needs to throw\n if (size > MAX_UINT32) throw new RangeError('requested too many random bytes')\n\n var bytes = Buffer.allocUnsafe(size)\n\n if (size > 0) { // getRandomValues fails on IE if size == 0\n if (size > MAX_BYTES) { // this is the max bytes crypto.getRandomValues\n // can do at once see https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues\n for (var generated = 0; generated < size; generated += MAX_BYTES) {\n // buffer.slice automatically checks if the end is past the end of\n // the buffer so we don't have to here\n crypto.getRandomValues(bytes.slice(generated, generated + MAX_BYTES))\n }\n } else {\n crypto.getRandomValues(bytes)\n }\n }\n\n if (typeof cb === 'function') {\n return process.nextTick(function () {\n cb(null, bytes)\n })\n }\n\n return bytes\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../process/browser.js */ \"./.codedoc/node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/randombytes/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/randomfill/browser.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/randomfill/browser.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(global, process) {\n\nfunction oldBrowser () {\n throw new Error('secure random number generation not supported by this browser\\nuse chrome, FireFox or Internet Explorer 11')\n}\nvar safeBuffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\")\nvar randombytes = __webpack_require__(/*! randombytes */ \"./.codedoc/node_modules/randombytes/browser.js\")\nvar Buffer = safeBuffer.Buffer\nvar kBufferMaxLength = safeBuffer.kMaxLength\nvar crypto = global.crypto || global.msCrypto\nvar kMaxUint32 = Math.pow(2, 32) - 1\nfunction assertOffset (offset, length) {\n if (typeof offset !== 'number' || offset !== offset) { // eslint-disable-line no-self-compare\n throw new TypeError('offset must be a number')\n }\n\n if (offset > kMaxUint32 || offset < 0) {\n throw new TypeError('offset must be a uint32')\n }\n\n if (offset > kBufferMaxLength || offset > length) {\n throw new RangeError('offset out of range')\n }\n}\n\nfunction assertSize (size, offset, length) {\n if (typeof size !== 'number' || size !== size) { // eslint-disable-line no-self-compare\n throw new TypeError('size must be a number')\n }\n\n if (size > kMaxUint32 || size < 0) {\n throw new TypeError('size must be a uint32')\n }\n\n if (size + offset > length || size > kBufferMaxLength) {\n throw new RangeError('buffer too small')\n }\n}\nif ((crypto && crypto.getRandomValues) || !process.browser) {\n exports.randomFill = randomFill\n exports.randomFillSync = randomFillSync\n} else {\n exports.randomFill = oldBrowser\n exports.randomFillSync = oldBrowser\n}\nfunction randomFill (buf, offset, size, cb) {\n if (!Buffer.isBuffer(buf) && !(buf instanceof global.Uint8Array)) {\n throw new TypeError('\"buf\" argument must be a Buffer or Uint8Array')\n }\n\n if (typeof offset === 'function') {\n cb = offset\n offset = 0\n size = buf.length\n } else if (typeof size === 'function') {\n cb = size\n size = buf.length - offset\n } else if (typeof cb !== 'function') {\n throw new TypeError('\"cb\" argument must be a function')\n }\n assertOffset(offset, buf.length)\n assertSize(size, offset, buf.length)\n return actualFill(buf, offset, size, cb)\n}\n\nfunction actualFill (buf, offset, size, cb) {\n if (process.browser) {\n var ourBuf = buf.buffer\n var uint = new Uint8Array(ourBuf, offset, size)\n crypto.getRandomValues(uint)\n if (cb) {\n process.nextTick(function () {\n cb(null, buf)\n })\n return\n }\n return buf\n }\n if (cb) {\n randombytes(size, function (err, bytes) {\n if (err) {\n return cb(err)\n }\n bytes.copy(buf, offset)\n cb(null, buf)\n })\n return\n }\n var bytes = randombytes(size)\n bytes.copy(buf, offset)\n return buf\n}\nfunction randomFillSync (buf, offset, size) {\n if (typeof offset === 'undefined') {\n offset = 0\n }\n if (!Buffer.isBuffer(buf) && !(buf instanceof global.Uint8Array)) {\n throw new TypeError('\"buf\" argument must be a Buffer or Uint8Array')\n }\n\n assertOffset(offset, buf.length)\n\n if (size === undefined) size = buf.length - offset\n\n assertSize(size, offset, buf.length)\n\n return actualFill(buf, offset, size)\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../process/browser.js */ \"./.codedoc/node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/randomfill/browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/duplex-browser.js": -/*!*****************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/duplex-browser.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! ./lib/_stream_duplex.js */ \"./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/duplex-browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a duplex stream is just a stream that is both readable and writable.\n// Since JS doesn't have multiple prototypal inheritance, this class\n// prototypally inherits from Readable, and then parasitically from\n// Writable.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./.codedoc/node_modules/process-nextick-args/index.js\");\n/**/\n\n/**/\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) {\n keys.push(key);\n }return keys;\n};\n/**/\n\nmodule.exports = Duplex;\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./.codedoc/node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n/**/\n\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \"./.codedoc/node_modules/readable-stream/lib/_stream_readable.js\");\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \"./.codedoc/node_modules/readable-stream/lib/_stream_writable.js\");\n\nutil.inherits(Duplex, Readable);\n\n{\n // avoid scope creep, the keys array can then be collected\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\n\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n\n Readable.call(this, options);\n Writable.call(this, options);\n\n if (options && options.readable === false) this.readable = false;\n\n if (options && options.writable === false) this.writable = false;\n\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;\n\n this.once('end', onend);\n}\n\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// the no-half-open enforcer\nfunction onend() {\n // if we allow half-open state, or if the writable side ended,\n // then we're ok.\n if (this.allowHalfOpen || this._writableState.ended) return;\n\n // no more data can be written.\n // But allow more writes to happen in this tick.\n pna.nextTick(onEndNT, this);\n}\n\nfunction onEndNT(self) {\n self.end();\n}\n\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});\n\nDuplex.prototype._destroy = function (err, cb) {\n this.push(null);\n this.end();\n\n pna.nextTick(cb, err);\n};\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/lib/_stream_passthrough.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/lib/_stream_passthrough.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a passthrough stream.\n// basically just the most minimal sort of Transform stream.\n// Every written chunk gets output as-is.\n\n\n\nmodule.exports = PassThrough;\n\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \"./.codedoc/node_modules/readable-stream/lib/_stream_transform.js\");\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./.codedoc/node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n/**/\n\nutil.inherits(PassThrough, Transform);\n\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n\n Transform.call(this, options);\n}\n\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/lib/_stream_passthrough.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/lib/_stream_readable.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/lib/_stream_readable.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./.codedoc/node_modules/process-nextick-args/index.js\");\n/**/\n\nmodule.exports = Readable;\n\n/**/\nvar isArray = __webpack_require__(/*! isarray */ \"./.codedoc/node_modules/isarray/index.js\");\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nReadable.ReadableState = ReadableState;\n\n/**/\nvar EE = __webpack_require__(/*! events */ \"./.codedoc/node_modules/events/events.js\").EventEmitter;\n\nvar EElistenerCount = function (emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./.codedoc/node_modules/readable-stream/lib/internal/streams/stream-browser.js\");\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./.codedoc/node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n/**/\n\n/**/\nvar debugUtil = __webpack_require__(/*! util */ 0);\nvar debug = void 0;\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function () {};\n}\n/**/\n\nvar BufferList = __webpack_require__(/*! ./internal/streams/BufferList */ \"./.codedoc/node_modules/readable-stream/lib/internal/streams/BufferList.js\");\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./.codedoc/node_modules/readable-stream/lib/internal/streams/destroy.js\");\nvar StringDecoder;\n\nutil.inherits(Readable, Stream);\n\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\n\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\n\n // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\n\nfunction ReadableState(options, stream) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\n\n // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n var hwm = options.highWaterMark;\n var readableHwm = options.readableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n\n // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n this.sync = true;\n\n // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // the number of writers that are awaiting a drain event in .pipe()s\n this.awaitDrain = 0;\n\n // if true, a maybeReadMore has been scheduled\n this.readingMore = false;\n\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./.codedoc/node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\n\nfunction Readable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n if (!(this instanceof Readable)) return new Readable(options);\n\n this._readableState = new ReadableState(options, this);\n\n // legacy\n this.readable = true;\n\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n\n Stream.call(this);\n}\n\nObject.defineProperty(Readable.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined) {\n return false;\n }\n return this._readableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n }\n});\n\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\nReadable.prototype._destroy = function (err, cb) {\n this.push(null);\n cb(err);\n};\n\n// Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n};\n\n// Unshift should *always* be something directly out of read()\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\n\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n var state = stream._readableState;\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (addToFront) {\n if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n stream.emit('error', new Error('stream.push() after EOF'));\n } else {\n state.reading = false;\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n }\n\n return needMoreData(state);\n}\n\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n\n if (state.needReadable) emitReadable(stream);\n }\n maybeReadMore(stream, state);\n}\n\nfunction chunkInvalid(state, chunk) {\n var er;\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n}\n\n// if it's past the high water mark, we can push in some more.\n// Also, if we have no data yet, we can stand some\n// more bytes. This is to work around cases where hwm=0,\n// such as the repl. Also, if the push() triggered a\n// readable event, and the user called read(largeNumber) such that\n// needReadable was set, then we ought to push more, so that another\n// 'readable' event will be triggered.\nfunction needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n}\n\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n};\n\n// backwards compatibility.\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./.codedoc/node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n};\n\n// Don't raise the hwm > 8MB\nvar MAX_HWM = 0x800000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n}\n\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n }\n // If we're asking for more than the current hwm, then raise the hwm.\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n;\n // Don't have enough\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n}\n\n// you can override either this method, or the async _read(n) below.\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n\n if (n !== 0) state.emittedReadable = false;\n\n // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n\n n = howMuchToRead(n, state);\n\n // if we've ended, and we're now clear, then finish it up.\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n }\n\n // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n\n // if we need a readable event, then we need to do some reading.\n var doRead = state.needReadable;\n debug('need readable', doRead);\n\n // if we currently have less than the highWaterMark, then also read some\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n\n // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n // if the length is currently zero, then we *need* a readable event.\n if (state.length === 0) state.needReadable = true;\n // call internal read method\n this._read(state.highWaterMark);\n state.sync = false;\n // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n\n if (ret === null) {\n state.needReadable = true;\n n = 0;\n } else {\n state.length -= n;\n }\n\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true;\n\n // If we tried to read() past the EOF, then emit end on the next tick.\n if (nOrig !== n && state.ended) endReadable(this);\n }\n\n if (ret !== null) this.emit('data', ret);\n\n return ret;\n};\n\nfunction onEofChunk(stream, state) {\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n\n // emit 'readable' now to make sure it gets picked up.\n emitReadable(stream);\n}\n\n// Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\nfunction emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);\n }\n}\n\nfunction emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n}\n\n// at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n pna.nextTick(maybeReadMore_, stream, state);\n }\n}\n\nfunction maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;else len = state.length;\n }\n state.readingMore = false;\n}\n\n// abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\nReadable.prototype._read = function (n) {\n this.emit('error', new Error('_read() is not implemented'));\n};\n\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);\n\n dest.on('unpipe', onunpipe);\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n\n function onend() {\n debug('onend');\n dest.end();\n }\n\n // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n // cleanup event handlers once the pipe is broken\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n\n cleanedUp = true;\n\n // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n\n // If the user pushes more data while we're writing to dest then we'll end up\n // in ondata again. However, we only want to increase awaitDrain once because\n // dest will only emit one 'drain' event for the multiple writes.\n // => Introduce a guard on increasing awaitDrain.\n var increasedAwaitDrain = false;\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n increasedAwaitDrain = false;\n var ret = dest.write(chunk);\n if (false === ret && !increasedAwaitDrain) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n increasedAwaitDrain = true;\n }\n src.pause();\n }\n }\n\n // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);\n }\n\n // Make sure our error handler is attached before userland ones.\n prependListener(dest, 'error', onerror);\n\n // Both close and finish should trigger unpipe, but only once.\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n\n // tell the dest that it's being piped to\n dest.emit('pipe', src);\n\n // start the flow if it hasn't been started already.\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n\n return dest;\n};\n\nfunction pipeOnDrain(src) {\n return function () {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\n\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = { hasUnpiped: false };\n\n // if we're not piping anywhere, then do nothing.\n if (state.pipesCount === 0) return this;\n\n // just one destination. most common case.\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n\n if (!dest) dest = state.pipes;\n\n // got a match.\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n }\n\n // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n\n for (var i = 0; i < len; i++) {\n dests[i].emit('unpipe', this, unpipeInfo);\n }return this;\n }\n\n // try to find the right one.\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n\n dest.emit('unpipe', this, unpipeInfo);\n\n return this;\n};\n\n// set up data events if they are asked for\n// Ensure readable listeners eventually get something\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n\n if (ev === 'data') {\n // Start flowing on next tick if stream isn't explicitly paused\n if (this._readableState.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n var state = this._readableState;\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.emittedReadable = false;\n if (!state.reading) {\n pna.nextTick(nReadingNextTick, this);\n } else if (state.length) {\n emitReadable(this);\n }\n }\n }\n\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\n\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n}\n\n// pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n resume(this, state);\n }\n return this;\n};\n\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n pna.nextTick(resume_, stream, state);\n }\n}\n\nfunction resume_(stream, state) {\n if (!state.reading) {\n debug('resume read 0');\n stream.read(0);\n }\n\n state.resumeScheduled = false;\n state.awaitDrain = 0;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\n\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n};\n\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null) {}\n}\n\n// wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n\n var state = this._readableState;\n var paused = false;\n\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n\n _this.push(null);\n });\n\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk);\n\n // don't skip over falsy values in objectMode\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n\n var ret = _this.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n\n // proxy all the other methods.\n // important when wrapping filters and duplexes.\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function (method) {\n return function () {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n\n // proxy certain important events.\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n }\n\n // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n this._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n\n return this;\n};\n\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._readableState.highWaterMark;\n }\n});\n\n// exposed for testing purposes only.\nReadable._fromList = fromList;\n\n// Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = fromListPartial(n, state.buffer, state.decoder);\n }\n\n return ret;\n}\n\n// Extracts only enough buffered data to satisfy the amount requested.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromListPartial(n, list, hasStrings) {\n var ret;\n if (n < list.head.data.length) {\n // slice is the same for buffers and strings\n ret = list.head.data.slice(0, n);\n list.head.data = list.head.data.slice(n);\n } else if (n === list.head.data.length) {\n // first chunk is a perfect match\n ret = list.shift();\n } else {\n // result spans more than one buffer\n ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);\n }\n return ret;\n}\n\n// Copies a specified amount of characters from the list of buffered data\n// chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBufferString(n, list) {\n var p = list.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\n// Copies a specified amount of bytes from the list of buffered data chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBuffer(n, list) {\n var ret = Buffer.allocUnsafe(n);\n var p = list.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\nfunction endReadable(stream) {\n var state = stream._readableState;\n\n // If we get here before consuming all the bytes, then that is a\n // bug in node. Should never happen.\n if (state.length > 0) throw new Error('\"endReadable()\" called on non-empty stream');\n\n if (!state.endEmitted) {\n state.ended = true;\n pna.nextTick(endReadableNT, state, stream);\n }\n}\n\nfunction endReadableNT(state, stream) {\n // Check that we didn't get one last unshift.\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n}\n\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../process/browser.js */ \"./.codedoc/node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/lib/_stream_readable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/lib/_stream_transform.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/lib/_stream_transform.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n\n\nmodule.exports = Transform;\n\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \"./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./.codedoc/node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n/**/\n\nutil.inherits(Transform, Duplex);\n\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n\n var cb = ts.writecb;\n\n if (!cb) {\n return this.emit('error', new Error('write callback called multiple times'));\n }\n\n ts.writechunk = null;\n ts.writecb = null;\n\n if (data != null) // single equals check for both `null` and `undefined`\n this.push(data);\n\n cb(er);\n\n var rs = this._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\n\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n\n Duplex.call(this, options);\n\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n };\n\n // start out asking for a readable event once data is transformed.\n this._readableState.needReadable = true;\n\n // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n this._readableState.sync = false;\n\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n\n if (typeof options.flush === 'function') this._flush = options.flush;\n }\n\n // When the writable side finishes, then flush out anything remaining.\n this.on('prefinish', prefinish);\n}\n\nfunction prefinish() {\n var _this = this;\n\n if (typeof this._flush === 'function') {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\n\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n};\n\n// This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\nTransform.prototype._transform = function (chunk, encoding, cb) {\n throw new Error('_transform() is not implemented');\n};\n\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n};\n\n// Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\n\nTransform.prototype._destroy = function (err, cb) {\n var _this2 = this;\n\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n _this2.emit('close');\n });\n};\n\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n\n if (data != null) // single equals check for both `null` and `undefined`\n stream.push(data);\n\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');\n\n if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');\n\n return stream.push(null);\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/lib/_stream_transform.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/lib/_stream_writable.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/lib/_stream_writable.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(process, setImmediate, global) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./.codedoc/node_modules/process-nextick-args/index.js\");\n/**/\n\nmodule.exports = Writable;\n\n/* */\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n}\n\n// It seems a linked list but it is not\n// there will be only 2 of these for each stream\nfunction CorkedRequest(state) {\n var _this = this;\n\n this.next = null;\n this.entry = null;\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\nvar asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nWritable.WritableState = WritableState;\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./.codedoc/node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\");\n/**/\n\n/**/\nvar internalUtil = {\n deprecate: __webpack_require__(/*! util-deprecate */ \"./.codedoc/node_modules/util-deprecate/browser.js\")\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./.codedoc/node_modules/readable-stream/lib/internal/streams/stream-browser.js\");\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./.codedoc/node_modules/readable-stream/lib/internal/streams/destroy.js\");\n\nutil.inherits(Writable, Stream);\n\nfunction nop() {}\n\nfunction WritableState(options, stream) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\n\n // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n var hwm = options.highWaterMark;\n var writableHwm = options.writableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // if _final has been called\n this.finalCalled = false;\n\n // drain event flag.\n this.needDrain = false;\n // at the start of calling end()\n this.ending = false;\n // when end() has been called, and returned\n this.ended = false;\n // when 'finish' is emitted\n this.finished = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n this.length = 0;\n\n // a flag to see when we're in the middle of a write.\n this.writing = false;\n\n // when true all writes will be buffered until .uncork() call\n this.corked = 0;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n this.bufferProcessing = false;\n\n // the callback that's passed to _write(chunk,cb)\n this.onwrite = function (er) {\n onwrite(stream, er);\n };\n\n // the callback that the user supplies to write(chunk,encoding,cb)\n this.writecb = null;\n\n // the amount that is being written when _write is called.\n this.writelen = 0;\n\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n\n // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n this.pendingcb = 0;\n\n // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n this.prefinished = false;\n\n // True if the error was already emitted and should not be thrown again\n this.errorEmitted = false;\n\n // count buffered requests\n this.bufferedRequestCount = 0;\n\n // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n this.corkedRequestsFree = new CorkedRequest(this);\n}\n\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\n\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function () {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})();\n\n// Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\nvar realHasInstance;\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function (object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function (object) {\n return object instanceof this;\n };\n}\n\nfunction Writable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {\n return new Writable(options);\n }\n\n this._writableState = new WritableState(options, this);\n\n // legacy.\n this.writable = true;\n\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n\n if (typeof options.writev === 'function') this._writev = options.writev;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n\n if (typeof options.final === 'function') this._final = options.final;\n }\n\n Stream.call(this);\n}\n\n// Otherwise people can pipe Writable streams, which is just wrong.\nWritable.prototype.pipe = function () {\n this.emit('error', new Error('Cannot pipe, not readable'));\n};\n\nfunction writeAfterEnd(stream, cb) {\n var er = new Error('write after end');\n // TODO: defer error events consistently everywhere, not just the cb\n stream.emit('error', er);\n pna.nextTick(cb, er);\n}\n\n// Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\nfunction validChunk(stream, state, chunk, cb) {\n var valid = true;\n var er = false;\n\n if (chunk === null) {\n er = new TypeError('May not write null values to stream');\n } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n if (er) {\n stream.emit('error', er);\n pna.nextTick(cb, er);\n valid = false;\n }\n return valid;\n}\n\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n\n if (typeof cb !== 'function') cb = nop;\n\n if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n\n return ret;\n};\n\nWritable.prototype.cork = function () {\n var state = this._writableState;\n\n state.corked++;\n};\n\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n\n if (state.corked) {\n state.corked--;\n\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\n\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\n\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\n\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n var len = state.objectMode ? 1 : chunk.length;\n\n state.length += len;\n\n var ret = state.length < state.highWaterMark;\n // we must ensure that previous needDrain will not be reset to false.\n if (!ret) state.needDrain = true;\n\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n\n return ret;\n}\n\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\n\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n pna.nextTick(cb, er);\n // this can emit finish, and it will always happen\n // after error\n pna.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n // this can emit finish, but finish must\n // always follow error\n finishMaybe(stream, state);\n }\n}\n\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\n\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n\n onwriteStateUpdate(state);\n\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state);\n\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n\n if (sync) {\n /**/\n asyncWrite(afterWrite, stream, state, finished, cb);\n /**/\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\n\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n}\n\n// Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n}\n\n// if there's something in the buffer waiting, then process it\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n\n var count = 0;\n var allBuffers = true;\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n buffer.allBuffers = allBuffers;\n\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n\n // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--;\n // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n if (state.writing) {\n break;\n }\n }\n\n if (entry === null) state.lastBufferedRequest = null;\n }\n\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\n\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new Error('_write() is not implemented'));\n};\n\nWritable.prototype._writev = null;\n\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\n\n // .end() fully uncorks\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n\n // ignore unnecessary end() calls.\n if (!state.ending && !state.finished) endWritable(this, state, cb);\n};\n\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n if (err) {\n stream.emit('error', err);\n }\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function') {\n state.pendingcb++;\n state.finalCalled = true;\n pna.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\n\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n prefinish(stream, state);\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n }\n }\n return need;\n}\n\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\n\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n if (state.corkedRequestsFree) {\n state.corkedRequestsFree.next = corkReq;\n } else {\n state.corkedRequestsFree = corkReq;\n }\n}\n\nObject.defineProperty(Writable.prototype, 'destroyed', {\n get: function () {\n if (this._writableState === undefined) {\n return false;\n }\n return this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._writableState.destroyed = value;\n }\n});\n\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\nWritable.prototype._destroy = function (err, cb) {\n this.end();\n cb(err);\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \"./.codedoc/node_modules/process/browser.js\"), __webpack_require__(/*! ./../../timers-browserify/main.js */ \"./.codedoc/node_modules/timers-browserify/main.js\").setImmediate, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/lib/_stream_writable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/lib/internal/streams/BufferList.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/lib/internal/streams/BufferList.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./.codedoc/node_modules/safe-buffer/index.js\").Buffer;\nvar util = __webpack_require__(/*! util */ 1);\n\nfunction copyBuffer(src, target, offset) {\n src.copy(target, offset);\n}\n\nmodule.exports = function () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n\n BufferList.prototype.push = function push(v) {\n var entry = { data: v, next: null };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n };\n\n BufferList.prototype.unshift = function unshift(v) {\n var entry = { data: v, next: this.head };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n };\n\n BufferList.prototype.shift = function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n };\n\n BufferList.prototype.clear = function clear() {\n this.head = this.tail = null;\n this.length = 0;\n };\n\n BufferList.prototype.join = function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n while (p = p.next) {\n ret += s + p.data;\n }return ret;\n };\n\n BufferList.prototype.concat = function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n if (this.length === 1) return this.head.data;\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n return ret;\n };\n\n return BufferList;\n}();\n\nif (util && util.inspect && util.inspect.custom) {\n module.exports.prototype[util.inspect.custom] = function () {\n var obj = util.inspect({ length: this.length });\n return this.constructor.name + ' ' + obj;\n };\n}\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/lib/internal/streams/BufferList.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/lib/internal/streams/destroy.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/lib/internal/streams/destroy.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./.codedoc/node_modules/process-nextick-args/index.js\");\n/**/\n\n// undocumented cb() API, needed for core, not for public API\nfunction destroy(err, cb) {\n var _this = this;\n\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err && (!this._writableState || !this._writableState.errorEmitted)) {\n pna.nextTick(emitErrorNT, this, err);\n }\n return this;\n }\n\n // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n }\n\n // if this is a duplex stream mark the writable part as destroyed as well\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n pna.nextTick(emitErrorNT, _this, err);\n if (_this._writableState) {\n _this._writableState.errorEmitted = true;\n }\n } else if (cb) {\n cb(err);\n }\n });\n\n return this;\n}\n\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\n\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\n\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy\n};\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/lib/internal/streams/destroy.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/lib/internal/streams/stream-browser.js": -/*!**************************************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/lib/internal/streams/stream-browser.js ***! - \**************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! events */ \"./.codedoc/node_modules/events/events.js\").EventEmitter;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/lib/internal/streams/stream-browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/passthrough.js": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/passthrough.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! ./readable */ \"./.codedoc/node_modules/readable-stream/readable-browser.js\").PassThrough\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/passthrough.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/readable-browser.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/readable-browser.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \"./.codedoc/node_modules/readable-stream/lib/_stream_readable.js\");\nexports.Stream = exports;\nexports.Readable = exports;\nexports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \"./.codedoc/node_modules/readable-stream/lib/_stream_writable.js\");\nexports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \"./.codedoc/node_modules/readable-stream/lib/_stream_duplex.js\");\nexports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \"./.codedoc/node_modules/readable-stream/lib/_stream_transform.js\");\nexports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \"./.codedoc/node_modules/readable-stream/lib/_stream_passthrough.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/readable-browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/transform.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/transform.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! ./readable */ \"./.codedoc/node_modules/readable-stream/readable-browser.js\").Transform\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/transform.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/readable-stream/writable-browser.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/readable-stream/writable-browser.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! ./lib/_stream_writable.js */ \"./.codedoc/node_modules/readable-stream/lib/_stream_writable.js\");\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/readable-stream/writable-browser.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/ripemd160/index.js": -/*!**************************************************!*\ - !*** ./.codedoc/node_modules/ripemd160/index.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nvar Buffer = __webpack_require__(/*! buffer */ \"./.codedoc/node_modules/buffer/index.js\").Buffer\nvar inherits = __webpack_require__(/*! inherits */ \"./.codedoc/node_modules/inherits/inherits_browser.js\")\nvar HashBase = __webpack_require__(/*! hash-base */ \"./.codedoc/node_modules/hash-base/index.js\")\n\nvar ARRAY16 = new Array(16)\n\nvar zl = [\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8,\n 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12,\n 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2,\n 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13\n]\n\nvar zr = [\n 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12,\n 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2,\n 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13,\n 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14,\n 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11\n]\n\nvar sl = [\n 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8,\n 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12,\n 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5,\n 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12,\n 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6\n]\n\nvar sr = [\n 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6,\n 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11,\n 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5,\n 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8,\n 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11\n]\n\nvar hl = [0x00000000, 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xa953fd4e]\nvar hr = [0x50a28be6, 0x5c4dd124, 0x6d703ef3, 0x7a6d76e9, 0x00000000]\n\nfunction RIPEMD160 () {\n HashBase.call(this, 64)\n\n // state\n this._a = 0x67452301\n this._b = 0xefcdab89\n this._c = 0x98badcfe\n this._d = 0x10325476\n this._e = 0xc3d2e1f0\n}\n\ninherits(RIPEMD160, HashBase)\n\nRIPEMD160.prototype._update = function () {\n var words = ARRAY16\n for (var j = 0; j < 16; ++j) words[j] = this._block.readInt32LE(j * 4)\n\n var al = this._a | 0\n var bl = this._b | 0\n var cl = this._c | 0\n var dl = this._d | 0\n var el = this._e | 0\n\n var ar = this._a | 0\n var br = this._b | 0\n var cr = this._c | 0\n var dr = this._d | 0\n var er = this._e | 0\n\n // computation\n for (var i = 0; i < 80; i += 1) {\n var tl\n var tr\n if (i < 16) {\n tl = fn1(al, bl, cl, dl, el, words[zl[i]], hl[0], sl[i])\n tr = fn5(ar, br, cr, dr, er, words[zr[i]], hr[0], sr[i])\n } else if (i < 32) {\n tl = fn2(al, bl, cl, dl, el, words[zl[i]], hl[1], sl[i])\n tr = fn4(ar, br, cr, dr, er, words[zr[i]], hr[1], sr[i])\n } else if (i < 48) {\n tl = fn3(al, bl, cl, dl, el, words[zl[i]], hl[2], sl[i])\n tr = fn3(ar, br, cr, dr, er, words[zr[i]], hr[2], sr[i])\n } else if (i < 64) {\n tl = fn4(al, bl, cl, dl, el, words[zl[i]], hl[3], sl[i])\n tr = fn2(ar, br, cr, dr, er, words[zr[i]], hr[3], sr[i])\n } else { // if (i<80) {\n tl = fn5(al, bl, cl, dl, el, words[zl[i]], hl[4], sl[i])\n tr = fn1(ar, br, cr, dr, er, words[zr[i]], hr[4], sr[i])\n }\n\n al = el\n el = dl\n dl = rotl(cl, 10)\n cl = bl\n bl = tl\n\n ar = er\n er = dr\n dr = rotl(cr, 10)\n cr = br\n br = tr\n }\n\n // update state\n var t = (this._b + cl + dr) | 0\n this._b = (this._c + dl + er) | 0\n this._c = (this._d + el + ar) | 0\n this._d = (this._e + al + br) | 0\n this._e = (this._a + bl + cr) | 0\n this._a = t\n}\n\nRIPEMD160.prototype._digest = function () {\n // create padding and handle blocks\n this._block[this._blockOffset++] = 0x80\n if (this._blockOffset > 56) {\n this._block.fill(0, this._blockOffset, 64)\n this._update()\n this._blockOffset = 0\n }\n\n this._block.fill(0, this._blockOffset, 56)\n this._block.writeUInt32LE(this._length[0], 56)\n this._block.writeUInt32LE(this._length[1], 60)\n this._update()\n\n // produce result\n var buffer = Buffer.alloc ? Buffer.alloc(20) : new Buffer(20)\n buffer.writeInt32LE(this._a, 0)\n buffer.writeInt32LE(this._b, 4)\n buffer.writeInt32LE(this._c, 8)\n buffer.writeInt32LE(this._d, 12)\n buffer.writeInt32LE(this._e, 16)\n return buffer\n}\n\nfunction rotl (x, n) {\n return (x << n) | (x >>> (32 - n))\n}\n\nfunction fn1 (a, b, c, d, e, m, k, s) {\n return (rotl((a + (b ^ c ^ d) + m + k) | 0, s) + e) | 0\n}\n\nfunction fn2 (a, b, c, d, e, m, k, s) {\n return (rotl((a + ((b & c) | ((~b) & d)) + m + k) | 0, s) + e) | 0\n}\n\nfunction fn3 (a, b, c, d, e, m, k, s) {\n return (rotl((a + ((b | (~c)) ^ d) + m + k) | 0, s) + e) | 0\n}\n\nfunction fn4 (a, b, c, d, e, m, k, s) {\n return (rotl((a + ((b & d) | (c & (~d))) + m + k) | 0, s) + e) | 0\n}\n\nfunction fn5 (a, b, c, d, e, m, k, s) {\n return (rotl((a + (b ^ (c | (~d))) + m + k) | 0, s) + e) | 0\n}\n\nmodule.exports = RIPEMD160\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/ripemd160/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/ajax/index.js": -/*!********************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/ajax/index.js ***! - \********************************************************/ -/*! exports provided: ajax, AjaxResponse, AjaxError, AjaxTimeoutError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _internal_observable_dom_ajax__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal/observable/dom/ajax */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/ajax.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ajax\", function() { return _internal_observable_dom_ajax__WEBPACK_IMPORTED_MODULE_0__[\"ajax\"]; });\n\n/* harmony import */ var _internal_observable_dom_AjaxObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal/observable/dom/AjaxObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AjaxResponse\", function() { return _internal_observable_dom_AjaxObservable__WEBPACK_IMPORTED_MODULE_1__[\"AjaxResponse\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AjaxError\", function() { return _internal_observable_dom_AjaxObservable__WEBPACK_IMPORTED_MODULE_1__[\"AjaxError\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AjaxTimeoutError\", function() { return _internal_observable_dom_AjaxObservable__WEBPACK_IMPORTED_MODULE_1__[\"AjaxTimeoutError\"]; });\n\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\n\n\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/ajax/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/index.js": -/*!***************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/index.js ***! - \***************************************************/ -/*! exports provided: Observable, ConnectableObservable, GroupedObservable, observable, Subject, BehaviorSubject, ReplaySubject, AsyncSubject, asap, asapScheduler, async, asyncScheduler, queue, queueScheduler, animationFrame, animationFrameScheduler, VirtualTimeScheduler, VirtualAction, Scheduler, Subscription, Subscriber, Notification, NotificationKind, pipe, noop, identity, isObservable, ArgumentOutOfRangeError, EmptyError, ObjectUnsubscribedError, UnsubscriptionError, TimeoutError, bindCallback, bindNodeCallback, combineLatest, concat, defer, empty, forkJoin, from, fromEvent, fromEventPattern, generate, iif, interval, merge, never, of, onErrorResumeNext, pairs, partition, race, range, throwError, timer, using, zip, scheduled, EMPTY, NEVER, config */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _internal_Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Observable\", function() { return _internal_Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]; });\n\n/* harmony import */ var _internal_observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/observable/ConnectableObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ConnectableObservable\", function() { return _internal_observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_1__[\"ConnectableObservable\"]; });\n\n/* harmony import */ var _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internal/operators/groupBy */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/groupBy.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GroupedObservable\", function() { return _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_2__[\"GroupedObservable\"]; });\n\n/* harmony import */ var _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./internal/symbol/observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"observable\", function() { return _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_3__[\"observable\"]; });\n\n/* harmony import */ var _internal_Subject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./internal/Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Subject\", function() { return _internal_Subject__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]; });\n\n/* harmony import */ var _internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./internal/BehaviorSubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/BehaviorSubject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"BehaviorSubject\", function() { return _internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_5__[\"BehaviorSubject\"]; });\n\n/* harmony import */ var _internal_ReplaySubject__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./internal/ReplaySubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/ReplaySubject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ReplaySubject\", function() { return _internal_ReplaySubject__WEBPACK_IMPORTED_MODULE_6__[\"ReplaySubject\"]; });\n\n/* harmony import */ var _internal_AsyncSubject__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./internal/AsyncSubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/AsyncSubject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AsyncSubject\", function() { return _internal_AsyncSubject__WEBPACK_IMPORTED_MODULE_7__[\"AsyncSubject\"]; });\n\n/* harmony import */ var _internal_scheduler_asap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./internal/scheduler/asap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/asap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"asap\", function() { return _internal_scheduler_asap__WEBPACK_IMPORTED_MODULE_8__[\"asap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"asapScheduler\", function() { return _internal_scheduler_asap__WEBPACK_IMPORTED_MODULE_8__[\"asapScheduler\"]; });\n\n/* harmony import */ var _internal_scheduler_async__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./internal/scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"async\", function() { return _internal_scheduler_async__WEBPACK_IMPORTED_MODULE_9__[\"async\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"asyncScheduler\", function() { return _internal_scheduler_async__WEBPACK_IMPORTED_MODULE_9__[\"asyncScheduler\"]; });\n\n/* harmony import */ var _internal_scheduler_queue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./internal/scheduler/queue */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/queue.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"queue\", function() { return _internal_scheduler_queue__WEBPACK_IMPORTED_MODULE_10__[\"queue\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"queueScheduler\", function() { return _internal_scheduler_queue__WEBPACK_IMPORTED_MODULE_10__[\"queueScheduler\"]; });\n\n/* harmony import */ var _internal_scheduler_animationFrame__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./internal/scheduler/animationFrame */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/animationFrame.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"animationFrame\", function() { return _internal_scheduler_animationFrame__WEBPACK_IMPORTED_MODULE_11__[\"animationFrame\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"animationFrameScheduler\", function() { return _internal_scheduler_animationFrame__WEBPACK_IMPORTED_MODULE_11__[\"animationFrameScheduler\"]; });\n\n/* harmony import */ var _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./internal/scheduler/VirtualTimeScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/VirtualTimeScheduler.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VirtualTimeScheduler\", function() { return _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__[\"VirtualTimeScheduler\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VirtualAction\", function() { return _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__[\"VirtualAction\"]; });\n\n/* harmony import */ var _internal_Scheduler__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./internal/Scheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Scheduler.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Scheduler\", function() { return _internal_Scheduler__WEBPACK_IMPORTED_MODULE_13__[\"Scheduler\"]; });\n\n/* harmony import */ var _internal_Subscription__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./internal/Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Subscription\", function() { return _internal_Subscription__WEBPACK_IMPORTED_MODULE_14__[\"Subscription\"]; });\n\n/* harmony import */ var _internal_Subscriber__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./internal/Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Subscriber\", function() { return _internal_Subscriber__WEBPACK_IMPORTED_MODULE_15__[\"Subscriber\"]; });\n\n/* harmony import */ var _internal_Notification__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./internal/Notification */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Notification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Notification\", function() { return _internal_Notification__WEBPACK_IMPORTED_MODULE_16__[\"Notification\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"NotificationKind\", function() { return _internal_Notification__WEBPACK_IMPORTED_MODULE_16__[\"NotificationKind\"]; });\n\n/* harmony import */ var _internal_util_pipe__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./internal/util/pipe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/pipe.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pipe\", function() { return _internal_util_pipe__WEBPACK_IMPORTED_MODULE_17__[\"pipe\"]; });\n\n/* harmony import */ var _internal_util_noop__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./internal/util/noop */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/noop.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"noop\", function() { return _internal_util_noop__WEBPACK_IMPORTED_MODULE_18__[\"noop\"]; });\n\n/* harmony import */ var _internal_util_identity__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./internal/util/identity */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"identity\", function() { return _internal_util_identity__WEBPACK_IMPORTED_MODULE_19__[\"identity\"]; });\n\n/* harmony import */ var _internal_util_isObservable__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./internal/util/isObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isObservable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isObservable\", function() { return _internal_util_isObservable__WEBPACK_IMPORTED_MODULE_20__[\"isObservable\"]; });\n\n/* harmony import */ var _internal_util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./internal/util/ArgumentOutOfRangeError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ArgumentOutOfRangeError\", function() { return _internal_util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_21__[\"ArgumentOutOfRangeError\"]; });\n\n/* harmony import */ var _internal_util_EmptyError__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./internal/util/EmptyError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/EmptyError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EmptyError\", function() { return _internal_util_EmptyError__WEBPACK_IMPORTED_MODULE_22__[\"EmptyError\"]; });\n\n/* harmony import */ var _internal_util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./internal/util/ObjectUnsubscribedError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObjectUnsubscribedError\", function() { return _internal_util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_23__[\"ObjectUnsubscribedError\"]; });\n\n/* harmony import */ var _internal_util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./internal/util/UnsubscriptionError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsubscriptionError\", function() { return _internal_util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_24__[\"UnsubscriptionError\"]; });\n\n/* harmony import */ var _internal_util_TimeoutError__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./internal/util/TimeoutError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/TimeoutError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TimeoutError\", function() { return _internal_util_TimeoutError__WEBPACK_IMPORTED_MODULE_25__[\"TimeoutError\"]; });\n\n/* harmony import */ var _internal_observable_bindCallback__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./internal/observable/bindCallback */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/bindCallback.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bindCallback\", function() { return _internal_observable_bindCallback__WEBPACK_IMPORTED_MODULE_26__[\"bindCallback\"]; });\n\n/* harmony import */ var _internal_observable_bindNodeCallback__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./internal/observable/bindNodeCallback */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/bindNodeCallback.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bindNodeCallback\", function() { return _internal_observable_bindNodeCallback__WEBPACK_IMPORTED_MODULE_27__[\"bindNodeCallback\"]; });\n\n/* harmony import */ var _internal_observable_combineLatest__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./internal/observable/combineLatest */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/combineLatest.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineLatest\", function() { return _internal_observable_combineLatest__WEBPACK_IMPORTED_MODULE_28__[\"combineLatest\"]; });\n\n/* harmony import */ var _internal_observable_concat__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./internal/observable/concat */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/concat.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concat\", function() { return _internal_observable_concat__WEBPACK_IMPORTED_MODULE_29__[\"concat\"]; });\n\n/* harmony import */ var _internal_observable_defer__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./internal/observable/defer */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/defer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"defer\", function() { return _internal_observable_defer__WEBPACK_IMPORTED_MODULE_30__[\"defer\"]; });\n\n/* harmony import */ var _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./internal/observable/empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"empty\", function() { return _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__[\"empty\"]; });\n\n/* harmony import */ var _internal_observable_forkJoin__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./internal/observable/forkJoin */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/forkJoin.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"forkJoin\", function() { return _internal_observable_forkJoin__WEBPACK_IMPORTED_MODULE_32__[\"forkJoin\"]; });\n\n/* harmony import */ var _internal_observable_from__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./internal/observable/from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"from\", function() { return _internal_observable_from__WEBPACK_IMPORTED_MODULE_33__[\"from\"]; });\n\n/* harmony import */ var _internal_observable_fromEvent__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./internal/observable/fromEvent */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromEvent.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"fromEvent\", function() { return _internal_observable_fromEvent__WEBPACK_IMPORTED_MODULE_34__[\"fromEvent\"]; });\n\n/* harmony import */ var _internal_observable_fromEventPattern__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./internal/observable/fromEventPattern */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromEventPattern.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"fromEventPattern\", function() { return _internal_observable_fromEventPattern__WEBPACK_IMPORTED_MODULE_35__[\"fromEventPattern\"]; });\n\n/* harmony import */ var _internal_observable_generate__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./internal/observable/generate */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/generate.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"generate\", function() { return _internal_observable_generate__WEBPACK_IMPORTED_MODULE_36__[\"generate\"]; });\n\n/* harmony import */ var _internal_observable_iif__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./internal/observable/iif */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/iif.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"iif\", function() { return _internal_observable_iif__WEBPACK_IMPORTED_MODULE_37__[\"iif\"]; });\n\n/* harmony import */ var _internal_observable_interval__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./internal/observable/interval */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/interval.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"interval\", function() { return _internal_observable_interval__WEBPACK_IMPORTED_MODULE_38__[\"interval\"]; });\n\n/* harmony import */ var _internal_observable_merge__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./internal/observable/merge */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/merge.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"merge\", function() { return _internal_observable_merge__WEBPACK_IMPORTED_MODULE_39__[\"merge\"]; });\n\n/* harmony import */ var _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./internal/observable/never */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/never.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"never\", function() { return _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__[\"never\"]; });\n\n/* harmony import */ var _internal_observable_of__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./internal/observable/of */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/of.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"of\", function() { return _internal_observable_of__WEBPACK_IMPORTED_MODULE_41__[\"of\"]; });\n\n/* harmony import */ var _internal_observable_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./internal/observable/onErrorResumeNext */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/onErrorResumeNext.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function() { return _internal_observable_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_42__[\"onErrorResumeNext\"]; });\n\n/* harmony import */ var _internal_observable_pairs__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./internal/observable/pairs */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/pairs.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pairs\", function() { return _internal_observable_pairs__WEBPACK_IMPORTED_MODULE_43__[\"pairs\"]; });\n\n/* harmony import */ var _internal_observable_partition__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./internal/observable/partition */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/partition.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"partition\", function() { return _internal_observable_partition__WEBPACK_IMPORTED_MODULE_44__[\"partition\"]; });\n\n/* harmony import */ var _internal_observable_race__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./internal/observable/race */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/race.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"race\", function() { return _internal_observable_race__WEBPACK_IMPORTED_MODULE_45__[\"race\"]; });\n\n/* harmony import */ var _internal_observable_range__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./internal/observable/range */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/range.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"range\", function() { return _internal_observable_range__WEBPACK_IMPORTED_MODULE_46__[\"range\"]; });\n\n/* harmony import */ var _internal_observable_throwError__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./internal/observable/throwError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/throwError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"throwError\", function() { return _internal_observable_throwError__WEBPACK_IMPORTED_MODULE_47__[\"throwError\"]; });\n\n/* harmony import */ var _internal_observable_timer__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./internal/observable/timer */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/timer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timer\", function() { return _internal_observable_timer__WEBPACK_IMPORTED_MODULE_48__[\"timer\"]; });\n\n/* harmony import */ var _internal_observable_using__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./internal/observable/using */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/using.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"using\", function() { return _internal_observable_using__WEBPACK_IMPORTED_MODULE_49__[\"using\"]; });\n\n/* harmony import */ var _internal_observable_zip__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./internal/observable/zip */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/zip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"zip\", function() { return _internal_observable_zip__WEBPACK_IMPORTED_MODULE_50__[\"zip\"]; });\n\n/* harmony import */ var _internal_scheduled_scheduled__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./internal/scheduled/scheduled */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduled.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"scheduled\", function() { return _internal_scheduled_scheduled__WEBPACK_IMPORTED_MODULE_51__[\"scheduled\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EMPTY\", function() { return _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__[\"EMPTY\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"NEVER\", function() { return _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__[\"NEVER\"]; });\n\n/* harmony import */ var _internal_config__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./internal/config */ \"./.codedoc/node_modules/rxjs/_esm5/internal/config.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"config\", function() { return _internal_config__WEBPACK_IMPORTED_MODULE_52__[\"config\"]; });\n\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/AsyncSubject.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/AsyncSubject.js ***! - \*******************************************************************/ -/*! exports provided: AsyncSubject */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsyncSubject\", function() { return AsyncSubject; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_Subscription PURE_IMPORTS_END */\n\n\n\nvar AsyncSubject = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AsyncSubject, _super);\n function AsyncSubject() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.value = null;\n _this.hasNext = false;\n _this.hasCompleted = false;\n return _this;\n }\n AsyncSubject.prototype._subscribe = function (subscriber) {\n if (this.hasError) {\n subscriber.error(this.thrownError);\n return _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n }\n else if (this.hasCompleted && this.hasNext) {\n subscriber.next(this.value);\n subscriber.complete();\n return _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n }\n return _super.prototype._subscribe.call(this, subscriber);\n };\n AsyncSubject.prototype.next = function (value) {\n if (!this.hasCompleted) {\n this.value = value;\n this.hasNext = true;\n }\n };\n AsyncSubject.prototype.error = function (error) {\n if (!this.hasCompleted) {\n _super.prototype.error.call(this, error);\n }\n };\n AsyncSubject.prototype.complete = function () {\n this.hasCompleted = true;\n if (this.hasNext) {\n _super.prototype.next.call(this, this.value);\n }\n _super.prototype.complete.call(this);\n };\n return AsyncSubject;\n}(_Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]));\n\n//# sourceMappingURL=AsyncSubject.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/AsyncSubject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/BehaviorSubject.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/BehaviorSubject.js ***! - \**********************************************************************/ -/*! exports provided: BehaviorSubject */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BehaviorSubject\", function() { return BehaviorSubject; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_util_ObjectUnsubscribedError PURE_IMPORTS_END */\n\n\n\nvar BehaviorSubject = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](BehaviorSubject, _super);\n function BehaviorSubject(_value) {\n var _this = _super.call(this) || this;\n _this._value = _value;\n return _this;\n }\n Object.defineProperty(BehaviorSubject.prototype, \"value\", {\n get: function () {\n return this.getValue();\n },\n enumerable: true,\n configurable: true\n });\n BehaviorSubject.prototype._subscribe = function (subscriber) {\n var subscription = _super.prototype._subscribe.call(this, subscriber);\n if (subscription && !subscription.closed) {\n subscriber.next(this._value);\n }\n return subscription;\n };\n BehaviorSubject.prototype.getValue = function () {\n if (this.hasError) {\n throw this.thrownError;\n }\n else if (this.closed) {\n throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_2__[\"ObjectUnsubscribedError\"]();\n }\n else {\n return this._value;\n }\n };\n BehaviorSubject.prototype.next = function (value) {\n _super.prototype.next.call(this, this._value = value);\n };\n return BehaviorSubject;\n}(_Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]));\n\n//# sourceMappingURL=BehaviorSubject.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/BehaviorSubject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/InnerSubscriber.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/InnerSubscriber.js ***! - \**********************************************************************/ -/*! exports provided: InnerSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InnerSubscriber\", function() { return InnerSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nvar InnerSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](InnerSubscriber, _super);\n function InnerSubscriber(parent, outerValue, outerIndex) {\n var _this = _super.call(this) || this;\n _this.parent = parent;\n _this.outerValue = outerValue;\n _this.outerIndex = outerIndex;\n _this.index = 0;\n return _this;\n }\n InnerSubscriber.prototype._next = function (value) {\n this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n };\n InnerSubscriber.prototype._error = function (error) {\n this.parent.notifyError(error, this);\n this.unsubscribe();\n };\n InnerSubscriber.prototype._complete = function () {\n this.parent.notifyComplete(this);\n this.unsubscribe();\n };\n return InnerSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\n//# sourceMappingURL=InnerSubscriber.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/InnerSubscriber.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/Notification.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/Notification.js ***! - \*******************************************************************/ -/*! exports provided: NotificationKind, Notification */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NotificationKind\", function() { return NotificationKind; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Notification\", function() { return Notification; });\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable/empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/* harmony import */ var _observable_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable/of */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/of.js\");\n/* harmony import */ var _observable_throwError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./observable/throwError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/throwError.js\");\n/** PURE_IMPORTS_START _observable_empty,_observable_of,_observable_throwError PURE_IMPORTS_END */\n\n\n\nvar NotificationKind;\n/*@__PURE__*/ (function (NotificationKind) {\n NotificationKind[\"NEXT\"] = \"N\";\n NotificationKind[\"ERROR\"] = \"E\";\n NotificationKind[\"COMPLETE\"] = \"C\";\n})(NotificationKind || (NotificationKind = {}));\nvar Notification = /*@__PURE__*/ (function () {\n function Notification(kind, value, error) {\n this.kind = kind;\n this.value = value;\n this.error = error;\n this.hasValue = kind === 'N';\n }\n Notification.prototype.observe = function (observer) {\n switch (this.kind) {\n case 'N':\n return observer.next && observer.next(this.value);\n case 'E':\n return observer.error && observer.error(this.error);\n case 'C':\n return observer.complete && observer.complete();\n }\n };\n Notification.prototype.do = function (next, error, complete) {\n var kind = this.kind;\n switch (kind) {\n case 'N':\n return next && next(this.value);\n case 'E':\n return error && error(this.error);\n case 'C':\n return complete && complete();\n }\n };\n Notification.prototype.accept = function (nextOrObserver, error, complete) {\n if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n return this.observe(nextOrObserver);\n }\n else {\n return this.do(nextOrObserver, error, complete);\n }\n };\n Notification.prototype.toObservable = function () {\n var kind = this.kind;\n switch (kind) {\n case 'N':\n return Object(_observable_of__WEBPACK_IMPORTED_MODULE_1__[\"of\"])(this.value);\n case 'E':\n return Object(_observable_throwError__WEBPACK_IMPORTED_MODULE_2__[\"throwError\"])(this.error);\n case 'C':\n return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_0__[\"empty\"])();\n }\n throw new Error('unexpected notification kind value');\n };\n Notification.createNext = function (value) {\n if (typeof value !== 'undefined') {\n return new Notification('N', value);\n }\n return Notification.undefinedValueNotification;\n };\n Notification.createError = function (err) {\n return new Notification('E', undefined, err);\n };\n Notification.createComplete = function () {\n return Notification.completeNotification;\n };\n Notification.completeNotification = new Notification('C');\n Notification.undefinedValueNotification = new Notification('N', undefined);\n return Notification;\n}());\n\n//# sourceMappingURL=Notification.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/Notification.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js": -/*!*****************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js ***! - \*****************************************************************/ -/*! exports provided: Observable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Observable\", function() { return Observable; });\n/* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/canReportError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/canReportError.js\");\n/* harmony import */ var _util_toSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/toSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/toSubscriber.js\");\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./symbol/observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js\");\n/* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/pipe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/pipe.js\");\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ \"./.codedoc/node_modules/rxjs/_esm5/internal/config.js\");\n/** PURE_IMPORTS_START _util_canReportError,_util_toSubscriber,_symbol_observable,_util_pipe,_config PURE_IMPORTS_END */\n\n\n\n\n\nvar Observable = /*@__PURE__*/ (function () {\n function Observable(subscribe) {\n this._isScalar = false;\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n Observable.prototype.lift = function (operator) {\n var observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n };\n Observable.prototype.subscribe = function (observerOrNext, error, complete) {\n var operator = this.operator;\n var sink = Object(_util_toSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"toSubscriber\"])(observerOrNext, error, complete);\n if (operator) {\n sink.add(operator.call(sink, this.source));\n }\n else {\n sink.add(this.source || (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable) ?\n this._subscribe(sink) :\n this._trySubscribe(sink));\n }\n if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n }\n return sink;\n };\n Observable.prototype._trySubscribe = function (sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n sink.syncErrorThrown = true;\n sink.syncErrorValue = err;\n }\n if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_0__[\"canReportError\"])(sink)) {\n sink.error(err);\n }\n else {\n console.warn(err);\n }\n }\n };\n Observable.prototype.forEach = function (next, promiseCtor) {\n var _this = this;\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor(function (resolve, reject) {\n var subscription;\n subscription = _this.subscribe(function (value) {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n if (subscription) {\n subscription.unsubscribe();\n }\n }\n }, reject, resolve);\n });\n };\n Observable.prototype._subscribe = function (subscriber) {\n var source = this.source;\n return source && source.subscribe(subscriber);\n };\n Observable.prototype[_symbol_observable__WEBPACK_IMPORTED_MODULE_2__[\"observable\"]] = function () {\n return this;\n };\n Observable.prototype.pipe = function () {\n var operations = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n operations[_i] = arguments[_i];\n }\n if (operations.length === 0) {\n return this;\n }\n return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipeFromArray\"])(operations)(this);\n };\n Observable.prototype.toPromise = function (promiseCtor) {\n var _this = this;\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor(function (resolve, reject) {\n var value;\n _this.subscribe(function (x) { return value = x; }, function (err) { return reject(err); }, function () { return resolve(value); });\n });\n };\n Observable.create = function (subscribe) {\n return new Observable(subscribe);\n };\n return Observable;\n}());\n\nfunction getPromiseCtor(promiseCtor) {\n if (!promiseCtor) {\n promiseCtor = _config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].Promise || Promise;\n }\n if (!promiseCtor) {\n throw new Error('no Promise impl found');\n }\n return promiseCtor;\n}\n//# sourceMappingURL=Observable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/Observer.js": -/*!***************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/Observer.js ***! - \***************************************************************/ -/*! exports provided: empty */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"empty\", function() { return empty; });\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ \"./.codedoc/node_modules/rxjs/_esm5/internal/config.js\");\n/* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/hostReportError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/hostReportError.js\");\n/** PURE_IMPORTS_START _config,_util_hostReportError PURE_IMPORTS_END */\n\n\nvar empty = {\n closed: true,\n next: function (value) { },\n error: function (err) {\n if (_config__WEBPACK_IMPORTED_MODULE_0__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n else {\n Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_1__[\"hostReportError\"])(err);\n }\n },\n complete: function () { }\n};\n//# sourceMappingURL=Observer.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/Observer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js ***! - \**********************************************************************/ -/*! exports provided: OuterSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OuterSubscriber\", function() { return OuterSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nvar OuterSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](OuterSubscriber, _super);\n function OuterSubscriber() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.destination.next(innerValue);\n };\n OuterSubscriber.prototype.notifyError = function (error, innerSub) {\n this.destination.error(error);\n };\n OuterSubscriber.prototype.notifyComplete = function (innerSub) {\n this.destination.complete();\n };\n return OuterSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\n//# sourceMappingURL=OuterSubscriber.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/ReplaySubject.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/ReplaySubject.js ***! - \********************************************************************/ -/*! exports provided: ReplaySubject */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReplaySubject\", function() { return ReplaySubject; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _scheduler_queue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./scheduler/queue */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/queue.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _operators_observeOn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./operators/observeOn */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/observeOn.js\");\n/* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js\");\n/* harmony import */ var _SubjectSubscription__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SubjectSubscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/SubjectSubscription.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_scheduler_queue,_Subscription,_operators_observeOn,_util_ObjectUnsubscribedError,_SubjectSubscription PURE_IMPORTS_END */\n\n\n\n\n\n\n\nvar ReplaySubject = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ReplaySubject, _super);\n function ReplaySubject(bufferSize, windowTime, scheduler) {\n if (bufferSize === void 0) {\n bufferSize = Number.POSITIVE_INFINITY;\n }\n if (windowTime === void 0) {\n windowTime = Number.POSITIVE_INFINITY;\n }\n var _this = _super.call(this) || this;\n _this.scheduler = scheduler;\n _this._events = [];\n _this._infiniteTimeWindow = false;\n _this._bufferSize = bufferSize < 1 ? 1 : bufferSize;\n _this._windowTime = windowTime < 1 ? 1 : windowTime;\n if (windowTime === Number.POSITIVE_INFINITY) {\n _this._infiniteTimeWindow = true;\n _this.next = _this.nextInfiniteTimeWindow;\n }\n else {\n _this.next = _this.nextTimeWindow;\n }\n return _this;\n }\n ReplaySubject.prototype.nextInfiniteTimeWindow = function (value) {\n if (!this.isStopped) {\n var _events = this._events;\n _events.push(value);\n if (_events.length > this._bufferSize) {\n _events.shift();\n }\n }\n _super.prototype.next.call(this, value);\n };\n ReplaySubject.prototype.nextTimeWindow = function (value) {\n if (!this.isStopped) {\n this._events.push(new ReplayEvent(this._getNow(), value));\n this._trimBufferThenGetEvents();\n }\n _super.prototype.next.call(this, value);\n };\n ReplaySubject.prototype._subscribe = function (subscriber) {\n var _infiniteTimeWindow = this._infiniteTimeWindow;\n var _events = _infiniteTimeWindow ? this._events : this._trimBufferThenGetEvents();\n var scheduler = this.scheduler;\n var len = _events.length;\n var subscription;\n if (this.closed) {\n throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_5__[\"ObjectUnsubscribedError\"]();\n }\n else if (this.isStopped || this.hasError) {\n subscription = _Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"].EMPTY;\n }\n else {\n this.observers.push(subscriber);\n subscription = new _SubjectSubscription__WEBPACK_IMPORTED_MODULE_6__[\"SubjectSubscription\"](this, subscriber);\n }\n if (scheduler) {\n subscriber.add(subscriber = new _operators_observeOn__WEBPACK_IMPORTED_MODULE_4__[\"ObserveOnSubscriber\"](subscriber, scheduler));\n }\n if (_infiniteTimeWindow) {\n for (var i = 0; i < len && !subscriber.closed; i++) {\n subscriber.next(_events[i]);\n }\n }\n else {\n for (var i = 0; i < len && !subscriber.closed; i++) {\n subscriber.next(_events[i].value);\n }\n }\n if (this.hasError) {\n subscriber.error(this.thrownError);\n }\n else if (this.isStopped) {\n subscriber.complete();\n }\n return subscription;\n };\n ReplaySubject.prototype._getNow = function () {\n return (this.scheduler || _scheduler_queue__WEBPACK_IMPORTED_MODULE_2__[\"queue\"]).now();\n };\n ReplaySubject.prototype._trimBufferThenGetEvents = function () {\n var now = this._getNow();\n var _bufferSize = this._bufferSize;\n var _windowTime = this._windowTime;\n var _events = this._events;\n var eventsCount = _events.length;\n var spliceCount = 0;\n while (spliceCount < eventsCount) {\n if ((now - _events[spliceCount].time) < _windowTime) {\n break;\n }\n spliceCount++;\n }\n if (eventsCount > _bufferSize) {\n spliceCount = Math.max(spliceCount, eventsCount - _bufferSize);\n }\n if (spliceCount > 0) {\n _events.splice(0, spliceCount);\n }\n return _events;\n };\n return ReplaySubject;\n}(_Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]));\n\nvar ReplayEvent = /*@__PURE__*/ (function () {\n function ReplayEvent(time, value) {\n this.time = time;\n this.value = value;\n }\n return ReplayEvent;\n}());\n//# sourceMappingURL=ReplaySubject.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/ReplaySubject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/Scheduler.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/Scheduler.js ***! - \****************************************************************/ -/*! exports provided: Scheduler */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Scheduler\", function() { return Scheduler; });\nvar Scheduler = /*@__PURE__*/ (function () {\n function Scheduler(SchedulerAction, now) {\n if (now === void 0) {\n now = Scheduler.now;\n }\n this.SchedulerAction = SchedulerAction;\n this.now = now;\n }\n Scheduler.prototype.schedule = function (work, delay, state) {\n if (delay === void 0) {\n delay = 0;\n }\n return new this.SchedulerAction(this, work).schedule(state, delay);\n };\n Scheduler.now = function () { return Date.now(); };\n return Scheduler;\n}());\n\n//# sourceMappingURL=Scheduler.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/Scheduler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js": -/*!**************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js ***! - \**************************************************************/ -/*! exports provided: SubjectSubscriber, Subject, AnonymousSubject */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SubjectSubscriber\", function() { return SubjectSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Subject\", function() { return Subject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnonymousSubject\", function() { return AnonymousSubject; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js\");\n/* harmony import */ var _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SubjectSubscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/SubjectSubscription.js\");\n/* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js\");\n/** PURE_IMPORTS_START tslib,_Observable,_Subscriber,_Subscription,_util_ObjectUnsubscribedError,_SubjectSubscription,_internal_symbol_rxSubscriber PURE_IMPORTS_END */\n\n\n\n\n\n\n\nvar SubjectSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SubjectSubscriber, _super);\n function SubjectSubscriber(destination) {\n var _this = _super.call(this, destination) || this;\n _this.destination = destination;\n return _this;\n }\n return SubjectSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"]));\n\nvar Subject = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](Subject, _super);\n function Subject() {\n var _this = _super.call(this) || this;\n _this.observers = [];\n _this.closed = false;\n _this.isStopped = false;\n _this.hasError = false;\n _this.thrownError = null;\n return _this;\n }\n Subject.prototype[_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_6__[\"rxSubscriber\"]] = function () {\n return new SubjectSubscriber(this);\n };\n Subject.prototype.lift = function (operator) {\n var subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n };\n Subject.prototype.next = function (value) {\n if (this.closed) {\n throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__[\"ObjectUnsubscribedError\"]();\n }\n if (!this.isStopped) {\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].next(value);\n }\n }\n };\n Subject.prototype.error = function (err) {\n if (this.closed) {\n throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__[\"ObjectUnsubscribedError\"]();\n }\n this.hasError = true;\n this.thrownError = err;\n this.isStopped = true;\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].error(err);\n }\n this.observers.length = 0;\n };\n Subject.prototype.complete = function () {\n if (this.closed) {\n throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__[\"ObjectUnsubscribedError\"]();\n }\n this.isStopped = true;\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].complete();\n }\n this.observers.length = 0;\n };\n Subject.prototype.unsubscribe = function () {\n this.isStopped = true;\n this.closed = true;\n this.observers = null;\n };\n Subject.prototype._trySubscribe = function (subscriber) {\n if (this.closed) {\n throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__[\"ObjectUnsubscribedError\"]();\n }\n else {\n return _super.prototype._trySubscribe.call(this, subscriber);\n }\n };\n Subject.prototype._subscribe = function (subscriber) {\n if (this.closed) {\n throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__[\"ObjectUnsubscribedError\"]();\n }\n else if (this.hasError) {\n subscriber.error(this.thrownError);\n return _Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"].EMPTY;\n }\n else if (this.isStopped) {\n subscriber.complete();\n return _Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"].EMPTY;\n }\n else {\n this.observers.push(subscriber);\n return new _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__[\"SubjectSubscription\"](this, subscriber);\n }\n };\n Subject.prototype.asObservable = function () {\n var observable = new _Observable__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]();\n observable.source = this;\n return observable;\n };\n Subject.create = function (destination, source) {\n return new AnonymousSubject(destination, source);\n };\n return Subject;\n}(_Observable__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]));\n\nvar AnonymousSubject = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AnonymousSubject, _super);\n function AnonymousSubject(destination, source) {\n var _this = _super.call(this) || this;\n _this.destination = destination;\n _this.source = source;\n return _this;\n }\n AnonymousSubject.prototype.next = function (value) {\n var destination = this.destination;\n if (destination && destination.next) {\n destination.next(value);\n }\n };\n AnonymousSubject.prototype.error = function (err) {\n var destination = this.destination;\n if (destination && destination.error) {\n this.destination.error(err);\n }\n };\n AnonymousSubject.prototype.complete = function () {\n var destination = this.destination;\n if (destination && destination.complete) {\n this.destination.complete();\n }\n };\n AnonymousSubject.prototype._subscribe = function (subscriber) {\n var source = this.source;\n if (source) {\n return this.source.subscribe(subscriber);\n }\n else {\n return _Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"].EMPTY;\n }\n };\n return AnonymousSubject;\n}(Subject));\n\n//# sourceMappingURL=Subject.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/SubjectSubscription.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/SubjectSubscription.js ***! - \**************************************************************************/ -/*! exports provided: SubjectSubscription */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SubjectSubscription\", function() { return SubjectSubscription; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/** PURE_IMPORTS_START tslib,_Subscription PURE_IMPORTS_END */\n\n\nvar SubjectSubscription = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SubjectSubscription, _super);\n function SubjectSubscription(subject, subscriber) {\n var _this = _super.call(this) || this;\n _this.subject = subject;\n _this.subscriber = subscriber;\n _this.closed = false;\n return _this;\n }\n SubjectSubscription.prototype.unsubscribe = function () {\n if (this.closed) {\n return;\n }\n this.closed = true;\n var subject = this.subject;\n var observers = subject.observers;\n this.subject = null;\n if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n return;\n }\n var subscriberIndex = observers.indexOf(this.subscriber);\n if (subscriberIndex !== -1) {\n observers.splice(subscriberIndex, 1);\n }\n };\n return SubjectSubscription;\n}(_Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]));\n\n//# sourceMappingURL=SubjectSubscription.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/SubjectSubscription.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js": -/*!*****************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js ***! - \*****************************************************************/ -/*! exports provided: Subscriber, SafeSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Subscriber\", function() { return Subscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SafeSubscriber\", function() { return SafeSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/isFunction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isFunction.js\");\n/* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Observer */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observer.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js\");\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config */ \"./.codedoc/node_modules/rxjs/_esm5/internal/config.js\");\n/* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./util/hostReportError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/hostReportError.js\");\n/** PURE_IMPORTS_START tslib,_util_isFunction,_Observer,_Subscription,_internal_symbol_rxSubscriber,_config,_util_hostReportError PURE_IMPORTS_END */\n\n\n\n\n\n\n\nvar Subscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](Subscriber, _super);\n function Subscriber(destinationOrNext, error, complete) {\n var _this = _super.call(this) || this;\n _this.syncErrorValue = null;\n _this.syncErrorThrown = false;\n _this.syncErrorThrowable = false;\n _this.isStopped = false;\n switch (arguments.length) {\n case 0:\n _this.destination = _Observer__WEBPACK_IMPORTED_MODULE_2__[\"empty\"];\n break;\n case 1:\n if (!destinationOrNext) {\n _this.destination = _Observer__WEBPACK_IMPORTED_MODULE_2__[\"empty\"];\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n _this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n _this.destination = destinationOrNext;\n destinationOrNext.add(_this);\n }\n else {\n _this.syncErrorThrowable = true;\n _this.destination = new SafeSubscriber(_this, destinationOrNext);\n }\n break;\n }\n default:\n _this.syncErrorThrowable = true;\n _this.destination = new SafeSubscriber(_this, destinationOrNext, error, complete);\n break;\n }\n return _this;\n }\n Subscriber.prototype[_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_4__[\"rxSubscriber\"]] = function () { return this; };\n Subscriber.create = function (next, error, complete) {\n var subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n };\n Subscriber.prototype.next = function (value) {\n if (!this.isStopped) {\n this._next(value);\n }\n };\n Subscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n };\n Subscriber.prototype.complete = function () {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function () {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n };\n Subscriber.prototype._next = function (value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function (err) {\n this.destination.error(err);\n this.unsubscribe();\n };\n Subscriber.prototype._complete = function () {\n this.destination.complete();\n this.unsubscribe();\n };\n Subscriber.prototype._unsubscribeAndRecycle = function () {\n var _parentOrParents = this._parentOrParents;\n this._parentOrParents = null;\n this.unsubscribe();\n this.closed = false;\n this.isStopped = false;\n this._parentOrParents = _parentOrParents;\n return this;\n };\n return Subscriber;\n}(_Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"]));\n\nvar SafeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SafeSubscriber, _super);\n function SafeSubscriber(_parentSubscriber, observerOrNext, error, complete) {\n var _this = _super.call(this) || this;\n _this._parentSubscriber = _parentSubscriber;\n var next;\n var context = _this;\n if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_1__[\"isFunction\"])(observerOrNext)) {\n next = observerOrNext;\n }\n else if (observerOrNext) {\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (observerOrNext !== _Observer__WEBPACK_IMPORTED_MODULE_2__[\"empty\"]) {\n context = Object.create(observerOrNext);\n if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_1__[\"isFunction\"])(context.unsubscribe)) {\n _this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = _this.unsubscribe.bind(_this);\n }\n }\n _this._context = context;\n _this._next = next;\n _this._error = error;\n _this._complete = complete;\n return _this;\n }\n SafeSubscriber.prototype.next = function (value) {\n if (!this.isStopped && this._next) {\n var _parentSubscriber = this._parentSubscriber;\n if (!_config__WEBPACK_IMPORTED_MODULE_5__[\"config\"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n }\n else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var _parentSubscriber = this._parentSubscriber;\n var useDeprecatedSynchronousErrorHandling = _config__WEBPACK_IMPORTED_MODULE_5__[\"config\"].useDeprecatedSynchronousErrorHandling;\n if (this._error) {\n if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parentSubscriber, this._error, err);\n this.unsubscribe();\n }\n }\n else if (!_parentSubscriber.syncErrorThrowable) {\n this.unsubscribe();\n if (useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_6__[\"hostReportError\"])(err);\n }\n else {\n if (useDeprecatedSynchronousErrorHandling) {\n _parentSubscriber.syncErrorValue = err;\n _parentSubscriber.syncErrorThrown = true;\n }\n else {\n Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_6__[\"hostReportError\"])(err);\n }\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.complete = function () {\n var _this = this;\n if (!this.isStopped) {\n var _parentSubscriber = this._parentSubscriber;\n if (this._complete) {\n var wrappedComplete = function () { return _this._complete.call(_this._context); };\n if (!_config__WEBPACK_IMPORTED_MODULE_5__[\"config\"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(wrappedComplete);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n this.unsubscribe();\n }\n }\n else {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n this.unsubscribe();\n if (_config__WEBPACK_IMPORTED_MODULE_5__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n else {\n Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_6__[\"hostReportError\"])(err);\n }\n }\n };\n SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) {\n if (!_config__WEBPACK_IMPORTED_MODULE_5__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n throw new Error('bad call');\n }\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n if (_config__WEBPACK_IMPORTED_MODULE_5__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n else {\n Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_6__[\"hostReportError\"])(err);\n return true;\n }\n }\n return false;\n };\n SafeSubscriber.prototype._unsubscribe = function () {\n var _parentSubscriber = this._parentSubscriber;\n this._context = null;\n this._parentSubscriber = null;\n _parentSubscriber.unsubscribe();\n };\n return SafeSubscriber;\n}(Subscriber));\n\n//# sourceMappingURL=Subscriber.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js ***! - \*******************************************************************/ -/*! exports provided: Subscription */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Subscription\", function() { return Subscription; });\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _util_isObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/isObject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isObject.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/isFunction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isFunction.js\");\n/* harmony import */ var _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/UnsubscriptionError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js\");\n/** PURE_IMPORTS_START _util_isArray,_util_isObject,_util_isFunction,_util_UnsubscriptionError PURE_IMPORTS_END */\n\n\n\n\nvar Subscription = /*@__PURE__*/ (function () {\n function Subscription(unsubscribe) {\n this.closed = false;\n this._parentOrParents = null;\n this._subscriptions = null;\n if (unsubscribe) {\n this._ctorUnsubscribe = true;\n this._unsubscribe = unsubscribe;\n }\n }\n Subscription.prototype.unsubscribe = function () {\n var errors;\n if (this.closed) {\n return;\n }\n var _a = this, _parentOrParents = _a._parentOrParents, _ctorUnsubscribe = _a._ctorUnsubscribe, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions;\n this.closed = true;\n this._parentOrParents = null;\n this._subscriptions = null;\n if (_parentOrParents instanceof Subscription) {\n _parentOrParents.remove(this);\n }\n else if (_parentOrParents !== null) {\n for (var index = 0; index < _parentOrParents.length; ++index) {\n var parent_1 = _parentOrParents[index];\n parent_1.remove(this);\n }\n }\n if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(_unsubscribe)) {\n if (_ctorUnsubscribe) {\n this._unsubscribe = undefined;\n }\n try {\n _unsubscribe.call(this);\n }\n catch (e) {\n errors = e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"] ? flattenUnsubscriptionErrors(e.errors) : [e];\n }\n }\n if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(_subscriptions)) {\n var index = -1;\n var len = _subscriptions.length;\n while (++index < len) {\n var sub = _subscriptions[index];\n if (Object(_util_isObject__WEBPACK_IMPORTED_MODULE_1__[\"isObject\"])(sub)) {\n try {\n sub.unsubscribe();\n }\n catch (e) {\n errors = errors || [];\n if (e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"]) {\n errors = errors.concat(flattenUnsubscriptionErrors(e.errors));\n }\n else {\n errors.push(e);\n }\n }\n }\n }\n }\n if (errors) {\n throw new _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"](errors);\n }\n };\n Subscription.prototype.add = function (teardown) {\n var subscription = teardown;\n if (!teardown) {\n return Subscription.EMPTY;\n }\n switch (typeof teardown) {\n case 'function':\n subscription = new Subscription(teardown);\n case 'object':\n if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {\n return subscription;\n }\n else if (this.closed) {\n subscription.unsubscribe();\n return subscription;\n }\n else if (!(subscription instanceof Subscription)) {\n var tmp = subscription;\n subscription = new Subscription();\n subscription._subscriptions = [tmp];\n }\n break;\n default: {\n throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n }\n var _parentOrParents = subscription._parentOrParents;\n if (_parentOrParents === null) {\n subscription._parentOrParents = this;\n }\n else if (_parentOrParents instanceof Subscription) {\n if (_parentOrParents === this) {\n return subscription;\n }\n subscription._parentOrParents = [_parentOrParents, this];\n }\n else if (_parentOrParents.indexOf(this) === -1) {\n _parentOrParents.push(this);\n }\n else {\n return subscription;\n }\n var subscriptions = this._subscriptions;\n if (subscriptions === null) {\n this._subscriptions = [subscription];\n }\n else {\n subscriptions.push(subscription);\n }\n return subscription;\n };\n Subscription.prototype.remove = function (subscription) {\n var subscriptions = this._subscriptions;\n if (subscriptions) {\n var subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n };\n Subscription.EMPTY = (function (empty) {\n empty.closed = true;\n return empty;\n }(new Subscription()));\n return Subscription;\n}());\n\nfunction flattenUnsubscriptionErrors(errors) {\n return errors.reduce(function (errs, err) { return errs.concat((err instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"]) ? err.errors : err); }, []);\n}\n//# sourceMappingURL=Subscription.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/config.js": -/*!*************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/config.js ***! - \*************************************************************/ -/*! exports provided: config */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"config\", function() { return config; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar _enable_super_gross_mode_that_will_cause_bad_things = false;\nvar config = {\n Promise: undefined,\n set useDeprecatedSynchronousErrorHandling(value) {\n if (value) {\n var error = /*@__PURE__*/ new Error();\n /*@__PURE__*/ console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \\n' + error.stack);\n }\n else if (_enable_super_gross_mode_that_will_cause_bad_things) {\n /*@__PURE__*/ console.log('RxJS: Back to a better error behavior. Thank you. <3');\n }\n _enable_super_gross_mode_that_will_cause_bad_things = value;\n },\n get useDeprecatedSynchronousErrorHandling() {\n return _enable_super_gross_mode_that_will_cause_bad_things;\n },\n};\n//# sourceMappingURL=config.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/config.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js ***! - \*********************************************************************/ -/*! exports provided: SimpleInnerSubscriber, ComplexInnerSubscriber, SimpleOuterSubscriber, ComplexOuterSubscriber, innerSubscribe */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SimpleInnerSubscriber\", function() { return SimpleInnerSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComplexInnerSubscriber\", function() { return ComplexInnerSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SimpleOuterSubscriber\", function() { return SimpleOuterSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComplexOuterSubscriber\", function() { return ComplexOuterSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"innerSubscribe\", function() { return innerSubscribe; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/subscribeTo */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeTo.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_Observable,_util_subscribeTo PURE_IMPORTS_END */\n\n\n\n\nvar SimpleInnerSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SimpleInnerSubscriber, _super);\n function SimpleInnerSubscriber(parent) {\n var _this = _super.call(this) || this;\n _this.parent = parent;\n return _this;\n }\n SimpleInnerSubscriber.prototype._next = function (value) {\n this.parent.notifyNext(value);\n };\n SimpleInnerSubscriber.prototype._error = function (error) {\n this.parent.notifyError(error);\n this.unsubscribe();\n };\n SimpleInnerSubscriber.prototype._complete = function () {\n this.parent.notifyComplete();\n this.unsubscribe();\n };\n return SimpleInnerSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\nvar ComplexInnerSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ComplexInnerSubscriber, _super);\n function ComplexInnerSubscriber(parent, outerValue, outerIndex) {\n var _this = _super.call(this) || this;\n _this.parent = parent;\n _this.outerValue = outerValue;\n _this.outerIndex = outerIndex;\n return _this;\n }\n ComplexInnerSubscriber.prototype._next = function (value) {\n this.parent.notifyNext(this.outerValue, value, this.outerIndex, this);\n };\n ComplexInnerSubscriber.prototype._error = function (error) {\n this.parent.notifyError(error);\n this.unsubscribe();\n };\n ComplexInnerSubscriber.prototype._complete = function () {\n this.parent.notifyComplete(this);\n this.unsubscribe();\n };\n return ComplexInnerSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\nvar SimpleOuterSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SimpleOuterSubscriber, _super);\n function SimpleOuterSubscriber() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SimpleOuterSubscriber.prototype.notifyNext = function (innerValue) {\n this.destination.next(innerValue);\n };\n SimpleOuterSubscriber.prototype.notifyError = function (err) {\n this.destination.error(err);\n };\n SimpleOuterSubscriber.prototype.notifyComplete = function () {\n this.destination.complete();\n };\n return SimpleOuterSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\nvar ComplexOuterSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ComplexOuterSubscriber, _super);\n function ComplexOuterSubscriber() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ComplexOuterSubscriber.prototype.notifyNext = function (_outerValue, innerValue, _outerIndex, _innerSub) {\n this.destination.next(innerValue);\n };\n ComplexOuterSubscriber.prototype.notifyError = function (error) {\n this.destination.error(error);\n };\n ComplexOuterSubscriber.prototype.notifyComplete = function (_innerSub) {\n this.destination.complete();\n };\n return ComplexOuterSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\nfunction innerSubscribe(result, innerSubscriber) {\n if (innerSubscriber.closed) {\n return undefined;\n }\n if (result instanceof _Observable__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]) {\n return result.subscribe(innerSubscriber);\n }\n var subscription;\n try {\n subscription = Object(_util_subscribeTo__WEBPACK_IMPORTED_MODULE_3__[\"subscribeTo\"])(result)(innerSubscriber);\n }\n catch (error) {\n innerSubscriber.error(error);\n }\n return subscription;\n}\n//# sourceMappingURL=innerSubscribe.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js ***! - \***************************************************************************************/ -/*! exports provided: ConnectableObservable, connectableObservableDescriptor */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConnectableObservable\", function() { return ConnectableObservable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"connectableObservableDescriptor\", function() { return connectableObservableDescriptor; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _operators_refCount__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../operators/refCount */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/refCount.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_Observable,_Subscriber,_Subscription,_operators_refCount PURE_IMPORTS_END */\n\n\n\n\n\n\nvar ConnectableObservable = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ConnectableObservable, _super);\n function ConnectableObservable(source, subjectFactory) {\n var _this = _super.call(this) || this;\n _this.source = source;\n _this.subjectFactory = subjectFactory;\n _this._refCount = 0;\n _this._isComplete = false;\n return _this;\n }\n ConnectableObservable.prototype._subscribe = function (subscriber) {\n return this.getSubject().subscribe(subscriber);\n };\n ConnectableObservable.prototype.getSubject = function () {\n var subject = this._subject;\n if (!subject || subject.isStopped) {\n this._subject = this.subjectFactory();\n }\n return this._subject;\n };\n ConnectableObservable.prototype.connect = function () {\n var connection = this._connection;\n if (!connection) {\n this._isComplete = false;\n connection = this._connection = new _Subscription__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"]();\n connection.add(this.source\n .subscribe(new ConnectableSubscriber(this.getSubject(), this)));\n if (connection.closed) {\n this._connection = null;\n connection = _Subscription__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n }\n }\n return connection;\n };\n ConnectableObservable.prototype.refCount = function () {\n return Object(_operators_refCount__WEBPACK_IMPORTED_MODULE_5__[\"refCount\"])()(this);\n };\n return ConnectableObservable;\n}(_Observable__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]));\n\nvar connectableObservableDescriptor = /*@__PURE__*/ (function () {\n var connectableProto = ConnectableObservable.prototype;\n return {\n operator: { value: null },\n _refCount: { value: 0, writable: true },\n _subject: { value: null, writable: true },\n _connection: { value: null, writable: true },\n _subscribe: { value: connectableProto._subscribe },\n _isComplete: { value: connectableProto._isComplete, writable: true },\n getSubject: { value: connectableProto.getSubject },\n connect: { value: connectableProto.connect },\n refCount: { value: connectableProto.refCount }\n };\n})();\nvar ConnectableSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ConnectableSubscriber, _super);\n function ConnectableSubscriber(destination, connectable) {\n var _this = _super.call(this, destination) || this;\n _this.connectable = connectable;\n return _this;\n }\n ConnectableSubscriber.prototype._error = function (err) {\n this._unsubscribe();\n _super.prototype._error.call(this, err);\n };\n ConnectableSubscriber.prototype._complete = function () {\n this.connectable._isComplete = true;\n this._unsubscribe();\n _super.prototype._complete.call(this);\n };\n ConnectableSubscriber.prototype._unsubscribe = function () {\n var connectable = this.connectable;\n if (connectable) {\n this.connectable = null;\n var connection = connectable._connection;\n connectable._refCount = 0;\n connectable._subject = null;\n connectable._connection = null;\n if (connection) {\n connection.unsubscribe();\n }\n }\n };\n return ConnectableSubscriber;\n}(_Subject__WEBPACK_IMPORTED_MODULE_1__[\"SubjectSubscriber\"]));\nvar RefCountOperator = /*@__PURE__*/ (function () {\n function RefCountOperator(connectable) {\n this.connectable = connectable;\n }\n RefCountOperator.prototype.call = function (subscriber, source) {\n var connectable = this.connectable;\n connectable._refCount++;\n var refCounter = new RefCountSubscriber(subscriber, connectable);\n var subscription = source.subscribe(refCounter);\n if (!refCounter.closed) {\n refCounter.connection = connectable.connect();\n }\n return subscription;\n };\n return RefCountOperator;\n}());\nvar RefCountSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](RefCountSubscriber, _super);\n function RefCountSubscriber(destination, connectable) {\n var _this = _super.call(this, destination) || this;\n _this.connectable = connectable;\n return _this;\n }\n RefCountSubscriber.prototype._unsubscribe = function () {\n var connectable = this.connectable;\n if (!connectable) {\n this.connection = null;\n return;\n }\n this.connectable = null;\n var refCount = connectable._refCount;\n if (refCount <= 0) {\n this.connection = null;\n return;\n }\n connectable._refCount = refCount - 1;\n if (refCount > 1) {\n this.connection = null;\n return;\n }\n var connection = this.connection;\n var sharedConnection = connectable._connection;\n this.connection = null;\n if (sharedConnection && (!connection || sharedConnection === connection)) {\n sharedConnection.unsubscribe();\n }\n };\n return RefCountSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_3__[\"Subscriber\"]));\n//# sourceMappingURL=ConnectableObservable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/SubscribeOnObservable.js": -/*!***************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/SubscribeOnObservable.js ***! - \***************************************************************************************/ -/*! exports provided: SubscribeOnObservable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SubscribeOnObservable\", function() { return SubscribeOnObservable; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _scheduler_asap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/asap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/asap.js\");\n/* harmony import */ var _util_isNumeric__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isNumeric */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isNumeric.js\");\n/** PURE_IMPORTS_START tslib,_Observable,_scheduler_asap,_util_isNumeric PURE_IMPORTS_END */\n\n\n\n\nvar SubscribeOnObservable = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SubscribeOnObservable, _super);\n function SubscribeOnObservable(source, delayTime, scheduler) {\n if (delayTime === void 0) {\n delayTime = 0;\n }\n if (scheduler === void 0) {\n scheduler = _scheduler_asap__WEBPACK_IMPORTED_MODULE_2__[\"asap\"];\n }\n var _this = _super.call(this) || this;\n _this.source = source;\n _this.delayTime = delayTime;\n _this.scheduler = scheduler;\n if (!Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_3__[\"isNumeric\"])(delayTime) || delayTime < 0) {\n _this.delayTime = 0;\n }\n if (!scheduler || typeof scheduler.schedule !== 'function') {\n _this.scheduler = _scheduler_asap__WEBPACK_IMPORTED_MODULE_2__[\"asap\"];\n }\n return _this;\n }\n SubscribeOnObservable.create = function (source, delay, scheduler) {\n if (delay === void 0) {\n delay = 0;\n }\n if (scheduler === void 0) {\n scheduler = _scheduler_asap__WEBPACK_IMPORTED_MODULE_2__[\"asap\"];\n }\n return new SubscribeOnObservable(source, delay, scheduler);\n };\n SubscribeOnObservable.dispatch = function (arg) {\n var source = arg.source, subscriber = arg.subscriber;\n return this.add(source.subscribe(subscriber));\n };\n SubscribeOnObservable.prototype._subscribe = function (subscriber) {\n var delay = this.delayTime;\n var source = this.source;\n var scheduler = this.scheduler;\n return scheduler.schedule(SubscribeOnObservable.dispatch, delay, {\n source: source, subscriber: subscriber\n });\n };\n return SubscribeOnObservable;\n}(_Observable__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]));\n\n//# sourceMappingURL=SubscribeOnObservable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/SubscribeOnObservable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/bindCallback.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/bindCallback.js ***! - \******************************************************************************/ -/*! exports provided: bindCallback */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bindCallback\", function() { return bindCallback; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../AsyncSubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/AsyncSubject.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/canReportError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/canReportError.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/** PURE_IMPORTS_START _Observable,_AsyncSubject,_operators_map,_util_canReportError,_util_isArray,_util_isScheduler PURE_IMPORTS_END */\n\n\n\n\n\n\nfunction bindCallback(callbackFunc, resultSelector, scheduler) {\n if (resultSelector) {\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_5__[\"isScheduler\"])(resultSelector)) {\n scheduler = resultSelector;\n }\n else {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return bindCallback(callbackFunc, scheduler).apply(void 0, args).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(function (args) { return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_4__[\"isArray\"])(args) ? resultSelector.apply(void 0, args) : resultSelector(args); }));\n };\n }\n }\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var context = this;\n var subject;\n var params = {\n context: context,\n subject: subject,\n callbackFunc: callbackFunc,\n scheduler: scheduler,\n };\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n if (!scheduler) {\n if (!subject) {\n subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n var handler = function () {\n var innerArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n innerArgs[_i] = arguments[_i];\n }\n subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n subject.complete();\n };\n try {\n callbackFunc.apply(context, args.concat([handler]));\n }\n catch (err) {\n if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_3__[\"canReportError\"])(subject)) {\n subject.error(err);\n }\n else {\n console.warn(err);\n }\n }\n }\n return subject.subscribe(subscriber);\n }\n else {\n var state = {\n args: args, subscriber: subscriber, params: params,\n };\n return scheduler.schedule(dispatch, 0, state);\n }\n });\n };\n}\nfunction dispatch(state) {\n var _this = this;\n var self = this;\n var args = state.args, subscriber = state.subscriber, params = state.params;\n var callbackFunc = params.callbackFunc, context = params.context, scheduler = params.scheduler;\n var subject = params.subject;\n if (!subject) {\n subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n var handler = function () {\n var innerArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n innerArgs[_i] = arguments[_i];\n }\n var value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n _this.add(scheduler.schedule(dispatchNext, 0, { value: value, subject: subject }));\n };\n try {\n callbackFunc.apply(context, args.concat([handler]));\n }\n catch (err) {\n subject.error(err);\n }\n }\n this.add(subject.subscribe(subscriber));\n}\nfunction dispatchNext(state) {\n var value = state.value, subject = state.subject;\n subject.next(value);\n subject.complete();\n}\nfunction dispatchError(state) {\n var err = state.err, subject = state.subject;\n subject.error(err);\n}\n//# sourceMappingURL=bindCallback.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/bindCallback.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/bindNodeCallback.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/bindNodeCallback.js ***! - \**********************************************************************************/ -/*! exports provided: bindNodeCallback */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bindNodeCallback\", function() { return bindNodeCallback; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../AsyncSubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/AsyncSubject.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/canReportError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/canReportError.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/** PURE_IMPORTS_START _Observable,_AsyncSubject,_operators_map,_util_canReportError,_util_isScheduler,_util_isArray PURE_IMPORTS_END */\n\n\n\n\n\n\nfunction bindNodeCallback(callbackFunc, resultSelector, scheduler) {\n if (resultSelector) {\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(resultSelector)) {\n scheduler = resultSelector;\n }\n else {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return bindNodeCallback(callbackFunc, scheduler).apply(void 0, args).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(function (args) { return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_5__[\"isArray\"])(args) ? resultSelector.apply(void 0, args) : resultSelector(args); }));\n };\n }\n }\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var params = {\n subject: undefined,\n args: args,\n callbackFunc: callbackFunc,\n scheduler: scheduler,\n context: this,\n };\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var context = params.context;\n var subject = params.subject;\n if (!scheduler) {\n if (!subject) {\n subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n var handler = function () {\n var innerArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n innerArgs[_i] = arguments[_i];\n }\n var err = innerArgs.shift();\n if (err) {\n subject.error(err);\n return;\n }\n subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n subject.complete();\n };\n try {\n callbackFunc.apply(context, args.concat([handler]));\n }\n catch (err) {\n if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_3__[\"canReportError\"])(subject)) {\n subject.error(err);\n }\n else {\n console.warn(err);\n }\n }\n }\n return subject.subscribe(subscriber);\n }\n else {\n return scheduler.schedule(dispatch, 0, { params: params, subscriber: subscriber, context: context });\n }\n });\n };\n}\nfunction dispatch(state) {\n var _this = this;\n var params = state.params, subscriber = state.subscriber, context = state.context;\n var callbackFunc = params.callbackFunc, args = params.args, scheduler = params.scheduler;\n var subject = params.subject;\n if (!subject) {\n subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n var handler = function () {\n var innerArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n innerArgs[_i] = arguments[_i];\n }\n var err = innerArgs.shift();\n if (err) {\n _this.add(scheduler.schedule(dispatchError, 0, { err: err, subject: subject }));\n }\n else {\n var value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n _this.add(scheduler.schedule(dispatchNext, 0, { value: value, subject: subject }));\n }\n };\n try {\n callbackFunc.apply(context, args.concat([handler]));\n }\n catch (err) {\n this.add(scheduler.schedule(dispatchError, 0, { err: err, subject: subject }));\n }\n }\n this.add(subject.subscribe(subscriber));\n}\nfunction dispatchNext(arg) {\n var value = arg.value, subject = arg.subject;\n subject.next(value);\n subject.complete();\n}\nfunction dispatchError(arg) {\n var err = arg.err, subject = arg.subject;\n subject.error(err);\n}\n//# sourceMappingURL=bindNodeCallback.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/bindNodeCallback.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/combineLatest.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/combineLatest.js ***! - \*******************************************************************************/ -/*! exports provided: combineLatest, CombineLatestOperator, CombineLatestSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineLatest\", function() { return combineLatest; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CombineLatestOperator\", function() { return CombineLatestOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CombineLatestSubscriber\", function() { return CombineLatestSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../OuterSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./fromArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromArray.js\");\n/** PURE_IMPORTS_START tslib,_util_isScheduler,_util_isArray,_OuterSubscriber,_util_subscribeToResult,_fromArray PURE_IMPORTS_END */\n\n\n\n\n\n\nvar NONE = {};\nfunction combineLatest() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n var resultSelector = undefined;\n var scheduler = undefined;\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_1__[\"isScheduler\"])(observables[observables.length - 1])) {\n scheduler = observables.pop();\n }\n if (typeof observables[observables.length - 1] === 'function') {\n resultSelector = observables.pop();\n }\n if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__[\"isArray\"])(observables[0])) {\n observables = observables[0];\n }\n return Object(_fromArray__WEBPACK_IMPORTED_MODULE_5__[\"fromArray\"])(observables, scheduler).lift(new CombineLatestOperator(resultSelector));\n}\nvar CombineLatestOperator = /*@__PURE__*/ (function () {\n function CombineLatestOperator(resultSelector) {\n this.resultSelector = resultSelector;\n }\n CombineLatestOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));\n };\n return CombineLatestOperator;\n}());\n\nvar CombineLatestSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](CombineLatestSubscriber, _super);\n function CombineLatestSubscriber(destination, resultSelector) {\n var _this = _super.call(this, destination) || this;\n _this.resultSelector = resultSelector;\n _this.active = 0;\n _this.values = [];\n _this.observables = [];\n return _this;\n }\n CombineLatestSubscriber.prototype._next = function (observable) {\n this.values.push(NONE);\n this.observables.push(observable);\n };\n CombineLatestSubscriber.prototype._complete = function () {\n var observables = this.observables;\n var len = observables.length;\n if (len === 0) {\n this.destination.complete();\n }\n else {\n this.active = len;\n this.toRespond = len;\n for (var i = 0; i < len; i++) {\n var observable = observables[i];\n this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(this, observable, undefined, i));\n }\n }\n };\n CombineLatestSubscriber.prototype.notifyComplete = function (unused) {\n if ((this.active -= 1) === 0) {\n this.destination.complete();\n }\n };\n CombineLatestSubscriber.prototype.notifyNext = function (_outerValue, innerValue, outerIndex) {\n var values = this.values;\n var oldVal = values[outerIndex];\n var toRespond = !this.toRespond\n ? 0\n : oldVal === NONE ? --this.toRespond : this.toRespond;\n values[outerIndex] = innerValue;\n if (toRespond === 0) {\n if (this.resultSelector) {\n this._tryResultSelector(values);\n }\n else {\n this.destination.next(values.slice());\n }\n }\n };\n CombineLatestSubscriber.prototype._tryResultSelector = function (values) {\n var result;\n try {\n result = this.resultSelector.apply(this, values);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n };\n return CombineLatestSubscriber;\n}(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"OuterSubscriber\"]));\n\n//# sourceMappingURL=combineLatest.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/combineLatest.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/concat.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/concat.js ***! - \************************************************************************/ -/*! exports provided: concat */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concat\", function() { return concat; });\n/* harmony import */ var _of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./of */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/of.js\");\n/* harmony import */ var _operators_concatAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../operators/concatAll */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatAll.js\");\n/** PURE_IMPORTS_START _of,_operators_concatAll PURE_IMPORTS_END */\n\n\nfunction concat() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n return Object(_operators_concatAll__WEBPACK_IMPORTED_MODULE_1__[\"concatAll\"])()(_of__WEBPACK_IMPORTED_MODULE_0__[\"of\"].apply(void 0, observables));\n}\n//# sourceMappingURL=concat.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/concat.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/defer.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/defer.js ***! - \***********************************************************************/ -/*! exports provided: defer */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defer\", function() { return defer; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/** PURE_IMPORTS_START _Observable,_from,_empty PURE_IMPORTS_END */\n\n\n\nfunction defer(observableFactory) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var input;\n try {\n input = observableFactory();\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n var source = input ? Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(input) : Object(_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])();\n return source.subscribe(subscriber);\n });\n}\n//# sourceMappingURL=defer.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/defer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js": -/*!************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js ***! - \************************************************************************************/ -/*! exports provided: ajaxGet, ajaxPost, ajaxDelete, ajaxPut, ajaxPatch, ajaxGetJSON, AjaxObservable, AjaxSubscriber, AjaxResponse, AjaxError, AjaxTimeoutError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ajaxGet\", function() { return ajaxGet; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ajaxPost\", function() { return ajaxPost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ajaxDelete\", function() { return ajaxDelete; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ajaxPut\", function() { return ajaxPut; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ajaxPatch\", function() { return ajaxPatch; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ajaxGetJSON\", function() { return ajaxGetJSON; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AjaxObservable\", function() { return AjaxObservable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AjaxSubscriber\", function() { return AjaxSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AjaxResponse\", function() { return AjaxResponse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AjaxError\", function() { return AjaxError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AjaxTimeoutError\", function() { return AjaxTimeoutError; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _util_root__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/root */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/root.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../operators/map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/** PURE_IMPORTS_START tslib,_.._util_root,_.._Observable,_.._Subscriber,_.._operators_map PURE_IMPORTS_END */\n\n\n\n\n\nfunction getCORSRequest() {\n if (_util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].XMLHttpRequest) {\n return new _util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].XMLHttpRequest();\n }\n else if (!!_util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].XDomainRequest) {\n return new _util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].XDomainRequest();\n }\n else {\n throw new Error('CORS is not supported by your browser');\n }\n}\nfunction getXMLHttpRequest() {\n if (_util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].XMLHttpRequest) {\n return new _util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].XMLHttpRequest();\n }\n else {\n var progId = void 0;\n try {\n var progIds = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0'];\n for (var i = 0; i < 3; i++) {\n try {\n progId = progIds[i];\n if (new _util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].ActiveXObject(progId)) {\n break;\n }\n }\n catch (e) {\n }\n }\n return new _util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].ActiveXObject(progId);\n }\n catch (e) {\n throw new Error('XMLHttpRequest is not supported by your browser');\n }\n }\n}\nfunction ajaxGet(url, headers) {\n if (headers === void 0) {\n headers = null;\n }\n return new AjaxObservable({ method: 'GET', url: url, headers: headers });\n}\nfunction ajaxPost(url, body, headers) {\n return new AjaxObservable({ method: 'POST', url: url, body: body, headers: headers });\n}\nfunction ajaxDelete(url, headers) {\n return new AjaxObservable({ method: 'DELETE', url: url, headers: headers });\n}\nfunction ajaxPut(url, body, headers) {\n return new AjaxObservable({ method: 'PUT', url: url, body: body, headers: headers });\n}\nfunction ajaxPatch(url, body, headers) {\n return new AjaxObservable({ method: 'PATCH', url: url, body: body, headers: headers });\n}\nvar mapResponse = /*@__PURE__*/ Object(_operators_map__WEBPACK_IMPORTED_MODULE_4__[\"map\"])(function (x, index) { return x.response; });\nfunction ajaxGetJSON(url, headers) {\n return mapResponse(new AjaxObservable({\n method: 'GET',\n url: url,\n responseType: 'json',\n headers: headers\n }));\n}\nvar AjaxObservable = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AjaxObservable, _super);\n function AjaxObservable(urlOrRequest) {\n var _this = _super.call(this) || this;\n var request = {\n async: true,\n createXHR: function () {\n return this.crossDomain ? getCORSRequest() : getXMLHttpRequest();\n },\n crossDomain: true,\n withCredentials: false,\n headers: {},\n method: 'GET',\n responseType: 'json',\n timeout: 0\n };\n if (typeof urlOrRequest === 'string') {\n request.url = urlOrRequest;\n }\n else {\n for (var prop in urlOrRequest) {\n if (urlOrRequest.hasOwnProperty(prop)) {\n request[prop] = urlOrRequest[prop];\n }\n }\n }\n _this.request = request;\n return _this;\n }\n AjaxObservable.prototype._subscribe = function (subscriber) {\n return new AjaxSubscriber(subscriber, this.request);\n };\n AjaxObservable.create = (function () {\n var create = function (urlOrRequest) {\n return new AjaxObservable(urlOrRequest);\n };\n create.get = ajaxGet;\n create.post = ajaxPost;\n create.delete = ajaxDelete;\n create.put = ajaxPut;\n create.patch = ajaxPatch;\n create.getJSON = ajaxGetJSON;\n return create;\n })();\n return AjaxObservable;\n}(_Observable__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]));\n\nvar AjaxSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AjaxSubscriber, _super);\n function AjaxSubscriber(destination, request) {\n var _this = _super.call(this, destination) || this;\n _this.request = request;\n _this.done = false;\n var headers = request.headers = request.headers || {};\n if (!request.crossDomain && !_this.getHeader(headers, 'X-Requested-With')) {\n headers['X-Requested-With'] = 'XMLHttpRequest';\n }\n var contentTypeHeader = _this.getHeader(headers, 'Content-Type');\n if (!contentTypeHeader && !(_util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].FormData && request.body instanceof _util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].FormData) && typeof request.body !== 'undefined') {\n headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8';\n }\n request.body = _this.serializeBody(request.body, _this.getHeader(request.headers, 'Content-Type'));\n _this.send();\n return _this;\n }\n AjaxSubscriber.prototype.next = function (e) {\n this.done = true;\n var _a = this, xhr = _a.xhr, request = _a.request, destination = _a.destination;\n var result;\n try {\n result = new AjaxResponse(e, xhr, request);\n }\n catch (err) {\n return destination.error(err);\n }\n destination.next(result);\n };\n AjaxSubscriber.prototype.send = function () {\n var _a = this, request = _a.request, _b = _a.request, user = _b.user, method = _b.method, url = _b.url, async = _b.async, password = _b.password, headers = _b.headers, body = _b.body;\n try {\n var xhr = this.xhr = request.createXHR();\n this.setupEvents(xhr, request);\n if (user) {\n xhr.open(method, url, async, user, password);\n }\n else {\n xhr.open(method, url, async);\n }\n if (async) {\n xhr.timeout = request.timeout;\n xhr.responseType = request.responseType;\n }\n if ('withCredentials' in xhr) {\n xhr.withCredentials = !!request.withCredentials;\n }\n this.setHeaders(xhr, headers);\n if (body) {\n xhr.send(body);\n }\n else {\n xhr.send();\n }\n }\n catch (err) {\n this.error(err);\n }\n };\n AjaxSubscriber.prototype.serializeBody = function (body, contentType) {\n if (!body || typeof body === 'string') {\n return body;\n }\n else if (_util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].FormData && body instanceof _util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].FormData) {\n return body;\n }\n if (contentType) {\n var splitIndex = contentType.indexOf(';');\n if (splitIndex !== -1) {\n contentType = contentType.substring(0, splitIndex);\n }\n }\n switch (contentType) {\n case 'application/x-www-form-urlencoded':\n return Object.keys(body).map(function (key) { return encodeURIComponent(key) + \"=\" + encodeURIComponent(body[key]); }).join('&');\n case 'application/json':\n return JSON.stringify(body);\n default:\n return body;\n }\n };\n AjaxSubscriber.prototype.setHeaders = function (xhr, headers) {\n for (var key in headers) {\n if (headers.hasOwnProperty(key)) {\n xhr.setRequestHeader(key, headers[key]);\n }\n }\n };\n AjaxSubscriber.prototype.getHeader = function (headers, headerName) {\n for (var key in headers) {\n if (key.toLowerCase() === headerName.toLowerCase()) {\n return headers[key];\n }\n }\n return undefined;\n };\n AjaxSubscriber.prototype.setupEvents = function (xhr, request) {\n var progressSubscriber = request.progressSubscriber;\n function xhrTimeout(e) {\n var _a = xhrTimeout, subscriber = _a.subscriber, progressSubscriber = _a.progressSubscriber, request = _a.request;\n if (progressSubscriber) {\n progressSubscriber.error(e);\n }\n var error;\n try {\n error = new AjaxTimeoutError(this, request);\n }\n catch (err) {\n error = err;\n }\n subscriber.error(error);\n }\n xhr.ontimeout = xhrTimeout;\n xhrTimeout.request = request;\n xhrTimeout.subscriber = this;\n xhrTimeout.progressSubscriber = progressSubscriber;\n if (xhr.upload && 'withCredentials' in xhr) {\n if (progressSubscriber) {\n var xhrProgress_1;\n xhrProgress_1 = function (e) {\n var progressSubscriber = xhrProgress_1.progressSubscriber;\n progressSubscriber.next(e);\n };\n if (_util_root__WEBPACK_IMPORTED_MODULE_1__[\"root\"].XDomainRequest) {\n xhr.onprogress = xhrProgress_1;\n }\n else {\n xhr.upload.onprogress = xhrProgress_1;\n }\n xhrProgress_1.progressSubscriber = progressSubscriber;\n }\n var xhrError_1;\n xhrError_1 = function (e) {\n var _a = xhrError_1, progressSubscriber = _a.progressSubscriber, subscriber = _a.subscriber, request = _a.request;\n if (progressSubscriber) {\n progressSubscriber.error(e);\n }\n var error;\n try {\n error = new AjaxError('ajax error', this, request);\n }\n catch (err) {\n error = err;\n }\n subscriber.error(error);\n };\n xhr.onerror = xhrError_1;\n xhrError_1.request = request;\n xhrError_1.subscriber = this;\n xhrError_1.progressSubscriber = progressSubscriber;\n }\n function xhrReadyStateChange(e) {\n return;\n }\n xhr.onreadystatechange = xhrReadyStateChange;\n xhrReadyStateChange.subscriber = this;\n xhrReadyStateChange.progressSubscriber = progressSubscriber;\n xhrReadyStateChange.request = request;\n function xhrLoad(e) {\n var _a = xhrLoad, subscriber = _a.subscriber, progressSubscriber = _a.progressSubscriber, request = _a.request;\n if (this.readyState === 4) {\n var status_1 = this.status === 1223 ? 204 : this.status;\n var response = (this.responseType === 'text' ? (this.response || this.responseText) : this.response);\n if (status_1 === 0) {\n status_1 = response ? 200 : 0;\n }\n if (status_1 < 400) {\n if (progressSubscriber) {\n progressSubscriber.complete();\n }\n subscriber.next(e);\n subscriber.complete();\n }\n else {\n if (progressSubscriber) {\n progressSubscriber.error(e);\n }\n var error = void 0;\n try {\n error = new AjaxError('ajax error ' + status_1, this, request);\n }\n catch (err) {\n error = err;\n }\n subscriber.error(error);\n }\n }\n }\n xhr.onload = xhrLoad;\n xhrLoad.subscriber = this;\n xhrLoad.progressSubscriber = progressSubscriber;\n xhrLoad.request = request;\n };\n AjaxSubscriber.prototype.unsubscribe = function () {\n var _a = this, done = _a.done, xhr = _a.xhr;\n if (!done && xhr && xhr.readyState !== 4 && typeof xhr.abort === 'function') {\n xhr.abort();\n }\n _super.prototype.unsubscribe.call(this);\n };\n return AjaxSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_3__[\"Subscriber\"]));\n\nvar AjaxResponse = /*@__PURE__*/ (function () {\n function AjaxResponse(originalEvent, xhr, request) {\n this.originalEvent = originalEvent;\n this.xhr = xhr;\n this.request = request;\n this.status = xhr.status;\n this.responseType = xhr.responseType || request.responseType;\n this.response = parseXhrResponse(this.responseType, xhr);\n }\n return AjaxResponse;\n}());\n\nvar AjaxErrorImpl = /*@__PURE__*/ (function () {\n function AjaxErrorImpl(message, xhr, request) {\n Error.call(this);\n this.message = message;\n this.name = 'AjaxError';\n this.xhr = xhr;\n this.request = request;\n this.status = xhr.status;\n this.responseType = xhr.responseType || request.responseType;\n this.response = parseXhrResponse(this.responseType, xhr);\n return this;\n }\n AjaxErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);\n return AjaxErrorImpl;\n})();\nvar AjaxError = AjaxErrorImpl;\nfunction parseJson(xhr) {\n if ('response' in xhr) {\n return xhr.responseType ? xhr.response : JSON.parse(xhr.response || xhr.responseText || 'null');\n }\n else {\n return JSON.parse(xhr.responseText || 'null');\n }\n}\nfunction parseXhrResponse(responseType, xhr) {\n switch (responseType) {\n case 'json':\n return parseJson(xhr);\n case 'xml':\n return xhr.responseXML;\n case 'text':\n default:\n return ('response' in xhr) ? xhr.response : xhr.responseText;\n }\n}\nfunction AjaxTimeoutErrorImpl(xhr, request) {\n AjaxError.call(this, 'ajax timeout', xhr, request);\n this.name = 'AjaxTimeoutError';\n return this;\n}\nvar AjaxTimeoutError = AjaxTimeoutErrorImpl;\n//# sourceMappingURL=AjaxObservable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js": -/*!**************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js ***! - \**************************************************************************************/ -/*! exports provided: WebSocketSubject */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WebSocketSubject\", function() { return WebSocketSubject; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ReplaySubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/ReplaySubject.js\");\n/** PURE_IMPORTS_START tslib,_.._Subject,_.._Subscriber,_.._Observable,_.._Subscription,_.._ReplaySubject PURE_IMPORTS_END */\n\n\n\n\n\n\nvar DEFAULT_WEBSOCKET_CONFIG = {\n url: '',\n deserializer: function (e) { return JSON.parse(e.data); },\n serializer: function (value) { return JSON.stringify(value); },\n};\nvar WEBSOCKETSUBJECT_INVALID_ERROR_OBJECT = 'WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }';\nvar WebSocketSubject = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](WebSocketSubject, _super);\n function WebSocketSubject(urlConfigOrSource, destination) {\n var _this = _super.call(this) || this;\n if (urlConfigOrSource instanceof _Observable__WEBPACK_IMPORTED_MODULE_3__[\"Observable\"]) {\n _this.destination = destination;\n _this.source = urlConfigOrSource;\n }\n else {\n var config = _this._config = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__assign\"]({}, DEFAULT_WEBSOCKET_CONFIG);\n _this._output = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n if (typeof urlConfigOrSource === 'string') {\n config.url = urlConfigOrSource;\n }\n else {\n for (var key in urlConfigOrSource) {\n if (urlConfigOrSource.hasOwnProperty(key)) {\n config[key] = urlConfigOrSource[key];\n }\n }\n }\n if (!config.WebSocketCtor && WebSocket) {\n config.WebSocketCtor = WebSocket;\n }\n else if (!config.WebSocketCtor) {\n throw new Error('no WebSocket constructor can be found');\n }\n _this.destination = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_5__[\"ReplaySubject\"]();\n }\n return _this;\n }\n WebSocketSubject.prototype.lift = function (operator) {\n var sock = new WebSocketSubject(this._config, this.destination);\n sock.operator = operator;\n sock.source = this;\n return sock;\n };\n WebSocketSubject.prototype._resetState = function () {\n this._socket = null;\n if (!this.source) {\n this.destination = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_5__[\"ReplaySubject\"]();\n }\n this._output = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n };\n WebSocketSubject.prototype.multiplex = function (subMsg, unsubMsg, messageFilter) {\n var self = this;\n return new _Observable__WEBPACK_IMPORTED_MODULE_3__[\"Observable\"](function (observer) {\n try {\n self.next(subMsg());\n }\n catch (err) {\n observer.error(err);\n }\n var subscription = self.subscribe(function (x) {\n try {\n if (messageFilter(x)) {\n observer.next(x);\n }\n }\n catch (err) {\n observer.error(err);\n }\n }, function (err) { return observer.error(err); }, function () { return observer.complete(); });\n return function () {\n try {\n self.next(unsubMsg());\n }\n catch (err) {\n observer.error(err);\n }\n subscription.unsubscribe();\n };\n });\n };\n WebSocketSubject.prototype._connectSocket = function () {\n var _this = this;\n var _a = this._config, WebSocketCtor = _a.WebSocketCtor, protocol = _a.protocol, url = _a.url, binaryType = _a.binaryType;\n var observer = this._output;\n var socket = null;\n try {\n socket = protocol ?\n new WebSocketCtor(url, protocol) :\n new WebSocketCtor(url);\n this._socket = socket;\n if (binaryType) {\n this._socket.binaryType = binaryType;\n }\n }\n catch (e) {\n observer.error(e);\n return;\n }\n var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"](function () {\n _this._socket = null;\n if (socket && socket.readyState === 1) {\n socket.close();\n }\n });\n socket.onopen = function (e) {\n var _socket = _this._socket;\n if (!_socket) {\n socket.close();\n _this._resetState();\n return;\n }\n var openObserver = _this._config.openObserver;\n if (openObserver) {\n openObserver.next(e);\n }\n var queue = _this.destination;\n _this.destination = _Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"].create(function (x) {\n if (socket.readyState === 1) {\n try {\n var serializer = _this._config.serializer;\n socket.send(serializer(x));\n }\n catch (e) {\n _this.destination.error(e);\n }\n }\n }, function (e) {\n var closingObserver = _this._config.closingObserver;\n if (closingObserver) {\n closingObserver.next(undefined);\n }\n if (e && e.code) {\n socket.close(e.code, e.reason);\n }\n else {\n observer.error(new TypeError(WEBSOCKETSUBJECT_INVALID_ERROR_OBJECT));\n }\n _this._resetState();\n }, function () {\n var closingObserver = _this._config.closingObserver;\n if (closingObserver) {\n closingObserver.next(undefined);\n }\n socket.close();\n _this._resetState();\n });\n if (queue && queue instanceof _ReplaySubject__WEBPACK_IMPORTED_MODULE_5__[\"ReplaySubject\"]) {\n subscription.add(queue.subscribe(_this.destination));\n }\n };\n socket.onerror = function (e) {\n _this._resetState();\n observer.error(e);\n };\n socket.onclose = function (e) {\n _this._resetState();\n var closeObserver = _this._config.closeObserver;\n if (closeObserver) {\n closeObserver.next(e);\n }\n if (e.wasClean) {\n observer.complete();\n }\n else {\n observer.error(e);\n }\n };\n socket.onmessage = function (e) {\n try {\n var deserializer = _this._config.deserializer;\n observer.next(deserializer(e));\n }\n catch (err) {\n observer.error(err);\n }\n };\n };\n WebSocketSubject.prototype._subscribe = function (subscriber) {\n var _this = this;\n var source = this.source;\n if (source) {\n return source.subscribe(subscriber);\n }\n if (!this._socket) {\n this._connectSocket();\n }\n this._output.subscribe(subscriber);\n subscriber.add(function () {\n var _socket = _this._socket;\n if (_this._output.observers.length === 0) {\n if (_socket && _socket.readyState === 1) {\n _socket.close();\n }\n _this._resetState();\n }\n });\n return subscriber;\n };\n WebSocketSubject.prototype.unsubscribe = function () {\n var _socket = this._socket;\n if (_socket && _socket.readyState === 1) {\n _socket.close();\n }\n this._resetState();\n _super.prototype.unsubscribe.call(this);\n };\n return WebSocketSubject;\n}(_Subject__WEBPACK_IMPORTED_MODULE_1__[\"AnonymousSubject\"]));\n\n//# sourceMappingURL=WebSocketSubject.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/ajax.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/ajax.js ***! - \**************************************************************************/ -/*! exports provided: ajax */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ajax\", function() { return ajax; });\n/* harmony import */ var _AjaxObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AjaxObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js\");\n/** PURE_IMPORTS_START _AjaxObservable PURE_IMPORTS_END */\n\nvar ajax = /*@__PURE__*/ (function () { return _AjaxObservable__WEBPACK_IMPORTED_MODULE_0__[\"AjaxObservable\"].create; })();\n//# sourceMappingURL=ajax.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/ajax.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/webSocket.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/webSocket.js ***! - \*******************************************************************************/ -/*! exports provided: webSocket */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"webSocket\", function() { return webSocket; });\n/* harmony import */ var _WebSocketSubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./WebSocketSubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js\");\n/** PURE_IMPORTS_START _WebSocketSubject PURE_IMPORTS_END */\n\nfunction webSocket(urlConfigOrSource) {\n return new _WebSocketSubject__WEBPACK_IMPORTED_MODULE_0__[\"WebSocketSubject\"](urlConfigOrSource);\n}\n//# sourceMappingURL=webSocket.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/webSocket.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js ***! - \***********************************************************************/ -/*! exports provided: EMPTY, empty */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EMPTY\", function() { return EMPTY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"empty\", function() { return empty; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */\n\nvar EMPTY = /*@__PURE__*/ new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) { return subscriber.complete(); });\nfunction empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) { return scheduler.schedule(function () { return subscriber.complete(); }); });\n}\n//# sourceMappingURL=empty.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/forkJoin.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/forkJoin.js ***! - \**************************************************************************/ -/*! exports provided: forkJoin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"forkJoin\", function() { return forkJoin; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/* harmony import */ var _util_isObject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isObject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isObject.js\");\n/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/** PURE_IMPORTS_START _Observable,_util_isArray,_operators_map,_util_isObject,_from PURE_IMPORTS_END */\n\n\n\n\n\nfunction forkJoin() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n if (sources.length === 1) {\n var first_1 = sources[0];\n if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(first_1)) {\n return forkJoinInternal(first_1, null);\n }\n if (Object(_util_isObject__WEBPACK_IMPORTED_MODULE_3__[\"isObject\"])(first_1) && Object.getPrototypeOf(first_1) === Object.prototype) {\n var keys = Object.keys(first_1);\n return forkJoinInternal(keys.map(function (key) { return first_1[key]; }), keys);\n }\n }\n if (typeof sources[sources.length - 1] === 'function') {\n var resultSelector_1 = sources.pop();\n sources = (sources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(sources[0])) ? sources[0] : sources;\n return forkJoinInternal(sources, null).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(function (args) { return resultSelector_1.apply(void 0, args); }));\n }\n return forkJoinInternal(sources, null);\n}\nfunction forkJoinInternal(sources, keys) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var len = sources.length;\n if (len === 0) {\n subscriber.complete();\n return;\n }\n var values = new Array(len);\n var completed = 0;\n var emitted = 0;\n var _loop_1 = function (i) {\n var source = Object(_from__WEBPACK_IMPORTED_MODULE_4__[\"from\"])(sources[i]);\n var hasValue = false;\n subscriber.add(source.subscribe({\n next: function (value) {\n if (!hasValue) {\n hasValue = true;\n emitted++;\n }\n values[i] = value;\n },\n error: function (err) { return subscriber.error(err); },\n complete: function () {\n completed++;\n if (completed === len || !hasValue) {\n if (emitted === len) {\n subscriber.next(keys ?\n keys.reduce(function (result, key, i) { return (result[key] = values[i], result); }, {}) :\n values);\n }\n subscriber.complete();\n }\n }\n }));\n };\n for (var i = 0; i < len; i++) {\n _loop_1(i);\n }\n });\n}\n//# sourceMappingURL=forkJoin.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/forkJoin.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js ***! - \**********************************************************************/ -/*! exports provided: from */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"from\", function() { return from; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeTo */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeTo.js\");\n/* harmony import */ var _scheduled_scheduled__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduled/scheduled */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduled.js\");\n/** PURE_IMPORTS_START _Observable,_util_subscribeTo,_scheduled_scheduled PURE_IMPORTS_END */\n\n\n\nfunction from(input, scheduler) {\n if (!scheduler) {\n if (input instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n return input;\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__[\"subscribeTo\"])(input));\n }\n else {\n return Object(_scheduled_scheduled__WEBPACK_IMPORTED_MODULE_2__[\"scheduled\"])(input, scheduler);\n }\n}\n//# sourceMappingURL=from.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromArray.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromArray.js ***! - \***************************************************************************/ -/*! exports provided: fromArray */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromArray\", function() { return fromArray; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_subscribeToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToArray.js\");\n/* harmony import */ var _scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduled/scheduleArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleArray.js\");\n/** PURE_IMPORTS_START _Observable,_util_subscribeToArray,_scheduled_scheduleArray PURE_IMPORTS_END */\n\n\n\nfunction fromArray(input, scheduler) {\n if (!scheduler) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToArray__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToArray\"])(input));\n }\n else {\n return Object(_scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__[\"scheduleArray\"])(input, scheduler);\n }\n}\n//# sourceMappingURL=fromArray.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromEvent.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromEvent.js ***! - \***************************************************************************/ -/*! exports provided: fromEvent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromEvent\", function() { return fromEvent; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isFunction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isFunction.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/** PURE_IMPORTS_START _Observable,_util_isArray,_util_isFunction,_operators_map PURE_IMPORTS_END */\n\n\n\n\nvar toString = /*@__PURE__*/ (function () { return Object.prototype.toString; })();\nfunction fromEvent(target, eventName, options, resultSelector) {\n if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (args) { return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(args) ? resultSelector.apply(void 0, args) : resultSelector(args); }));\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n function handler(e) {\n if (arguments.length > 1) {\n subscriber.next(Array.prototype.slice.call(arguments));\n }\n else {\n subscriber.next(e);\n }\n }\n setupSubscription(target, eventName, handler, subscriber, options);\n });\n}\nfunction setupSubscription(sourceObj, eventName, handler, subscriber, options) {\n var unsubscribe;\n if (isEventTarget(sourceObj)) {\n var source_1 = sourceObj;\n sourceObj.addEventListener(eventName, handler, options);\n unsubscribe = function () { return source_1.removeEventListener(eventName, handler, options); };\n }\n else if (isJQueryStyleEventEmitter(sourceObj)) {\n var source_2 = sourceObj;\n sourceObj.on(eventName, handler);\n unsubscribe = function () { return source_2.off(eventName, handler); };\n }\n else if (isNodeStyleEventEmitter(sourceObj)) {\n var source_3 = sourceObj;\n sourceObj.addListener(eventName, handler);\n unsubscribe = function () { return source_3.removeListener(eventName, handler); };\n }\n else if (sourceObj && sourceObj.length) {\n for (var i = 0, len = sourceObj.length; i < len; i++) {\n setupSubscription(sourceObj[i], eventName, handler, subscriber, options);\n }\n }\n else {\n throw new TypeError('Invalid event target');\n }\n subscriber.add(unsubscribe);\n}\nfunction isNodeStyleEventEmitter(sourceObj) {\n return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';\n}\nfunction isJQueryStyleEventEmitter(sourceObj) {\n return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';\n}\nfunction isEventTarget(sourceObj) {\n return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';\n}\n//# sourceMappingURL=fromEvent.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromEvent.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromEventPattern.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromEventPattern.js ***! - \**********************************************************************************/ -/*! exports provided: fromEventPattern */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromEventPattern\", function() { return fromEventPattern; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isFunction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isFunction.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/** PURE_IMPORTS_START _Observable,_util_isArray,_util_isFunction,_operators_map PURE_IMPORTS_END */\n\n\n\n\nfunction fromEventPattern(addHandler, removeHandler, resultSelector) {\n if (resultSelector) {\n return fromEventPattern(addHandler, removeHandler).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (args) { return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(args) ? resultSelector.apply(void 0, args) : resultSelector(args); }));\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var handler = function () {\n var e = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n e[_i] = arguments[_i];\n }\n return subscriber.next(e.length === 1 ? e[0] : e);\n };\n var retValue;\n try {\n retValue = addHandler(handler);\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n if (!Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(removeHandler)) {\n return undefined;\n }\n return function () { return removeHandler(handler, retValue); };\n });\n}\n//# sourceMappingURL=fromEventPattern.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromEventPattern.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/generate.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/generate.js ***! - \**************************************************************************/ -/*! exports provided: generate */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"generate\", function() { return generate; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/** PURE_IMPORTS_START _Observable,_util_identity,_util_isScheduler PURE_IMPORTS_END */\n\n\n\nfunction generate(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler) {\n var resultSelector;\n var initialState;\n if (arguments.length == 1) {\n var options = initialStateOrOptions;\n initialState = options.initialState;\n condition = options.condition;\n iterate = options.iterate;\n resultSelector = options.resultSelector || _util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"];\n scheduler = options.scheduler;\n }\n else if (resultSelectorOrObservable === undefined || Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_2__[\"isScheduler\"])(resultSelectorOrObservable)) {\n initialState = initialStateOrOptions;\n resultSelector = _util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"];\n scheduler = resultSelectorOrObservable;\n }\n else {\n initialState = initialStateOrOptions;\n resultSelector = resultSelectorOrObservable;\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var state = initialState;\n if (scheduler) {\n return scheduler.schedule(dispatch, 0, {\n subscriber: subscriber,\n iterate: iterate,\n condition: condition,\n resultSelector: resultSelector,\n state: state\n });\n }\n do {\n if (condition) {\n var conditionResult = void 0;\n try {\n conditionResult = condition(state);\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n if (!conditionResult) {\n subscriber.complete();\n break;\n }\n }\n var value = void 0;\n try {\n value = resultSelector(state);\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n subscriber.next(value);\n if (subscriber.closed) {\n break;\n }\n try {\n state = iterate(state);\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n } while (true);\n return undefined;\n });\n}\nfunction dispatch(state) {\n var subscriber = state.subscriber, condition = state.condition;\n if (subscriber.closed) {\n return undefined;\n }\n if (state.needIterate) {\n try {\n state.state = state.iterate(state.state);\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n }\n else {\n state.needIterate = true;\n }\n if (condition) {\n var conditionResult = void 0;\n try {\n conditionResult = condition(state.state);\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n if (!conditionResult) {\n subscriber.complete();\n return undefined;\n }\n if (subscriber.closed) {\n return undefined;\n }\n }\n var value;\n try {\n value = state.resultSelector(state.state);\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n if (subscriber.closed) {\n return undefined;\n }\n subscriber.next(value);\n if (subscriber.closed) {\n return undefined;\n }\n return this.schedule(state);\n}\n//# sourceMappingURL=generate.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/generate.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/iif.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/iif.js ***! - \*********************************************************************/ -/*! exports provided: iif */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"iif\", function() { return iif; });\n/* harmony import */ var _defer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defer */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/defer.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/** PURE_IMPORTS_START _defer,_empty PURE_IMPORTS_END */\n\n\nfunction iif(condition, trueResult, falseResult) {\n if (trueResult === void 0) {\n trueResult = _empty__WEBPACK_IMPORTED_MODULE_1__[\"EMPTY\"];\n }\n if (falseResult === void 0) {\n falseResult = _empty__WEBPACK_IMPORTED_MODULE_1__[\"EMPTY\"];\n }\n return Object(_defer__WEBPACK_IMPORTED_MODULE_0__[\"defer\"])(function () { return condition() ? trueResult : falseResult; });\n}\n//# sourceMappingURL=iif.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/iif.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/interval.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/interval.js ***! - \**************************************************************************/ -/*! exports provided: interval */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"interval\", function() { return interval; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _util_isNumeric__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isNumeric */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isNumeric.js\");\n/** PURE_IMPORTS_START _Observable,_scheduler_async,_util_isNumeric PURE_IMPORTS_END */\n\n\n\nfunction interval(period, scheduler) {\n if (period === void 0) {\n period = 0;\n }\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n }\n if (!Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(period) || period < 0) {\n period = 0;\n }\n if (!scheduler || typeof scheduler.schedule !== 'function') {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n subscriber.add(scheduler.schedule(dispatch, period, { subscriber: subscriber, counter: 0, period: period }));\n return subscriber;\n });\n}\nfunction dispatch(state) {\n var subscriber = state.subscriber, counter = state.counter, period = state.period;\n subscriber.next(counter);\n this.schedule({ subscriber: subscriber, counter: counter + 1, period: period }, period);\n}\n//# sourceMappingURL=interval.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/interval.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/merge.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/merge.js ***! - \***********************************************************************/ -/*! exports provided: merge */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"merge\", function() { return merge; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/* harmony import */ var _operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/mergeAll */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeAll.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fromArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromArray.js\");\n/** PURE_IMPORTS_START _Observable,_util_isScheduler,_operators_mergeAll,_fromArray PURE_IMPORTS_END */\n\n\n\n\nfunction merge() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n var concurrent = Number.POSITIVE_INFINITY;\n var scheduler = null;\n var last = observables[observables.length - 1];\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_1__[\"isScheduler\"])(last)) {\n scheduler = observables.pop();\n if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {\n concurrent = observables.pop();\n }\n }\n else if (typeof last === 'number') {\n concurrent = observables.pop();\n }\n if (scheduler === null && observables.length === 1 && observables[0] instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n return observables[0];\n }\n return Object(_operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__[\"mergeAll\"])(concurrent)(Object(_fromArray__WEBPACK_IMPORTED_MODULE_3__[\"fromArray\"])(observables, scheduler));\n}\n//# sourceMappingURL=merge.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/merge.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/never.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/never.js ***! - \***********************************************************************/ -/*! exports provided: NEVER, never */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NEVER\", function() { return NEVER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"never\", function() { return never; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/noop */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/noop.js\");\n/** PURE_IMPORTS_START _Observable,_util_noop PURE_IMPORTS_END */\n\n\nvar NEVER = /*@__PURE__*/ new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](_util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"]);\nfunction never() {\n return NEVER;\n}\n//# sourceMappingURL=never.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/never.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/of.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/of.js ***! - \********************************************************************/ -/*! exports provided: of */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"of\", function() { return of; });\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromArray.js\");\n/* harmony import */ var _scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduled/scheduleArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleArray.js\");\n/** PURE_IMPORTS_START _util_isScheduler,_fromArray,_scheduled_scheduleArray PURE_IMPORTS_END */\n\n\n\nfunction of() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var scheduler = args[args.length - 1];\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__[\"isScheduler\"])(scheduler)) {\n args.pop();\n return Object(_scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__[\"scheduleArray\"])(args, scheduler);\n }\n else {\n return Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[\"fromArray\"])(args);\n }\n}\n//# sourceMappingURL=of.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/of.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/onErrorResumeNext.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/onErrorResumeNext.js ***! - \***********************************************************************************/ -/*! exports provided: onErrorResumeNext */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function() { return onErrorResumeNext; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/** PURE_IMPORTS_START _Observable,_from,_util_isArray,_empty PURE_IMPORTS_END */\n\n\n\n\nfunction onErrorResumeNext() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n if (sources.length === 0) {\n return _empty__WEBPACK_IMPORTED_MODULE_3__[\"EMPTY\"];\n }\n var first = sources[0], remainder = sources.slice(1);\n if (sources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__[\"isArray\"])(first)) {\n return onErrorResumeNext.apply(void 0, first);\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var subNext = function () { return subscriber.add(onErrorResumeNext.apply(void 0, remainder).subscribe(subscriber)); };\n return Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(first).subscribe({\n next: function (value) { subscriber.next(value); },\n error: subNext,\n complete: subNext,\n });\n });\n}\n//# sourceMappingURL=onErrorResumeNext.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/onErrorResumeNext.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/pairs.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/pairs.js ***! - \***********************************************************************/ -/*! exports provided: pairs, dispatch */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pairs\", function() { return pairs; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dispatch\", function() { return dispatch; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/** PURE_IMPORTS_START _Observable,_Subscription PURE_IMPORTS_END */\n\n\nfunction pairs(obj, scheduler) {\n if (!scheduler) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var keys = Object.keys(obj);\n for (var i = 0; i < keys.length && !subscriber.closed; i++) {\n var key = keys[i];\n if (obj.hasOwnProperty(key)) {\n subscriber.next([key, obj[key]]);\n }\n }\n subscriber.complete();\n });\n }\n else {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var keys = Object.keys(obj);\n var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n subscription.add(scheduler.schedule(dispatch, 0, { keys: keys, index: 0, subscriber: subscriber, subscription: subscription, obj: obj }));\n return subscription;\n });\n }\n}\nfunction dispatch(state) {\n var keys = state.keys, index = state.index, subscriber = state.subscriber, subscription = state.subscription, obj = state.obj;\n if (!subscriber.closed) {\n if (index < keys.length) {\n var key = keys[index];\n subscriber.next([key, obj[key]]);\n subscription.add(this.schedule({ keys: keys, index: index + 1, subscriber: subscriber, subscription: subscription, obj: obj }));\n }\n else {\n subscriber.complete();\n }\n }\n}\n//# sourceMappingURL=pairs.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/pairs.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/partition.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/partition.js ***! - \***************************************************************************/ -/*! exports provided: partition */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"partition\", function() { return partition; });\n/* harmony import */ var _util_not__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/not */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/not.js\");\n/* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeTo */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeTo.js\");\n/* harmony import */ var _operators_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/filter */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/** PURE_IMPORTS_START _util_not,_util_subscribeTo,_operators_filter,_Observable PURE_IMPORTS_END */\n\n\n\n\nfunction partition(source, predicate, thisArg) {\n return [\n Object(_operators_filter__WEBPACK_IMPORTED_MODULE_2__[\"filter\"])(predicate, thisArg)(new _Observable__WEBPACK_IMPORTED_MODULE_3__[\"Observable\"](Object(_util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__[\"subscribeTo\"])(source))),\n Object(_operators_filter__WEBPACK_IMPORTED_MODULE_2__[\"filter\"])(Object(_util_not__WEBPACK_IMPORTED_MODULE_0__[\"not\"])(predicate, thisArg))(new _Observable__WEBPACK_IMPORTED_MODULE_3__[\"Observable\"](Object(_util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__[\"subscribeTo\"])(source)))\n ];\n}\n//# sourceMappingURL=partition.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/partition.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/race.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/race.js ***! - \**********************************************************************/ -/*! exports provided: race, RaceOperator, RaceSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"race\", function() { return race; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RaceOperator\", function() { return RaceOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RaceSubscriber\", function() { return RaceSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fromArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromArray.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../OuterSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js\");\n/** PURE_IMPORTS_START tslib,_util_isArray,_fromArray,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\n\n\n\n\n\nfunction race() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n if (observables.length === 1) {\n if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(observables[0])) {\n observables = observables[0];\n }\n else {\n return observables[0];\n }\n }\n return Object(_fromArray__WEBPACK_IMPORTED_MODULE_2__[\"fromArray\"])(observables, undefined).lift(new RaceOperator());\n}\nvar RaceOperator = /*@__PURE__*/ (function () {\n function RaceOperator() {\n }\n RaceOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new RaceSubscriber(subscriber));\n };\n return RaceOperator;\n}());\n\nvar RaceSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](RaceSubscriber, _super);\n function RaceSubscriber(destination) {\n var _this = _super.call(this, destination) || this;\n _this.hasFirst = false;\n _this.observables = [];\n _this.subscriptions = [];\n return _this;\n }\n RaceSubscriber.prototype._next = function (observable) {\n this.observables.push(observable);\n };\n RaceSubscriber.prototype._complete = function () {\n var observables = this.observables;\n var len = observables.length;\n if (len === 0) {\n this.destination.complete();\n }\n else {\n for (var i = 0; i < len && !this.hasFirst; i++) {\n var observable = observables[i];\n var subscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(this, observable, undefined, i);\n if (this.subscriptions) {\n this.subscriptions.push(subscription);\n }\n this.add(subscription);\n }\n this.observables = null;\n }\n };\n RaceSubscriber.prototype.notifyNext = function (_outerValue, innerValue, outerIndex) {\n if (!this.hasFirst) {\n this.hasFirst = true;\n for (var i = 0; i < this.subscriptions.length; i++) {\n if (i !== outerIndex) {\n var subscription = this.subscriptions[i];\n subscription.unsubscribe();\n this.remove(subscription);\n }\n }\n this.subscriptions = null;\n }\n this.destination.next(innerValue);\n };\n return RaceSubscriber;\n}(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"OuterSubscriber\"]));\n\n//# sourceMappingURL=race.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/race.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/range.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/range.js ***! - \***********************************************************************/ -/*! exports provided: range, dispatch */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"range\", function() { return range; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dispatch\", function() { return dispatch; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */\n\nfunction range(start, count, scheduler) {\n if (start === void 0) {\n start = 0;\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n if (count === undefined) {\n count = start;\n start = 0;\n }\n var index = 0;\n var current = start;\n if (scheduler) {\n return scheduler.schedule(dispatch, 0, {\n index: index, count: count, start: start, subscriber: subscriber\n });\n }\n else {\n do {\n if (index++ >= count) {\n subscriber.complete();\n break;\n }\n subscriber.next(current++);\n if (subscriber.closed) {\n break;\n }\n } while (true);\n }\n return undefined;\n });\n}\nfunction dispatch(state) {\n var start = state.start, index = state.index, count = state.count, subscriber = state.subscriber;\n if (index >= count) {\n subscriber.complete();\n return;\n }\n subscriber.next(start);\n if (subscriber.closed) {\n return;\n }\n state.index = index + 1;\n state.start = start + 1;\n this.schedule(state);\n}\n//# sourceMappingURL=range.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/range.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/throwError.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/throwError.js ***! - \****************************************************************************/ -/*! exports provided: throwError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"throwError\", function() { return throwError; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */\n\nfunction throwError(error, scheduler) {\n if (!scheduler) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) { return subscriber.error(error); });\n }\n else {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) { return scheduler.schedule(dispatch, 0, { error: error, subscriber: subscriber }); });\n }\n}\nfunction dispatch(_a) {\n var error = _a.error, subscriber = _a.subscriber;\n subscriber.error(error);\n}\n//# sourceMappingURL=throwError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/throwError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/timer.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/timer.js ***! - \***********************************************************************/ -/*! exports provided: timer */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timer\", function() { return timer; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _util_isNumeric__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isNumeric */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isNumeric.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/** PURE_IMPORTS_START _Observable,_scheduler_async,_util_isNumeric,_util_isScheduler PURE_IMPORTS_END */\n\n\n\n\nfunction timer(dueTime, periodOrScheduler, scheduler) {\n if (dueTime === void 0) {\n dueTime = 0;\n }\n var period = -1;\n if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(periodOrScheduler)) {\n period = Number(periodOrScheduler) < 1 && 1 || Number(periodOrScheduler);\n }\n else if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_3__[\"isScheduler\"])(periodOrScheduler)) {\n scheduler = periodOrScheduler;\n }\n if (!Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_3__[\"isScheduler\"])(scheduler)) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var due = Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(dueTime)\n ? dueTime\n : (+dueTime - scheduler.now());\n return scheduler.schedule(dispatch, due, {\n index: 0, period: period, subscriber: subscriber\n });\n });\n}\nfunction dispatch(state) {\n var index = state.index, period = state.period, subscriber = state.subscriber;\n subscriber.next(index);\n if (subscriber.closed) {\n return;\n }\n else if (period === -1) {\n return subscriber.complete();\n }\n state.index = index + 1;\n this.schedule(state, period);\n}\n//# sourceMappingURL=timer.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/timer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/using.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/using.js ***! - \***********************************************************************/ -/*! exports provided: using */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"using\", function() { return using; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/** PURE_IMPORTS_START _Observable,_from,_empty PURE_IMPORTS_END */\n\n\n\nfunction using(resourceFactory, observableFactory) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var resource;\n try {\n resource = resourceFactory();\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n var result;\n try {\n result = observableFactory(resource);\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n var source = result ? Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(result) : _empty__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n var subscription = source.subscribe(subscriber);\n return function () {\n subscription.unsubscribe();\n if (resource) {\n resource.unsubscribe();\n }\n };\n });\n}\n//# sourceMappingURL=using.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/using.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/observable/zip.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/observable/zip.js ***! - \*********************************************************************/ -/*! exports provided: zip, ZipOperator, ZipSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"zip\", function() { return zip; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ZipOperator\", function() { return ZipOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ZipSubscriber\", function() { return ZipSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/fromArray.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../internal/symbol/iterator */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/iterator.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_fromArray,_util_isArray,_Subscriber,_.._internal_symbol_iterator,_innerSubscribe PURE_IMPORTS_END */\n\n\n\n\n\n\nfunction zip() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n var resultSelector = observables[observables.length - 1];\n if (typeof resultSelector === 'function') {\n observables.pop();\n }\n return Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[\"fromArray\"])(observables, undefined).lift(new ZipOperator(resultSelector));\n}\nvar ZipOperator = /*@__PURE__*/ (function () {\n function ZipOperator(resultSelector) {\n this.resultSelector = resultSelector;\n }\n ZipOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new ZipSubscriber(subscriber, this.resultSelector));\n };\n return ZipOperator;\n}());\n\nvar ZipSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ZipSubscriber, _super);\n function ZipSubscriber(destination, resultSelector, values) {\n if (values === void 0) {\n values = Object.create(null);\n }\n var _this = _super.call(this, destination) || this;\n _this.resultSelector = resultSelector;\n _this.iterators = [];\n _this.active = 0;\n _this.resultSelector = (typeof resultSelector === 'function') ? resultSelector : undefined;\n return _this;\n }\n ZipSubscriber.prototype._next = function (value) {\n var iterators = this.iterators;\n if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__[\"isArray\"])(value)) {\n iterators.push(new StaticArrayIterator(value));\n }\n else if (typeof value[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_4__[\"iterator\"]] === 'function') {\n iterators.push(new StaticIterator(value[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_4__[\"iterator\"]]()));\n }\n else {\n iterators.push(new ZipBufferIterator(this.destination, this, value));\n }\n };\n ZipSubscriber.prototype._complete = function () {\n var iterators = this.iterators;\n var len = iterators.length;\n this.unsubscribe();\n if (len === 0) {\n this.destination.complete();\n return;\n }\n this.active = len;\n for (var i = 0; i < len; i++) {\n var iterator = iterators[i];\n if (iterator.stillUnsubscribed) {\n var destination = this.destination;\n destination.add(iterator.subscribe());\n }\n else {\n this.active--;\n }\n }\n };\n ZipSubscriber.prototype.notifyInactive = function () {\n this.active--;\n if (this.active === 0) {\n this.destination.complete();\n }\n };\n ZipSubscriber.prototype.checkIterators = function () {\n var iterators = this.iterators;\n var len = iterators.length;\n var destination = this.destination;\n for (var i = 0; i < len; i++) {\n var iterator = iterators[i];\n if (typeof iterator.hasValue === 'function' && !iterator.hasValue()) {\n return;\n }\n }\n var shouldComplete = false;\n var args = [];\n for (var i = 0; i < len; i++) {\n var iterator = iterators[i];\n var result = iterator.next();\n if (iterator.hasCompleted()) {\n shouldComplete = true;\n }\n if (result.done) {\n destination.complete();\n return;\n }\n args.push(result.value);\n }\n if (this.resultSelector) {\n this._tryresultSelector(args);\n }\n else {\n destination.next(args);\n }\n if (shouldComplete) {\n destination.complete();\n }\n };\n ZipSubscriber.prototype._tryresultSelector = function (args) {\n var result;\n try {\n result = this.resultSelector.apply(this, args);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n };\n return ZipSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_3__[\"Subscriber\"]));\n\nvar StaticIterator = /*@__PURE__*/ (function () {\n function StaticIterator(iterator) {\n this.iterator = iterator;\n this.nextResult = iterator.next();\n }\n StaticIterator.prototype.hasValue = function () {\n return true;\n };\n StaticIterator.prototype.next = function () {\n var result = this.nextResult;\n this.nextResult = this.iterator.next();\n return result;\n };\n StaticIterator.prototype.hasCompleted = function () {\n var nextResult = this.nextResult;\n return Boolean(nextResult && nextResult.done);\n };\n return StaticIterator;\n}());\nvar StaticArrayIterator = /*@__PURE__*/ (function () {\n function StaticArrayIterator(array) {\n this.array = array;\n this.index = 0;\n this.length = 0;\n this.length = array.length;\n }\n StaticArrayIterator.prototype[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_4__[\"iterator\"]] = function () {\n return this;\n };\n StaticArrayIterator.prototype.next = function (value) {\n var i = this.index++;\n var array = this.array;\n return i < this.length ? { value: array[i], done: false } : { value: null, done: true };\n };\n StaticArrayIterator.prototype.hasValue = function () {\n return this.array.length > this.index;\n };\n StaticArrayIterator.prototype.hasCompleted = function () {\n return this.array.length === this.index;\n };\n return StaticArrayIterator;\n}());\nvar ZipBufferIterator = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ZipBufferIterator, _super);\n function ZipBufferIterator(destination, parent, observable) {\n var _this = _super.call(this, destination) || this;\n _this.parent = parent;\n _this.observable = observable;\n _this.stillUnsubscribed = true;\n _this.buffer = [];\n _this.isComplete = false;\n return _this;\n }\n ZipBufferIterator.prototype[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_4__[\"iterator\"]] = function () {\n return this;\n };\n ZipBufferIterator.prototype.next = function () {\n var buffer = this.buffer;\n if (buffer.length === 0 && this.isComplete) {\n return { value: null, done: true };\n }\n else {\n return { value: buffer.shift(), done: false };\n }\n };\n ZipBufferIterator.prototype.hasValue = function () {\n return this.buffer.length > 0;\n };\n ZipBufferIterator.prototype.hasCompleted = function () {\n return this.buffer.length === 0 && this.isComplete;\n };\n ZipBufferIterator.prototype.notifyComplete = function () {\n if (this.buffer.length > 0) {\n this.isComplete = true;\n this.parent.notifyInactive();\n }\n else {\n this.destination.complete();\n }\n };\n ZipBufferIterator.prototype.notifyNext = function (innerValue) {\n this.buffer.push(innerValue);\n this.parent.checkIterators();\n };\n ZipBufferIterator.prototype.subscribe = function () {\n return Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_5__[\"innerSubscribe\"])(this.observable, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_5__[\"SimpleInnerSubscriber\"](this));\n };\n return ZipBufferIterator;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_5__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=zip.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/observable/zip.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/audit.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/audit.js ***! - \**********************************************************************/ -/*! exports provided: audit */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"audit\", function() { return audit; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction audit(durationSelector) {\n return function auditOperatorFunction(source) {\n return source.lift(new AuditOperator(durationSelector));\n };\n}\nvar AuditOperator = /*@__PURE__*/ (function () {\n function AuditOperator(durationSelector) {\n this.durationSelector = durationSelector;\n }\n AuditOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector));\n };\n return AuditOperator;\n}());\nvar AuditSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AuditSubscriber, _super);\n function AuditSubscriber(destination, durationSelector) {\n var _this = _super.call(this, destination) || this;\n _this.durationSelector = durationSelector;\n _this.hasValue = false;\n return _this;\n }\n AuditSubscriber.prototype._next = function (value) {\n this.value = value;\n this.hasValue = true;\n if (!this.throttled) {\n var duration = void 0;\n try {\n var durationSelector = this.durationSelector;\n duration = durationSelector(value);\n }\n catch (err) {\n return this.destination.error(err);\n }\n var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(duration, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](this));\n if (!innerSubscription || innerSubscription.closed) {\n this.clearThrottle();\n }\n else {\n this.add(this.throttled = innerSubscription);\n }\n }\n };\n AuditSubscriber.prototype.clearThrottle = function () {\n var _a = this, value = _a.value, hasValue = _a.hasValue, throttled = _a.throttled;\n if (throttled) {\n this.remove(throttled);\n this.throttled = undefined;\n throttled.unsubscribe();\n }\n if (hasValue) {\n this.value = undefined;\n this.hasValue = false;\n this.destination.next(value);\n }\n };\n AuditSubscriber.prototype.notifyNext = function () {\n this.clearThrottle();\n };\n AuditSubscriber.prototype.notifyComplete = function () {\n this.clearThrottle();\n };\n return AuditSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=audit.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/audit.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/auditTime.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/auditTime.js ***! - \**************************************************************************/ -/*! exports provided: auditTime */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"auditTime\", function() { return auditTime; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _audit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./audit */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/audit.js\");\n/* harmony import */ var _observable_timer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/timer */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/timer.js\");\n/** PURE_IMPORTS_START _scheduler_async,_audit,_observable_timer PURE_IMPORTS_END */\n\n\n\nfunction auditTime(duration, scheduler) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n }\n return Object(_audit__WEBPACK_IMPORTED_MODULE_1__[\"audit\"])(function () { return Object(_observable_timer__WEBPACK_IMPORTED_MODULE_2__[\"timer\"])(duration, scheduler); });\n}\n//# sourceMappingURL=auditTime.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/auditTime.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/buffer.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/buffer.js ***! - \***********************************************************************/ -/*! exports provided: buffer */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"buffer\", function() { return buffer; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction buffer(closingNotifier) {\n return function bufferOperatorFunction(source) {\n return source.lift(new BufferOperator(closingNotifier));\n };\n}\nvar BufferOperator = /*@__PURE__*/ (function () {\n function BufferOperator(closingNotifier) {\n this.closingNotifier = closingNotifier;\n }\n BufferOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));\n };\n return BufferOperator;\n}());\nvar BufferSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](BufferSubscriber, _super);\n function BufferSubscriber(destination, closingNotifier) {\n var _this = _super.call(this, destination) || this;\n _this.buffer = [];\n _this.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(closingNotifier, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](_this)));\n return _this;\n }\n BufferSubscriber.prototype._next = function (value) {\n this.buffer.push(value);\n };\n BufferSubscriber.prototype.notifyNext = function () {\n var buffer = this.buffer;\n this.buffer = [];\n this.destination.next(buffer);\n };\n return BufferSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=buffer.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/buffer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferCount.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferCount.js ***! - \****************************************************************************/ -/*! exports provided: bufferCount */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bufferCount\", function() { return bufferCount; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction bufferCount(bufferSize, startBufferEvery) {\n if (startBufferEvery === void 0) {\n startBufferEvery = null;\n }\n return function bufferCountOperatorFunction(source) {\n return source.lift(new BufferCountOperator(bufferSize, startBufferEvery));\n };\n}\nvar BufferCountOperator = /*@__PURE__*/ (function () {\n function BufferCountOperator(bufferSize, startBufferEvery) {\n this.bufferSize = bufferSize;\n this.startBufferEvery = startBufferEvery;\n if (!startBufferEvery || bufferSize === startBufferEvery) {\n this.subscriberClass = BufferCountSubscriber;\n }\n else {\n this.subscriberClass = BufferSkipCountSubscriber;\n }\n }\n BufferCountOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new this.subscriberClass(subscriber, this.bufferSize, this.startBufferEvery));\n };\n return BufferCountOperator;\n}());\nvar BufferCountSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](BufferCountSubscriber, _super);\n function BufferCountSubscriber(destination, bufferSize) {\n var _this = _super.call(this, destination) || this;\n _this.bufferSize = bufferSize;\n _this.buffer = [];\n return _this;\n }\n BufferCountSubscriber.prototype._next = function (value) {\n var buffer = this.buffer;\n buffer.push(value);\n if (buffer.length == this.bufferSize) {\n this.destination.next(buffer);\n this.buffer = [];\n }\n };\n BufferCountSubscriber.prototype._complete = function () {\n var buffer = this.buffer;\n if (buffer.length > 0) {\n this.destination.next(buffer);\n }\n _super.prototype._complete.call(this);\n };\n return BufferCountSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\nvar BufferSkipCountSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](BufferSkipCountSubscriber, _super);\n function BufferSkipCountSubscriber(destination, bufferSize, startBufferEvery) {\n var _this = _super.call(this, destination) || this;\n _this.bufferSize = bufferSize;\n _this.startBufferEvery = startBufferEvery;\n _this.buffers = [];\n _this.count = 0;\n return _this;\n }\n BufferSkipCountSubscriber.prototype._next = function (value) {\n var _a = this, bufferSize = _a.bufferSize, startBufferEvery = _a.startBufferEvery, buffers = _a.buffers, count = _a.count;\n this.count++;\n if (count % startBufferEvery === 0) {\n buffers.push([]);\n }\n for (var i = buffers.length; i--;) {\n var buffer = buffers[i];\n buffer.push(value);\n if (buffer.length === bufferSize) {\n buffers.splice(i, 1);\n this.destination.next(buffer);\n }\n }\n };\n BufferSkipCountSubscriber.prototype._complete = function () {\n var _a = this, buffers = _a.buffers, destination = _a.destination;\n while (buffers.length > 0) {\n var buffer = buffers.shift();\n if (buffer.length > 0) {\n destination.next(buffer);\n }\n }\n _super.prototype._complete.call(this);\n };\n return BufferSkipCountSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=bufferCount.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferCount.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferTime.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferTime.js ***! - \***************************************************************************/ -/*! exports provided: bufferTime */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bufferTime\", function() { return bufferTime; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/** PURE_IMPORTS_START tslib,_scheduler_async,_Subscriber,_util_isScheduler PURE_IMPORTS_END */\n\n\n\n\nfunction bufferTime(bufferTimeSpan) {\n var length = arguments.length;\n var scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_3__[\"isScheduler\"])(arguments[arguments.length - 1])) {\n scheduler = arguments[arguments.length - 1];\n length--;\n }\n var bufferCreationInterval = null;\n if (length >= 2) {\n bufferCreationInterval = arguments[1];\n }\n var maxBufferSize = Number.POSITIVE_INFINITY;\n if (length >= 3) {\n maxBufferSize = arguments[2];\n }\n return function bufferTimeOperatorFunction(source) {\n return source.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler));\n };\n}\nvar BufferTimeOperator = /*@__PURE__*/ (function () {\n function BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {\n this.bufferTimeSpan = bufferTimeSpan;\n this.bufferCreationInterval = bufferCreationInterval;\n this.maxBufferSize = maxBufferSize;\n this.scheduler = scheduler;\n }\n BufferTimeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler));\n };\n return BufferTimeOperator;\n}());\nvar Context = /*@__PURE__*/ (function () {\n function Context() {\n this.buffer = [];\n }\n return Context;\n}());\nvar BufferTimeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](BufferTimeSubscriber, _super);\n function BufferTimeSubscriber(destination, bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {\n var _this = _super.call(this, destination) || this;\n _this.bufferTimeSpan = bufferTimeSpan;\n _this.bufferCreationInterval = bufferCreationInterval;\n _this.maxBufferSize = maxBufferSize;\n _this.scheduler = scheduler;\n _this.contexts = [];\n var context = _this.openContext();\n _this.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0;\n if (_this.timespanOnly) {\n var timeSpanOnlyState = { subscriber: _this, context: context, bufferTimeSpan: bufferTimeSpan };\n _this.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));\n }\n else {\n var closeState = { subscriber: _this, context: context };\n var creationState = { bufferTimeSpan: bufferTimeSpan, bufferCreationInterval: bufferCreationInterval, subscriber: _this, scheduler: scheduler };\n _this.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState));\n _this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState));\n }\n return _this;\n }\n BufferTimeSubscriber.prototype._next = function (value) {\n var contexts = this.contexts;\n var len = contexts.length;\n var filledBufferContext;\n for (var i = 0; i < len; i++) {\n var context_1 = contexts[i];\n var buffer = context_1.buffer;\n buffer.push(value);\n if (buffer.length == this.maxBufferSize) {\n filledBufferContext = context_1;\n }\n }\n if (filledBufferContext) {\n this.onBufferFull(filledBufferContext);\n }\n };\n BufferTimeSubscriber.prototype._error = function (err) {\n this.contexts.length = 0;\n _super.prototype._error.call(this, err);\n };\n BufferTimeSubscriber.prototype._complete = function () {\n var _a = this, contexts = _a.contexts, destination = _a.destination;\n while (contexts.length > 0) {\n var context_2 = contexts.shift();\n destination.next(context_2.buffer);\n }\n _super.prototype._complete.call(this);\n };\n BufferTimeSubscriber.prototype._unsubscribe = function () {\n this.contexts = null;\n };\n BufferTimeSubscriber.prototype.onBufferFull = function (context) {\n this.closeContext(context);\n var closeAction = context.closeAction;\n closeAction.unsubscribe();\n this.remove(closeAction);\n if (!this.closed && this.timespanOnly) {\n context = this.openContext();\n var bufferTimeSpan = this.bufferTimeSpan;\n var timeSpanOnlyState = { subscriber: this, context: context, bufferTimeSpan: bufferTimeSpan };\n this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));\n }\n };\n BufferTimeSubscriber.prototype.openContext = function () {\n var context = new Context();\n this.contexts.push(context);\n return context;\n };\n BufferTimeSubscriber.prototype.closeContext = function (context) {\n this.destination.next(context.buffer);\n var contexts = this.contexts;\n var spliceIndex = contexts ? contexts.indexOf(context) : -1;\n if (spliceIndex >= 0) {\n contexts.splice(contexts.indexOf(context), 1);\n }\n };\n return BufferTimeSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"]));\nfunction dispatchBufferTimeSpanOnly(state) {\n var subscriber = state.subscriber;\n var prevContext = state.context;\n if (prevContext) {\n subscriber.closeContext(prevContext);\n }\n if (!subscriber.closed) {\n state.context = subscriber.openContext();\n state.context.closeAction = this.schedule(state, state.bufferTimeSpan);\n }\n}\nfunction dispatchBufferCreation(state) {\n var bufferCreationInterval = state.bufferCreationInterval, bufferTimeSpan = state.bufferTimeSpan, subscriber = state.subscriber, scheduler = state.scheduler;\n var context = subscriber.openContext();\n var action = this;\n if (!subscriber.closed) {\n subscriber.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, { subscriber: subscriber, context: context }));\n action.schedule(state, bufferCreationInterval);\n }\n}\nfunction dispatchBufferClose(arg) {\n var subscriber = arg.subscriber, context = arg.context;\n subscriber.closeContext(context);\n}\n//# sourceMappingURL=bufferTime.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferTime.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js ***! - \*****************************************************************************/ -/*! exports provided: bufferToggle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bufferToggle\", function() { return bufferToggle; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../OuterSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscription,_util_subscribeToResult,_OuterSubscriber PURE_IMPORTS_END */\n\n\n\n\nfunction bufferToggle(openings, closingSelector) {\n return function bufferToggleOperatorFunction(source) {\n return source.lift(new BufferToggleOperator(openings, closingSelector));\n };\n}\nvar BufferToggleOperator = /*@__PURE__*/ (function () {\n function BufferToggleOperator(openings, closingSelector) {\n this.openings = openings;\n this.closingSelector = closingSelector;\n }\n BufferToggleOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector));\n };\n return BufferToggleOperator;\n}());\nvar BufferToggleSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](BufferToggleSubscriber, _super);\n function BufferToggleSubscriber(destination, openings, closingSelector) {\n var _this = _super.call(this, destination) || this;\n _this.closingSelector = closingSelector;\n _this.contexts = [];\n _this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(_this, openings));\n return _this;\n }\n BufferToggleSubscriber.prototype._next = function (value) {\n var contexts = this.contexts;\n var len = contexts.length;\n for (var i = 0; i < len; i++) {\n contexts[i].buffer.push(value);\n }\n };\n BufferToggleSubscriber.prototype._error = function (err) {\n var contexts = this.contexts;\n while (contexts.length > 0) {\n var context_1 = contexts.shift();\n context_1.subscription.unsubscribe();\n context_1.buffer = null;\n context_1.subscription = null;\n }\n this.contexts = null;\n _super.prototype._error.call(this, err);\n };\n BufferToggleSubscriber.prototype._complete = function () {\n var contexts = this.contexts;\n while (contexts.length > 0) {\n var context_2 = contexts.shift();\n this.destination.next(context_2.buffer);\n context_2.subscription.unsubscribe();\n context_2.buffer = null;\n context_2.subscription = null;\n }\n this.contexts = null;\n _super.prototype._complete.call(this);\n };\n BufferToggleSubscriber.prototype.notifyNext = function (outerValue, innerValue) {\n outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue);\n };\n BufferToggleSubscriber.prototype.notifyComplete = function (innerSub) {\n this.closeBuffer(innerSub.context);\n };\n BufferToggleSubscriber.prototype.openBuffer = function (value) {\n try {\n var closingSelector = this.closingSelector;\n var closingNotifier = closingSelector.call(this, value);\n if (closingNotifier) {\n this.trySubscribe(closingNotifier);\n }\n }\n catch (err) {\n this._error(err);\n }\n };\n BufferToggleSubscriber.prototype.closeBuffer = function (context) {\n var contexts = this.contexts;\n if (contexts && context) {\n var buffer = context.buffer, subscription = context.subscription;\n this.destination.next(buffer);\n contexts.splice(contexts.indexOf(context), 1);\n this.remove(subscription);\n subscription.unsubscribe();\n }\n };\n BufferToggleSubscriber.prototype.trySubscribe = function (closingNotifier) {\n var contexts = this.contexts;\n var buffer = [];\n var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n var context = { buffer: buffer, subscription: subscription };\n contexts.push(context);\n var innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, closingNotifier, context);\n if (!innerSubscription || innerSubscription.closed) {\n this.closeBuffer(context);\n }\n else {\n innerSubscription.context = context;\n this.add(innerSubscription);\n subscription.add(innerSubscription);\n }\n };\n return BufferToggleSubscriber;\n}(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"OuterSubscriber\"]));\n//# sourceMappingURL=bufferToggle.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js ***! - \***************************************************************************/ -/*! exports provided: bufferWhen */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bufferWhen\", function() { return bufferWhen; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_Subscription,_innerSubscribe PURE_IMPORTS_END */\n\n\n\nfunction bufferWhen(closingSelector) {\n return function (source) {\n return source.lift(new BufferWhenOperator(closingSelector));\n };\n}\nvar BufferWhenOperator = /*@__PURE__*/ (function () {\n function BufferWhenOperator(closingSelector) {\n this.closingSelector = closingSelector;\n }\n BufferWhenOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector));\n };\n return BufferWhenOperator;\n}());\nvar BufferWhenSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](BufferWhenSubscriber, _super);\n function BufferWhenSubscriber(destination, closingSelector) {\n var _this = _super.call(this, destination) || this;\n _this.closingSelector = closingSelector;\n _this.subscribing = false;\n _this.openBuffer();\n return _this;\n }\n BufferWhenSubscriber.prototype._next = function (value) {\n this.buffer.push(value);\n };\n BufferWhenSubscriber.prototype._complete = function () {\n var buffer = this.buffer;\n if (buffer) {\n this.destination.next(buffer);\n }\n _super.prototype._complete.call(this);\n };\n BufferWhenSubscriber.prototype._unsubscribe = function () {\n this.buffer = undefined;\n this.subscribing = false;\n };\n BufferWhenSubscriber.prototype.notifyNext = function () {\n this.openBuffer();\n };\n BufferWhenSubscriber.prototype.notifyComplete = function () {\n if (this.subscribing) {\n this.complete();\n }\n else {\n this.openBuffer();\n }\n };\n BufferWhenSubscriber.prototype.openBuffer = function () {\n var closingSubscription = this.closingSubscription;\n if (closingSubscription) {\n this.remove(closingSubscription);\n closingSubscription.unsubscribe();\n }\n var buffer = this.buffer;\n if (this.buffer) {\n this.destination.next(buffer);\n }\n this.buffer = [];\n var closingNotifier;\n try {\n var closingSelector = this.closingSelector;\n closingNotifier = closingSelector();\n }\n catch (err) {\n return this.error(err);\n }\n closingSubscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n this.closingSubscription = closingSubscription;\n this.add(closingSubscription);\n this.subscribing = true;\n closingSubscription.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"innerSubscribe\"])(closingNotifier, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"SimpleInnerSubscriber\"](this)));\n this.subscribing = false;\n };\n return BufferWhenSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=bufferWhen.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/catchError.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/catchError.js ***! - \***************************************************************************/ -/*! exports provided: catchError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"catchError\", function() { return catchError; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction catchError(selector) {\n return function catchErrorOperatorFunction(source) {\n var operator = new CatchOperator(selector);\n var caught = source.lift(operator);\n return (operator.caught = caught);\n };\n}\nvar CatchOperator = /*@__PURE__*/ (function () {\n function CatchOperator(selector) {\n this.selector = selector;\n }\n CatchOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n };\n return CatchOperator;\n}());\nvar CatchSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](CatchSubscriber, _super);\n function CatchSubscriber(destination, selector, caught) {\n var _this = _super.call(this, destination) || this;\n _this.selector = selector;\n _this.caught = caught;\n return _this;\n }\n CatchSubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var result = void 0;\n try {\n result = this.selector(err, this.caught);\n }\n catch (err2) {\n _super.prototype.error.call(this, err2);\n return;\n }\n this._unsubscribeAndRecycle();\n var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](this);\n this.add(innerSubscriber);\n var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(result, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n this.add(innerSubscription);\n }\n }\n };\n return CatchSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=catchError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/catchError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/combineAll.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/combineAll.js ***! - \***************************************************************************/ -/*! exports provided: combineAll */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineAll\", function() { return combineAll; });\n/* harmony import */ var _observable_combineLatest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/combineLatest */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/combineLatest.js\");\n/** PURE_IMPORTS_START _observable_combineLatest PURE_IMPORTS_END */\n\nfunction combineAll(project) {\n return function (source) { return source.lift(new _observable_combineLatest__WEBPACK_IMPORTED_MODULE_0__[\"CombineLatestOperator\"](project)); };\n}\n//# sourceMappingURL=combineAll.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/combineAll.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/combineLatest.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/combineLatest.js ***! - \******************************************************************************/ -/*! exports provided: combineLatest */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineLatest\", function() { return combineLatest; });\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _observable_combineLatest__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/combineLatest */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/combineLatest.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/** PURE_IMPORTS_START _util_isArray,_observable_combineLatest,_observable_from PURE_IMPORTS_END */\n\n\n\nvar none = {};\nfunction combineLatest() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n var project = null;\n if (typeof observables[observables.length - 1] === 'function') {\n project = observables.pop();\n }\n if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(observables[0])) {\n observables = observables[0].slice();\n }\n return function (source) { return source.lift.call(Object(_observable_from__WEBPACK_IMPORTED_MODULE_2__[\"from\"])([source].concat(observables)), new _observable_combineLatest__WEBPACK_IMPORTED_MODULE_1__[\"CombineLatestOperator\"](project)); };\n}\n//# sourceMappingURL=combineLatest.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/combineLatest.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/concat.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/concat.js ***! - \***********************************************************************/ -/*! exports provided: concat */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concat\", function() { return concat; });\n/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/concat */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/concat.js\");\n/** PURE_IMPORTS_START _observable_concat PURE_IMPORTS_END */\n\nfunction concat() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n return function (source) { return source.lift.call(_observable_concat__WEBPACK_IMPORTED_MODULE_0__[\"concat\"].apply(void 0, [source].concat(observables))); };\n}\n//# sourceMappingURL=concat.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/concat.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatAll.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatAll.js ***! - \**************************************************************************/ -/*! exports provided: concatAll */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concatAll\", function() { return concatAll; });\n/* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeAll */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeAll.js\");\n/** PURE_IMPORTS_START _mergeAll PURE_IMPORTS_END */\n\nfunction concatAll() {\n return Object(_mergeAll__WEBPACK_IMPORTED_MODULE_0__[\"mergeAll\"])(1);\n}\n//# sourceMappingURL=concatAll.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatAll.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMap.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMap.js ***! - \**************************************************************************/ -/*! exports provided: concatMap */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concatMap\", function() { return concatMap; });\n/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMap.js\");\n/** PURE_IMPORTS_START _mergeMap PURE_IMPORTS_END */\n\nfunction concatMap(project, resultSelector) {\n return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(project, resultSelector, 1);\n}\n//# sourceMappingURL=concatMap.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMap.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMapTo.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMapTo.js ***! - \****************************************************************************/ -/*! exports provided: concatMapTo */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concatMapTo\", function() { return concatMapTo; });\n/* harmony import */ var _concatMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./concatMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMap.js\");\n/** PURE_IMPORTS_START _concatMap PURE_IMPORTS_END */\n\nfunction concatMapTo(innerObservable, resultSelector) {\n return Object(_concatMap__WEBPACK_IMPORTED_MODULE_0__[\"concatMap\"])(function () { return innerObservable; }, resultSelector);\n}\n//# sourceMappingURL=concatMapTo.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMapTo.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/count.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/count.js ***! - \**********************************************************************/ -/*! exports provided: count */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"count\", function() { return count; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction count(predicate) {\n return function (source) { return source.lift(new CountOperator(predicate, source)); };\n}\nvar CountOperator = /*@__PURE__*/ (function () {\n function CountOperator(predicate, source) {\n this.predicate = predicate;\n this.source = source;\n }\n CountOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source));\n };\n return CountOperator;\n}());\nvar CountSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](CountSubscriber, _super);\n function CountSubscriber(destination, predicate, source) {\n var _this = _super.call(this, destination) || this;\n _this.predicate = predicate;\n _this.source = source;\n _this.count = 0;\n _this.index = 0;\n return _this;\n }\n CountSubscriber.prototype._next = function (value) {\n if (this.predicate) {\n this._tryPredicate(value);\n }\n else {\n this.count++;\n }\n };\n CountSubscriber.prototype._tryPredicate = function (value) {\n var result;\n try {\n result = this.predicate(value, this.index++, this.source);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n if (result) {\n this.count++;\n }\n };\n CountSubscriber.prototype._complete = function () {\n this.destination.next(this.count);\n this.destination.complete();\n };\n return CountSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=count.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/count.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/debounce.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/debounce.js ***! - \*************************************************************************/ -/*! exports provided: debounce */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"debounce\", function() { return debounce; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction debounce(durationSelector) {\n return function (source) { return source.lift(new DebounceOperator(durationSelector)); };\n}\nvar DebounceOperator = /*@__PURE__*/ (function () {\n function DebounceOperator(durationSelector) {\n this.durationSelector = durationSelector;\n }\n DebounceOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector));\n };\n return DebounceOperator;\n}());\nvar DebounceSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](DebounceSubscriber, _super);\n function DebounceSubscriber(destination, durationSelector) {\n var _this = _super.call(this, destination) || this;\n _this.durationSelector = durationSelector;\n _this.hasValue = false;\n return _this;\n }\n DebounceSubscriber.prototype._next = function (value) {\n try {\n var result = this.durationSelector.call(this, value);\n if (result) {\n this._tryNext(value, result);\n }\n }\n catch (err) {\n this.destination.error(err);\n }\n };\n DebounceSubscriber.prototype._complete = function () {\n this.emitValue();\n this.destination.complete();\n };\n DebounceSubscriber.prototype._tryNext = function (value, duration) {\n var subscription = this.durationSubscription;\n this.value = value;\n this.hasValue = true;\n if (subscription) {\n subscription.unsubscribe();\n this.remove(subscription);\n }\n subscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(duration, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](this));\n if (subscription && !subscription.closed) {\n this.add(this.durationSubscription = subscription);\n }\n };\n DebounceSubscriber.prototype.notifyNext = function () {\n this.emitValue();\n };\n DebounceSubscriber.prototype.notifyComplete = function () {\n this.emitValue();\n };\n DebounceSubscriber.prototype.emitValue = function () {\n if (this.hasValue) {\n var value = this.value;\n var subscription = this.durationSubscription;\n if (subscription) {\n this.durationSubscription = undefined;\n subscription.unsubscribe();\n this.remove(subscription);\n }\n this.value = undefined;\n this.hasValue = false;\n _super.prototype._next.call(this, value);\n }\n };\n return DebounceSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=debounce.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/debounce.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/debounceTime.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/debounceTime.js ***! - \*****************************************************************************/ -/*! exports provided: debounceTime */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"debounceTime\", function() { return debounceTime; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_scheduler_async PURE_IMPORTS_END */\n\n\n\nfunction debounceTime(dueTime, scheduler) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_2__[\"async\"];\n }\n return function (source) { return source.lift(new DebounceTimeOperator(dueTime, scheduler)); };\n}\nvar DebounceTimeOperator = /*@__PURE__*/ (function () {\n function DebounceTimeOperator(dueTime, scheduler) {\n this.dueTime = dueTime;\n this.scheduler = scheduler;\n }\n DebounceTimeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));\n };\n return DebounceTimeOperator;\n}());\nvar DebounceTimeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](DebounceTimeSubscriber, _super);\n function DebounceTimeSubscriber(destination, dueTime, scheduler) {\n var _this = _super.call(this, destination) || this;\n _this.dueTime = dueTime;\n _this.scheduler = scheduler;\n _this.debouncedSubscription = null;\n _this.lastValue = null;\n _this.hasValue = false;\n return _this;\n }\n DebounceTimeSubscriber.prototype._next = function (value) {\n this.clearDebounce();\n this.lastValue = value;\n this.hasValue = true;\n this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));\n };\n DebounceTimeSubscriber.prototype._complete = function () {\n this.debouncedNext();\n this.destination.complete();\n };\n DebounceTimeSubscriber.prototype.debouncedNext = function () {\n this.clearDebounce();\n if (this.hasValue) {\n var lastValue = this.lastValue;\n this.lastValue = null;\n this.hasValue = false;\n this.destination.next(lastValue);\n }\n };\n DebounceTimeSubscriber.prototype.clearDebounce = function () {\n var debouncedSubscription = this.debouncedSubscription;\n if (debouncedSubscription !== null) {\n this.remove(debouncedSubscription);\n debouncedSubscription.unsubscribe();\n this.debouncedSubscription = null;\n }\n };\n return DebounceTimeSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\nfunction dispatchNext(subscriber) {\n subscriber.debouncedNext();\n}\n//# sourceMappingURL=debounceTime.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/debounceTime.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js ***! - \*******************************************************************************/ -/*! exports provided: defaultIfEmpty */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultIfEmpty\", function() { return defaultIfEmpty; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction defaultIfEmpty(defaultValue) {\n if (defaultValue === void 0) {\n defaultValue = null;\n }\n return function (source) { return source.lift(new DefaultIfEmptyOperator(defaultValue)); };\n}\nvar DefaultIfEmptyOperator = /*@__PURE__*/ (function () {\n function DefaultIfEmptyOperator(defaultValue) {\n this.defaultValue = defaultValue;\n }\n DefaultIfEmptyOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));\n };\n return DefaultIfEmptyOperator;\n}());\nvar DefaultIfEmptySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](DefaultIfEmptySubscriber, _super);\n function DefaultIfEmptySubscriber(destination, defaultValue) {\n var _this = _super.call(this, destination) || this;\n _this.defaultValue = defaultValue;\n _this.isEmpty = true;\n return _this;\n }\n DefaultIfEmptySubscriber.prototype._next = function (value) {\n this.isEmpty = false;\n this.destination.next(value);\n };\n DefaultIfEmptySubscriber.prototype._complete = function () {\n if (this.isEmpty) {\n this.destination.next(this.defaultValue);\n }\n this.destination.complete();\n };\n return DefaultIfEmptySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=defaultIfEmpty.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/delay.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/delay.js ***! - \**********************************************************************/ -/*! exports provided: delay */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"delay\", function() { return delay; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _util_isDate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isDate */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isDate.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Notification__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Notification */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Notification.js\");\n/** PURE_IMPORTS_START tslib,_scheduler_async,_util_isDate,_Subscriber,_Notification PURE_IMPORTS_END */\n\n\n\n\n\nfunction delay(delay, scheduler) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n }\n var absoluteDelay = Object(_util_isDate__WEBPACK_IMPORTED_MODULE_2__[\"isDate\"])(delay);\n var delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);\n return function (source) { return source.lift(new DelayOperator(delayFor, scheduler)); };\n}\nvar DelayOperator = /*@__PURE__*/ (function () {\n function DelayOperator(delay, scheduler) {\n this.delay = delay;\n this.scheduler = scheduler;\n }\n DelayOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));\n };\n return DelayOperator;\n}());\nvar DelaySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](DelaySubscriber, _super);\n function DelaySubscriber(destination, delay, scheduler) {\n var _this = _super.call(this, destination) || this;\n _this.delay = delay;\n _this.scheduler = scheduler;\n _this.queue = [];\n _this.active = false;\n _this.errored = false;\n return _this;\n }\n DelaySubscriber.dispatch = function (state) {\n var source = state.source;\n var queue = source.queue;\n var scheduler = state.scheduler;\n var destination = state.destination;\n while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {\n queue.shift().notification.observe(destination);\n }\n if (queue.length > 0) {\n var delay_1 = Math.max(0, queue[0].time - scheduler.now());\n this.schedule(state, delay_1);\n }\n else {\n this.unsubscribe();\n source.active = false;\n }\n };\n DelaySubscriber.prototype._schedule = function (scheduler) {\n this.active = true;\n var destination = this.destination;\n destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {\n source: this, destination: this.destination, scheduler: scheduler\n }));\n };\n DelaySubscriber.prototype.scheduleNotification = function (notification) {\n if (this.errored === true) {\n return;\n }\n var scheduler = this.scheduler;\n var message = new DelayMessage(scheduler.now() + this.delay, notification);\n this.queue.push(message);\n if (this.active === false) {\n this._schedule(scheduler);\n }\n };\n DelaySubscriber.prototype._next = function (value) {\n this.scheduleNotification(_Notification__WEBPACK_IMPORTED_MODULE_4__[\"Notification\"].createNext(value));\n };\n DelaySubscriber.prototype._error = function (err) {\n this.errored = true;\n this.queue = [];\n this.destination.error(err);\n this.unsubscribe();\n };\n DelaySubscriber.prototype._complete = function () {\n this.scheduleNotification(_Notification__WEBPACK_IMPORTED_MODULE_4__[\"Notification\"].createComplete());\n this.unsubscribe();\n };\n return DelaySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_3__[\"Subscriber\"]));\nvar DelayMessage = /*@__PURE__*/ (function () {\n function DelayMessage(time, notification) {\n this.time = time;\n this.notification = notification;\n }\n return DelayMessage;\n}());\n//# sourceMappingURL=delay.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/delay.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/delayWhen.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/delayWhen.js ***! - \**************************************************************************/ -/*! exports provided: delayWhen */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"delayWhen\", function() { return delayWhen; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../OuterSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_Observable,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\n\n\n\n\n\nfunction delayWhen(delayDurationSelector, subscriptionDelay) {\n if (subscriptionDelay) {\n return function (source) {\n return new SubscriptionDelayObservable(source, subscriptionDelay)\n .lift(new DelayWhenOperator(delayDurationSelector));\n };\n }\n return function (source) { return source.lift(new DelayWhenOperator(delayDurationSelector)); };\n}\nvar DelayWhenOperator = /*@__PURE__*/ (function () {\n function DelayWhenOperator(delayDurationSelector) {\n this.delayDurationSelector = delayDurationSelector;\n }\n DelayWhenOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector));\n };\n return DelayWhenOperator;\n}());\nvar DelayWhenSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](DelayWhenSubscriber, _super);\n function DelayWhenSubscriber(destination, delayDurationSelector) {\n var _this = _super.call(this, destination) || this;\n _this.delayDurationSelector = delayDurationSelector;\n _this.completed = false;\n _this.delayNotifierSubscriptions = [];\n _this.index = 0;\n return _this;\n }\n DelayWhenSubscriber.prototype.notifyNext = function (outerValue, _innerValue, _outerIndex, _innerIndex, innerSub) {\n this.destination.next(outerValue);\n this.removeSubscription(innerSub);\n this.tryComplete();\n };\n DelayWhenSubscriber.prototype.notifyError = function (error, innerSub) {\n this._error(error);\n };\n DelayWhenSubscriber.prototype.notifyComplete = function (innerSub) {\n var value = this.removeSubscription(innerSub);\n if (value) {\n this.destination.next(value);\n }\n this.tryComplete();\n };\n DelayWhenSubscriber.prototype._next = function (value) {\n var index = this.index++;\n try {\n var delayNotifier = this.delayDurationSelector(value, index);\n if (delayNotifier) {\n this.tryDelay(delayNotifier, value);\n }\n }\n catch (err) {\n this.destination.error(err);\n }\n };\n DelayWhenSubscriber.prototype._complete = function () {\n this.completed = true;\n this.tryComplete();\n this.unsubscribe();\n };\n DelayWhenSubscriber.prototype.removeSubscription = function (subscription) {\n subscription.unsubscribe();\n var subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription);\n if (subscriptionIdx !== -1) {\n this.delayNotifierSubscriptions.splice(subscriptionIdx, 1);\n }\n return subscription.outerValue;\n };\n DelayWhenSubscriber.prototype.tryDelay = function (delayNotifier, value) {\n var notifierSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(this, delayNotifier, value);\n if (notifierSubscription && !notifierSubscription.closed) {\n var destination = this.destination;\n destination.add(notifierSubscription);\n this.delayNotifierSubscriptions.push(notifierSubscription);\n }\n };\n DelayWhenSubscriber.prototype.tryComplete = function () {\n if (this.completed && this.delayNotifierSubscriptions.length === 0) {\n this.destination.complete();\n }\n };\n return DelayWhenSubscriber;\n}(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"OuterSubscriber\"]));\nvar SubscriptionDelayObservable = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SubscriptionDelayObservable, _super);\n function SubscriptionDelayObservable(source, subscriptionDelay) {\n var _this = _super.call(this) || this;\n _this.source = source;\n _this.subscriptionDelay = subscriptionDelay;\n return _this;\n }\n SubscriptionDelayObservable.prototype._subscribe = function (subscriber) {\n this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));\n };\n return SubscriptionDelayObservable;\n}(_Observable__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]));\nvar SubscriptionDelaySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SubscriptionDelaySubscriber, _super);\n function SubscriptionDelaySubscriber(parent, source) {\n var _this = _super.call(this) || this;\n _this.parent = parent;\n _this.source = source;\n _this.sourceSubscribed = false;\n return _this;\n }\n SubscriptionDelaySubscriber.prototype._next = function (unused) {\n this.subscribeToSource();\n };\n SubscriptionDelaySubscriber.prototype._error = function (err) {\n this.unsubscribe();\n this.parent.error(err);\n };\n SubscriptionDelaySubscriber.prototype._complete = function () {\n this.unsubscribe();\n this.subscribeToSource();\n };\n SubscriptionDelaySubscriber.prototype.subscribeToSource = function () {\n if (!this.sourceSubscribed) {\n this.sourceSubscribed = true;\n this.unsubscribe();\n this.source.subscribe(this.parent);\n }\n };\n return SubscriptionDelaySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=delayWhen.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/delayWhen.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/dematerialize.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/dematerialize.js ***! - \******************************************************************************/ -/*! exports provided: dematerialize */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dematerialize\", function() { return dematerialize; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction dematerialize() {\n return function dematerializeOperatorFunction(source) {\n return source.lift(new DeMaterializeOperator());\n };\n}\nvar DeMaterializeOperator = /*@__PURE__*/ (function () {\n function DeMaterializeOperator() {\n }\n DeMaterializeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DeMaterializeSubscriber(subscriber));\n };\n return DeMaterializeOperator;\n}());\nvar DeMaterializeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](DeMaterializeSubscriber, _super);\n function DeMaterializeSubscriber(destination) {\n return _super.call(this, destination) || this;\n }\n DeMaterializeSubscriber.prototype._next = function (value) {\n value.observe(this.destination);\n };\n return DeMaterializeSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=dematerialize.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/dematerialize.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinct.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinct.js ***! - \*************************************************************************/ -/*! exports provided: distinct, DistinctSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"distinct\", function() { return distinct; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DistinctSubscriber\", function() { return DistinctSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction distinct(keySelector, flushes) {\n return function (source) { return source.lift(new DistinctOperator(keySelector, flushes)); };\n}\nvar DistinctOperator = /*@__PURE__*/ (function () {\n function DistinctOperator(keySelector, flushes) {\n this.keySelector = keySelector;\n this.flushes = flushes;\n }\n DistinctOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes));\n };\n return DistinctOperator;\n}());\nvar DistinctSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](DistinctSubscriber, _super);\n function DistinctSubscriber(destination, keySelector, flushes) {\n var _this = _super.call(this, destination) || this;\n _this.keySelector = keySelector;\n _this.values = new Set();\n if (flushes) {\n _this.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(flushes, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](_this)));\n }\n return _this;\n }\n DistinctSubscriber.prototype.notifyNext = function () {\n this.values.clear();\n };\n DistinctSubscriber.prototype.notifyError = function (error) {\n this._error(error);\n };\n DistinctSubscriber.prototype._next = function (value) {\n if (this.keySelector) {\n this._useKeySelector(value);\n }\n else {\n this._finalizeNext(value, value);\n }\n };\n DistinctSubscriber.prototype._useKeySelector = function (value) {\n var key;\n var destination = this.destination;\n try {\n key = this.keySelector(value);\n }\n catch (err) {\n destination.error(err);\n return;\n }\n this._finalizeNext(key, value);\n };\n DistinctSubscriber.prototype._finalizeNext = function (key, value) {\n var values = this.values;\n if (!values.has(key)) {\n values.add(key);\n this.destination.next(value);\n }\n };\n return DistinctSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n\n//# sourceMappingURL=distinct.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinct.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js ***! - \*************************************************************************************/ -/*! exports provided: distinctUntilChanged */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"distinctUntilChanged\", function() { return distinctUntilChanged; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction distinctUntilChanged(compare, keySelector) {\n return function (source) { return source.lift(new DistinctUntilChangedOperator(compare, keySelector)); };\n}\nvar DistinctUntilChangedOperator = /*@__PURE__*/ (function () {\n function DistinctUntilChangedOperator(compare, keySelector) {\n this.compare = compare;\n this.keySelector = keySelector;\n }\n DistinctUntilChangedOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));\n };\n return DistinctUntilChangedOperator;\n}());\nvar DistinctUntilChangedSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](DistinctUntilChangedSubscriber, _super);\n function DistinctUntilChangedSubscriber(destination, compare, keySelector) {\n var _this = _super.call(this, destination) || this;\n _this.keySelector = keySelector;\n _this.hasKey = false;\n if (typeof compare === 'function') {\n _this.compare = compare;\n }\n return _this;\n }\n DistinctUntilChangedSubscriber.prototype.compare = function (x, y) {\n return x === y;\n };\n DistinctUntilChangedSubscriber.prototype._next = function (value) {\n var key;\n try {\n var keySelector = this.keySelector;\n key = keySelector ? keySelector(value) : value;\n }\n catch (err) {\n return this.destination.error(err);\n }\n var result = false;\n if (this.hasKey) {\n try {\n var compare = this.compare;\n result = compare(this.key, key);\n }\n catch (err) {\n return this.destination.error(err);\n }\n }\n else {\n this.hasKey = true;\n }\n if (!result) {\n this.key = key;\n this.destination.next(value);\n }\n };\n return DistinctUntilChangedSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=distinctUntilChanged.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js": -/*!****************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js ***! - \****************************************************************************************/ -/*! exports provided: distinctUntilKeyChanged */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"distinctUntilKeyChanged\", function() { return distinctUntilKeyChanged; });\n/* harmony import */ var _distinctUntilChanged__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./distinctUntilChanged */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js\");\n/** PURE_IMPORTS_START _distinctUntilChanged PURE_IMPORTS_END */\n\nfunction distinctUntilKeyChanged(key, compare) {\n return Object(_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_0__[\"distinctUntilChanged\"])(function (x, y) { return compare ? compare(x[key], y[key]) : x[key] === y[key]; });\n}\n//# sourceMappingURL=distinctUntilKeyChanged.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/elementAt.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/elementAt.js ***! - \**************************************************************************/ -/*! exports provided: elementAt */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"elementAt\", function() { return elementAt; });\n/* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js\");\n/* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./throwIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js\");\n/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js\");\n/* harmony import */ var _take__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./take */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/take.js\");\n/** PURE_IMPORTS_START _util_ArgumentOutOfRangeError,_filter,_throwIfEmpty,_defaultIfEmpty,_take PURE_IMPORTS_END */\n\n\n\n\n\nfunction elementAt(index, defaultValue) {\n if (index < 0) {\n throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__[\"ArgumentOutOfRangeError\"]();\n }\n var hasDefaultValue = arguments.length >= 2;\n return function (source) {\n return source.pipe(Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(function (v, i) { return i === index; }), Object(_take__WEBPACK_IMPORTED_MODULE_4__[\"take\"])(1), hasDefaultValue\n ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"defaultIfEmpty\"])(defaultValue)\n : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_2__[\"throwIfEmpty\"])(function () { return new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__[\"ArgumentOutOfRangeError\"](); }));\n };\n}\n//# sourceMappingURL=elementAt.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/elementAt.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/endWith.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/endWith.js ***! - \************************************************************************/ -/*! exports provided: endWith */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"endWith\", function() { return endWith; });\n/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/concat */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/concat.js\");\n/* harmony import */ var _observable_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/of */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/of.js\");\n/** PURE_IMPORTS_START _observable_concat,_observable_of PURE_IMPORTS_END */\n\n\nfunction endWith() {\n var array = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n array[_i] = arguments[_i];\n }\n return function (source) { return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_0__[\"concat\"])(source, _observable_of__WEBPACK_IMPORTED_MODULE_1__[\"of\"].apply(void 0, array)); };\n}\n//# sourceMappingURL=endWith.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/endWith.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/every.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/every.js ***! - \**********************************************************************/ -/*! exports provided: every */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"every\", function() { return every; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction every(predicate, thisArg) {\n return function (source) { return source.lift(new EveryOperator(predicate, thisArg, source)); };\n}\nvar EveryOperator = /*@__PURE__*/ (function () {\n function EveryOperator(predicate, thisArg, source) {\n this.predicate = predicate;\n this.thisArg = thisArg;\n this.source = source;\n }\n EveryOperator.prototype.call = function (observer, source) {\n return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));\n };\n return EveryOperator;\n}());\nvar EverySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](EverySubscriber, _super);\n function EverySubscriber(destination, predicate, thisArg, source) {\n var _this = _super.call(this, destination) || this;\n _this.predicate = predicate;\n _this.thisArg = thisArg;\n _this.source = source;\n _this.index = 0;\n _this.thisArg = thisArg || _this;\n return _this;\n }\n EverySubscriber.prototype.notifyComplete = function (everyValueMatch) {\n this.destination.next(everyValueMatch);\n this.destination.complete();\n };\n EverySubscriber.prototype._next = function (value) {\n var result = false;\n try {\n result = this.predicate.call(this.thisArg, value, this.index++, this.source);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n if (!result) {\n this.notifyComplete(false);\n }\n };\n EverySubscriber.prototype._complete = function () {\n this.notifyComplete(true);\n };\n return EverySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=every.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/every.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/exhaust.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/exhaust.js ***! - \************************************************************************/ -/*! exports provided: exhaust */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"exhaust\", function() { return exhaust; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction exhaust() {\n return function (source) { return source.lift(new SwitchFirstOperator()); };\n}\nvar SwitchFirstOperator = /*@__PURE__*/ (function () {\n function SwitchFirstOperator() {\n }\n SwitchFirstOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new SwitchFirstSubscriber(subscriber));\n };\n return SwitchFirstOperator;\n}());\nvar SwitchFirstSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SwitchFirstSubscriber, _super);\n function SwitchFirstSubscriber(destination) {\n var _this = _super.call(this, destination) || this;\n _this.hasCompleted = false;\n _this.hasSubscription = false;\n return _this;\n }\n SwitchFirstSubscriber.prototype._next = function (value) {\n if (!this.hasSubscription) {\n this.hasSubscription = true;\n this.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(value, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](this)));\n }\n };\n SwitchFirstSubscriber.prototype._complete = function () {\n this.hasCompleted = true;\n if (!this.hasSubscription) {\n this.destination.complete();\n }\n };\n SwitchFirstSubscriber.prototype.notifyComplete = function () {\n this.hasSubscription = false;\n if (this.hasCompleted) {\n this.destination.complete();\n }\n };\n return SwitchFirstSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=exhaust.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/exhaust.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/exhaustMap.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/exhaustMap.js ***! - \***************************************************************************/ -/*! exports provided: exhaustMap */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"exhaustMap\", function() { return exhaustMap; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_map,_observable_from,_innerSubscribe PURE_IMPORTS_END */\n\n\n\n\nfunction exhaustMap(project, resultSelector) {\n if (resultSelector) {\n return function (source) { return source.pipe(exhaustMap(function (a, i) { return Object(_observable_from__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(function (b, ii) { return resultSelector(a, b, i, ii); })); })); };\n }\n return function (source) {\n return source.lift(new ExhaustMapOperator(project));\n };\n}\nvar ExhaustMapOperator = /*@__PURE__*/ (function () {\n function ExhaustMapOperator(project) {\n this.project = project;\n }\n ExhaustMapOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new ExhaustMapSubscriber(subscriber, this.project));\n };\n return ExhaustMapOperator;\n}());\nvar ExhaustMapSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ExhaustMapSubscriber, _super);\n function ExhaustMapSubscriber(destination, project) {\n var _this = _super.call(this, destination) || this;\n _this.project = project;\n _this.hasSubscription = false;\n _this.hasCompleted = false;\n _this.index = 0;\n return _this;\n }\n ExhaustMapSubscriber.prototype._next = function (value) {\n if (!this.hasSubscription) {\n this.tryNext(value);\n }\n };\n ExhaustMapSubscriber.prototype.tryNext = function (value) {\n var result;\n var index = this.index++;\n try {\n result = this.project(value, index);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.hasSubscription = true;\n this._innerSub(result);\n };\n ExhaustMapSubscriber.prototype._innerSub = function (result) {\n var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleInnerSubscriber\"](this);\n var destination = this.destination;\n destination.add(innerSubscriber);\n var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"innerSubscribe\"])(result, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n destination.add(innerSubscription);\n }\n };\n ExhaustMapSubscriber.prototype._complete = function () {\n this.hasCompleted = true;\n if (!this.hasSubscription) {\n this.destination.complete();\n }\n this.unsubscribe();\n };\n ExhaustMapSubscriber.prototype.notifyNext = function (innerValue) {\n this.destination.next(innerValue);\n };\n ExhaustMapSubscriber.prototype.notifyError = function (err) {\n this.destination.error(err);\n };\n ExhaustMapSubscriber.prototype.notifyComplete = function () {\n this.hasSubscription = false;\n if (this.hasCompleted) {\n this.destination.complete();\n }\n };\n return ExhaustMapSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=exhaustMap.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/exhaustMap.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/expand.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/expand.js ***! - \***********************************************************************/ -/*! exports provided: expand, ExpandOperator, ExpandSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"expand\", function() { return expand; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExpandOperator\", function() { return ExpandOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExpandSubscriber\", function() { return ExpandSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction expand(project, concurrent, scheduler) {\n if (concurrent === void 0) {\n concurrent = Number.POSITIVE_INFINITY;\n }\n concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent;\n return function (source) { return source.lift(new ExpandOperator(project, concurrent, scheduler)); };\n}\nvar ExpandOperator = /*@__PURE__*/ (function () {\n function ExpandOperator(project, concurrent, scheduler) {\n this.project = project;\n this.concurrent = concurrent;\n this.scheduler = scheduler;\n }\n ExpandOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler));\n };\n return ExpandOperator;\n}());\n\nvar ExpandSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ExpandSubscriber, _super);\n function ExpandSubscriber(destination, project, concurrent, scheduler) {\n var _this = _super.call(this, destination) || this;\n _this.project = project;\n _this.concurrent = concurrent;\n _this.scheduler = scheduler;\n _this.index = 0;\n _this.active = 0;\n _this.hasCompleted = false;\n if (concurrent < Number.POSITIVE_INFINITY) {\n _this.buffer = [];\n }\n return _this;\n }\n ExpandSubscriber.dispatch = function (arg) {\n var subscriber = arg.subscriber, result = arg.result, value = arg.value, index = arg.index;\n subscriber.subscribeToProjection(result, value, index);\n };\n ExpandSubscriber.prototype._next = function (value) {\n var destination = this.destination;\n if (destination.closed) {\n this._complete();\n return;\n }\n var index = this.index++;\n if (this.active < this.concurrent) {\n destination.next(value);\n try {\n var project = this.project;\n var result = project(value, index);\n if (!this.scheduler) {\n this.subscribeToProjection(result, value, index);\n }\n else {\n var state = { subscriber: this, result: result, value: value, index: index };\n var destination_1 = this.destination;\n destination_1.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state));\n }\n }\n catch (e) {\n destination.error(e);\n }\n }\n else {\n this.buffer.push(value);\n }\n };\n ExpandSubscriber.prototype.subscribeToProjection = function (result, value, index) {\n this.active++;\n var destination = this.destination;\n destination.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(result, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](this)));\n };\n ExpandSubscriber.prototype._complete = function () {\n this.hasCompleted = true;\n if (this.hasCompleted && this.active === 0) {\n this.destination.complete();\n }\n this.unsubscribe();\n };\n ExpandSubscriber.prototype.notifyNext = function (innerValue) {\n this._next(innerValue);\n };\n ExpandSubscriber.prototype.notifyComplete = function () {\n var buffer = this.buffer;\n this.active--;\n if (buffer && buffer.length > 0) {\n this._next(buffer.shift());\n }\n if (this.hasCompleted && this.active === 0) {\n this.destination.complete();\n }\n };\n return ExpandSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n\n//# sourceMappingURL=expand.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/expand.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js ***! - \***********************************************************************/ -/*! exports provided: filter */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return filter; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction filter(predicate, thisArg) {\n return function filterOperatorFunction(source) {\n return source.lift(new FilterOperator(predicate, thisArg));\n };\n}\nvar FilterOperator = /*@__PURE__*/ (function () {\n function FilterOperator(predicate, thisArg) {\n this.predicate = predicate;\n this.thisArg = thisArg;\n }\n FilterOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));\n };\n return FilterOperator;\n}());\nvar FilterSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](FilterSubscriber, _super);\n function FilterSubscriber(destination, predicate, thisArg) {\n var _this = _super.call(this, destination) || this;\n _this.predicate = predicate;\n _this.thisArg = thisArg;\n _this.count = 0;\n return _this;\n }\n FilterSubscriber.prototype._next = function (value) {\n var result;\n try {\n result = this.predicate.call(this.thisArg, value, this.count++);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n if (result) {\n this.destination.next(value);\n }\n };\n return FilterSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=filter.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/finalize.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/finalize.js ***! - \*************************************************************************/ -/*! exports provided: finalize */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"finalize\", function() { return finalize; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_Subscription PURE_IMPORTS_END */\n\n\n\nfunction finalize(callback) {\n return function (source) { return source.lift(new FinallyOperator(callback)); };\n}\nvar FinallyOperator = /*@__PURE__*/ (function () {\n function FinallyOperator(callback) {\n this.callback = callback;\n }\n FinallyOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new FinallySubscriber(subscriber, this.callback));\n };\n return FinallyOperator;\n}());\nvar FinallySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](FinallySubscriber, _super);\n function FinallySubscriber(destination, callback) {\n var _this = _super.call(this, destination) || this;\n _this.add(new _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"](callback));\n return _this;\n }\n return FinallySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=finalize.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/finalize.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/find.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/find.js ***! - \*********************************************************************/ -/*! exports provided: find, FindValueOperator, FindValueSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"find\", function() { return find; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FindValueOperator\", function() { return FindValueOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FindValueSubscriber\", function() { return FindValueSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction find(predicate, thisArg) {\n if (typeof predicate !== 'function') {\n throw new TypeError('predicate is not a function');\n }\n return function (source) { return source.lift(new FindValueOperator(predicate, source, false, thisArg)); };\n}\nvar FindValueOperator = /*@__PURE__*/ (function () {\n function FindValueOperator(predicate, source, yieldIndex, thisArg) {\n this.predicate = predicate;\n this.source = source;\n this.yieldIndex = yieldIndex;\n this.thisArg = thisArg;\n }\n FindValueOperator.prototype.call = function (observer, source) {\n return source.subscribe(new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg));\n };\n return FindValueOperator;\n}());\n\nvar FindValueSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](FindValueSubscriber, _super);\n function FindValueSubscriber(destination, predicate, source, yieldIndex, thisArg) {\n var _this = _super.call(this, destination) || this;\n _this.predicate = predicate;\n _this.source = source;\n _this.yieldIndex = yieldIndex;\n _this.thisArg = thisArg;\n _this.index = 0;\n return _this;\n }\n FindValueSubscriber.prototype.notifyComplete = function (value) {\n var destination = this.destination;\n destination.next(value);\n destination.complete();\n this.unsubscribe();\n };\n FindValueSubscriber.prototype._next = function (value) {\n var _a = this, predicate = _a.predicate, thisArg = _a.thisArg;\n var index = this.index++;\n try {\n var result = predicate.call(thisArg || this, value, index, this.source);\n if (result) {\n this.notifyComplete(this.yieldIndex ? index : value);\n }\n }\n catch (err) {\n this.destination.error(err);\n }\n };\n FindValueSubscriber.prototype._complete = function () {\n this.notifyComplete(this.yieldIndex ? -1 : undefined);\n };\n return FindValueSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\n//# sourceMappingURL=find.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/find.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/findIndex.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/findIndex.js ***! - \**************************************************************************/ -/*! exports provided: findIndex */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"findIndex\", function() { return findIndex; });\n/* harmony import */ var _operators_find__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../operators/find */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/find.js\");\n/** PURE_IMPORTS_START _operators_find PURE_IMPORTS_END */\n\nfunction findIndex(predicate, thisArg) {\n return function (source) { return source.lift(new _operators_find__WEBPACK_IMPORTED_MODULE_0__[\"FindValueOperator\"](predicate, source, true, thisArg)); };\n}\n//# sourceMappingURL=findIndex.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/findIndex.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/first.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/first.js ***! - \**********************************************************************/ -/*! exports provided: first */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"first\", function() { return first; });\n/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/EmptyError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/EmptyError.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js\");\n/* harmony import */ var _take__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./take */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/take.js\");\n/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js\");\n/* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./throwIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/identity */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js\");\n/** PURE_IMPORTS_START _util_EmptyError,_filter,_take,_defaultIfEmpty,_throwIfEmpty,_util_identity PURE_IMPORTS_END */\n\n\n\n\n\n\nfunction first(predicate, defaultValue) {\n var hasDefaultValue = arguments.length >= 2;\n return function (source) { return source.pipe(predicate ? Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(function (v, i) { return predicate(v, i, source); }) : _util_identity__WEBPACK_IMPORTED_MODULE_5__[\"identity\"], Object(_take__WEBPACK_IMPORTED_MODULE_2__[\"take\"])(1), hasDefaultValue ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"defaultIfEmpty\"])(defaultValue) : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__[\"throwIfEmpty\"])(function () { return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__[\"EmptyError\"](); })); };\n}\n//# sourceMappingURL=first.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/first.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/groupBy.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/groupBy.js ***! - \************************************************************************/ -/*! exports provided: groupBy, GroupedObservable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"groupBy\", function() { return groupBy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GroupedObservable\", function() { return GroupedObservable; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_Subscription,_Observable,_Subject PURE_IMPORTS_END */\n\n\n\n\n\nfunction groupBy(keySelector, elementSelector, durationSelector, subjectSelector) {\n return function (source) {\n return source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector));\n };\n}\nvar GroupByOperator = /*@__PURE__*/ (function () {\n function GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector) {\n this.keySelector = keySelector;\n this.elementSelector = elementSelector;\n this.durationSelector = durationSelector;\n this.subjectSelector = subjectSelector;\n }\n GroupByOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector));\n };\n return GroupByOperator;\n}());\nvar GroupBySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](GroupBySubscriber, _super);\n function GroupBySubscriber(destination, keySelector, elementSelector, durationSelector, subjectSelector) {\n var _this = _super.call(this, destination) || this;\n _this.keySelector = keySelector;\n _this.elementSelector = elementSelector;\n _this.durationSelector = durationSelector;\n _this.subjectSelector = subjectSelector;\n _this.groups = null;\n _this.attemptedToUnsubscribe = false;\n _this.count = 0;\n return _this;\n }\n GroupBySubscriber.prototype._next = function (value) {\n var key;\n try {\n key = this.keySelector(value);\n }\n catch (err) {\n this.error(err);\n return;\n }\n this._group(value, key);\n };\n GroupBySubscriber.prototype._group = function (value, key) {\n var groups = this.groups;\n if (!groups) {\n groups = this.groups = new Map();\n }\n var group = groups.get(key);\n var element;\n if (this.elementSelector) {\n try {\n element = this.elementSelector(value);\n }\n catch (err) {\n this.error(err);\n }\n }\n else {\n element = value;\n }\n if (!group) {\n group = (this.subjectSelector ? this.subjectSelector() : new _Subject__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]());\n groups.set(key, group);\n var groupedObservable = new GroupedObservable(key, group, this);\n this.destination.next(groupedObservable);\n if (this.durationSelector) {\n var duration = void 0;\n try {\n duration = this.durationSelector(new GroupedObservable(key, group));\n }\n catch (err) {\n this.error(err);\n return;\n }\n this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this)));\n }\n }\n if (!group.closed) {\n group.next(element);\n }\n };\n GroupBySubscriber.prototype._error = function (err) {\n var groups = this.groups;\n if (groups) {\n groups.forEach(function (group, key) {\n group.error(err);\n });\n groups.clear();\n }\n this.destination.error(err);\n };\n GroupBySubscriber.prototype._complete = function () {\n var groups = this.groups;\n if (groups) {\n groups.forEach(function (group, key) {\n group.complete();\n });\n groups.clear();\n }\n this.destination.complete();\n };\n GroupBySubscriber.prototype.removeGroup = function (key) {\n this.groups.delete(key);\n };\n GroupBySubscriber.prototype.unsubscribe = function () {\n if (!this.closed) {\n this.attemptedToUnsubscribe = true;\n if (this.count === 0) {\n _super.prototype.unsubscribe.call(this);\n }\n }\n };\n return GroupBySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\nvar GroupDurationSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](GroupDurationSubscriber, _super);\n function GroupDurationSubscriber(key, group, parent) {\n var _this = _super.call(this, group) || this;\n _this.key = key;\n _this.group = group;\n _this.parent = parent;\n return _this;\n }\n GroupDurationSubscriber.prototype._next = function (value) {\n this.complete();\n };\n GroupDurationSubscriber.prototype._unsubscribe = function () {\n var _a = this, parent = _a.parent, key = _a.key;\n this.key = this.parent = null;\n if (parent) {\n parent.removeGroup(key);\n }\n };\n return GroupDurationSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\nvar GroupedObservable = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](GroupedObservable, _super);\n function GroupedObservable(key, groupSubject, refCountSubscription) {\n var _this = _super.call(this) || this;\n _this.key = key;\n _this.groupSubject = groupSubject;\n _this.refCountSubscription = refCountSubscription;\n return _this;\n }\n GroupedObservable.prototype._subscribe = function (subscriber) {\n var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"]();\n var _a = this, refCountSubscription = _a.refCountSubscription, groupSubject = _a.groupSubject;\n if (refCountSubscription && !refCountSubscription.closed) {\n subscription.add(new InnerRefCountSubscription(refCountSubscription));\n }\n subscription.add(groupSubject.subscribe(subscriber));\n return subscription;\n };\n return GroupedObservable;\n}(_Observable__WEBPACK_IMPORTED_MODULE_3__[\"Observable\"]));\n\nvar InnerRefCountSubscription = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](InnerRefCountSubscription, _super);\n function InnerRefCountSubscription(parent) {\n var _this = _super.call(this) || this;\n _this.parent = parent;\n parent.count++;\n return _this;\n }\n InnerRefCountSubscription.prototype.unsubscribe = function () {\n var parent = this.parent;\n if (!parent.closed && !this.closed) {\n _super.prototype.unsubscribe.call(this);\n parent.count -= 1;\n if (parent.count === 0 && parent.attemptedToUnsubscribe) {\n parent.unsubscribe();\n }\n }\n };\n return InnerRefCountSubscription;\n}(_Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"]));\n//# sourceMappingURL=groupBy.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/groupBy.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/ignoreElements.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/ignoreElements.js ***! - \*******************************************************************************/ -/*! exports provided: ignoreElements */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ignoreElements\", function() { return ignoreElements; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction ignoreElements() {\n return function ignoreElementsOperatorFunction(source) {\n return source.lift(new IgnoreElementsOperator());\n };\n}\nvar IgnoreElementsOperator = /*@__PURE__*/ (function () {\n function IgnoreElementsOperator() {\n }\n IgnoreElementsOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new IgnoreElementsSubscriber(subscriber));\n };\n return IgnoreElementsOperator;\n}());\nvar IgnoreElementsSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](IgnoreElementsSubscriber, _super);\n function IgnoreElementsSubscriber() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n IgnoreElementsSubscriber.prototype._next = function (unused) {\n };\n return IgnoreElementsSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=ignoreElements.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/ignoreElements.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/isEmpty.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/isEmpty.js ***! - \************************************************************************/ -/*! exports provided: isEmpty */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isEmpty\", function() { return isEmpty; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction isEmpty() {\n return function (source) { return source.lift(new IsEmptyOperator()); };\n}\nvar IsEmptyOperator = /*@__PURE__*/ (function () {\n function IsEmptyOperator() {\n }\n IsEmptyOperator.prototype.call = function (observer, source) {\n return source.subscribe(new IsEmptySubscriber(observer));\n };\n return IsEmptyOperator;\n}());\nvar IsEmptySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](IsEmptySubscriber, _super);\n function IsEmptySubscriber(destination) {\n return _super.call(this, destination) || this;\n }\n IsEmptySubscriber.prototype.notifyComplete = function (isEmpty) {\n var destination = this.destination;\n destination.next(isEmpty);\n destination.complete();\n };\n IsEmptySubscriber.prototype._next = function (value) {\n this.notifyComplete(false);\n };\n IsEmptySubscriber.prototype._complete = function () {\n this.notifyComplete(true);\n };\n return IsEmptySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=isEmpty.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/isEmpty.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/last.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/last.js ***! - \*********************************************************************/ -/*! exports provided: last */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"last\", function() { return last; });\n/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/EmptyError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/EmptyError.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js\");\n/* harmony import */ var _takeLast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./takeLast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeLast.js\");\n/* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./throwIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js\");\n/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaultIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/identity */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js\");\n/** PURE_IMPORTS_START _util_EmptyError,_filter,_takeLast,_throwIfEmpty,_defaultIfEmpty,_util_identity PURE_IMPORTS_END */\n\n\n\n\n\n\nfunction last(predicate, defaultValue) {\n var hasDefaultValue = arguments.length >= 2;\n return function (source) { return source.pipe(predicate ? Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(function (v, i) { return predicate(v, i, source); }) : _util_identity__WEBPACK_IMPORTED_MODULE_5__[\"identity\"], Object(_takeLast__WEBPACK_IMPORTED_MODULE_2__[\"takeLast\"])(1), hasDefaultValue ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_4__[\"defaultIfEmpty\"])(defaultValue) : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"throwIfEmpty\"])(function () { return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__[\"EmptyError\"](); })); };\n}\n//# sourceMappingURL=last.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/last.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js ***! - \********************************************************************/ -/*! exports provided: map, MapOperator */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return map; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MapOperator\", function() { return MapOperator; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction map(project, thisArg) {\n return function mapOperation(source) {\n if (typeof project !== 'function') {\n throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');\n }\n return source.lift(new MapOperator(project, thisArg));\n };\n}\nvar MapOperator = /*@__PURE__*/ (function () {\n function MapOperator(project, thisArg) {\n this.project = project;\n this.thisArg = thisArg;\n }\n MapOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));\n };\n return MapOperator;\n}());\n\nvar MapSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MapSubscriber, _super);\n function MapSubscriber(destination, project, thisArg) {\n var _this = _super.call(this, destination) || this;\n _this.project = project;\n _this.count = 0;\n _this.thisArg = thisArg || _this;\n return _this;\n }\n MapSubscriber.prototype._next = function (value) {\n var result;\n try {\n result = this.project.call(this.thisArg, value, this.count++);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n };\n return MapSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=map.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/mapTo.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/mapTo.js ***! - \**********************************************************************/ -/*! exports provided: mapTo */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mapTo\", function() { return mapTo; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction mapTo(value) {\n return function (source) { return source.lift(new MapToOperator(value)); };\n}\nvar MapToOperator = /*@__PURE__*/ (function () {\n function MapToOperator(value) {\n this.value = value;\n }\n MapToOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new MapToSubscriber(subscriber, this.value));\n };\n return MapToOperator;\n}());\nvar MapToSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MapToSubscriber, _super);\n function MapToSubscriber(destination, value) {\n var _this = _super.call(this, destination) || this;\n _this.value = value;\n return _this;\n }\n MapToSubscriber.prototype._next = function (x) {\n this.destination.next(this.value);\n };\n return MapToSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=mapTo.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/mapTo.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/materialize.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/materialize.js ***! - \****************************************************************************/ -/*! exports provided: materialize */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"materialize\", function() { return materialize; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Notification__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Notification */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Notification.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_Notification PURE_IMPORTS_END */\n\n\n\nfunction materialize() {\n return function materializeOperatorFunction(source) {\n return source.lift(new MaterializeOperator());\n };\n}\nvar MaterializeOperator = /*@__PURE__*/ (function () {\n function MaterializeOperator() {\n }\n MaterializeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new MaterializeSubscriber(subscriber));\n };\n return MaterializeOperator;\n}());\nvar MaterializeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MaterializeSubscriber, _super);\n function MaterializeSubscriber(destination) {\n return _super.call(this, destination) || this;\n }\n MaterializeSubscriber.prototype._next = function (value) {\n this.destination.next(_Notification__WEBPACK_IMPORTED_MODULE_2__[\"Notification\"].createNext(value));\n };\n MaterializeSubscriber.prototype._error = function (err) {\n var destination = this.destination;\n destination.next(_Notification__WEBPACK_IMPORTED_MODULE_2__[\"Notification\"].createError(err));\n destination.complete();\n };\n MaterializeSubscriber.prototype._complete = function () {\n var destination = this.destination;\n destination.next(_Notification__WEBPACK_IMPORTED_MODULE_2__[\"Notification\"].createComplete());\n destination.complete();\n };\n return MaterializeSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=materialize.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/materialize.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/max.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/max.js ***! - \********************************************************************/ -/*! exports provided: max */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"max\", function() { return max; });\n/* harmony import */ var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reduce */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/reduce.js\");\n/** PURE_IMPORTS_START _reduce PURE_IMPORTS_END */\n\nfunction max(comparer) {\n var max = (typeof comparer === 'function')\n ? function (x, y) { return comparer(x, y) > 0 ? x : y; }\n : function (x, y) { return x > y ? x : y; };\n return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(max);\n}\n//# sourceMappingURL=max.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/max.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/merge.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/merge.js ***! - \**********************************************************************/ -/*! exports provided: merge */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"merge\", function() { return merge; });\n/* harmony import */ var _observable_merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/merge */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/merge.js\");\n/** PURE_IMPORTS_START _observable_merge PURE_IMPORTS_END */\n\nfunction merge() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n return function (source) { return source.lift.call(_observable_merge__WEBPACK_IMPORTED_MODULE_0__[\"merge\"].apply(void 0, [source].concat(observables))); };\n}\n//# sourceMappingURL=merge.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/merge.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeAll.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeAll.js ***! - \*************************************************************************/ -/*! exports provided: mergeAll */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeAll\", function() { return mergeAll; });\n/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMap.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js\");\n/** PURE_IMPORTS_START _mergeMap,_util_identity PURE_IMPORTS_END */\n\n\nfunction mergeAll(concurrent) {\n if (concurrent === void 0) {\n concurrent = Number.POSITIVE_INFINITY;\n }\n return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(_util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"], concurrent);\n}\n//# sourceMappingURL=mergeAll.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeAll.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMap.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMap.js ***! - \*************************************************************************/ -/*! exports provided: mergeMap, MergeMapOperator, MergeMapSubscriber, flatMap */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeMap\", function() { return mergeMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergeMapOperator\", function() { return MergeMapOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergeMapSubscriber\", function() { return MergeMapSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"flatMap\", function() { return flatMap; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_map,_observable_from,_innerSubscribe PURE_IMPORTS_END */\n\n\n\n\nfunction mergeMap(project, resultSelector, concurrent) {\n if (concurrent === void 0) {\n concurrent = Number.POSITIVE_INFINITY;\n }\n if (typeof resultSelector === 'function') {\n return function (source) { return source.pipe(mergeMap(function (a, i) { return Object(_observable_from__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(function (b, ii) { return resultSelector(a, b, i, ii); })); }, concurrent)); };\n }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return function (source) { return source.lift(new MergeMapOperator(project, concurrent)); };\n}\nvar MergeMapOperator = /*@__PURE__*/ (function () {\n function MergeMapOperator(project, concurrent) {\n if (concurrent === void 0) {\n concurrent = Number.POSITIVE_INFINITY;\n }\n this.project = project;\n this.concurrent = concurrent;\n }\n MergeMapOperator.prototype.call = function (observer, source) {\n return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));\n };\n return MergeMapOperator;\n}());\n\nvar MergeMapSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MergeMapSubscriber, _super);\n function MergeMapSubscriber(destination, project, concurrent) {\n if (concurrent === void 0) {\n concurrent = Number.POSITIVE_INFINITY;\n }\n var _this = _super.call(this, destination) || this;\n _this.project = project;\n _this.concurrent = concurrent;\n _this.hasCompleted = false;\n _this.buffer = [];\n _this.active = 0;\n _this.index = 0;\n return _this;\n }\n MergeMapSubscriber.prototype._next = function (value) {\n if (this.active < this.concurrent) {\n this._tryNext(value);\n }\n else {\n this.buffer.push(value);\n }\n };\n MergeMapSubscriber.prototype._tryNext = function (value) {\n var result;\n var index = this.index++;\n try {\n result = this.project(value, index);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.active++;\n this._innerSub(result);\n };\n MergeMapSubscriber.prototype._innerSub = function (ish) {\n var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleInnerSubscriber\"](this);\n var destination = this.destination;\n destination.add(innerSubscriber);\n var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"innerSubscribe\"])(ish, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n destination.add(innerSubscription);\n }\n };\n MergeMapSubscriber.prototype._complete = function () {\n this.hasCompleted = true;\n if (this.active === 0 && this.buffer.length === 0) {\n this.destination.complete();\n }\n this.unsubscribe();\n };\n MergeMapSubscriber.prototype.notifyNext = function (innerValue) {\n this.destination.next(innerValue);\n };\n MergeMapSubscriber.prototype.notifyComplete = function () {\n var buffer = this.buffer;\n this.active--;\n if (buffer.length > 0) {\n this._next(buffer.shift());\n }\n else if (this.active === 0 && this.hasCompleted) {\n this.destination.complete();\n }\n };\n return MergeMapSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleOuterSubscriber\"]));\n\nvar flatMap = mergeMap;\n//# sourceMappingURL=mergeMap.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMap.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js ***! - \***************************************************************************/ -/*! exports provided: mergeMapTo */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeMapTo\", function() { return mergeMapTo; });\n/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMap.js\");\n/** PURE_IMPORTS_START _mergeMap PURE_IMPORTS_END */\n\nfunction mergeMapTo(innerObservable, resultSelector, concurrent) {\n if (concurrent === void 0) {\n concurrent = Number.POSITIVE_INFINITY;\n }\n if (typeof resultSelector === 'function') {\n return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(function () { return innerObservable; }, resultSelector, concurrent);\n }\n if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(function () { return innerObservable; }, concurrent);\n}\n//# sourceMappingURL=mergeMapTo.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeScan.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeScan.js ***! - \**************************************************************************/ -/*! exports provided: mergeScan, MergeScanOperator, MergeScanSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeScan\", function() { return mergeScan; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergeScanOperator\", function() { return MergeScanOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergeScanSubscriber\", function() { return MergeScanSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction mergeScan(accumulator, seed, concurrent) {\n if (concurrent === void 0) {\n concurrent = Number.POSITIVE_INFINITY;\n }\n return function (source) { return source.lift(new MergeScanOperator(accumulator, seed, concurrent)); };\n}\nvar MergeScanOperator = /*@__PURE__*/ (function () {\n function MergeScanOperator(accumulator, seed, concurrent) {\n this.accumulator = accumulator;\n this.seed = seed;\n this.concurrent = concurrent;\n }\n MergeScanOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent));\n };\n return MergeScanOperator;\n}());\n\nvar MergeScanSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MergeScanSubscriber, _super);\n function MergeScanSubscriber(destination, accumulator, acc, concurrent) {\n var _this = _super.call(this, destination) || this;\n _this.accumulator = accumulator;\n _this.acc = acc;\n _this.concurrent = concurrent;\n _this.hasValue = false;\n _this.hasCompleted = false;\n _this.buffer = [];\n _this.active = 0;\n _this.index = 0;\n return _this;\n }\n MergeScanSubscriber.prototype._next = function (value) {\n if (this.active < this.concurrent) {\n var index = this.index++;\n var destination = this.destination;\n var ish = void 0;\n try {\n var accumulator = this.accumulator;\n ish = accumulator(this.acc, value, index);\n }\n catch (e) {\n return destination.error(e);\n }\n this.active++;\n this._innerSub(ish);\n }\n else {\n this.buffer.push(value);\n }\n };\n MergeScanSubscriber.prototype._innerSub = function (ish) {\n var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](this);\n var destination = this.destination;\n destination.add(innerSubscriber);\n var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(ish, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n destination.add(innerSubscription);\n }\n };\n MergeScanSubscriber.prototype._complete = function () {\n this.hasCompleted = true;\n if (this.active === 0 && this.buffer.length === 0) {\n if (this.hasValue === false) {\n this.destination.next(this.acc);\n }\n this.destination.complete();\n }\n this.unsubscribe();\n };\n MergeScanSubscriber.prototype.notifyNext = function (innerValue) {\n var destination = this.destination;\n this.acc = innerValue;\n this.hasValue = true;\n destination.next(innerValue);\n };\n MergeScanSubscriber.prototype.notifyComplete = function () {\n var buffer = this.buffer;\n this.active--;\n if (buffer.length > 0) {\n this._next(buffer.shift());\n }\n else if (this.active === 0 && this.hasCompleted) {\n if (this.hasValue === false) {\n this.destination.next(this.acc);\n }\n this.destination.complete();\n }\n };\n return MergeScanSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n\n//# sourceMappingURL=mergeScan.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeScan.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/min.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/min.js ***! - \********************************************************************/ -/*! exports provided: min */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"min\", function() { return min; });\n/* harmony import */ var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reduce */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/reduce.js\");\n/** PURE_IMPORTS_START _reduce PURE_IMPORTS_END */\n\nfunction min(comparer) {\n var min = (typeof comparer === 'function')\n ? function (x, y) { return comparer(x, y) < 0 ? x : y; }\n : function (x, y) { return x < y ? x : y; };\n return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(min);\n}\n//# sourceMappingURL=min.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/min.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js ***! - \**************************************************************************/ -/*! exports provided: multicast, MulticastOperator */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"multicast\", function() { return multicast; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MulticastOperator\", function() { return MulticastOperator; });\n/* harmony import */ var _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/ConnectableObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js\");\n/** PURE_IMPORTS_START _observable_ConnectableObservable PURE_IMPORTS_END */\n\nfunction multicast(subjectOrSubjectFactory, selector) {\n return function multicastOperatorFunction(source) {\n var subjectFactory;\n if (typeof subjectOrSubjectFactory === 'function') {\n subjectFactory = subjectOrSubjectFactory;\n }\n else {\n subjectFactory = function subjectFactory() {\n return subjectOrSubjectFactory;\n };\n }\n if (typeof selector === 'function') {\n return source.lift(new MulticastOperator(subjectFactory, selector));\n }\n var connectable = Object.create(source, _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__[\"connectableObservableDescriptor\"]);\n connectable.source = source;\n connectable.subjectFactory = subjectFactory;\n return connectable;\n };\n}\nvar MulticastOperator = /*@__PURE__*/ (function () {\n function MulticastOperator(subjectFactory, selector) {\n this.subjectFactory = subjectFactory;\n this.selector = selector;\n }\n MulticastOperator.prototype.call = function (subscriber, source) {\n var selector = this.selector;\n var subject = this.subjectFactory();\n var subscription = selector(subject).subscribe(subscriber);\n subscription.add(source.subscribe(subject));\n return subscription;\n };\n return MulticastOperator;\n}());\n\n//# sourceMappingURL=multicast.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/observeOn.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/observeOn.js ***! - \**************************************************************************/ -/*! exports provided: observeOn, ObserveOnOperator, ObserveOnSubscriber, ObserveOnMessage */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"observeOn\", function() { return observeOn; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObserveOnOperator\", function() { return ObserveOnOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObserveOnSubscriber\", function() { return ObserveOnSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObserveOnMessage\", function() { return ObserveOnMessage; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Notification__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Notification */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Notification.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_Notification PURE_IMPORTS_END */\n\n\n\nfunction observeOn(scheduler, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return function observeOnOperatorFunction(source) {\n return source.lift(new ObserveOnOperator(scheduler, delay));\n };\n}\nvar ObserveOnOperator = /*@__PURE__*/ (function () {\n function ObserveOnOperator(scheduler, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n this.scheduler = scheduler;\n this.delay = delay;\n }\n ObserveOnOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n };\n return ObserveOnOperator;\n}());\n\nvar ObserveOnSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ObserveOnSubscriber, _super);\n function ObserveOnSubscriber(destination, scheduler, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n var _this = _super.call(this, destination) || this;\n _this.scheduler = scheduler;\n _this.delay = delay;\n return _this;\n }\n ObserveOnSubscriber.dispatch = function (arg) {\n var notification = arg.notification, destination = arg.destination;\n notification.observe(destination);\n this.unsubscribe();\n };\n ObserveOnSubscriber.prototype.scheduleMessage = function (notification) {\n var destination = this.destination;\n destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n };\n ObserveOnSubscriber.prototype._next = function (value) {\n this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_2__[\"Notification\"].createNext(value));\n };\n ObserveOnSubscriber.prototype._error = function (err) {\n this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_2__[\"Notification\"].createError(err));\n this.unsubscribe();\n };\n ObserveOnSubscriber.prototype._complete = function () {\n this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_2__[\"Notification\"].createComplete());\n this.unsubscribe();\n };\n return ObserveOnSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\nvar ObserveOnMessage = /*@__PURE__*/ (function () {\n function ObserveOnMessage(notification, destination) {\n this.notification = notification;\n this.destination = destination;\n }\n return ObserveOnMessage;\n}());\n\n//# sourceMappingURL=observeOn.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/observeOn.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/onErrorResumeNext.js": -/*!**********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/onErrorResumeNext.js ***! - \**********************************************************************************/ -/*! exports provided: onErrorResumeNext, onErrorResumeNextStatic */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function() { return onErrorResumeNext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNextStatic\", function() { return onErrorResumeNextStatic; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_observable_from,_util_isArray,_innerSubscribe PURE_IMPORTS_END */\n\n\n\n\nfunction onErrorResumeNext() {\n var nextSources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nextSources[_i] = arguments[_i];\n }\n if (nextSources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__[\"isArray\"])(nextSources[0])) {\n nextSources = nextSources[0];\n }\n return function (source) { return source.lift(new OnErrorResumeNextOperator(nextSources)); };\n}\nfunction onErrorResumeNextStatic() {\n var nextSources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nextSources[_i] = arguments[_i];\n }\n var source = undefined;\n if (nextSources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__[\"isArray\"])(nextSources[0])) {\n nextSources = nextSources[0];\n }\n source = nextSources.shift();\n return Object(_observable_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(source).lift(new OnErrorResumeNextOperator(nextSources));\n}\nvar OnErrorResumeNextOperator = /*@__PURE__*/ (function () {\n function OnErrorResumeNextOperator(nextSources) {\n this.nextSources = nextSources;\n }\n OnErrorResumeNextOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new OnErrorResumeNextSubscriber(subscriber, this.nextSources));\n };\n return OnErrorResumeNextOperator;\n}());\nvar OnErrorResumeNextSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](OnErrorResumeNextSubscriber, _super);\n function OnErrorResumeNextSubscriber(destination, nextSources) {\n var _this = _super.call(this, destination) || this;\n _this.destination = destination;\n _this.nextSources = nextSources;\n return _this;\n }\n OnErrorResumeNextSubscriber.prototype.notifyError = function () {\n this.subscribeToNextSource();\n };\n OnErrorResumeNextSubscriber.prototype.notifyComplete = function () {\n this.subscribeToNextSource();\n };\n OnErrorResumeNextSubscriber.prototype._error = function (err) {\n this.subscribeToNextSource();\n this.unsubscribe();\n };\n OnErrorResumeNextSubscriber.prototype._complete = function () {\n this.subscribeToNextSource();\n this.unsubscribe();\n };\n OnErrorResumeNextSubscriber.prototype.subscribeToNextSource = function () {\n var next = this.nextSources.shift();\n if (!!next) {\n var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleInnerSubscriber\"](this);\n var destination = this.destination;\n destination.add(innerSubscriber);\n var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"innerSubscribe\"])(next, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n destination.add(innerSubscription);\n }\n }\n else {\n this.destination.complete();\n }\n };\n return OnErrorResumeNextSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=onErrorResumeNext.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/onErrorResumeNext.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/pairwise.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/pairwise.js ***! - \*************************************************************************/ -/*! exports provided: pairwise */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pairwise\", function() { return pairwise; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction pairwise() {\n return function (source) { return source.lift(new PairwiseOperator()); };\n}\nvar PairwiseOperator = /*@__PURE__*/ (function () {\n function PairwiseOperator() {\n }\n PairwiseOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new PairwiseSubscriber(subscriber));\n };\n return PairwiseOperator;\n}());\nvar PairwiseSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](PairwiseSubscriber, _super);\n function PairwiseSubscriber(destination) {\n var _this = _super.call(this, destination) || this;\n _this.hasPrev = false;\n return _this;\n }\n PairwiseSubscriber.prototype._next = function (value) {\n var pair;\n if (this.hasPrev) {\n pair = [this.prev, value];\n }\n else {\n this.hasPrev = true;\n }\n this.prev = value;\n if (pair) {\n this.destination.next(pair);\n }\n };\n return PairwiseSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=pairwise.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/pairwise.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/partition.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/partition.js ***! - \**************************************************************************/ -/*! exports provided: partition */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"partition\", function() { return partition; });\n/* harmony import */ var _util_not__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/not */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/not.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js\");\n/** PURE_IMPORTS_START _util_not,_filter PURE_IMPORTS_END */\n\n\nfunction partition(predicate, thisArg) {\n return function (source) {\n return [\n Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(predicate, thisArg)(source),\n Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(Object(_util_not__WEBPACK_IMPORTED_MODULE_0__[\"not\"])(predicate, thisArg))(source)\n ];\n };\n}\n//# sourceMappingURL=partition.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/partition.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/pluck.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/pluck.js ***! - \**********************************************************************/ -/*! exports provided: pluck */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pluck\", function() { return pluck; });\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/** PURE_IMPORTS_START _map PURE_IMPORTS_END */\n\nfunction pluck() {\n var properties = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n properties[_i] = arguments[_i];\n }\n var length = properties.length;\n if (length === 0) {\n throw new Error('list of properties cannot be empty.');\n }\n return function (source) { return Object(_map__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(plucker(properties, length))(source); };\n}\nfunction plucker(props, length) {\n var mapper = function (x) {\n var currentProp = x;\n for (var i = 0; i < length; i++) {\n var p = currentProp != null ? currentProp[props[i]] : undefined;\n if (p !== void 0) {\n currentProp = p;\n }\n else {\n return undefined;\n }\n }\n return currentProp;\n };\n return mapper;\n}\n//# sourceMappingURL=pluck.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/pluck.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/publish.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/publish.js ***! - \************************************************************************/ -/*! exports provided: publish */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publish\", function() { return publish; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js\");\n/** PURE_IMPORTS_START _Subject,_multicast PURE_IMPORTS_END */\n\n\nfunction publish(selector) {\n return selector ?\n Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(function () { return new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"](); }, selector) :\n Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]());\n}\n//# sourceMappingURL=publish.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/publish.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishBehavior.js": -/*!********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishBehavior.js ***! - \********************************************************************************/ -/*! exports provided: publishBehavior */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publishBehavior\", function() { return publishBehavior; });\n/* harmony import */ var _BehaviorSubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../BehaviorSubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/BehaviorSubject.js\");\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js\");\n/** PURE_IMPORTS_START _BehaviorSubject,_multicast PURE_IMPORTS_END */\n\n\nfunction publishBehavior(value) {\n return function (source) { return Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _BehaviorSubject__WEBPACK_IMPORTED_MODULE_0__[\"BehaviorSubject\"](value))(source); };\n}\n//# sourceMappingURL=publishBehavior.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishBehavior.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishLast.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishLast.js ***! - \****************************************************************************/ -/*! exports provided: publishLast */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publishLast\", function() { return publishLast; });\n/* harmony import */ var _AsyncSubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../AsyncSubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/AsyncSubject.js\");\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js\");\n/** PURE_IMPORTS_START _AsyncSubject,_multicast PURE_IMPORTS_END */\n\n\nfunction publishLast() {\n return function (source) { return Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _AsyncSubject__WEBPACK_IMPORTED_MODULE_0__[\"AsyncSubject\"]())(source); };\n}\n//# sourceMappingURL=publishLast.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishLast.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishReplay.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishReplay.js ***! - \******************************************************************************/ -/*! exports provided: publishReplay */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publishReplay\", function() { return publishReplay; });\n/* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ReplaySubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/ReplaySubject.js\");\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js\");\n/** PURE_IMPORTS_START _ReplaySubject,_multicast PURE_IMPORTS_END */\n\n\nfunction publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) {\n if (selectorOrScheduler && typeof selectorOrScheduler !== 'function') {\n scheduler = selectorOrScheduler;\n }\n var selector = typeof selectorOrScheduler === 'function' ? selectorOrScheduler : undefined;\n var subject = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__[\"ReplaySubject\"](bufferSize, windowTime, scheduler);\n return function (source) { return Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(function () { return subject; }, selector)(source); };\n}\n//# sourceMappingURL=publishReplay.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishReplay.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/race.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/race.js ***! - \*********************************************************************/ -/*! exports provided: race */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"race\", function() { return race; });\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/* harmony import */ var _observable_race__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/race */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/race.js\");\n/** PURE_IMPORTS_START _util_isArray,_observable_race PURE_IMPORTS_END */\n\n\nfunction race() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n return function raceOperatorFunction(source) {\n if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(observables[0])) {\n observables = observables[0];\n }\n return source.lift.call(_observable_race__WEBPACK_IMPORTED_MODULE_1__[\"race\"].apply(void 0, [source].concat(observables)));\n };\n}\n//# sourceMappingURL=race.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/race.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/reduce.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/reduce.js ***! - \***********************************************************************/ -/*! exports provided: reduce */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return reduce; });\n/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scan */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/scan.js\");\n/* harmony import */ var _takeLast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./takeLast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeLast.js\");\n/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js\");\n/* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/pipe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/pipe.js\");\n/** PURE_IMPORTS_START _scan,_takeLast,_defaultIfEmpty,_util_pipe PURE_IMPORTS_END */\n\n\n\n\nfunction reduce(accumulator, seed) {\n if (arguments.length >= 2) {\n return function reduceOperatorFunctionWithSeed(source) {\n return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipe\"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__[\"scan\"])(accumulator, seed), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__[\"takeLast\"])(1), Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__[\"defaultIfEmpty\"])(seed))(source);\n };\n }\n return function reduceOperatorFunction(source) {\n return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipe\"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__[\"scan\"])(function (acc, value, index) { return accumulator(acc, value, index + 1); }), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__[\"takeLast\"])(1))(source);\n };\n}\n//# sourceMappingURL=reduce.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/reduce.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/refCount.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/refCount.js ***! - \*************************************************************************/ -/*! exports provided: refCount */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"refCount\", function() { return refCount; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction refCount() {\n return function refCountOperatorFunction(source) {\n return source.lift(new RefCountOperator(source));\n };\n}\nvar RefCountOperator = /*@__PURE__*/ (function () {\n function RefCountOperator(connectable) {\n this.connectable = connectable;\n }\n RefCountOperator.prototype.call = function (subscriber, source) {\n var connectable = this.connectable;\n connectable._refCount++;\n var refCounter = new RefCountSubscriber(subscriber, connectable);\n var subscription = source.subscribe(refCounter);\n if (!refCounter.closed) {\n refCounter.connection = connectable.connect();\n }\n return subscription;\n };\n return RefCountOperator;\n}());\nvar RefCountSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](RefCountSubscriber, _super);\n function RefCountSubscriber(destination, connectable) {\n var _this = _super.call(this, destination) || this;\n _this.connectable = connectable;\n return _this;\n }\n RefCountSubscriber.prototype._unsubscribe = function () {\n var connectable = this.connectable;\n if (!connectable) {\n this.connection = null;\n return;\n }\n this.connectable = null;\n var refCount = connectable._refCount;\n if (refCount <= 0) {\n this.connection = null;\n return;\n }\n connectable._refCount = refCount - 1;\n if (refCount > 1) {\n this.connection = null;\n return;\n }\n var connection = this.connection;\n var sharedConnection = connectable._connection;\n this.connection = null;\n if (sharedConnection && (!connection || sharedConnection === connection)) {\n sharedConnection.unsubscribe();\n }\n };\n return RefCountSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=refCount.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/refCount.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/repeat.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/repeat.js ***! - \***********************************************************************/ -/*! exports provided: repeat */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"repeat\", function() { return repeat; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_observable_empty PURE_IMPORTS_END */\n\n\n\nfunction repeat(count) {\n if (count === void 0) {\n count = -1;\n }\n return function (source) {\n if (count === 0) {\n return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])();\n }\n else if (count < 0) {\n return source.lift(new RepeatOperator(-1, source));\n }\n else {\n return source.lift(new RepeatOperator(count - 1, source));\n }\n };\n}\nvar RepeatOperator = /*@__PURE__*/ (function () {\n function RepeatOperator(count, source) {\n this.count = count;\n this.source = source;\n }\n RepeatOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source));\n };\n return RepeatOperator;\n}());\nvar RepeatSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](RepeatSubscriber, _super);\n function RepeatSubscriber(destination, count, source) {\n var _this = _super.call(this, destination) || this;\n _this.count = count;\n _this.source = source;\n return _this;\n }\n RepeatSubscriber.prototype.complete = function () {\n if (!this.isStopped) {\n var _a = this, source = _a.source, count = _a.count;\n if (count === 0) {\n return _super.prototype.complete.call(this);\n }\n else if (count > -1) {\n this.count = count - 1;\n }\n source.subscribe(this._unsubscribeAndRecycle());\n }\n };\n return RepeatSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=repeat.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/repeat.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/repeatWhen.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/repeatWhen.js ***! - \***************************************************************************/ -/*! exports provided: repeatWhen */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"repeatWhen\", function() { return repeatWhen; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_innerSubscribe PURE_IMPORTS_END */\n\n\n\nfunction repeatWhen(notifier) {\n return function (source) { return source.lift(new RepeatWhenOperator(notifier)); };\n}\nvar RepeatWhenOperator = /*@__PURE__*/ (function () {\n function RepeatWhenOperator(notifier) {\n this.notifier = notifier;\n }\n RepeatWhenOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new RepeatWhenSubscriber(subscriber, this.notifier, source));\n };\n return RepeatWhenOperator;\n}());\nvar RepeatWhenSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](RepeatWhenSubscriber, _super);\n function RepeatWhenSubscriber(destination, notifier, source) {\n var _this = _super.call(this, destination) || this;\n _this.notifier = notifier;\n _this.source = source;\n _this.sourceIsBeingSubscribedTo = true;\n return _this;\n }\n RepeatWhenSubscriber.prototype.notifyNext = function () {\n this.sourceIsBeingSubscribedTo = true;\n this.source.subscribe(this);\n };\n RepeatWhenSubscriber.prototype.notifyComplete = function () {\n if (this.sourceIsBeingSubscribedTo === false) {\n return _super.prototype.complete.call(this);\n }\n };\n RepeatWhenSubscriber.prototype.complete = function () {\n this.sourceIsBeingSubscribedTo = false;\n if (!this.isStopped) {\n if (!this.retries) {\n this.subscribeToRetries();\n }\n if (!this.retriesSubscription || this.retriesSubscription.closed) {\n return _super.prototype.complete.call(this);\n }\n this._unsubscribeAndRecycle();\n this.notifications.next(undefined);\n }\n };\n RepeatWhenSubscriber.prototype._unsubscribe = function () {\n var _a = this, notifications = _a.notifications, retriesSubscription = _a.retriesSubscription;\n if (notifications) {\n notifications.unsubscribe();\n this.notifications = undefined;\n }\n if (retriesSubscription) {\n retriesSubscription.unsubscribe();\n this.retriesSubscription = undefined;\n }\n this.retries = undefined;\n };\n RepeatWhenSubscriber.prototype._unsubscribeAndRecycle = function () {\n var _unsubscribe = this._unsubscribe;\n this._unsubscribe = null;\n _super.prototype._unsubscribeAndRecycle.call(this);\n this._unsubscribe = _unsubscribe;\n return this;\n };\n RepeatWhenSubscriber.prototype.subscribeToRetries = function () {\n this.notifications = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n var retries;\n try {\n var notifier = this.notifier;\n retries = notifier(this.notifications);\n }\n catch (e) {\n return _super.prototype.complete.call(this);\n }\n this.retries = retries;\n this.retriesSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"innerSubscribe\"])(retries, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"SimpleInnerSubscriber\"](this));\n };\n return RepeatWhenSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=repeatWhen.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/repeatWhen.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/retry.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/retry.js ***! - \**********************************************************************/ -/*! exports provided: retry */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"retry\", function() { return retry; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction retry(count) {\n if (count === void 0) {\n count = -1;\n }\n return function (source) { return source.lift(new RetryOperator(count, source)); };\n}\nvar RetryOperator = /*@__PURE__*/ (function () {\n function RetryOperator(count, source) {\n this.count = count;\n this.source = source;\n }\n RetryOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source));\n };\n return RetryOperator;\n}());\nvar RetrySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](RetrySubscriber, _super);\n function RetrySubscriber(destination, count, source) {\n var _this = _super.call(this, destination) || this;\n _this.count = count;\n _this.source = source;\n return _this;\n }\n RetrySubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var _a = this, source = _a.source, count = _a.count;\n if (count === 0) {\n return _super.prototype.error.call(this, err);\n }\n else if (count > -1) {\n this.count = count - 1;\n }\n source.subscribe(this._unsubscribeAndRecycle());\n }\n };\n return RetrySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=retry.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/retry.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/retryWhen.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/retryWhen.js ***! - \**************************************************************************/ -/*! exports provided: retryWhen */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"retryWhen\", function() { return retryWhen; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_innerSubscribe PURE_IMPORTS_END */\n\n\n\nfunction retryWhen(notifier) {\n return function (source) { return source.lift(new RetryWhenOperator(notifier, source)); };\n}\nvar RetryWhenOperator = /*@__PURE__*/ (function () {\n function RetryWhenOperator(notifier, source) {\n this.notifier = notifier;\n this.source = source;\n }\n RetryWhenOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new RetryWhenSubscriber(subscriber, this.notifier, this.source));\n };\n return RetryWhenOperator;\n}());\nvar RetryWhenSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](RetryWhenSubscriber, _super);\n function RetryWhenSubscriber(destination, notifier, source) {\n var _this = _super.call(this, destination) || this;\n _this.notifier = notifier;\n _this.source = source;\n return _this;\n }\n RetryWhenSubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var errors = this.errors;\n var retries = this.retries;\n var retriesSubscription = this.retriesSubscription;\n if (!retries) {\n errors = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n try {\n var notifier = this.notifier;\n retries = notifier(errors);\n }\n catch (e) {\n return _super.prototype.error.call(this, e);\n }\n retriesSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"innerSubscribe\"])(retries, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"SimpleInnerSubscriber\"](this));\n }\n else {\n this.errors = undefined;\n this.retriesSubscription = undefined;\n }\n this._unsubscribeAndRecycle();\n this.errors = errors;\n this.retries = retries;\n this.retriesSubscription = retriesSubscription;\n errors.next(err);\n }\n };\n RetryWhenSubscriber.prototype._unsubscribe = function () {\n var _a = this, errors = _a.errors, retriesSubscription = _a.retriesSubscription;\n if (errors) {\n errors.unsubscribe();\n this.errors = undefined;\n }\n if (retriesSubscription) {\n retriesSubscription.unsubscribe();\n this.retriesSubscription = undefined;\n }\n this.retries = undefined;\n };\n RetryWhenSubscriber.prototype.notifyNext = function () {\n var _unsubscribe = this._unsubscribe;\n this._unsubscribe = null;\n this._unsubscribeAndRecycle();\n this._unsubscribe = _unsubscribe;\n this.source.subscribe(this);\n };\n return RetryWhenSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=retryWhen.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/retryWhen.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/sample.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/sample.js ***! - \***********************************************************************/ -/*! exports provided: sample */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sample\", function() { return sample; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction sample(notifier) {\n return function (source) { return source.lift(new SampleOperator(notifier)); };\n}\nvar SampleOperator = /*@__PURE__*/ (function () {\n function SampleOperator(notifier) {\n this.notifier = notifier;\n }\n SampleOperator.prototype.call = function (subscriber, source) {\n var sampleSubscriber = new SampleSubscriber(subscriber);\n var subscription = source.subscribe(sampleSubscriber);\n subscription.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(this.notifier, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](sampleSubscriber)));\n return subscription;\n };\n return SampleOperator;\n}());\nvar SampleSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SampleSubscriber, _super);\n function SampleSubscriber() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.hasValue = false;\n return _this;\n }\n SampleSubscriber.prototype._next = function (value) {\n this.value = value;\n this.hasValue = true;\n };\n SampleSubscriber.prototype.notifyNext = function () {\n this.emitValue();\n };\n SampleSubscriber.prototype.notifyComplete = function () {\n this.emitValue();\n };\n SampleSubscriber.prototype.emitValue = function () {\n if (this.hasValue) {\n this.hasValue = false;\n this.destination.next(this.value);\n }\n };\n return SampleSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=sample.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/sample.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/sampleTime.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/sampleTime.js ***! - \***************************************************************************/ -/*! exports provided: sampleTime */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sampleTime\", function() { return sampleTime; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_scheduler_async PURE_IMPORTS_END */\n\n\n\nfunction sampleTime(period, scheduler) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_2__[\"async\"];\n }\n return function (source) { return source.lift(new SampleTimeOperator(period, scheduler)); };\n}\nvar SampleTimeOperator = /*@__PURE__*/ (function () {\n function SampleTimeOperator(period, scheduler) {\n this.period = period;\n this.scheduler = scheduler;\n }\n SampleTimeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler));\n };\n return SampleTimeOperator;\n}());\nvar SampleTimeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SampleTimeSubscriber, _super);\n function SampleTimeSubscriber(destination, period, scheduler) {\n var _this = _super.call(this, destination) || this;\n _this.period = period;\n _this.scheduler = scheduler;\n _this.hasValue = false;\n _this.add(scheduler.schedule(dispatchNotification, period, { subscriber: _this, period: period }));\n return _this;\n }\n SampleTimeSubscriber.prototype._next = function (value) {\n this.lastValue = value;\n this.hasValue = true;\n };\n SampleTimeSubscriber.prototype.notifyNext = function () {\n if (this.hasValue) {\n this.hasValue = false;\n this.destination.next(this.lastValue);\n }\n };\n return SampleTimeSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\nfunction dispatchNotification(state) {\n var subscriber = state.subscriber, period = state.period;\n subscriber.notifyNext();\n this.schedule(state, period);\n}\n//# sourceMappingURL=sampleTime.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/sampleTime.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/scan.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/scan.js ***! - \*********************************************************************/ -/*! exports provided: scan */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"scan\", function() { return scan; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction scan(accumulator, seed) {\n var hasSeed = false;\n if (arguments.length >= 2) {\n hasSeed = true;\n }\n return function scanOperatorFunction(source) {\n return source.lift(new ScanOperator(accumulator, seed, hasSeed));\n };\n}\nvar ScanOperator = /*@__PURE__*/ (function () {\n function ScanOperator(accumulator, seed, hasSeed) {\n if (hasSeed === void 0) {\n hasSeed = false;\n }\n this.accumulator = accumulator;\n this.seed = seed;\n this.hasSeed = hasSeed;\n }\n ScanOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed));\n };\n return ScanOperator;\n}());\nvar ScanSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ScanSubscriber, _super);\n function ScanSubscriber(destination, accumulator, _seed, hasSeed) {\n var _this = _super.call(this, destination) || this;\n _this.accumulator = accumulator;\n _this._seed = _seed;\n _this.hasSeed = hasSeed;\n _this.index = 0;\n return _this;\n }\n Object.defineProperty(ScanSubscriber.prototype, \"seed\", {\n get: function () {\n return this._seed;\n },\n set: function (value) {\n this.hasSeed = true;\n this._seed = value;\n },\n enumerable: true,\n configurable: true\n });\n ScanSubscriber.prototype._next = function (value) {\n if (!this.hasSeed) {\n this.seed = value;\n this.destination.next(value);\n }\n else {\n return this._tryNext(value);\n }\n };\n ScanSubscriber.prototype._tryNext = function (value) {\n var index = this.index++;\n var result;\n try {\n result = this.accumulator(this.seed, value, index);\n }\n catch (err) {\n this.destination.error(err);\n }\n this.seed = result;\n this.destination.next(result);\n };\n return ScanSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=scan.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/scan.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/sequenceEqual.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/sequenceEqual.js ***! - \******************************************************************************/ -/*! exports provided: sequenceEqual, SequenceEqualOperator, SequenceEqualSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sequenceEqual\", function() { return sequenceEqual; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SequenceEqualOperator\", function() { return SequenceEqualOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SequenceEqualSubscriber\", function() { return SequenceEqualSubscriber; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction sequenceEqual(compareTo, comparator) {\n return function (source) { return source.lift(new SequenceEqualOperator(compareTo, comparator)); };\n}\nvar SequenceEqualOperator = /*@__PURE__*/ (function () {\n function SequenceEqualOperator(compareTo, comparator) {\n this.compareTo = compareTo;\n this.comparator = comparator;\n }\n SequenceEqualOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new SequenceEqualSubscriber(subscriber, this.compareTo, this.comparator));\n };\n return SequenceEqualOperator;\n}());\n\nvar SequenceEqualSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SequenceEqualSubscriber, _super);\n function SequenceEqualSubscriber(destination, compareTo, comparator) {\n var _this = _super.call(this, destination) || this;\n _this.compareTo = compareTo;\n _this.comparator = comparator;\n _this._a = [];\n _this._b = [];\n _this._oneComplete = false;\n _this.destination.add(compareTo.subscribe(new SequenceEqualCompareToSubscriber(destination, _this)));\n return _this;\n }\n SequenceEqualSubscriber.prototype._next = function (value) {\n if (this._oneComplete && this._b.length === 0) {\n this.emit(false);\n }\n else {\n this._a.push(value);\n this.checkValues();\n }\n };\n SequenceEqualSubscriber.prototype._complete = function () {\n if (this._oneComplete) {\n this.emit(this._a.length === 0 && this._b.length === 0);\n }\n else {\n this._oneComplete = true;\n }\n this.unsubscribe();\n };\n SequenceEqualSubscriber.prototype.checkValues = function () {\n var _c = this, _a = _c._a, _b = _c._b, comparator = _c.comparator;\n while (_a.length > 0 && _b.length > 0) {\n var a = _a.shift();\n var b = _b.shift();\n var areEqual = false;\n try {\n areEqual = comparator ? comparator(a, b) : a === b;\n }\n catch (e) {\n this.destination.error(e);\n }\n if (!areEqual) {\n this.emit(false);\n }\n }\n };\n SequenceEqualSubscriber.prototype.emit = function (value) {\n var destination = this.destination;\n destination.next(value);\n destination.complete();\n };\n SequenceEqualSubscriber.prototype.nextB = function (value) {\n if (this._oneComplete && this._a.length === 0) {\n this.emit(false);\n }\n else {\n this._b.push(value);\n this.checkValues();\n }\n };\n SequenceEqualSubscriber.prototype.completeB = function () {\n if (this._oneComplete) {\n this.emit(this._a.length === 0 && this._b.length === 0);\n }\n else {\n this._oneComplete = true;\n }\n };\n return SequenceEqualSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n\nvar SequenceEqualCompareToSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SequenceEqualCompareToSubscriber, _super);\n function SequenceEqualCompareToSubscriber(destination, parent) {\n var _this = _super.call(this, destination) || this;\n _this.parent = parent;\n return _this;\n }\n SequenceEqualCompareToSubscriber.prototype._next = function (value) {\n this.parent.nextB(value);\n };\n SequenceEqualCompareToSubscriber.prototype._error = function (err) {\n this.parent.error(err);\n this.unsubscribe();\n };\n SequenceEqualCompareToSubscriber.prototype._complete = function () {\n this.parent.completeB();\n this.unsubscribe();\n };\n return SequenceEqualCompareToSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=sequenceEqual.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/sequenceEqual.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/share.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/share.js ***! - \**********************************************************************/ -/*! exports provided: share */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"share\", function() { return share; });\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./multicast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js\");\n/* harmony import */ var _refCount__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./refCount */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/refCount.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/** PURE_IMPORTS_START _multicast,_refCount,_Subject PURE_IMPORTS_END */\n\n\n\nfunction shareSubjectFactory() {\n return new _Subject__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n}\nfunction share() {\n return function (source) { return Object(_refCount__WEBPACK_IMPORTED_MODULE_1__[\"refCount\"])()(Object(_multicast__WEBPACK_IMPORTED_MODULE_0__[\"multicast\"])(shareSubjectFactory)(source)); };\n}\n//# sourceMappingURL=share.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/share.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/shareReplay.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/shareReplay.js ***! - \****************************************************************************/ -/*! exports provided: shareReplay */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"shareReplay\", function() { return shareReplay; });\n/* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ReplaySubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/ReplaySubject.js\");\n/** PURE_IMPORTS_START _ReplaySubject PURE_IMPORTS_END */\n\nfunction shareReplay(configOrBufferSize, windowTime, scheduler) {\n var config;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n config = configOrBufferSize;\n }\n else {\n config = {\n bufferSize: configOrBufferSize,\n windowTime: windowTime,\n refCount: false,\n scheduler: scheduler,\n };\n }\n return function (source) { return source.lift(shareReplayOperator(config)); };\n}\nfunction shareReplayOperator(_a) {\n var _b = _a.bufferSize, bufferSize = _b === void 0 ? Number.POSITIVE_INFINITY : _b, _c = _a.windowTime, windowTime = _c === void 0 ? Number.POSITIVE_INFINITY : _c, useRefCount = _a.refCount, scheduler = _a.scheduler;\n var subject;\n var refCount = 0;\n var subscription;\n var hasError = false;\n var isComplete = false;\n return function shareReplayOperation(source) {\n refCount++;\n var innerSub;\n if (!subject || hasError) {\n hasError = false;\n subject = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__[\"ReplaySubject\"](bufferSize, windowTime, scheduler);\n innerSub = subject.subscribe(this);\n subscription = source.subscribe({\n next: function (value) {\n subject.next(value);\n },\n error: function (err) {\n hasError = true;\n subject.error(err);\n },\n complete: function () {\n isComplete = true;\n subscription = undefined;\n subject.complete();\n },\n });\n if (isComplete) {\n subscription = undefined;\n }\n }\n else {\n innerSub = subject.subscribe(this);\n }\n this.add(function () {\n refCount--;\n innerSub.unsubscribe();\n innerSub = undefined;\n if (subscription && !isComplete && useRefCount && refCount === 0) {\n subscription.unsubscribe();\n subscription = undefined;\n subject = undefined;\n }\n });\n };\n}\n//# sourceMappingURL=shareReplay.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/shareReplay.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/single.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/single.js ***! - \***********************************************************************/ -/*! exports provided: single */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"single\", function() { return single; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/EmptyError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/EmptyError.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_util_EmptyError PURE_IMPORTS_END */\n\n\n\nfunction single(predicate) {\n return function (source) { return source.lift(new SingleOperator(predicate, source)); };\n}\nvar SingleOperator = /*@__PURE__*/ (function () {\n function SingleOperator(predicate, source) {\n this.predicate = predicate;\n this.source = source;\n }\n SingleOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new SingleSubscriber(subscriber, this.predicate, this.source));\n };\n return SingleOperator;\n}());\nvar SingleSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SingleSubscriber, _super);\n function SingleSubscriber(destination, predicate, source) {\n var _this = _super.call(this, destination) || this;\n _this.predicate = predicate;\n _this.source = source;\n _this.seenValue = false;\n _this.index = 0;\n return _this;\n }\n SingleSubscriber.prototype.applySingleValue = function (value) {\n if (this.seenValue) {\n this.destination.error('Sequence contains more than one element');\n }\n else {\n this.seenValue = true;\n this.singleValue = value;\n }\n };\n SingleSubscriber.prototype._next = function (value) {\n var index = this.index++;\n if (this.predicate) {\n this.tryNext(value, index);\n }\n else {\n this.applySingleValue(value);\n }\n };\n SingleSubscriber.prototype.tryNext = function (value, index) {\n try {\n if (this.predicate(value, index, this.source)) {\n this.applySingleValue(value);\n }\n }\n catch (err) {\n this.destination.error(err);\n }\n };\n SingleSubscriber.prototype._complete = function () {\n var destination = this.destination;\n if (this.index > 0) {\n destination.next(this.seenValue ? this.singleValue : undefined);\n destination.complete();\n }\n else {\n destination.error(new _util_EmptyError__WEBPACK_IMPORTED_MODULE_2__[\"EmptyError\"]);\n }\n };\n return SingleSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=single.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/single.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/skip.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/skip.js ***! - \*********************************************************************/ -/*! exports provided: skip */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"skip\", function() { return skip; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction skip(count) {\n return function (source) { return source.lift(new SkipOperator(count)); };\n}\nvar SkipOperator = /*@__PURE__*/ (function () {\n function SkipOperator(total) {\n this.total = total;\n }\n SkipOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new SkipSubscriber(subscriber, this.total));\n };\n return SkipOperator;\n}());\nvar SkipSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SkipSubscriber, _super);\n function SkipSubscriber(destination, total) {\n var _this = _super.call(this, destination) || this;\n _this.total = total;\n _this.count = 0;\n return _this;\n }\n SkipSubscriber.prototype._next = function (x) {\n if (++this.count > this.total) {\n this.destination.next(x);\n }\n };\n return SkipSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=skip.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/skip.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipLast.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipLast.js ***! - \*************************************************************************/ -/*! exports provided: skipLast */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"skipLast\", function() { return skipLast; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_util_ArgumentOutOfRangeError PURE_IMPORTS_END */\n\n\n\nfunction skipLast(count) {\n return function (source) { return source.lift(new SkipLastOperator(count)); };\n}\nvar SkipLastOperator = /*@__PURE__*/ (function () {\n function SkipLastOperator(_skipCount) {\n this._skipCount = _skipCount;\n if (this._skipCount < 0) {\n throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_2__[\"ArgumentOutOfRangeError\"];\n }\n }\n SkipLastOperator.prototype.call = function (subscriber, source) {\n if (this._skipCount === 0) {\n return source.subscribe(new _Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"](subscriber));\n }\n else {\n return source.subscribe(new SkipLastSubscriber(subscriber, this._skipCount));\n }\n };\n return SkipLastOperator;\n}());\nvar SkipLastSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SkipLastSubscriber, _super);\n function SkipLastSubscriber(destination, _skipCount) {\n var _this = _super.call(this, destination) || this;\n _this._skipCount = _skipCount;\n _this._count = 0;\n _this._ring = new Array(_skipCount);\n return _this;\n }\n SkipLastSubscriber.prototype._next = function (value) {\n var skipCount = this._skipCount;\n var count = this._count++;\n if (count < skipCount) {\n this._ring[count] = value;\n }\n else {\n var currentIndex = count % skipCount;\n var ring = this._ring;\n var oldValue = ring[currentIndex];\n ring[currentIndex] = value;\n this.destination.next(oldValue);\n }\n };\n return SkipLastSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=skipLast.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipLast.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipUntil.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipUntil.js ***! - \**************************************************************************/ -/*! exports provided: skipUntil */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"skipUntil\", function() { return skipUntil; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction skipUntil(notifier) {\n return function (source) { return source.lift(new SkipUntilOperator(notifier)); };\n}\nvar SkipUntilOperator = /*@__PURE__*/ (function () {\n function SkipUntilOperator(notifier) {\n this.notifier = notifier;\n }\n SkipUntilOperator.prototype.call = function (destination, source) {\n return source.subscribe(new SkipUntilSubscriber(destination, this.notifier));\n };\n return SkipUntilOperator;\n}());\nvar SkipUntilSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SkipUntilSubscriber, _super);\n function SkipUntilSubscriber(destination, notifier) {\n var _this = _super.call(this, destination) || this;\n _this.hasValue = false;\n var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](_this);\n _this.add(innerSubscriber);\n _this.innerSubscription = innerSubscriber;\n var innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(notifier, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n _this.add(innerSubscription);\n _this.innerSubscription = innerSubscription;\n }\n return _this;\n }\n SkipUntilSubscriber.prototype._next = function (value) {\n if (this.hasValue) {\n _super.prototype._next.call(this, value);\n }\n };\n SkipUntilSubscriber.prototype.notifyNext = function () {\n this.hasValue = true;\n if (this.innerSubscription) {\n this.innerSubscription.unsubscribe();\n }\n };\n SkipUntilSubscriber.prototype.notifyComplete = function () {\n };\n return SkipUntilSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=skipUntil.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipUntil.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipWhile.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipWhile.js ***! - \**************************************************************************/ -/*! exports provided: skipWhile */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"skipWhile\", function() { return skipWhile; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction skipWhile(predicate) {\n return function (source) { return source.lift(new SkipWhileOperator(predicate)); };\n}\nvar SkipWhileOperator = /*@__PURE__*/ (function () {\n function SkipWhileOperator(predicate) {\n this.predicate = predicate;\n }\n SkipWhileOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new SkipWhileSubscriber(subscriber, this.predicate));\n };\n return SkipWhileOperator;\n}());\nvar SkipWhileSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SkipWhileSubscriber, _super);\n function SkipWhileSubscriber(destination, predicate) {\n var _this = _super.call(this, destination) || this;\n _this.predicate = predicate;\n _this.skipping = true;\n _this.index = 0;\n return _this;\n }\n SkipWhileSubscriber.prototype._next = function (value) {\n var destination = this.destination;\n if (this.skipping) {\n this.tryCallPredicate(value);\n }\n if (!this.skipping) {\n destination.next(value);\n }\n };\n SkipWhileSubscriber.prototype.tryCallPredicate = function (value) {\n try {\n var result = this.predicate(value, this.index++);\n this.skipping = Boolean(result);\n }\n catch (err) {\n this.destination.error(err);\n }\n };\n return SkipWhileSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=skipWhile.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipWhile.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/startWith.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/startWith.js ***! - \**************************************************************************/ -/*! exports provided: startWith */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"startWith\", function() { return startWith; });\n/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/concat */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/concat.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/** PURE_IMPORTS_START _observable_concat,_util_isScheduler PURE_IMPORTS_END */\n\n\nfunction startWith() {\n var array = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n array[_i] = arguments[_i];\n }\n var scheduler = array[array.length - 1];\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_1__[\"isScheduler\"])(scheduler)) {\n array.pop();\n return function (source) { return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_0__[\"concat\"])(array, source, scheduler); };\n }\n else {\n return function (source) { return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_0__[\"concat\"])(array, source); };\n }\n}\n//# sourceMappingURL=startWith.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/startWith.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/subscribeOn.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/subscribeOn.js ***! - \****************************************************************************/ -/*! exports provided: subscribeOn */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeOn\", function() { return subscribeOn; });\n/* harmony import */ var _observable_SubscribeOnObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/SubscribeOnObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/SubscribeOnObservable.js\");\n/** PURE_IMPORTS_START _observable_SubscribeOnObservable PURE_IMPORTS_END */\n\nfunction subscribeOn(scheduler, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return function subscribeOnOperatorFunction(source) {\n return source.lift(new SubscribeOnOperator(scheduler, delay));\n };\n}\nvar SubscribeOnOperator = /*@__PURE__*/ (function () {\n function SubscribeOnOperator(scheduler, delay) {\n this.scheduler = scheduler;\n this.delay = delay;\n }\n SubscribeOnOperator.prototype.call = function (subscriber, source) {\n return new _observable_SubscribeOnObservable__WEBPACK_IMPORTED_MODULE_0__[\"SubscribeOnObservable\"](source, this.delay, this.scheduler).subscribe(subscriber);\n };\n return SubscribeOnOperator;\n}());\n//# sourceMappingURL=subscribeOn.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/subscribeOn.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchAll.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchAll.js ***! - \**************************************************************************/ -/*! exports provided: switchAll */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"switchAll\", function() { return switchAll; });\n/* harmony import */ var _switchMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./switchMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMap.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js\");\n/** PURE_IMPORTS_START _switchMap,_util_identity PURE_IMPORTS_END */\n\n\nfunction switchAll() {\n return Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(_util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"]);\n}\n//# sourceMappingURL=switchAll.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchAll.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMap.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMap.js ***! - \**************************************************************************/ -/*! exports provided: switchMap */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"switchMap\", function() { return switchMap; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/from */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/from.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_map,_observable_from,_innerSubscribe PURE_IMPORTS_END */\n\n\n\n\nfunction switchMap(project, resultSelector) {\n if (typeof resultSelector === 'function') {\n return function (source) { return source.pipe(switchMap(function (a, i) { return Object(_observable_from__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(function (b, ii) { return resultSelector(a, b, i, ii); })); })); };\n }\n return function (source) { return source.lift(new SwitchMapOperator(project)); };\n}\nvar SwitchMapOperator = /*@__PURE__*/ (function () {\n function SwitchMapOperator(project) {\n this.project = project;\n }\n SwitchMapOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));\n };\n return SwitchMapOperator;\n}());\nvar SwitchMapSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](SwitchMapSubscriber, _super);\n function SwitchMapSubscriber(destination, project) {\n var _this = _super.call(this, destination) || this;\n _this.project = project;\n _this.index = 0;\n return _this;\n }\n SwitchMapSubscriber.prototype._next = function (value) {\n var result;\n var index = this.index++;\n try {\n result = this.project(value, index);\n }\n catch (error) {\n this.destination.error(error);\n return;\n }\n this._innerSub(result);\n };\n SwitchMapSubscriber.prototype._innerSub = function (result) {\n var innerSubscription = this.innerSubscription;\n if (innerSubscription) {\n innerSubscription.unsubscribe();\n }\n var innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleInnerSubscriber\"](this);\n var destination = this.destination;\n destination.add(innerSubscriber);\n this.innerSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"innerSubscribe\"])(result, innerSubscriber);\n if (this.innerSubscription !== innerSubscriber) {\n destination.add(this.innerSubscription);\n }\n };\n SwitchMapSubscriber.prototype._complete = function () {\n var innerSubscription = this.innerSubscription;\n if (!innerSubscription || innerSubscription.closed) {\n _super.prototype._complete.call(this);\n }\n this.unsubscribe();\n };\n SwitchMapSubscriber.prototype._unsubscribe = function () {\n this.innerSubscription = undefined;\n };\n SwitchMapSubscriber.prototype.notifyComplete = function () {\n this.innerSubscription = undefined;\n if (this.isStopped) {\n _super.prototype._complete.call(this);\n }\n };\n SwitchMapSubscriber.prototype.notifyNext = function (innerValue) {\n this.destination.next(innerValue);\n };\n return SwitchMapSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=switchMap.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMap.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMapTo.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMapTo.js ***! - \****************************************************************************/ -/*! exports provided: switchMapTo */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"switchMapTo\", function() { return switchMapTo; });\n/* harmony import */ var _switchMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./switchMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMap.js\");\n/** PURE_IMPORTS_START _switchMap PURE_IMPORTS_END */\n\nfunction switchMapTo(innerObservable, resultSelector) {\n return resultSelector ? Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(function () { return innerObservable; }, resultSelector) : Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(function () { return innerObservable; });\n}\n//# sourceMappingURL=switchMapTo.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMapTo.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/take.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/take.js ***! - \*********************************************************************/ -/*! exports provided: take */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"take\", function() { return take; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js\");\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable/empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_util_ArgumentOutOfRangeError,_observable_empty PURE_IMPORTS_END */\n\n\n\n\nfunction take(count) {\n return function (source) {\n if (count === 0) {\n return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_3__[\"empty\"])();\n }\n else {\n return source.lift(new TakeOperator(count));\n }\n };\n}\nvar TakeOperator = /*@__PURE__*/ (function () {\n function TakeOperator(total) {\n this.total = total;\n if (this.total < 0) {\n throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_2__[\"ArgumentOutOfRangeError\"];\n }\n }\n TakeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new TakeSubscriber(subscriber, this.total));\n };\n return TakeOperator;\n}());\nvar TakeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](TakeSubscriber, _super);\n function TakeSubscriber(destination, total) {\n var _this = _super.call(this, destination) || this;\n _this.total = total;\n _this.count = 0;\n return _this;\n }\n TakeSubscriber.prototype._next = function (value) {\n var total = this.total;\n var count = ++this.count;\n if (count <= total) {\n this.destination.next(value);\n if (count === total) {\n this.destination.complete();\n this.unsubscribe();\n }\n }\n };\n return TakeSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=take.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/take.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeLast.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeLast.js ***! - \*************************************************************************/ -/*! exports provided: takeLast */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"takeLast\", function() { return takeLast; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js\");\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable/empty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/empty.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_util_ArgumentOutOfRangeError,_observable_empty PURE_IMPORTS_END */\n\n\n\n\nfunction takeLast(count) {\n return function takeLastOperatorFunction(source) {\n if (count === 0) {\n return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_3__[\"empty\"])();\n }\n else {\n return source.lift(new TakeLastOperator(count));\n }\n };\n}\nvar TakeLastOperator = /*@__PURE__*/ (function () {\n function TakeLastOperator(total) {\n this.total = total;\n if (this.total < 0) {\n throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_2__[\"ArgumentOutOfRangeError\"];\n }\n }\n TakeLastOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new TakeLastSubscriber(subscriber, this.total));\n };\n return TakeLastOperator;\n}());\nvar TakeLastSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](TakeLastSubscriber, _super);\n function TakeLastSubscriber(destination, total) {\n var _this = _super.call(this, destination) || this;\n _this.total = total;\n _this.ring = new Array();\n _this.count = 0;\n return _this;\n }\n TakeLastSubscriber.prototype._next = function (value) {\n var ring = this.ring;\n var total = this.total;\n var count = this.count++;\n if (ring.length < total) {\n ring.push(value);\n }\n else {\n var index = count % total;\n ring[index] = value;\n }\n };\n TakeLastSubscriber.prototype._complete = function () {\n var destination = this.destination;\n var count = this.count;\n if (count > 0) {\n var total = this.count >= this.total ? this.total : this.count;\n var ring = this.ring;\n for (var i = 0; i < total; i++) {\n var idx = (count++) % total;\n destination.next(ring[idx]);\n }\n }\n destination.complete();\n };\n return TakeLastSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=takeLast.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeLast.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeUntil.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeUntil.js ***! - \**************************************************************************/ -/*! exports provided: takeUntil */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"takeUntil\", function() { return takeUntil; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nfunction takeUntil(notifier) {\n return function (source) { return source.lift(new TakeUntilOperator(notifier)); };\n}\nvar TakeUntilOperator = /*@__PURE__*/ (function () {\n function TakeUntilOperator(notifier) {\n this.notifier = notifier;\n }\n TakeUntilOperator.prototype.call = function (subscriber, source) {\n var takeUntilSubscriber = new TakeUntilSubscriber(subscriber);\n var notifierSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(this.notifier, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](takeUntilSubscriber));\n if (notifierSubscription && !takeUntilSubscriber.seenValue) {\n takeUntilSubscriber.add(notifierSubscription);\n return source.subscribe(takeUntilSubscriber);\n }\n return takeUntilSubscriber;\n };\n return TakeUntilOperator;\n}());\nvar TakeUntilSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](TakeUntilSubscriber, _super);\n function TakeUntilSubscriber(destination) {\n var _this = _super.call(this, destination) || this;\n _this.seenValue = false;\n return _this;\n }\n TakeUntilSubscriber.prototype.notifyNext = function () {\n this.seenValue = true;\n this.complete();\n };\n TakeUntilSubscriber.prototype.notifyComplete = function () {\n };\n return TakeUntilSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=takeUntil.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeUntil.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeWhile.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeWhile.js ***! - \**************************************************************************/ -/*! exports provided: takeWhile */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"takeWhile\", function() { return takeWhile; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\n\n\nfunction takeWhile(predicate, inclusive) {\n if (inclusive === void 0) {\n inclusive = false;\n }\n return function (source) {\n return source.lift(new TakeWhileOperator(predicate, inclusive));\n };\n}\nvar TakeWhileOperator = /*@__PURE__*/ (function () {\n function TakeWhileOperator(predicate, inclusive) {\n this.predicate = predicate;\n this.inclusive = inclusive;\n }\n TakeWhileOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate, this.inclusive));\n };\n return TakeWhileOperator;\n}());\nvar TakeWhileSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](TakeWhileSubscriber, _super);\n function TakeWhileSubscriber(destination, predicate, inclusive) {\n var _this = _super.call(this, destination) || this;\n _this.predicate = predicate;\n _this.inclusive = inclusive;\n _this.index = 0;\n return _this;\n }\n TakeWhileSubscriber.prototype._next = function (value) {\n var destination = this.destination;\n var result;\n try {\n result = this.predicate(value, this.index++);\n }\n catch (err) {\n destination.error(err);\n return;\n }\n this.nextOrComplete(value, result);\n };\n TakeWhileSubscriber.prototype.nextOrComplete = function (value, predicateResult) {\n var destination = this.destination;\n if (Boolean(predicateResult)) {\n destination.next(value);\n }\n else {\n if (this.inclusive) {\n destination.next(value);\n }\n destination.complete();\n }\n };\n return TakeWhileSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=takeWhile.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeWhile.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/tap.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/tap.js ***! - \********************************************************************/ -/*! exports provided: tap */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tap\", function() { return tap; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/noop */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/noop.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isFunction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isFunction.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_util_noop,_util_isFunction PURE_IMPORTS_END */\n\n\n\n\nfunction tap(nextOrObserver, error, complete) {\n return function tapOperatorFunction(source) {\n return source.lift(new DoOperator(nextOrObserver, error, complete));\n };\n}\nvar DoOperator = /*@__PURE__*/ (function () {\n function DoOperator(nextOrObserver, error, complete) {\n this.nextOrObserver = nextOrObserver;\n this.error = error;\n this.complete = complete;\n }\n DoOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n };\n return DoOperator;\n}());\nvar TapSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](TapSubscriber, _super);\n function TapSubscriber(destination, observerOrNext, error, complete) {\n var _this = _super.call(this, destination) || this;\n _this._tapNext = _util_noop__WEBPACK_IMPORTED_MODULE_2__[\"noop\"];\n _this._tapError = _util_noop__WEBPACK_IMPORTED_MODULE_2__[\"noop\"];\n _this._tapComplete = _util_noop__WEBPACK_IMPORTED_MODULE_2__[\"noop\"];\n _this._tapError = error || _util_noop__WEBPACK_IMPORTED_MODULE_2__[\"noop\"];\n _this._tapComplete = complete || _util_noop__WEBPACK_IMPORTED_MODULE_2__[\"noop\"];\n if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_3__[\"isFunction\"])(observerOrNext)) {\n _this._context = _this;\n _this._tapNext = observerOrNext;\n }\n else if (observerOrNext) {\n _this._context = observerOrNext;\n _this._tapNext = observerOrNext.next || _util_noop__WEBPACK_IMPORTED_MODULE_2__[\"noop\"];\n _this._tapError = observerOrNext.error || _util_noop__WEBPACK_IMPORTED_MODULE_2__[\"noop\"];\n _this._tapComplete = observerOrNext.complete || _util_noop__WEBPACK_IMPORTED_MODULE_2__[\"noop\"];\n }\n return _this;\n }\n TapSubscriber.prototype._next = function (value) {\n try {\n this._tapNext.call(this._context, value);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(value);\n };\n TapSubscriber.prototype._error = function (err) {\n try {\n this._tapError.call(this._context, err);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.error(err);\n };\n TapSubscriber.prototype._complete = function () {\n try {\n this._tapComplete.call(this._context);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n return this.destination.complete();\n };\n return TapSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=tap.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/tap.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttle.js": -/*!*************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttle.js ***! - \*************************************************************************/ -/*! exports provided: defaultThrottleConfig, throttle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultThrottleConfig\", function() { return defaultThrottleConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"throttle\", function() { return throttle; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */\n\n\nvar defaultThrottleConfig = {\n leading: true,\n trailing: false\n};\nfunction throttle(durationSelector, config) {\n if (config === void 0) {\n config = defaultThrottleConfig;\n }\n return function (source) { return source.lift(new ThrottleOperator(durationSelector, !!config.leading, !!config.trailing)); };\n}\nvar ThrottleOperator = /*@__PURE__*/ (function () {\n function ThrottleOperator(durationSelector, leading, trailing) {\n this.durationSelector = durationSelector;\n this.leading = leading;\n this.trailing = trailing;\n }\n ThrottleOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new ThrottleSubscriber(subscriber, this.durationSelector, this.leading, this.trailing));\n };\n return ThrottleOperator;\n}());\nvar ThrottleSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ThrottleSubscriber, _super);\n function ThrottleSubscriber(destination, durationSelector, _leading, _trailing) {\n var _this = _super.call(this, destination) || this;\n _this.destination = destination;\n _this.durationSelector = durationSelector;\n _this._leading = _leading;\n _this._trailing = _trailing;\n _this._hasValue = false;\n return _this;\n }\n ThrottleSubscriber.prototype._next = function (value) {\n this._hasValue = true;\n this._sendValue = value;\n if (!this._throttled) {\n if (this._leading) {\n this.send();\n }\n else {\n this.throttle(value);\n }\n }\n };\n ThrottleSubscriber.prototype.send = function () {\n var _a = this, _hasValue = _a._hasValue, _sendValue = _a._sendValue;\n if (_hasValue) {\n this.destination.next(_sendValue);\n this.throttle(_sendValue);\n }\n this._hasValue = false;\n this._sendValue = undefined;\n };\n ThrottleSubscriber.prototype.throttle = function (value) {\n var duration = this.tryDurationSelector(value);\n if (!!duration) {\n this.add(this._throttled = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"innerSubscribe\"])(duration, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleInnerSubscriber\"](this)));\n }\n };\n ThrottleSubscriber.prototype.tryDurationSelector = function (value) {\n try {\n return this.durationSelector(value);\n }\n catch (err) {\n this.destination.error(err);\n return null;\n }\n };\n ThrottleSubscriber.prototype.throttlingDone = function () {\n var _a = this, _throttled = _a._throttled, _trailing = _a._trailing;\n if (_throttled) {\n _throttled.unsubscribe();\n }\n this._throttled = undefined;\n if (_trailing) {\n this.send();\n }\n };\n ThrottleSubscriber.prototype.notifyNext = function () {\n this.throttlingDone();\n };\n ThrottleSubscriber.prototype.notifyComplete = function () {\n this.throttlingDone();\n };\n return ThrottleSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_1__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=throttle.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttle.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttleTime.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttleTime.js ***! - \*****************************************************************************/ -/*! exports provided: throttleTime */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"throttleTime\", function() { return throttleTime; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _throttle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./throttle */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttle.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_scheduler_async,_throttle PURE_IMPORTS_END */\n\n\n\n\nfunction throttleTime(duration, scheduler, config) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_2__[\"async\"];\n }\n if (config === void 0) {\n config = _throttle__WEBPACK_IMPORTED_MODULE_3__[\"defaultThrottleConfig\"];\n }\n return function (source) { return source.lift(new ThrottleTimeOperator(duration, scheduler, config.leading, config.trailing)); };\n}\nvar ThrottleTimeOperator = /*@__PURE__*/ (function () {\n function ThrottleTimeOperator(duration, scheduler, leading, trailing) {\n this.duration = duration;\n this.scheduler = scheduler;\n this.leading = leading;\n this.trailing = trailing;\n }\n ThrottleTimeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new ThrottleTimeSubscriber(subscriber, this.duration, this.scheduler, this.leading, this.trailing));\n };\n return ThrottleTimeOperator;\n}());\nvar ThrottleTimeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ThrottleTimeSubscriber, _super);\n function ThrottleTimeSubscriber(destination, duration, scheduler, leading, trailing) {\n var _this = _super.call(this, destination) || this;\n _this.duration = duration;\n _this.scheduler = scheduler;\n _this.leading = leading;\n _this.trailing = trailing;\n _this._hasTrailingValue = false;\n _this._trailingValue = null;\n return _this;\n }\n ThrottleTimeSubscriber.prototype._next = function (value) {\n if (this.throttled) {\n if (this.trailing) {\n this._trailingValue = value;\n this._hasTrailingValue = true;\n }\n }\n else {\n this.add(this.throttled = this.scheduler.schedule(dispatchNext, this.duration, { subscriber: this }));\n if (this.leading) {\n this.destination.next(value);\n }\n else if (this.trailing) {\n this._trailingValue = value;\n this._hasTrailingValue = true;\n }\n }\n };\n ThrottleTimeSubscriber.prototype._complete = function () {\n if (this._hasTrailingValue) {\n this.destination.next(this._trailingValue);\n this.destination.complete();\n }\n else {\n this.destination.complete();\n }\n };\n ThrottleTimeSubscriber.prototype.clearThrottle = function () {\n var throttled = this.throttled;\n if (throttled) {\n if (this.trailing && this._hasTrailingValue) {\n this.destination.next(this._trailingValue);\n this._trailingValue = null;\n this._hasTrailingValue = false;\n }\n throttled.unsubscribe();\n this.remove(throttled);\n this.throttled = null;\n }\n };\n return ThrottleTimeSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\nfunction dispatchNext(arg) {\n var subscriber = arg.subscriber;\n subscriber.clearThrottle();\n}\n//# sourceMappingURL=throttleTime.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttleTime.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js ***! - \*****************************************************************************/ -/*! exports provided: throwIfEmpty */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"throwIfEmpty\", function() { return throwIfEmpty; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/EmptyError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/EmptyError.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START tslib,_util_EmptyError,_Subscriber PURE_IMPORTS_END */\n\n\n\nfunction throwIfEmpty(errorFactory) {\n if (errorFactory === void 0) {\n errorFactory = defaultErrorFactory;\n }\n return function (source) {\n return source.lift(new ThrowIfEmptyOperator(errorFactory));\n };\n}\nvar ThrowIfEmptyOperator = /*@__PURE__*/ (function () {\n function ThrowIfEmptyOperator(errorFactory) {\n this.errorFactory = errorFactory;\n }\n ThrowIfEmptyOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new ThrowIfEmptySubscriber(subscriber, this.errorFactory));\n };\n return ThrowIfEmptyOperator;\n}());\nvar ThrowIfEmptySubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](ThrowIfEmptySubscriber, _super);\n function ThrowIfEmptySubscriber(destination, errorFactory) {\n var _this = _super.call(this, destination) || this;\n _this.errorFactory = errorFactory;\n _this.hasValue = false;\n return _this;\n }\n ThrowIfEmptySubscriber.prototype._next = function (value) {\n this.hasValue = true;\n this.destination.next(value);\n };\n ThrowIfEmptySubscriber.prototype._complete = function () {\n if (!this.hasValue) {\n var err = void 0;\n try {\n err = this.errorFactory();\n }\n catch (e) {\n err = e;\n }\n this.destination.error(err);\n }\n else {\n return this.destination.complete();\n }\n };\n return ThrowIfEmptySubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"]));\nfunction defaultErrorFactory() {\n return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__[\"EmptyError\"]();\n}\n//# sourceMappingURL=throwIfEmpty.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeInterval.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeInterval.js ***! - \*****************************************************************************/ -/*! exports provided: timeInterval, TimeInterval */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timeInterval\", function() { return timeInterval; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TimeInterval\", function() { return TimeInterval; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scan */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/scan.js\");\n/* harmony import */ var _observable_defer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/defer */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/defer.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/** PURE_IMPORTS_START _scheduler_async,_scan,_observable_defer,_map PURE_IMPORTS_END */\n\n\n\n\nfunction timeInterval(scheduler) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n }\n return function (source) {\n return Object(_observable_defer__WEBPACK_IMPORTED_MODULE_2__[\"defer\"])(function () {\n return source.pipe(Object(_scan__WEBPACK_IMPORTED_MODULE_1__[\"scan\"])(function (_a, value) {\n var current = _a.current;\n return ({ value: value, current: scheduler.now(), last: current });\n }, { current: scheduler.now(), value: undefined, last: undefined }), Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (_a) {\n var current = _a.current, last = _a.last, value = _a.value;\n return new TimeInterval(value, current - last);\n }));\n });\n };\n}\nvar TimeInterval = /*@__PURE__*/ (function () {\n function TimeInterval(value, interval) {\n this.value = value;\n this.interval = interval;\n }\n return TimeInterval;\n}());\n\n//# sourceMappingURL=timeInterval.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeInterval.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeout.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeout.js ***! - \************************************************************************/ -/*! exports provided: timeout */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timeout\", function() { return timeout; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _util_TimeoutError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/TimeoutError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/TimeoutError.js\");\n/* harmony import */ var _timeoutWith__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./timeoutWith */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js\");\n/* harmony import */ var _observable_throwError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable/throwError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/throwError.js\");\n/** PURE_IMPORTS_START _scheduler_async,_util_TimeoutError,_timeoutWith,_observable_throwError PURE_IMPORTS_END */\n\n\n\n\nfunction timeout(due, scheduler) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n }\n return Object(_timeoutWith__WEBPACK_IMPORTED_MODULE_2__[\"timeoutWith\"])(due, Object(_observable_throwError__WEBPACK_IMPORTED_MODULE_3__[\"throwError\"])(new _util_TimeoutError__WEBPACK_IMPORTED_MODULE_1__[\"TimeoutError\"]()), scheduler);\n}\n//# sourceMappingURL=timeout.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeout.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js ***! - \****************************************************************************/ -/*! exports provided: timeoutWith */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timeoutWith\", function() { return timeoutWith; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _util_isDate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isDate */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isDate.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_scheduler_async,_util_isDate,_innerSubscribe PURE_IMPORTS_END */\n\n\n\n\nfunction timeoutWith(due, withObservable, scheduler) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n }\n return function (source) {\n var absoluteTimeout = Object(_util_isDate__WEBPACK_IMPORTED_MODULE_2__[\"isDate\"])(due);\n var waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due);\n return source.lift(new TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler));\n };\n}\nvar TimeoutWithOperator = /*@__PURE__*/ (function () {\n function TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler) {\n this.waitFor = waitFor;\n this.absoluteTimeout = absoluteTimeout;\n this.withObservable = withObservable;\n this.scheduler = scheduler;\n }\n TimeoutWithOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new TimeoutWithSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.withObservable, this.scheduler));\n };\n return TimeoutWithOperator;\n}());\nvar TimeoutWithSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](TimeoutWithSubscriber, _super);\n function TimeoutWithSubscriber(destination, absoluteTimeout, waitFor, withObservable, scheduler) {\n var _this = _super.call(this, destination) || this;\n _this.absoluteTimeout = absoluteTimeout;\n _this.waitFor = waitFor;\n _this.withObservable = withObservable;\n _this.scheduler = scheduler;\n _this.scheduleTimeout();\n return _this;\n }\n TimeoutWithSubscriber.dispatchTimeout = function (subscriber) {\n var withObservable = subscriber.withObservable;\n subscriber._unsubscribeAndRecycle();\n subscriber.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"innerSubscribe\"])(withObservable, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleInnerSubscriber\"](subscriber)));\n };\n TimeoutWithSubscriber.prototype.scheduleTimeout = function () {\n var action = this.action;\n if (action) {\n this.action = action.schedule(this, this.waitFor);\n }\n else {\n this.add(this.action = this.scheduler.schedule(TimeoutWithSubscriber.dispatchTimeout, this.waitFor, this));\n }\n };\n TimeoutWithSubscriber.prototype._next = function (value) {\n if (!this.absoluteTimeout) {\n this.scheduleTimeout();\n }\n _super.prototype._next.call(this, value);\n };\n TimeoutWithSubscriber.prototype._unsubscribe = function () {\n this.action = undefined;\n this.scheduler = null;\n this.withObservable = null;\n };\n return TimeoutWithSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_3__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=timeoutWith.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/timestamp.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/timestamp.js ***! - \**************************************************************************/ -/*! exports provided: timestamp, Timestamp */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timestamp\", function() { return timestamp; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Timestamp\", function() { return Timestamp; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/** PURE_IMPORTS_START _scheduler_async,_map PURE_IMPORTS_END */\n\n\nfunction timestamp(scheduler) {\n if (scheduler === void 0) {\n scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n }\n return Object(_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(function (value) { return new Timestamp(value, scheduler.now()); });\n}\nvar Timestamp = /*@__PURE__*/ (function () {\n function Timestamp(value, timestamp) {\n this.value = value;\n this.timestamp = timestamp;\n }\n return Timestamp;\n}());\n\n//# sourceMappingURL=timestamp.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/timestamp.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/toArray.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/toArray.js ***! - \************************************************************************/ -/*! exports provided: toArray */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toArray\", function() { return toArray; });\n/* harmony import */ var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reduce */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/reduce.js\");\n/** PURE_IMPORTS_START _reduce PURE_IMPORTS_END */\n\nfunction toArrayReducer(arr, item, index) {\n if (index === 0) {\n return [item];\n }\n arr.push(item);\n return arr;\n}\nfunction toArray() {\n return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(toArrayReducer, []);\n}\n//# sourceMappingURL=toArray.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/toArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/window.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/window.js ***! - \***********************************************************************/ -/*! exports provided: window */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"window\", function() { return window; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../innerSubscribe */ \"./.codedoc/node_modules/rxjs/_esm5/internal/innerSubscribe.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_innerSubscribe PURE_IMPORTS_END */\n\n\n\nfunction window(windowBoundaries) {\n return function windowOperatorFunction(source) {\n return source.lift(new WindowOperator(windowBoundaries));\n };\n}\nvar WindowOperator = /*@__PURE__*/ (function () {\n function WindowOperator(windowBoundaries) {\n this.windowBoundaries = windowBoundaries;\n }\n WindowOperator.prototype.call = function (subscriber, source) {\n var windowSubscriber = new WindowSubscriber(subscriber);\n var sourceSubscription = source.subscribe(windowSubscriber);\n if (!sourceSubscription.closed) {\n windowSubscriber.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"innerSubscribe\"])(this.windowBoundaries, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"SimpleInnerSubscriber\"](windowSubscriber)));\n }\n return sourceSubscription;\n };\n return WindowOperator;\n}());\nvar WindowSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](WindowSubscriber, _super);\n function WindowSubscriber(destination) {\n var _this = _super.call(this, destination) || this;\n _this.window = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n destination.next(_this.window);\n return _this;\n }\n WindowSubscriber.prototype.notifyNext = function () {\n this.openWindow();\n };\n WindowSubscriber.prototype.notifyError = function (error) {\n this._error(error);\n };\n WindowSubscriber.prototype.notifyComplete = function () {\n this._complete();\n };\n WindowSubscriber.prototype._next = function (value) {\n this.window.next(value);\n };\n WindowSubscriber.prototype._error = function (err) {\n this.window.error(err);\n this.destination.error(err);\n };\n WindowSubscriber.prototype._complete = function () {\n this.window.complete();\n this.destination.complete();\n };\n WindowSubscriber.prototype._unsubscribe = function () {\n this.window = null;\n };\n WindowSubscriber.prototype.openWindow = function () {\n var prevWindow = this.window;\n if (prevWindow) {\n prevWindow.complete();\n }\n var destination = this.destination;\n var newWindow = this.window = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n destination.next(newWindow);\n };\n return WindowSubscriber;\n}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__[\"SimpleOuterSubscriber\"]));\n//# sourceMappingURL=window.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/window.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowCount.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowCount.js ***! - \****************************************************************************/ -/*! exports provided: windowCount */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"windowCount\", function() { return windowCount; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/** PURE_IMPORTS_START tslib,_Subscriber,_Subject PURE_IMPORTS_END */\n\n\n\nfunction windowCount(windowSize, startWindowEvery) {\n if (startWindowEvery === void 0) {\n startWindowEvery = 0;\n }\n return function windowCountOperatorFunction(source) {\n return source.lift(new WindowCountOperator(windowSize, startWindowEvery));\n };\n}\nvar WindowCountOperator = /*@__PURE__*/ (function () {\n function WindowCountOperator(windowSize, startWindowEvery) {\n this.windowSize = windowSize;\n this.startWindowEvery = startWindowEvery;\n }\n WindowCountOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new WindowCountSubscriber(subscriber, this.windowSize, this.startWindowEvery));\n };\n return WindowCountOperator;\n}());\nvar WindowCountSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](WindowCountSubscriber, _super);\n function WindowCountSubscriber(destination, windowSize, startWindowEvery) {\n var _this = _super.call(this, destination) || this;\n _this.destination = destination;\n _this.windowSize = windowSize;\n _this.startWindowEvery = startWindowEvery;\n _this.windows = [new _Subject__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]()];\n _this.count = 0;\n destination.next(_this.windows[0]);\n return _this;\n }\n WindowCountSubscriber.prototype._next = function (value) {\n var startWindowEvery = (this.startWindowEvery > 0) ? this.startWindowEvery : this.windowSize;\n var destination = this.destination;\n var windowSize = this.windowSize;\n var windows = this.windows;\n var len = windows.length;\n for (var i = 0; i < len && !this.closed; i++) {\n windows[i].next(value);\n }\n var c = this.count - windowSize + 1;\n if (c >= 0 && c % startWindowEvery === 0 && !this.closed) {\n windows.shift().complete();\n }\n if (++this.count % startWindowEvery === 0 && !this.closed) {\n var window_1 = new _Subject__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n windows.push(window_1);\n destination.next(window_1);\n }\n };\n WindowCountSubscriber.prototype._error = function (err) {\n var windows = this.windows;\n if (windows) {\n while (windows.length > 0 && !this.closed) {\n windows.shift().error(err);\n }\n }\n this.destination.error(err);\n };\n WindowCountSubscriber.prototype._complete = function () {\n var windows = this.windows;\n if (windows) {\n while (windows.length > 0 && !this.closed) {\n windows.shift().complete();\n }\n }\n this.destination.complete();\n };\n WindowCountSubscriber.prototype._unsubscribe = function () {\n this.count = 0;\n this.windows = null;\n };\n return WindowCountSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]));\n//# sourceMappingURL=windowCount.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowCount.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowTime.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowTime.js ***! - \***************************************************************************/ -/*! exports provided: windowTime */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"windowTime\", function() { return windowTime; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/async */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _util_isNumeric__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isNumeric */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isNumeric.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_scheduler_async,_Subscriber,_util_isNumeric,_util_isScheduler PURE_IMPORTS_END */\n\n\n\n\n\n\nfunction windowTime(windowTimeSpan) {\n var scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_2__[\"async\"];\n var windowCreationInterval = null;\n var maxWindowSize = Number.POSITIVE_INFINITY;\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_5__[\"isScheduler\"])(arguments[3])) {\n scheduler = arguments[3];\n }\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_5__[\"isScheduler\"])(arguments[2])) {\n scheduler = arguments[2];\n }\n else if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_4__[\"isNumeric\"])(arguments[2])) {\n maxWindowSize = Number(arguments[2]);\n }\n if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_5__[\"isScheduler\"])(arguments[1])) {\n scheduler = arguments[1];\n }\n else if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_4__[\"isNumeric\"])(arguments[1])) {\n windowCreationInterval = Number(arguments[1]);\n }\n return function windowTimeOperatorFunction(source) {\n return source.lift(new WindowTimeOperator(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler));\n };\n}\nvar WindowTimeOperator = /*@__PURE__*/ (function () {\n function WindowTimeOperator(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) {\n this.windowTimeSpan = windowTimeSpan;\n this.windowCreationInterval = windowCreationInterval;\n this.maxWindowSize = maxWindowSize;\n this.scheduler = scheduler;\n }\n WindowTimeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new WindowTimeSubscriber(subscriber, this.windowTimeSpan, this.windowCreationInterval, this.maxWindowSize, this.scheduler));\n };\n return WindowTimeOperator;\n}());\nvar CountedSubject = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](CountedSubject, _super);\n function CountedSubject() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this._numberOfNextedValues = 0;\n return _this;\n }\n CountedSubject.prototype.next = function (value) {\n this._numberOfNextedValues++;\n _super.prototype.next.call(this, value);\n };\n Object.defineProperty(CountedSubject.prototype, \"numberOfNextedValues\", {\n get: function () {\n return this._numberOfNextedValues;\n },\n enumerable: true,\n configurable: true\n });\n return CountedSubject;\n}(_Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]));\nvar WindowTimeSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](WindowTimeSubscriber, _super);\n function WindowTimeSubscriber(destination, windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) {\n var _this = _super.call(this, destination) || this;\n _this.destination = destination;\n _this.windowTimeSpan = windowTimeSpan;\n _this.windowCreationInterval = windowCreationInterval;\n _this.maxWindowSize = maxWindowSize;\n _this.scheduler = scheduler;\n _this.windows = [];\n var window = _this.openWindow();\n if (windowCreationInterval !== null && windowCreationInterval >= 0) {\n var closeState = { subscriber: _this, window: window, context: null };\n var creationState = { windowTimeSpan: windowTimeSpan, windowCreationInterval: windowCreationInterval, subscriber: _this, scheduler: scheduler };\n _this.add(scheduler.schedule(dispatchWindowClose, windowTimeSpan, closeState));\n _this.add(scheduler.schedule(dispatchWindowCreation, windowCreationInterval, creationState));\n }\n else {\n var timeSpanOnlyState = { subscriber: _this, window: window, windowTimeSpan: windowTimeSpan };\n _this.add(scheduler.schedule(dispatchWindowTimeSpanOnly, windowTimeSpan, timeSpanOnlyState));\n }\n return _this;\n }\n WindowTimeSubscriber.prototype._next = function (value) {\n var windows = this.windows;\n var len = windows.length;\n for (var i = 0; i < len; i++) {\n var window_1 = windows[i];\n if (!window_1.closed) {\n window_1.next(value);\n if (window_1.numberOfNextedValues >= this.maxWindowSize) {\n this.closeWindow(window_1);\n }\n }\n }\n };\n WindowTimeSubscriber.prototype._error = function (err) {\n var windows = this.windows;\n while (windows.length > 0) {\n windows.shift().error(err);\n }\n this.destination.error(err);\n };\n WindowTimeSubscriber.prototype._complete = function () {\n var windows = this.windows;\n while (windows.length > 0) {\n var window_2 = windows.shift();\n if (!window_2.closed) {\n window_2.complete();\n }\n }\n this.destination.complete();\n };\n WindowTimeSubscriber.prototype.openWindow = function () {\n var window = new CountedSubject();\n this.windows.push(window);\n var destination = this.destination;\n destination.next(window);\n return window;\n };\n WindowTimeSubscriber.prototype.closeWindow = function (window) {\n window.complete();\n var windows = this.windows;\n windows.splice(windows.indexOf(window), 1);\n };\n return WindowTimeSubscriber;\n}(_Subscriber__WEBPACK_IMPORTED_MODULE_3__[\"Subscriber\"]));\nfunction dispatchWindowTimeSpanOnly(state) {\n var subscriber = state.subscriber, windowTimeSpan = state.windowTimeSpan, window = state.window;\n if (window) {\n subscriber.closeWindow(window);\n }\n state.window = subscriber.openWindow();\n this.schedule(state, windowTimeSpan);\n}\nfunction dispatchWindowCreation(state) {\n var windowTimeSpan = state.windowTimeSpan, subscriber = state.subscriber, scheduler = state.scheduler, windowCreationInterval = state.windowCreationInterval;\n var window = subscriber.openWindow();\n var action = this;\n var context = { action: action, subscription: null };\n var timeSpanState = { subscriber: subscriber, window: window, context: context };\n context.subscription = scheduler.schedule(dispatchWindowClose, windowTimeSpan, timeSpanState);\n action.add(context.subscription);\n action.schedule(state, windowCreationInterval);\n}\nfunction dispatchWindowClose(state) {\n var subscriber = state.subscriber, window = state.window, context = state.context;\n if (context && context.action && context.subscription) {\n context.action.remove(context.subscription);\n }\n subscriber.closeWindow(window);\n}\n//# sourceMappingURL=windowTime.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowTime.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowToggle.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowToggle.js ***! - \*****************************************************************************/ -/*! exports provided: windowToggle */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"windowToggle\", function() { return windowToggle; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../OuterSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_Subscription,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\n\n\n\n\n\nfunction windowToggle(openings, closingSelector) {\n return function (source) { return source.lift(new WindowToggleOperator(openings, closingSelector)); };\n}\nvar WindowToggleOperator = /*@__PURE__*/ (function () {\n function WindowToggleOperator(openings, closingSelector) {\n this.openings = openings;\n this.closingSelector = closingSelector;\n }\n WindowToggleOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new WindowToggleSubscriber(subscriber, this.openings, this.closingSelector));\n };\n return WindowToggleOperator;\n}());\nvar WindowToggleSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](WindowToggleSubscriber, _super);\n function WindowToggleSubscriber(destination, openings, closingSelector) {\n var _this = _super.call(this, destination) || this;\n _this.openings = openings;\n _this.closingSelector = closingSelector;\n _this.contexts = [];\n _this.add(_this.openSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(_this, openings, openings));\n return _this;\n }\n WindowToggleSubscriber.prototype._next = function (value) {\n var contexts = this.contexts;\n if (contexts) {\n var len = contexts.length;\n for (var i = 0; i < len; i++) {\n contexts[i].window.next(value);\n }\n }\n };\n WindowToggleSubscriber.prototype._error = function (err) {\n var contexts = this.contexts;\n this.contexts = null;\n if (contexts) {\n var len = contexts.length;\n var index = -1;\n while (++index < len) {\n var context_1 = contexts[index];\n context_1.window.error(err);\n context_1.subscription.unsubscribe();\n }\n }\n _super.prototype._error.call(this, err);\n };\n WindowToggleSubscriber.prototype._complete = function () {\n var contexts = this.contexts;\n this.contexts = null;\n if (contexts) {\n var len = contexts.length;\n var index = -1;\n while (++index < len) {\n var context_2 = contexts[index];\n context_2.window.complete();\n context_2.subscription.unsubscribe();\n }\n }\n _super.prototype._complete.call(this);\n };\n WindowToggleSubscriber.prototype._unsubscribe = function () {\n var contexts = this.contexts;\n this.contexts = null;\n if (contexts) {\n var len = contexts.length;\n var index = -1;\n while (++index < len) {\n var context_3 = contexts[index];\n context_3.window.unsubscribe();\n context_3.subscription.unsubscribe();\n }\n }\n };\n WindowToggleSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n if (outerValue === this.openings) {\n var closingNotifier = void 0;\n try {\n var closingSelector = this.closingSelector;\n closingNotifier = closingSelector(innerValue);\n }\n catch (e) {\n return this.error(e);\n }\n var window_1 = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"]();\n var context_4 = { window: window_1, subscription: subscription };\n this.contexts.push(context_4);\n var innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(this, closingNotifier, context_4);\n if (innerSubscription.closed) {\n this.closeWindow(this.contexts.length - 1);\n }\n else {\n innerSubscription.context = context_4;\n subscription.add(innerSubscription);\n }\n this.destination.next(window_1);\n }\n else {\n this.closeWindow(this.contexts.indexOf(outerValue));\n }\n };\n WindowToggleSubscriber.prototype.notifyError = function (err) {\n this.error(err);\n };\n WindowToggleSubscriber.prototype.notifyComplete = function (inner) {\n if (inner !== this.openSubscription) {\n this.closeWindow(this.contexts.indexOf(inner.context));\n }\n };\n WindowToggleSubscriber.prototype.closeWindow = function (index) {\n if (index === -1) {\n return;\n }\n var contexts = this.contexts;\n var context = contexts[index];\n var window = context.window, subscription = context.subscription;\n contexts.splice(index, 1);\n window.complete();\n subscription.unsubscribe();\n };\n return WindowToggleSubscriber;\n}(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"OuterSubscriber\"]));\n//# sourceMappingURL=windowToggle.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowToggle.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowWhen.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowWhen.js ***! - \***************************************************************************/ -/*! exports provided: windowWhen */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"windowWhen\", function() { return windowWhen; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subject.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OuterSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js\");\n/** PURE_IMPORTS_START tslib,_Subject,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\n\n\n\n\nfunction windowWhen(closingSelector) {\n return function windowWhenOperatorFunction(source) {\n return source.lift(new WindowOperator(closingSelector));\n };\n}\nvar WindowOperator = /*@__PURE__*/ (function () {\n function WindowOperator(closingSelector) {\n this.closingSelector = closingSelector;\n }\n WindowOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new WindowSubscriber(subscriber, this.closingSelector));\n };\n return WindowOperator;\n}());\nvar WindowSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](WindowSubscriber, _super);\n function WindowSubscriber(destination, closingSelector) {\n var _this = _super.call(this, destination) || this;\n _this.destination = destination;\n _this.closingSelector = closingSelector;\n _this.openWindow();\n return _this;\n }\n WindowSubscriber.prototype.notifyNext = function (_outerValue, _innerValue, _outerIndex, _innerIndex, innerSub) {\n this.openWindow(innerSub);\n };\n WindowSubscriber.prototype.notifyError = function (error) {\n this._error(error);\n };\n WindowSubscriber.prototype.notifyComplete = function (innerSub) {\n this.openWindow(innerSub);\n };\n WindowSubscriber.prototype._next = function (value) {\n this.window.next(value);\n };\n WindowSubscriber.prototype._error = function (err) {\n this.window.error(err);\n this.destination.error(err);\n this.unsubscribeClosingNotification();\n };\n WindowSubscriber.prototype._complete = function () {\n this.window.complete();\n this.destination.complete();\n this.unsubscribeClosingNotification();\n };\n WindowSubscriber.prototype.unsubscribeClosingNotification = function () {\n if (this.closingNotification) {\n this.closingNotification.unsubscribe();\n }\n };\n WindowSubscriber.prototype.openWindow = function (innerSub) {\n if (innerSub === void 0) {\n innerSub = null;\n }\n if (innerSub) {\n this.remove(innerSub);\n innerSub.unsubscribe();\n }\n var prevWindow = this.window;\n if (prevWindow) {\n prevWindow.complete();\n }\n var window = this.window = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n this.destination.next(window);\n var closingNotifier;\n try {\n var closingSelector = this.closingSelector;\n closingNotifier = closingSelector();\n }\n catch (e) {\n this.destination.error(e);\n this.window.error(e);\n return;\n }\n this.add(this.closingNotification = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, closingNotifier));\n };\n return WindowSubscriber;\n}(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"]));\n//# sourceMappingURL=windowWhen.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowWhen.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js ***! - \*******************************************************************************/ -/*! exports provided: withLatestFrom */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"withLatestFrom\", function() { return withLatestFrom; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../OuterSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js\");\n/** PURE_IMPORTS_START tslib,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\n\n\n\nfunction withLatestFrom() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return function (source) {\n var project;\n if (typeof args[args.length - 1] === 'function') {\n project = args.pop();\n }\n var observables = args;\n return source.lift(new WithLatestFromOperator(observables, project));\n };\n}\nvar WithLatestFromOperator = /*@__PURE__*/ (function () {\n function WithLatestFromOperator(observables, project) {\n this.observables = observables;\n this.project = project;\n }\n WithLatestFromOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new WithLatestFromSubscriber(subscriber, this.observables, this.project));\n };\n return WithLatestFromOperator;\n}());\nvar WithLatestFromSubscriber = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](WithLatestFromSubscriber, _super);\n function WithLatestFromSubscriber(destination, observables, project) {\n var _this = _super.call(this, destination) || this;\n _this.observables = observables;\n _this.project = project;\n _this.toRespond = [];\n var len = observables.length;\n _this.values = new Array(len);\n for (var i = 0; i < len; i++) {\n _this.toRespond.push(i);\n }\n for (var i = 0; i < len; i++) {\n var observable = observables[i];\n _this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(_this, observable, undefined, i));\n }\n return _this;\n }\n WithLatestFromSubscriber.prototype.notifyNext = function (_outerValue, innerValue, outerIndex) {\n this.values[outerIndex] = innerValue;\n var toRespond = this.toRespond;\n if (toRespond.length > 0) {\n var found = toRespond.indexOf(outerIndex);\n if (found !== -1) {\n toRespond.splice(found, 1);\n }\n }\n };\n WithLatestFromSubscriber.prototype.notifyComplete = function () {\n };\n WithLatestFromSubscriber.prototype._next = function (value) {\n if (this.toRespond.length === 0) {\n var args = [value].concat(this.values);\n if (this.project) {\n this._tryProject(args);\n }\n else {\n this.destination.next(args);\n }\n }\n };\n WithLatestFromSubscriber.prototype._tryProject = function (args) {\n var result;\n try {\n result = this.project.apply(this, args);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n };\n return WithLatestFromSubscriber;\n}(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"]));\n//# sourceMappingURL=withLatestFrom.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/zip.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/zip.js ***! - \********************************************************************/ -/*! exports provided: zip */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"zip\", function() { return zip; });\n/* harmony import */ var _observable_zip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/zip */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/zip.js\");\n/** PURE_IMPORTS_START _observable_zip PURE_IMPORTS_END */\n\nfunction zip() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n return function zipOperatorFunction(source) {\n return source.lift.call(_observable_zip__WEBPACK_IMPORTED_MODULE_0__[\"zip\"].apply(void 0, [source].concat(observables)));\n };\n}\n//# sourceMappingURL=zip.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/zip.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/operators/zipAll.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/operators/zipAll.js ***! - \***********************************************************************/ -/*! exports provided: zipAll */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"zipAll\", function() { return zipAll; });\n/* harmony import */ var _observable_zip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/zip */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/zip.js\");\n/** PURE_IMPORTS_START _observable_zip PURE_IMPORTS_END */\n\nfunction zipAll(project) {\n return function (source) { return source.lift(new _observable_zip__WEBPACK_IMPORTED_MODULE_0__[\"ZipOperator\"](project)); };\n}\n//# sourceMappingURL=zipAll.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/operators/zipAll.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleArray.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleArray.js ***! - \******************************************************************************/ -/*! exports provided: scheduleArray */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"scheduleArray\", function() { return scheduleArray; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/** PURE_IMPORTS_START _Observable,_Subscription PURE_IMPORTS_END */\n\n\nfunction scheduleArray(input, scheduler) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n var i = 0;\n sub.add(scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n return;\n }\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n sub.add(this.schedule());\n }\n }));\n return sub;\n });\n}\n//# sourceMappingURL=scheduleArray.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleIterable.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleIterable.js ***! - \*********************************************************************************/ -/*! exports provided: scheduleIterable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"scheduleIterable\", function() { return scheduleIterable; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/iterator */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/iterator.js\");\n/** PURE_IMPORTS_START _Observable,_Subscription,_symbol_iterator PURE_IMPORTS_END */\n\n\n\nfunction scheduleIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n var iterator;\n sub.add(function () {\n if (iterator && typeof iterator.return === 'function') {\n iterator.return();\n }\n });\n sub.add(scheduler.schedule(function () {\n iterator = input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_2__[\"iterator\"]]();\n sub.add(scheduler.schedule(function () {\n if (subscriber.closed) {\n return;\n }\n var value;\n var done;\n try {\n var result = iterator.next();\n value = result.value;\n done = result.done;\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n this.schedule();\n }\n }));\n }));\n return sub;\n });\n}\n//# sourceMappingURL=scheduleIterable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleIterable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleObservable.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleObservable.js ***! - \***********************************************************************************/ -/*! exports provided: scheduleObservable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"scheduleObservable\", function() { return scheduleObservable; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js\");\n/** PURE_IMPORTS_START _Observable,_Subscription,_symbol_observable PURE_IMPORTS_END */\n\n\n\nfunction scheduleObservable(input, scheduler) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n sub.add(scheduler.schedule(function () {\n var observable = input[_symbol_observable__WEBPACK_IMPORTED_MODULE_2__[\"observable\"]]();\n sub.add(observable.subscribe({\n next: function (value) { sub.add(scheduler.schedule(function () { return subscriber.next(value); })); },\n error: function (err) { sub.add(scheduler.schedule(function () { return subscriber.error(err); })); },\n complete: function () { sub.add(scheduler.schedule(function () { return subscriber.complete(); })); },\n }));\n }));\n return sub;\n });\n}\n//# sourceMappingURL=scheduleObservable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleObservable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/schedulePromise.js": -/*!********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/schedulePromise.js ***! - \********************************************************************************/ -/*! exports provided: schedulePromise */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"schedulePromise\", function() { return schedulePromise; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/** PURE_IMPORTS_START _Observable,_Subscription PURE_IMPORTS_END */\n\n\nfunction schedulePromise(input, scheduler) {\n return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n sub.add(scheduler.schedule(function () {\n return input.then(function (value) {\n sub.add(scheduler.schedule(function () {\n subscriber.next(value);\n sub.add(scheduler.schedule(function () { return subscriber.complete(); }));\n }));\n }, function (err) {\n sub.add(scheduler.schedule(function () { return subscriber.error(err); }));\n });\n }));\n return sub;\n });\n}\n//# sourceMappingURL=schedulePromise.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/schedulePromise.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduled.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduled.js ***! - \**************************************************************************/ -/*! exports provided: scheduled */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"scheduled\", function() { return scheduled; });\n/* harmony import */ var _scheduleObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scheduleObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleObservable.js\");\n/* harmony import */ var _schedulePromise__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./schedulePromise */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/schedulePromise.js\");\n/* harmony import */ var _scheduleArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./scheduleArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleArray.js\");\n/* harmony import */ var _scheduleIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./scheduleIterable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduleIterable.js\");\n/* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isInteropObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isInteropObservable.js\");\n/* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isPromise */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isPromise.js\");\n/* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isArrayLike */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArrayLike.js\");\n/* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util/isIterable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isIterable.js\");\n/** PURE_IMPORTS_START _scheduleObservable,_schedulePromise,_scheduleArray,_scheduleIterable,_util_isInteropObservable,_util_isPromise,_util_isArrayLike,_util_isIterable PURE_IMPORTS_END */\n\n\n\n\n\n\n\n\nfunction scheduled(input, scheduler) {\n if (input != null) {\n if (Object(_util_isInteropObservable__WEBPACK_IMPORTED_MODULE_4__[\"isInteropObservable\"])(input)) {\n return Object(_scheduleObservable__WEBPACK_IMPORTED_MODULE_0__[\"scheduleObservable\"])(input, scheduler);\n }\n else if (Object(_util_isPromise__WEBPACK_IMPORTED_MODULE_5__[\"isPromise\"])(input)) {\n return Object(_schedulePromise__WEBPACK_IMPORTED_MODULE_1__[\"schedulePromise\"])(input, scheduler);\n }\n else if (Object(_util_isArrayLike__WEBPACK_IMPORTED_MODULE_6__[\"isArrayLike\"])(input)) {\n return Object(_scheduleArray__WEBPACK_IMPORTED_MODULE_2__[\"scheduleArray\"])(input, scheduler);\n }\n else if (Object(_util_isIterable__WEBPACK_IMPORTED_MODULE_7__[\"isIterable\"])(input) || typeof input === 'string') {\n return Object(_scheduleIterable__WEBPACK_IMPORTED_MODULE_3__[\"scheduleIterable\"])(input, scheduler);\n }\n }\n throw new TypeError((input !== null && typeof input || input) + ' is not observable');\n}\n//# sourceMappingURL=scheduled.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduled/scheduled.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/Action.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/Action.js ***! - \***********************************************************************/ -/*! exports provided: Action */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Action\", function() { return Action; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscription.js\");\n/** PURE_IMPORTS_START tslib,_Subscription PURE_IMPORTS_END */\n\n\nvar Action = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](Action, _super);\n function Action(scheduler, work) {\n return _super.call(this) || this;\n }\n Action.prototype.schedule = function (state, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return this;\n };\n return Action;\n}(_Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]));\n\n//# sourceMappingURL=Action.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/Action.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameAction.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameAction.js ***! - \*************************************************************************************/ -/*! exports provided: AnimationFrameAction */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationFrameAction\", function() { return AnimationFrameAction; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncAction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js\");\n/** PURE_IMPORTS_START tslib,_AsyncAction PURE_IMPORTS_END */\n\n\nvar AnimationFrameAction = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AnimationFrameAction, _super);\n function AnimationFrameAction(scheduler, work) {\n var _this = _super.call(this, scheduler, work) || this;\n _this.scheduler = scheduler;\n _this.work = work;\n return _this;\n }\n AnimationFrameAction.prototype.requestAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if (delay !== null && delay > 0) {\n return _super.prototype.requestAsyncId.call(this, scheduler, id, delay);\n }\n scheduler.actions.push(this);\n return scheduler.scheduled || (scheduler.scheduled = requestAnimationFrame(function () { return scheduler.flush(null); }));\n };\n AnimationFrameAction.prototype.recycleAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n return _super.prototype.recycleAsyncId.call(this, scheduler, id, delay);\n }\n if (scheduler.actions.length === 0) {\n cancelAnimationFrame(id);\n scheduler.scheduled = undefined;\n }\n return undefined;\n };\n return AnimationFrameAction;\n}(_AsyncAction__WEBPACK_IMPORTED_MODULE_1__[\"AsyncAction\"]));\n\n//# sourceMappingURL=AnimationFrameAction.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameAction.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameScheduler.js": -/*!****************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameScheduler.js ***! - \****************************************************************************************/ -/*! exports provided: AnimationFrameScheduler */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationFrameScheduler\", function() { return AnimationFrameScheduler; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js\");\n/** PURE_IMPORTS_START tslib,_AsyncScheduler PURE_IMPORTS_END */\n\n\nvar AnimationFrameScheduler = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AnimationFrameScheduler, _super);\n function AnimationFrameScheduler() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AnimationFrameScheduler.prototype.flush = function (action) {\n this.active = true;\n this.scheduled = undefined;\n var actions = this.actions;\n var error;\n var index = -1;\n var count = actions.length;\n action = action || actions.shift();\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (++index < count && (action = actions.shift()));\n this.active = false;\n if (error) {\n while (++index < count && (action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n return AnimationFrameScheduler;\n}(_AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsyncScheduler\"]));\n\n//# sourceMappingURL=AnimationFrameScheduler.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameScheduler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsapAction.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsapAction.js ***! - \***************************************************************************/ -/*! exports provided: AsapAction */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsapAction\", function() { return AsapAction; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _util_Immediate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/Immediate */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/Immediate.js\");\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AsyncAction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js\");\n/** PURE_IMPORTS_START tslib,_util_Immediate,_AsyncAction PURE_IMPORTS_END */\n\n\n\nvar AsapAction = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AsapAction, _super);\n function AsapAction(scheduler, work) {\n var _this = _super.call(this, scheduler, work) || this;\n _this.scheduler = scheduler;\n _this.work = work;\n return _this;\n }\n AsapAction.prototype.requestAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if (delay !== null && delay > 0) {\n return _super.prototype.requestAsyncId.call(this, scheduler, id, delay);\n }\n scheduler.actions.push(this);\n return scheduler.scheduled || (scheduler.scheduled = _util_Immediate__WEBPACK_IMPORTED_MODULE_1__[\"Immediate\"].setImmediate(scheduler.flush.bind(scheduler, null)));\n };\n AsapAction.prototype.recycleAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n return _super.prototype.recycleAsyncId.call(this, scheduler, id, delay);\n }\n if (scheduler.actions.length === 0) {\n _util_Immediate__WEBPACK_IMPORTED_MODULE_1__[\"Immediate\"].clearImmediate(id);\n scheduler.scheduled = undefined;\n }\n return undefined;\n };\n return AsapAction;\n}(_AsyncAction__WEBPACK_IMPORTED_MODULE_2__[\"AsyncAction\"]));\n\n//# sourceMappingURL=AsapAction.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsapAction.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsapScheduler.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsapScheduler.js ***! - \******************************************************************************/ -/*! exports provided: AsapScheduler */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsapScheduler\", function() { return AsapScheduler; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js\");\n/** PURE_IMPORTS_START tslib,_AsyncScheduler PURE_IMPORTS_END */\n\n\nvar AsapScheduler = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AsapScheduler, _super);\n function AsapScheduler() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AsapScheduler.prototype.flush = function (action) {\n this.active = true;\n this.scheduled = undefined;\n var actions = this.actions;\n var error;\n var index = -1;\n var count = actions.length;\n action = action || actions.shift();\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (++index < count && (action = actions.shift()));\n this.active = false;\n if (error) {\n while (++index < count && (action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n return AsapScheduler;\n}(_AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsyncScheduler\"]));\n\n//# sourceMappingURL=AsapScheduler.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsapScheduler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js ***! - \****************************************************************************/ -/*! exports provided: AsyncAction */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsyncAction\", function() { return AsyncAction; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Action */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/Action.js\");\n/** PURE_IMPORTS_START tslib,_Action PURE_IMPORTS_END */\n\n\nvar AsyncAction = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AsyncAction, _super);\n function AsyncAction(scheduler, work) {\n var _this = _super.call(this, scheduler, work) || this;\n _this.scheduler = scheduler;\n _this.work = work;\n _this.pending = false;\n return _this;\n }\n AsyncAction.prototype.schedule = function (state, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if (this.closed) {\n return this;\n }\n this.state = state;\n var id = this.id;\n var scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);\n return this;\n };\n AsyncAction.prototype.requestAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return setInterval(scheduler.flush.bind(scheduler, this), delay);\n };\n AsyncAction.prototype.recycleAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if (delay !== null && this.delay === delay && this.pending === false) {\n return id;\n }\n clearInterval(id);\n return undefined;\n };\n AsyncAction.prototype.execute = function (state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n var error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n };\n AsyncAction.prototype._execute = function (state, delay) {\n var errored = false;\n var errorValue = undefined;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = !!e && e || new Error(e);\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n };\n AsyncAction.prototype._unsubscribe = function () {\n var id = this.id;\n var scheduler = this.scheduler;\n var actions = scheduler.actions;\n var index = actions.indexOf(this);\n this.work = null;\n this.state = null;\n this.pending = false;\n this.scheduler = null;\n if (index !== -1) {\n actions.splice(index, 1);\n }\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n };\n return AsyncAction;\n}(_Action__WEBPACK_IMPORTED_MODULE_1__[\"Action\"]));\n\n//# sourceMappingURL=AsyncAction.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js ***! - \*******************************************************************************/ -/*! exports provided: AsyncScheduler */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsyncScheduler\", function() { return AsyncScheduler; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _Scheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Scheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Scheduler.js\");\n/** PURE_IMPORTS_START tslib,_Scheduler PURE_IMPORTS_END */\n\n\nvar AsyncScheduler = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](AsyncScheduler, _super);\n function AsyncScheduler(SchedulerAction, now) {\n if (now === void 0) {\n now = _Scheduler__WEBPACK_IMPORTED_MODULE_1__[\"Scheduler\"].now;\n }\n var _this = _super.call(this, SchedulerAction, function () {\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== _this) {\n return AsyncScheduler.delegate.now();\n }\n else {\n return now();\n }\n }) || this;\n _this.actions = [];\n _this.active = false;\n _this.scheduled = undefined;\n return _this;\n }\n AsyncScheduler.prototype.schedule = function (work, delay, state) {\n if (delay === void 0) {\n delay = 0;\n }\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n return AsyncScheduler.delegate.schedule(work, delay, state);\n }\n else {\n return _super.prototype.schedule.call(this, work, delay, state);\n }\n };\n AsyncScheduler.prototype.flush = function (action) {\n var actions = this.actions;\n if (this.active) {\n actions.push(action);\n return;\n }\n var error;\n this.active = true;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (action = actions.shift());\n this.active = false;\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n return AsyncScheduler;\n}(_Scheduler__WEBPACK_IMPORTED_MODULE_1__[\"Scheduler\"]));\n\n//# sourceMappingURL=AsyncScheduler.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/QueueAction.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/QueueAction.js ***! - \****************************************************************************/ -/*! exports provided: QueueAction */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"QueueAction\", function() { return QueueAction; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncAction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js\");\n/** PURE_IMPORTS_START tslib,_AsyncAction PURE_IMPORTS_END */\n\n\nvar QueueAction = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](QueueAction, _super);\n function QueueAction(scheduler, work) {\n var _this = _super.call(this, scheduler, work) || this;\n _this.scheduler = scheduler;\n _this.work = work;\n return _this;\n }\n QueueAction.prototype.schedule = function (state, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if (delay > 0) {\n return _super.prototype.schedule.call(this, state, delay);\n }\n this.delay = delay;\n this.state = state;\n this.scheduler.flush(this);\n return this;\n };\n QueueAction.prototype.execute = function (state, delay) {\n return (delay > 0 || this.closed) ?\n _super.prototype.execute.call(this, state, delay) :\n this._execute(state, delay);\n };\n QueueAction.prototype.requestAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n return _super.prototype.requestAsyncId.call(this, scheduler, id, delay);\n }\n return scheduler.flush(this);\n };\n return QueueAction;\n}(_AsyncAction__WEBPACK_IMPORTED_MODULE_1__[\"AsyncAction\"]));\n\n//# sourceMappingURL=QueueAction.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/QueueAction.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/QueueScheduler.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/QueueScheduler.js ***! - \*******************************************************************************/ -/*! exports provided: QueueScheduler */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"QueueScheduler\", function() { return QueueScheduler; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js\");\n/** PURE_IMPORTS_START tslib,_AsyncScheduler PURE_IMPORTS_END */\n\n\nvar QueueScheduler = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](QueueScheduler, _super);\n function QueueScheduler() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return QueueScheduler;\n}(_AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsyncScheduler\"]));\n\n//# sourceMappingURL=QueueScheduler.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/QueueScheduler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/VirtualTimeScheduler.js": -/*!*************************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/VirtualTimeScheduler.js ***! - \*************************************************************************************/ -/*! exports provided: VirtualTimeScheduler, VirtualAction */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VirtualTimeScheduler\", function() { return VirtualTimeScheduler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VirtualAction\", function() { return VirtualAction; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./.codedoc/node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncAction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js\");\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AsyncScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js\");\n/** PURE_IMPORTS_START tslib,_AsyncAction,_AsyncScheduler PURE_IMPORTS_END */\n\n\n\nvar VirtualTimeScheduler = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](VirtualTimeScheduler, _super);\n function VirtualTimeScheduler(SchedulerAction, maxFrames) {\n if (SchedulerAction === void 0) {\n SchedulerAction = VirtualAction;\n }\n if (maxFrames === void 0) {\n maxFrames = Number.POSITIVE_INFINITY;\n }\n var _this = _super.call(this, SchedulerAction, function () { return _this.frame; }) || this;\n _this.maxFrames = maxFrames;\n _this.frame = 0;\n _this.index = -1;\n return _this;\n }\n VirtualTimeScheduler.prototype.flush = function () {\n var _a = this, actions = _a.actions, maxFrames = _a.maxFrames;\n var error, action;\n while ((action = actions[0]) && action.delay <= maxFrames) {\n actions.shift();\n this.frame = action.delay;\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n }\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n VirtualTimeScheduler.frameTimeFactor = 10;\n return VirtualTimeScheduler;\n}(_AsyncScheduler__WEBPACK_IMPORTED_MODULE_2__[\"AsyncScheduler\"]));\n\nvar VirtualAction = /*@__PURE__*/ (function (_super) {\n tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](VirtualAction, _super);\n function VirtualAction(scheduler, work, index) {\n if (index === void 0) {\n index = scheduler.index += 1;\n }\n var _this = _super.call(this, scheduler, work) || this;\n _this.scheduler = scheduler;\n _this.work = work;\n _this.index = index;\n _this.active = true;\n _this.index = scheduler.index = index;\n return _this;\n }\n VirtualAction.prototype.schedule = function (state, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n if (!this.id) {\n return _super.prototype.schedule.call(this, state, delay);\n }\n this.active = false;\n var action = new VirtualAction(this.scheduler, this.work);\n this.add(action);\n return action.schedule(state, delay);\n };\n VirtualAction.prototype.requestAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n this.delay = scheduler.frame + delay;\n var actions = scheduler.actions;\n actions.push(this);\n actions.sort(VirtualAction.sortActions);\n return true;\n };\n VirtualAction.prototype.recycleAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return undefined;\n };\n VirtualAction.prototype._execute = function (state, delay) {\n if (this.active === true) {\n return _super.prototype._execute.call(this, state, delay);\n }\n };\n VirtualAction.sortActions = function (a, b) {\n if (a.delay === b.delay) {\n if (a.index === b.index) {\n return 0;\n }\n else if (a.index > b.index) {\n return 1;\n }\n else {\n return -1;\n }\n }\n else if (a.delay > b.delay) {\n return 1;\n }\n else {\n return -1;\n }\n };\n return VirtualAction;\n}(_AsyncAction__WEBPACK_IMPORTED_MODULE_1__[\"AsyncAction\"]));\n\n//# sourceMappingURL=VirtualTimeScheduler.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/VirtualTimeScheduler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/animationFrame.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/animationFrame.js ***! - \*******************************************************************************/ -/*! exports provided: animationFrameScheduler, animationFrame */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"animationFrameScheduler\", function() { return animationFrameScheduler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"animationFrame\", function() { return animationFrame; });\n/* harmony import */ var _AnimationFrameAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AnimationFrameAction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameAction.js\");\n/* harmony import */ var _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AnimationFrameScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameScheduler.js\");\n/** PURE_IMPORTS_START _AnimationFrameAction,_AnimationFrameScheduler PURE_IMPORTS_END */\n\n\nvar animationFrameScheduler = /*@__PURE__*/ new _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AnimationFrameScheduler\"](_AnimationFrameAction__WEBPACK_IMPORTED_MODULE_0__[\"AnimationFrameAction\"]);\nvar animationFrame = animationFrameScheduler;\n//# sourceMappingURL=animationFrame.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/animationFrame.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/asap.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/asap.js ***! - \*********************************************************************/ -/*! exports provided: asapScheduler, asap */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"asapScheduler\", function() { return asapScheduler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"asap\", function() { return asap; });\n/* harmony import */ var _AsapAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsapAction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsapAction.js\");\n/* harmony import */ var _AsapScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsapScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsapScheduler.js\");\n/** PURE_IMPORTS_START _AsapAction,_AsapScheduler PURE_IMPORTS_END */\n\n\nvar asapScheduler = /*@__PURE__*/ new _AsapScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsapScheduler\"](_AsapAction__WEBPACK_IMPORTED_MODULE_0__[\"AsapAction\"]);\nvar asap = asapScheduler;\n//# sourceMappingURL=asap.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/asap.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js ***! - \**********************************************************************/ -/*! exports provided: asyncScheduler, async */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"asyncScheduler\", function() { return asyncScheduler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"async\", function() { return async; });\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js\");\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js\");\n/** PURE_IMPORTS_START _AsyncAction,_AsyncScheduler PURE_IMPORTS_END */\n\n\nvar asyncScheduler = /*@__PURE__*/ new _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsyncScheduler\"](_AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"]);\nvar async = asyncScheduler;\n//# sourceMappingURL=async.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/async.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/queue.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/queue.js ***! - \**********************************************************************/ -/*! exports provided: queueScheduler, queue */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"queueScheduler\", function() { return queueScheduler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"queue\", function() { return queue; });\n/* harmony import */ var _QueueAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./QueueAction */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/QueueAction.js\");\n/* harmony import */ var _QueueScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./QueueScheduler */ \"./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/QueueScheduler.js\");\n/** PURE_IMPORTS_START _QueueAction,_QueueScheduler PURE_IMPORTS_END */\n\n\nvar queueScheduler = /*@__PURE__*/ new _QueueScheduler__WEBPACK_IMPORTED_MODULE_1__[\"QueueScheduler\"](_QueueAction__WEBPACK_IMPORTED_MODULE_0__[\"QueueAction\"]);\nvar queue = queueScheduler;\n//# sourceMappingURL=queue.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/scheduler/queue.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/symbol/iterator.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/symbol/iterator.js ***! - \**********************************************************************/ -/*! exports provided: getSymbolIterator, iterator, $$iterator */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getSymbolIterator\", function() { return getSymbolIterator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"iterator\", function() { return iterator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"$$iterator\", function() { return $$iterator; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction getSymbolIterator() {\n if (typeof Symbol !== 'function' || !Symbol.iterator) {\n return '@@iterator';\n }\n return Symbol.iterator;\n}\nvar iterator = /*@__PURE__*/ getSymbolIterator();\nvar $$iterator = iterator;\n//# sourceMappingURL=iterator.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/symbol/iterator.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js ***! - \************************************************************************/ -/*! exports provided: observable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"observable\", function() { return observable; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar observable = /*@__PURE__*/ (function () { return typeof Symbol === 'function' && Symbol.observable || '@@observable'; })();\n//# sourceMappingURL=observable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js ***! - \**************************************************************************/ -/*! exports provided: rxSubscriber, $$rxSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rxSubscriber\", function() { return rxSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"$$rxSubscriber\", function() { return $$rxSubscriber; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar rxSubscriber = /*@__PURE__*/ (function () {\n return typeof Symbol === 'function'\n ? /*@__PURE__*/ Symbol('rxSubscriber')\n : '@@rxSubscriber_' + /*@__PURE__*/ Math.random();\n})();\nvar $$rxSubscriber = rxSubscriber;\n//# sourceMappingURL=rxSubscriber.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js ***! - \***********************************************************************************/ -/*! exports provided: ArgumentOutOfRangeError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ArgumentOutOfRangeError\", function() { return ArgumentOutOfRangeError; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar ArgumentOutOfRangeErrorImpl = /*@__PURE__*/ (function () {\n function ArgumentOutOfRangeErrorImpl() {\n Error.call(this);\n this.message = 'argument out of range';\n this.name = 'ArgumentOutOfRangeError';\n return this;\n }\n ArgumentOutOfRangeErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);\n return ArgumentOutOfRangeErrorImpl;\n})();\nvar ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;\n//# sourceMappingURL=ArgumentOutOfRangeError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/EmptyError.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/EmptyError.js ***! - \**********************************************************************/ -/*! exports provided: EmptyError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmptyError\", function() { return EmptyError; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar EmptyErrorImpl = /*@__PURE__*/ (function () {\n function EmptyErrorImpl() {\n Error.call(this);\n this.message = 'no elements in sequence';\n this.name = 'EmptyError';\n return this;\n }\n EmptyErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);\n return EmptyErrorImpl;\n})();\nvar EmptyError = EmptyErrorImpl;\n//# sourceMappingURL=EmptyError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/EmptyError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/Immediate.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/Immediate.js ***! - \*********************************************************************/ -/*! exports provided: Immediate, TestTools */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Immediate\", function() { return Immediate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TestTools\", function() { return TestTools; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar nextHandle = 1;\nvar RESOLVED = /*@__PURE__*/ (function () { return /*@__PURE__*/ Promise.resolve(); })();\nvar activeHandles = {};\nfunction findAndClearHandle(handle) {\n if (handle in activeHandles) {\n delete activeHandles[handle];\n return true;\n }\n return false;\n}\nvar Immediate = {\n setImmediate: function (cb) {\n var handle = nextHandle++;\n activeHandles[handle] = true;\n RESOLVED.then(function () { return findAndClearHandle(handle) && cb(); });\n return handle;\n },\n clearImmediate: function (handle) {\n findAndClearHandle(handle);\n },\n};\nvar TestTools = {\n pending: function () {\n return Object.keys(activeHandles).length;\n }\n};\n//# sourceMappingURL=Immediate.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/Immediate.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js": -/*!***********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js ***! - \***********************************************************************************/ -/*! exports provided: ObjectUnsubscribedError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObjectUnsubscribedError\", function() { return ObjectUnsubscribedError; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar ObjectUnsubscribedErrorImpl = /*@__PURE__*/ (function () {\n function ObjectUnsubscribedErrorImpl() {\n Error.call(this);\n this.message = 'object unsubscribed';\n this.name = 'ObjectUnsubscribedError';\n return this;\n }\n ObjectUnsubscribedErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);\n return ObjectUnsubscribedErrorImpl;\n})();\nvar ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl;\n//# sourceMappingURL=ObjectUnsubscribedError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/TimeoutError.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/TimeoutError.js ***! - \************************************************************************/ -/*! exports provided: TimeoutError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TimeoutError\", function() { return TimeoutError; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar TimeoutErrorImpl = /*@__PURE__*/ (function () {\n function TimeoutErrorImpl() {\n Error.call(this);\n this.message = 'Timeout has occurred';\n this.name = 'TimeoutError';\n return this;\n }\n TimeoutErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);\n return TimeoutErrorImpl;\n})();\nvar TimeoutError = TimeoutErrorImpl;\n//# sourceMappingURL=TimeoutError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/TimeoutError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js ***! - \*******************************************************************************/ -/*! exports provided: UnsubscriptionError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UnsubscriptionError\", function() { return UnsubscriptionError; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar UnsubscriptionErrorImpl = /*@__PURE__*/ (function () {\n function UnsubscriptionErrorImpl(errors) {\n Error.call(this);\n this.message = errors ?\n errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function (err, i) { return i + 1 + \") \" + err.toString(); }).join('\\n ') : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n return this;\n }\n UnsubscriptionErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);\n return UnsubscriptionErrorImpl;\n})();\nvar UnsubscriptionError = UnsubscriptionErrorImpl;\n//# sourceMappingURL=UnsubscriptionError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/canReportError.js": -/*!**************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/canReportError.js ***! - \**************************************************************************/ -/*! exports provided: canReportError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"canReportError\", function() { return canReportError; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/** PURE_IMPORTS_START _Subscriber PURE_IMPORTS_END */\n\nfunction canReportError(observer) {\n while (observer) {\n var _a = observer, closed_1 = _a.closed, destination = _a.destination, isStopped = _a.isStopped;\n if (closed_1 || isStopped) {\n return false;\n }\n else if (destination && destination instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]) {\n observer = destination;\n }\n else {\n observer = null;\n }\n }\n return true;\n}\n//# sourceMappingURL=canReportError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/canReportError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/hostReportError.js": -/*!***************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/hostReportError.js ***! - \***************************************************************************/ -/*! exports provided: hostReportError */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hostReportError\", function() { return hostReportError; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction hostReportError(err) {\n setTimeout(function () { throw err; }, 0);\n}\n//# sourceMappingURL=hostReportError.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/hostReportError.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js ***! - \********************************************************************/ -/*! exports provided: identity */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"identity\", function() { return identity; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js": -/*!*******************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js ***! - \*******************************************************************/ -/*! exports provided: isArray */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isArray\", function() { return isArray; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar isArray = /*@__PURE__*/ (function () { return Array.isArray || (function (x) { return x && typeof x.length === 'number'; }); })();\n//# sourceMappingURL=isArray.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isArrayLike.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isArrayLike.js ***! - \***********************************************************************/ -/*! exports provided: isArrayLike */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isArrayLike\", function() { return isArrayLike; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar isArrayLike = (function (x) { return x && typeof x.length === 'number' && typeof x !== 'function'; });\n//# sourceMappingURL=isArrayLike.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isArrayLike.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isDate.js": -/*!******************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isDate.js ***! - \******************************************************************/ -/*! exports provided: isDate */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isDate\", function() { return isDate; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction isDate(value) {\n return value instanceof Date && !isNaN(+value);\n}\n//# sourceMappingURL=isDate.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isDate.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isFunction.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isFunction.js ***! - \**********************************************************************/ -/*! exports provided: isFunction */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isFunction\", function() { return isFunction; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction isFunction(x) {\n return typeof x === 'function';\n}\n//# sourceMappingURL=isFunction.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isFunction.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isInteropObservable.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isInteropObservable.js ***! - \*******************************************************************************/ -/*! exports provided: isInteropObservable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isInteropObservable\", function() { return isInteropObservable; });\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js\");\n/** PURE_IMPORTS_START _symbol_observable PURE_IMPORTS_END */\n\nfunction isInteropObservable(input) {\n return input && typeof input[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"observable\"]] === 'function';\n}\n//# sourceMappingURL=isInteropObservable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isInteropObservable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isIterable.js": -/*!**********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isIterable.js ***! - \**********************************************************************/ -/*! exports provided: isIterable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isIterable\", function() { return isIterable; });\n/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/iterator */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/iterator.js\");\n/** PURE_IMPORTS_START _symbol_iterator PURE_IMPORTS_END */\n\nfunction isIterable(input) {\n return input && typeof input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__[\"iterator\"]] === 'function';\n}\n//# sourceMappingURL=isIterable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isIterable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isNumeric.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isNumeric.js ***! - \*********************************************************************/ -/*! exports provided: isNumeric */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNumeric\", function() { return isNumeric; });\n/* harmony import */ var _isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArray.js\");\n/** PURE_IMPORTS_START _isArray PURE_IMPORTS_END */\n\nfunction isNumeric(val) {\n return !Object(_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(val) && (val - parseFloat(val) + 1) >= 0;\n}\n//# sourceMappingURL=isNumeric.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isNumeric.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isObject.js": -/*!********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isObject.js ***! - \********************************************************************/ -/*! exports provided: isObject */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isObject\", function() { return isObject; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction isObject(x) {\n return x !== null && typeof x === 'object';\n}\n//# sourceMappingURL=isObject.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isObject.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isObservable.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isObservable.js ***! - \************************************************************************/ -/*! exports provided: isObservable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isObservable\", function() { return isObservable; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */\n\nfunction isObservable(obj) {\n return !!obj && (obj instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"] || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));\n}\n//# sourceMappingURL=isObservable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isObservable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isPromise.js": -/*!*********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isPromise.js ***! - \*********************************************************************/ -/*! exports provided: isPromise */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPromise\", function() { return isPromise; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction isPromise(value) {\n return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n}\n//# sourceMappingURL=isPromise.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isPromise.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js ***! - \***********************************************************************/ -/*! exports provided: isScheduler */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isScheduler\", function() { return isScheduler; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction isScheduler(value) {\n return value && typeof value.schedule === 'function';\n}\n//# sourceMappingURL=isScheduler.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/isScheduler.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/noop.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/noop.js ***! - \****************************************************************/ -/*! exports provided: noop */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"noop\", function() { return noop; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction noop() { }\n//# sourceMappingURL=noop.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/noop.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/not.js": -/*!***************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/not.js ***! - \***************************************************************/ -/*! exports provided: not */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"not\", function() { return not; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nfunction not(pred, thisArg) {\n function notPred() {\n return !(notPred.pred.apply(notPred.thisArg, arguments));\n }\n notPred.pred = pred;\n notPred.thisArg = thisArg;\n return notPred;\n}\n//# sourceMappingURL=not.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/not.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/pipe.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/pipe.js ***! - \****************************************************************/ -/*! exports provided: pipe, pipeFromArray */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pipe\", function() { return pipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pipeFromArray\", function() { return pipeFromArray; });\n/* harmony import */ var _identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/identity.js\");\n/** PURE_IMPORTS_START _identity PURE_IMPORTS_END */\n\nfunction pipe() {\n var fns = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n fns[_i] = arguments[_i];\n }\n return pipeFromArray(fns);\n}\nfunction pipeFromArray(fns) {\n if (fns.length === 0) {\n return _identity__WEBPACK_IMPORTED_MODULE_0__[\"identity\"];\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce(function (prev, fn) { return fn(prev); }, input);\n };\n}\n//# sourceMappingURL=pipe.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/pipe.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/root.js": -/*!****************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/root.js ***! - \****************************************************************/ -/*! exports provided: root */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"root\", function() { return _root; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar __window = typeof window !== 'undefined' && window;\nvar __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n self instanceof WorkerGlobalScope && self;\nvar __global = typeof global !== 'undefined' && global;\nvar _root = __window || __global || __self;\n/*@__PURE__*/ (function () {\n if (!_root) {\n throw /*@__PURE__*/ new Error('RxJS could not find any global context (window, self, global)');\n }\n})();\n\n//# sourceMappingURL=root.js.map\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../webpack/buildin/global.js */ \"./.codedoc/node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/root.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeTo.js": -/*!***********************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeTo.js ***! - \***********************************************************************/ -/*! exports provided: subscribeTo */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeTo\", function() { return subscribeTo; });\n/* harmony import */ var _subscribeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./subscribeToArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToArray.js\");\n/* harmony import */ var _subscribeToPromise__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subscribeToPromise */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js\");\n/* harmony import */ var _subscribeToIterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./subscribeToIterable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js\");\n/* harmony import */ var _subscribeToObservable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./subscribeToObservable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js\");\n/* harmony import */ var _isArrayLike__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isArrayLike */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isArrayLike.js\");\n/* harmony import */ var _isPromise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isPromise */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isPromise.js\");\n/* harmony import */ var _isObject__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isObject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/isObject.js\");\n/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../symbol/iterator */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/iterator.js\");\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../symbol/observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js\");\n/** PURE_IMPORTS_START _subscribeToArray,_subscribeToPromise,_subscribeToIterable,_subscribeToObservable,_isArrayLike,_isPromise,_isObject,_symbol_iterator,_symbol_observable PURE_IMPORTS_END */\n\n\n\n\n\n\n\n\n\nvar subscribeTo = function (result) {\n if (!!result && typeof result[_symbol_observable__WEBPACK_IMPORTED_MODULE_8__[\"observable\"]] === 'function') {\n return Object(_subscribeToObservable__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToObservable\"])(result);\n }\n else if (Object(_isArrayLike__WEBPACK_IMPORTED_MODULE_4__[\"isArrayLike\"])(result)) {\n return Object(_subscribeToArray__WEBPACK_IMPORTED_MODULE_0__[\"subscribeToArray\"])(result);\n }\n else if (Object(_isPromise__WEBPACK_IMPORTED_MODULE_5__[\"isPromise\"])(result)) {\n return Object(_subscribeToPromise__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToPromise\"])(result);\n }\n else if (!!result && typeof result[_symbol_iterator__WEBPACK_IMPORTED_MODULE_7__[\"iterator\"]] === 'function') {\n return Object(_subscribeToIterable__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToIterable\"])(result);\n }\n else {\n var value = Object(_isObject__WEBPACK_IMPORTED_MODULE_6__[\"isObject\"])(result) ? 'an invalid object' : \"'\" + result + \"'\";\n var msg = \"You provided \" + value + \" where a stream was expected.\"\n + ' You can provide an Observable, Promise, Array, or Iterable.';\n throw new TypeError(msg);\n }\n};\n//# sourceMappingURL=subscribeTo.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeTo.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToArray.js": -/*!****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToArray.js ***! - \****************************************************************************/ -/*! exports provided: subscribeToArray */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToArray\", function() { return subscribeToArray; });\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\nvar subscribeToArray = function (array) {\n return function (subscriber) {\n for (var i = 0, len = array.length; i < len && !subscriber.closed; i++) {\n subscriber.next(array[i]);\n }\n subscriber.complete();\n };\n};\n//# sourceMappingURL=subscribeToArray.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToArray.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js": -/*!*******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js ***! - \*******************************************************************************/ -/*! exports provided: subscribeToIterable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToIterable\", function() { return subscribeToIterable; });\n/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/iterator */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/iterator.js\");\n/** PURE_IMPORTS_START _symbol_iterator PURE_IMPORTS_END */\n\nvar subscribeToIterable = function (iterable) {\n return function (subscriber) {\n var iterator = iterable[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__[\"iterator\"]]();\n do {\n var item = void 0;\n try {\n item = iterator.next();\n }\n catch (err) {\n subscriber.error(err);\n return subscriber;\n }\n if (item.done) {\n subscriber.complete();\n break;\n }\n subscriber.next(item.value);\n if (subscriber.closed) {\n break;\n }\n } while (true);\n if (typeof iterator.return === 'function') {\n subscriber.add(function () {\n if (iterator.return) {\n iterator.return();\n }\n });\n }\n return subscriber;\n };\n};\n//# sourceMappingURL=subscribeToIterable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js": -/*!*********************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js ***! - \*********************************************************************************/ -/*! exports provided: subscribeToObservable */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToObservable\", function() { return subscribeToObservable; });\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/observable.js\");\n/** PURE_IMPORTS_START _symbol_observable PURE_IMPORTS_END */\n\nvar subscribeToObservable = function (obj) {\n return function (subscriber) {\n var obs = obj[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"observable\"]]();\n if (typeof obs.subscribe !== 'function') {\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n }\n else {\n return obs.subscribe(subscriber);\n }\n };\n};\n//# sourceMappingURL=subscribeToObservable.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js": -/*!******************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js ***! - \******************************************************************************/ -/*! exports provided: subscribeToPromise */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToPromise\", function() { return subscribeToPromise; });\n/* harmony import */ var _hostReportError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hostReportError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/hostReportError.js\");\n/** PURE_IMPORTS_START _hostReportError PURE_IMPORTS_END */\n\nvar subscribeToPromise = function (promise) {\n return function (subscriber) {\n promise.then(function (value) {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, function (err) { return subscriber.error(err); })\n .then(null, _hostReportError__WEBPACK_IMPORTED_MODULE_0__[\"hostReportError\"]);\n return subscriber;\n };\n};\n//# sourceMappingURL=subscribeToPromise.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js": -/*!*****************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js ***! - \*****************************************************************************/ -/*! exports provided: subscribeToResult */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToResult\", function() { return subscribeToResult; });\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../InnerSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/InnerSubscriber.js\");\n/* harmony import */ var _subscribeTo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subscribeTo */ \"./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeTo.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observable */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observable.js\");\n/** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo,_Observable PURE_IMPORTS_END */\n\n\n\nfunction subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber) {\n if (innerSubscriber === void 0) {\n innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"InnerSubscriber\"](outerSubscriber, outerValue, outerIndex);\n }\n if (innerSubscriber.closed) {\n return undefined;\n }\n if (result instanceof _Observable__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]) {\n return result.subscribe(innerSubscriber);\n }\n return Object(_subscribeTo__WEBPACK_IMPORTED_MODULE_1__[\"subscribeTo\"])(result)(innerSubscriber);\n}\n//# sourceMappingURL=subscribeToResult.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/internal/util/toSubscriber.js": -/*!************************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/internal/util/toSubscriber.js ***! - \************************************************************************/ -/*! exports provided: toSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toSubscriber\", function() { return toSubscriber; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Subscriber.js\");\n/* harmony import */ var _symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../symbol/rxSubscriber */ \"./.codedoc/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js\");\n/* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observer */ \"./.codedoc/node_modules/rxjs/_esm5/internal/Observer.js\");\n/** PURE_IMPORTS_START _Subscriber,_symbol_rxSubscriber,_Observer PURE_IMPORTS_END */\n\n\n\nfunction toSubscriber(nextOrObserver, error, complete) {\n if (nextOrObserver) {\n if (nextOrObserver instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]) {\n return nextOrObserver;\n }\n if (nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"rxSubscriber\"]]) {\n return nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"rxSubscriber\"]]();\n }\n }\n if (!nextOrObserver && !error && !complete) {\n return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"](_Observer__WEBPACK_IMPORTED_MODULE_2__[\"empty\"]);\n }\n return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"](nextOrObserver, error, complete);\n}\n//# sourceMappingURL=toSubscriber.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/internal/util/toSubscriber.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/operators/index.js": -/*!*************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/operators/index.js ***! - \*************************************************************/ -/*! exports provided: audit, auditTime, buffer, bufferCount, bufferTime, bufferToggle, bufferWhen, catchError, combineAll, combineLatest, concat, concatAll, concatMap, concatMapTo, count, debounce, debounceTime, defaultIfEmpty, delay, delayWhen, dematerialize, distinct, distinctUntilChanged, distinctUntilKeyChanged, elementAt, endWith, every, exhaust, exhaustMap, expand, filter, finalize, find, findIndex, first, groupBy, ignoreElements, isEmpty, last, map, mapTo, materialize, max, merge, mergeAll, mergeMap, flatMap, mergeMapTo, mergeScan, min, multicast, observeOn, onErrorResumeNext, pairwise, partition, pluck, publish, publishBehavior, publishLast, publishReplay, race, reduce, repeat, repeatWhen, retry, retryWhen, refCount, sample, sampleTime, scan, sequenceEqual, share, shareReplay, single, skip, skipLast, skipUntil, skipWhile, startWith, subscribeOn, switchAll, switchMap, switchMapTo, take, takeLast, takeUntil, takeWhile, tap, throttle, throttleTime, throwIfEmpty, timeInterval, timeout, timeoutWith, timestamp, toArray, window, windowCount, windowTime, windowToggle, windowWhen, withLatestFrom, zip, zipAll */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _internal_operators_audit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal/operators/audit */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/audit.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"audit\", function() { return _internal_operators_audit__WEBPACK_IMPORTED_MODULE_0__[\"audit\"]; });\n\n/* harmony import */ var _internal_operators_auditTime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal/operators/auditTime */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/auditTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"auditTime\", function() { return _internal_operators_auditTime__WEBPACK_IMPORTED_MODULE_1__[\"auditTime\"]; });\n\n/* harmony import */ var _internal_operators_buffer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internal/operators/buffer */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/buffer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"buffer\", function() { return _internal_operators_buffer__WEBPACK_IMPORTED_MODULE_2__[\"buffer\"]; });\n\n/* harmony import */ var _internal_operators_bufferCount__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../internal/operators/bufferCount */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferCount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bufferCount\", function() { return _internal_operators_bufferCount__WEBPACK_IMPORTED_MODULE_3__[\"bufferCount\"]; });\n\n/* harmony import */ var _internal_operators_bufferTime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../internal/operators/bufferTime */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bufferTime\", function() { return _internal_operators_bufferTime__WEBPACK_IMPORTED_MODULE_4__[\"bufferTime\"]; });\n\n/* harmony import */ var _internal_operators_bufferToggle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal/operators/bufferToggle */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bufferToggle\", function() { return _internal_operators_bufferToggle__WEBPACK_IMPORTED_MODULE_5__[\"bufferToggle\"]; });\n\n/* harmony import */ var _internal_operators_bufferWhen__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internal/operators/bufferWhen */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bufferWhen\", function() { return _internal_operators_bufferWhen__WEBPACK_IMPORTED_MODULE_6__[\"bufferWhen\"]; });\n\n/* harmony import */ var _internal_operators_catchError__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internal/operators/catchError */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/catchError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"catchError\", function() { return _internal_operators_catchError__WEBPACK_IMPORTED_MODULE_7__[\"catchError\"]; });\n\n/* harmony import */ var _internal_operators_combineAll__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internal/operators/combineAll */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/combineAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineAll\", function() { return _internal_operators_combineAll__WEBPACK_IMPORTED_MODULE_8__[\"combineAll\"]; });\n\n/* harmony import */ var _internal_operators_combineLatest__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internal/operators/combineLatest */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/combineLatest.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineLatest\", function() { return _internal_operators_combineLatest__WEBPACK_IMPORTED_MODULE_9__[\"combineLatest\"]; });\n\n/* harmony import */ var _internal_operators_concat__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internal/operators/concat */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/concat.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concat\", function() { return _internal_operators_concat__WEBPACK_IMPORTED_MODULE_10__[\"concat\"]; });\n\n/* harmony import */ var _internal_operators_concatAll__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../internal/operators/concatAll */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concatAll\", function() { return _internal_operators_concatAll__WEBPACK_IMPORTED_MODULE_11__[\"concatAll\"]; });\n\n/* harmony import */ var _internal_operators_concatMap__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internal/operators/concatMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concatMap\", function() { return _internal_operators_concatMap__WEBPACK_IMPORTED_MODULE_12__[\"concatMap\"]; });\n\n/* harmony import */ var _internal_operators_concatMapTo__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internal/operators/concatMapTo */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/concatMapTo.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concatMapTo\", function() { return _internal_operators_concatMapTo__WEBPACK_IMPORTED_MODULE_13__[\"concatMapTo\"]; });\n\n/* harmony import */ var _internal_operators_count__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../internal/operators/count */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/count.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"count\", function() { return _internal_operators_count__WEBPACK_IMPORTED_MODULE_14__[\"count\"]; });\n\n/* harmony import */ var _internal_operators_debounce__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../internal/operators/debounce */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/debounce.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"debounce\", function() { return _internal_operators_debounce__WEBPACK_IMPORTED_MODULE_15__[\"debounce\"]; });\n\n/* harmony import */ var _internal_operators_debounceTime__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../internal/operators/debounceTime */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/debounceTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"debounceTime\", function() { return _internal_operators_debounceTime__WEBPACK_IMPORTED_MODULE_16__[\"debounceTime\"]; });\n\n/* harmony import */ var _internal_operators_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../internal/operators/defaultIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"defaultIfEmpty\", function() { return _internal_operators_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_17__[\"defaultIfEmpty\"]; });\n\n/* harmony import */ var _internal_operators_delay__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../internal/operators/delay */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/delay.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"delay\", function() { return _internal_operators_delay__WEBPACK_IMPORTED_MODULE_18__[\"delay\"]; });\n\n/* harmony import */ var _internal_operators_delayWhen__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../internal/operators/delayWhen */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/delayWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"delayWhen\", function() { return _internal_operators_delayWhen__WEBPACK_IMPORTED_MODULE_19__[\"delayWhen\"]; });\n\n/* harmony import */ var _internal_operators_dematerialize__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../internal/operators/dematerialize */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/dematerialize.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"dematerialize\", function() { return _internal_operators_dematerialize__WEBPACK_IMPORTED_MODULE_20__[\"dematerialize\"]; });\n\n/* harmony import */ var _internal_operators_distinct__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../internal/operators/distinct */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinct.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"distinct\", function() { return _internal_operators_distinct__WEBPACK_IMPORTED_MODULE_21__[\"distinct\"]; });\n\n/* harmony import */ var _internal_operators_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../internal/operators/distinctUntilChanged */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"distinctUntilChanged\", function() { return _internal_operators_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_22__[\"distinctUntilChanged\"]; });\n\n/* harmony import */ var _internal_operators_distinctUntilKeyChanged__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../internal/operators/distinctUntilKeyChanged */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"distinctUntilKeyChanged\", function() { return _internal_operators_distinctUntilKeyChanged__WEBPACK_IMPORTED_MODULE_23__[\"distinctUntilKeyChanged\"]; });\n\n/* harmony import */ var _internal_operators_elementAt__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../internal/operators/elementAt */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/elementAt.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"elementAt\", function() { return _internal_operators_elementAt__WEBPACK_IMPORTED_MODULE_24__[\"elementAt\"]; });\n\n/* harmony import */ var _internal_operators_endWith__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../internal/operators/endWith */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/endWith.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"endWith\", function() { return _internal_operators_endWith__WEBPACK_IMPORTED_MODULE_25__[\"endWith\"]; });\n\n/* harmony import */ var _internal_operators_every__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../internal/operators/every */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/every.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"every\", function() { return _internal_operators_every__WEBPACK_IMPORTED_MODULE_26__[\"every\"]; });\n\n/* harmony import */ var _internal_operators_exhaust__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../internal/operators/exhaust */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/exhaust.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"exhaust\", function() { return _internal_operators_exhaust__WEBPACK_IMPORTED_MODULE_27__[\"exhaust\"]; });\n\n/* harmony import */ var _internal_operators_exhaustMap__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../internal/operators/exhaustMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/exhaustMap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"exhaustMap\", function() { return _internal_operators_exhaustMap__WEBPACK_IMPORTED_MODULE_28__[\"exhaustMap\"]; });\n\n/* harmony import */ var _internal_operators_expand__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../internal/operators/expand */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/expand.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"expand\", function() { return _internal_operators_expand__WEBPACK_IMPORTED_MODULE_29__[\"expand\"]; });\n\n/* harmony import */ var _internal_operators_filter__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../internal/operators/filter */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/filter.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return _internal_operators_filter__WEBPACK_IMPORTED_MODULE_30__[\"filter\"]; });\n\n/* harmony import */ var _internal_operators_finalize__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../internal/operators/finalize */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/finalize.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"finalize\", function() { return _internal_operators_finalize__WEBPACK_IMPORTED_MODULE_31__[\"finalize\"]; });\n\n/* harmony import */ var _internal_operators_find__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../internal/operators/find */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/find.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"find\", function() { return _internal_operators_find__WEBPACK_IMPORTED_MODULE_32__[\"find\"]; });\n\n/* harmony import */ var _internal_operators_findIndex__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../internal/operators/findIndex */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/findIndex.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"findIndex\", function() { return _internal_operators_findIndex__WEBPACK_IMPORTED_MODULE_33__[\"findIndex\"]; });\n\n/* harmony import */ var _internal_operators_first__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../internal/operators/first */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/first.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"first\", function() { return _internal_operators_first__WEBPACK_IMPORTED_MODULE_34__[\"first\"]; });\n\n/* harmony import */ var _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../internal/operators/groupBy */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/groupBy.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"groupBy\", function() { return _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_35__[\"groupBy\"]; });\n\n/* harmony import */ var _internal_operators_ignoreElements__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../internal/operators/ignoreElements */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/ignoreElements.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ignoreElements\", function() { return _internal_operators_ignoreElements__WEBPACK_IMPORTED_MODULE_36__[\"ignoreElements\"]; });\n\n/* harmony import */ var _internal_operators_isEmpty__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../internal/operators/isEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/isEmpty.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isEmpty\", function() { return _internal_operators_isEmpty__WEBPACK_IMPORTED_MODULE_37__[\"isEmpty\"]; });\n\n/* harmony import */ var _internal_operators_last__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../internal/operators/last */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/last.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"last\", function() { return _internal_operators_last__WEBPACK_IMPORTED_MODULE_38__[\"last\"]; });\n\n/* harmony import */ var _internal_operators_map__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../internal/operators/map */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/map.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return _internal_operators_map__WEBPACK_IMPORTED_MODULE_39__[\"map\"]; });\n\n/* harmony import */ var _internal_operators_mapTo__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../internal/operators/mapTo */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mapTo.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mapTo\", function() { return _internal_operators_mapTo__WEBPACK_IMPORTED_MODULE_40__[\"mapTo\"]; });\n\n/* harmony import */ var _internal_operators_materialize__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../internal/operators/materialize */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/materialize.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"materialize\", function() { return _internal_operators_materialize__WEBPACK_IMPORTED_MODULE_41__[\"materialize\"]; });\n\n/* harmony import */ var _internal_operators_max__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../internal/operators/max */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/max.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"max\", function() { return _internal_operators_max__WEBPACK_IMPORTED_MODULE_42__[\"max\"]; });\n\n/* harmony import */ var _internal_operators_merge__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../internal/operators/merge */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/merge.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"merge\", function() { return _internal_operators_merge__WEBPACK_IMPORTED_MODULE_43__[\"merge\"]; });\n\n/* harmony import */ var _internal_operators_mergeAll__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../internal/operators/mergeAll */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeAll\", function() { return _internal_operators_mergeAll__WEBPACK_IMPORTED_MODULE_44__[\"mergeAll\"]; });\n\n/* harmony import */ var _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../internal/operators/mergeMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeMap\", function() { return _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__[\"mergeMap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"flatMap\", function() { return _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__[\"flatMap\"]; });\n\n/* harmony import */ var _internal_operators_mergeMapTo__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../internal/operators/mergeMapTo */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeMapTo\", function() { return _internal_operators_mergeMapTo__WEBPACK_IMPORTED_MODULE_46__[\"mergeMapTo\"]; });\n\n/* harmony import */ var _internal_operators_mergeScan__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../internal/operators/mergeScan */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/mergeScan.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeScan\", function() { return _internal_operators_mergeScan__WEBPACK_IMPORTED_MODULE_47__[\"mergeScan\"]; });\n\n/* harmony import */ var _internal_operators_min__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../internal/operators/min */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/min.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"min\", function() { return _internal_operators_min__WEBPACK_IMPORTED_MODULE_48__[\"min\"]; });\n\n/* harmony import */ var _internal_operators_multicast__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../internal/operators/multicast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/multicast.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"multicast\", function() { return _internal_operators_multicast__WEBPACK_IMPORTED_MODULE_49__[\"multicast\"]; });\n\n/* harmony import */ var _internal_operators_observeOn__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../internal/operators/observeOn */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/observeOn.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"observeOn\", function() { return _internal_operators_observeOn__WEBPACK_IMPORTED_MODULE_50__[\"observeOn\"]; });\n\n/* harmony import */ var _internal_operators_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../internal/operators/onErrorResumeNext */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/onErrorResumeNext.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function() { return _internal_operators_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_51__[\"onErrorResumeNext\"]; });\n\n/* harmony import */ var _internal_operators_pairwise__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../internal/operators/pairwise */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/pairwise.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pairwise\", function() { return _internal_operators_pairwise__WEBPACK_IMPORTED_MODULE_52__[\"pairwise\"]; });\n\n/* harmony import */ var _internal_operators_partition__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../internal/operators/partition */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/partition.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"partition\", function() { return _internal_operators_partition__WEBPACK_IMPORTED_MODULE_53__[\"partition\"]; });\n\n/* harmony import */ var _internal_operators_pluck__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../internal/operators/pluck */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/pluck.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pluck\", function() { return _internal_operators_pluck__WEBPACK_IMPORTED_MODULE_54__[\"pluck\"]; });\n\n/* harmony import */ var _internal_operators_publish__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../internal/operators/publish */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/publish.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"publish\", function() { return _internal_operators_publish__WEBPACK_IMPORTED_MODULE_55__[\"publish\"]; });\n\n/* harmony import */ var _internal_operators_publishBehavior__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../internal/operators/publishBehavior */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishBehavior.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"publishBehavior\", function() { return _internal_operators_publishBehavior__WEBPACK_IMPORTED_MODULE_56__[\"publishBehavior\"]; });\n\n/* harmony import */ var _internal_operators_publishLast__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../internal/operators/publishLast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishLast.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"publishLast\", function() { return _internal_operators_publishLast__WEBPACK_IMPORTED_MODULE_57__[\"publishLast\"]; });\n\n/* harmony import */ var _internal_operators_publishReplay__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../internal/operators/publishReplay */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/publishReplay.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"publishReplay\", function() { return _internal_operators_publishReplay__WEBPACK_IMPORTED_MODULE_58__[\"publishReplay\"]; });\n\n/* harmony import */ var _internal_operators_race__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../internal/operators/race */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/race.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"race\", function() { return _internal_operators_race__WEBPACK_IMPORTED_MODULE_59__[\"race\"]; });\n\n/* harmony import */ var _internal_operators_reduce__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../internal/operators/reduce */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/reduce.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return _internal_operators_reduce__WEBPACK_IMPORTED_MODULE_60__[\"reduce\"]; });\n\n/* harmony import */ var _internal_operators_repeat__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../internal/operators/repeat */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/repeat.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"repeat\", function() { return _internal_operators_repeat__WEBPACK_IMPORTED_MODULE_61__[\"repeat\"]; });\n\n/* harmony import */ var _internal_operators_repeatWhen__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../internal/operators/repeatWhen */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/repeatWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"repeatWhen\", function() { return _internal_operators_repeatWhen__WEBPACK_IMPORTED_MODULE_62__[\"repeatWhen\"]; });\n\n/* harmony import */ var _internal_operators_retry__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../internal/operators/retry */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/retry.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"retry\", function() { return _internal_operators_retry__WEBPACK_IMPORTED_MODULE_63__[\"retry\"]; });\n\n/* harmony import */ var _internal_operators_retryWhen__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../internal/operators/retryWhen */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/retryWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"retryWhen\", function() { return _internal_operators_retryWhen__WEBPACK_IMPORTED_MODULE_64__[\"retryWhen\"]; });\n\n/* harmony import */ var _internal_operators_refCount__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../internal/operators/refCount */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/refCount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"refCount\", function() { return _internal_operators_refCount__WEBPACK_IMPORTED_MODULE_65__[\"refCount\"]; });\n\n/* harmony import */ var _internal_operators_sample__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../internal/operators/sample */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/sample.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sample\", function() { return _internal_operators_sample__WEBPACK_IMPORTED_MODULE_66__[\"sample\"]; });\n\n/* harmony import */ var _internal_operators_sampleTime__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../internal/operators/sampleTime */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/sampleTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sampleTime\", function() { return _internal_operators_sampleTime__WEBPACK_IMPORTED_MODULE_67__[\"sampleTime\"]; });\n\n/* harmony import */ var _internal_operators_scan__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../internal/operators/scan */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/scan.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"scan\", function() { return _internal_operators_scan__WEBPACK_IMPORTED_MODULE_68__[\"scan\"]; });\n\n/* harmony import */ var _internal_operators_sequenceEqual__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../internal/operators/sequenceEqual */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/sequenceEqual.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sequenceEqual\", function() { return _internal_operators_sequenceEqual__WEBPACK_IMPORTED_MODULE_69__[\"sequenceEqual\"]; });\n\n/* harmony import */ var _internal_operators_share__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../internal/operators/share */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/share.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"share\", function() { return _internal_operators_share__WEBPACK_IMPORTED_MODULE_70__[\"share\"]; });\n\n/* harmony import */ var _internal_operators_shareReplay__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../internal/operators/shareReplay */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/shareReplay.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"shareReplay\", function() { return _internal_operators_shareReplay__WEBPACK_IMPORTED_MODULE_71__[\"shareReplay\"]; });\n\n/* harmony import */ var _internal_operators_single__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../internal/operators/single */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/single.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"single\", function() { return _internal_operators_single__WEBPACK_IMPORTED_MODULE_72__[\"single\"]; });\n\n/* harmony import */ var _internal_operators_skip__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../internal/operators/skip */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/skip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"skip\", function() { return _internal_operators_skip__WEBPACK_IMPORTED_MODULE_73__[\"skip\"]; });\n\n/* harmony import */ var _internal_operators_skipLast__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../internal/operators/skipLast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipLast.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"skipLast\", function() { return _internal_operators_skipLast__WEBPACK_IMPORTED_MODULE_74__[\"skipLast\"]; });\n\n/* harmony import */ var _internal_operators_skipUntil__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../internal/operators/skipUntil */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipUntil.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"skipUntil\", function() { return _internal_operators_skipUntil__WEBPACK_IMPORTED_MODULE_75__[\"skipUntil\"]; });\n\n/* harmony import */ var _internal_operators_skipWhile__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../internal/operators/skipWhile */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/skipWhile.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"skipWhile\", function() { return _internal_operators_skipWhile__WEBPACK_IMPORTED_MODULE_76__[\"skipWhile\"]; });\n\n/* harmony import */ var _internal_operators_startWith__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../internal/operators/startWith */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/startWith.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"startWith\", function() { return _internal_operators_startWith__WEBPACK_IMPORTED_MODULE_77__[\"startWith\"]; });\n\n/* harmony import */ var _internal_operators_subscribeOn__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../internal/operators/subscribeOn */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/subscribeOn.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"subscribeOn\", function() { return _internal_operators_subscribeOn__WEBPACK_IMPORTED_MODULE_78__[\"subscribeOn\"]; });\n\n/* harmony import */ var _internal_operators_switchAll__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../internal/operators/switchAll */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"switchAll\", function() { return _internal_operators_switchAll__WEBPACK_IMPORTED_MODULE_79__[\"switchAll\"]; });\n\n/* harmony import */ var _internal_operators_switchMap__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../internal/operators/switchMap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"switchMap\", function() { return _internal_operators_switchMap__WEBPACK_IMPORTED_MODULE_80__[\"switchMap\"]; });\n\n/* harmony import */ var _internal_operators_switchMapTo__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../internal/operators/switchMapTo */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/switchMapTo.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"switchMapTo\", function() { return _internal_operators_switchMapTo__WEBPACK_IMPORTED_MODULE_81__[\"switchMapTo\"]; });\n\n/* harmony import */ var _internal_operators_take__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../internal/operators/take */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/take.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"take\", function() { return _internal_operators_take__WEBPACK_IMPORTED_MODULE_82__[\"take\"]; });\n\n/* harmony import */ var _internal_operators_takeLast__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../internal/operators/takeLast */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeLast.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"takeLast\", function() { return _internal_operators_takeLast__WEBPACK_IMPORTED_MODULE_83__[\"takeLast\"]; });\n\n/* harmony import */ var _internal_operators_takeUntil__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../internal/operators/takeUntil */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeUntil.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"takeUntil\", function() { return _internal_operators_takeUntil__WEBPACK_IMPORTED_MODULE_84__[\"takeUntil\"]; });\n\n/* harmony import */ var _internal_operators_takeWhile__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../internal/operators/takeWhile */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/takeWhile.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"takeWhile\", function() { return _internal_operators_takeWhile__WEBPACK_IMPORTED_MODULE_85__[\"takeWhile\"]; });\n\n/* harmony import */ var _internal_operators_tap__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../internal/operators/tap */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/tap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"tap\", function() { return _internal_operators_tap__WEBPACK_IMPORTED_MODULE_86__[\"tap\"]; });\n\n/* harmony import */ var _internal_operators_throttle__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../internal/operators/throttle */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"throttle\", function() { return _internal_operators_throttle__WEBPACK_IMPORTED_MODULE_87__[\"throttle\"]; });\n\n/* harmony import */ var _internal_operators_throttleTime__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ../internal/operators/throttleTime */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/throttleTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"throttleTime\", function() { return _internal_operators_throttleTime__WEBPACK_IMPORTED_MODULE_88__[\"throttleTime\"]; });\n\n/* harmony import */ var _internal_operators_throwIfEmpty__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ../internal/operators/throwIfEmpty */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"throwIfEmpty\", function() { return _internal_operators_throwIfEmpty__WEBPACK_IMPORTED_MODULE_89__[\"throwIfEmpty\"]; });\n\n/* harmony import */ var _internal_operators_timeInterval__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ../internal/operators/timeInterval */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeInterval.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timeInterval\", function() { return _internal_operators_timeInterval__WEBPACK_IMPORTED_MODULE_90__[\"timeInterval\"]; });\n\n/* harmony import */ var _internal_operators_timeout__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ../internal/operators/timeout */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeout.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timeout\", function() { return _internal_operators_timeout__WEBPACK_IMPORTED_MODULE_91__[\"timeout\"]; });\n\n/* harmony import */ var _internal_operators_timeoutWith__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ../internal/operators/timeoutWith */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timeoutWith\", function() { return _internal_operators_timeoutWith__WEBPACK_IMPORTED_MODULE_92__[\"timeoutWith\"]; });\n\n/* harmony import */ var _internal_operators_timestamp__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ../internal/operators/timestamp */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/timestamp.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timestamp\", function() { return _internal_operators_timestamp__WEBPACK_IMPORTED_MODULE_93__[\"timestamp\"]; });\n\n/* harmony import */ var _internal_operators_toArray__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ../internal/operators/toArray */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/toArray.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"toArray\", function() { return _internal_operators_toArray__WEBPACK_IMPORTED_MODULE_94__[\"toArray\"]; });\n\n/* harmony import */ var _internal_operators_window__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ../internal/operators/window */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/window.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"window\", function() { return _internal_operators_window__WEBPACK_IMPORTED_MODULE_95__[\"window\"]; });\n\n/* harmony import */ var _internal_operators_windowCount__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ../internal/operators/windowCount */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowCount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"windowCount\", function() { return _internal_operators_windowCount__WEBPACK_IMPORTED_MODULE_96__[\"windowCount\"]; });\n\n/* harmony import */ var _internal_operators_windowTime__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ../internal/operators/windowTime */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"windowTime\", function() { return _internal_operators_windowTime__WEBPACK_IMPORTED_MODULE_97__[\"windowTime\"]; });\n\n/* harmony import */ var _internal_operators_windowToggle__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ../internal/operators/windowToggle */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowToggle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"windowToggle\", function() { return _internal_operators_windowToggle__WEBPACK_IMPORTED_MODULE_98__[\"windowToggle\"]; });\n\n/* harmony import */ var _internal_operators_windowWhen__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ../internal/operators/windowWhen */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/windowWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"windowWhen\", function() { return _internal_operators_windowWhen__WEBPACK_IMPORTED_MODULE_99__[\"windowWhen\"]; });\n\n/* harmony import */ var _internal_operators_withLatestFrom__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ../internal/operators/withLatestFrom */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withLatestFrom\", function() { return _internal_operators_withLatestFrom__WEBPACK_IMPORTED_MODULE_100__[\"withLatestFrom\"]; });\n\n/* harmony import */ var _internal_operators_zip__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ../internal/operators/zip */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/zip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"zip\", function() { return _internal_operators_zip__WEBPACK_IMPORTED_MODULE_101__[\"zip\"]; });\n\n/* harmony import */ var _internal_operators_zipAll__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ../internal/operators/zipAll */ \"./.codedoc/node_modules/rxjs/_esm5/internal/operators/zipAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"zipAll\", function() { return _internal_operators_zipAll__WEBPACK_IMPORTED_MODULE_102__[\"zipAll\"]; });\n\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/operators/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/rxjs/_esm5/webSocket/index.js": -/*!*************************************************************!*\ - !*** ./.codedoc/node_modules/rxjs/_esm5/webSocket/index.js ***! - \*************************************************************/ -/*! exports provided: webSocket, WebSocketSubject */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _internal_observable_dom_webSocket__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal/observable/dom/webSocket */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/webSocket.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"webSocket\", function() { return _internal_observable_dom_webSocket__WEBPACK_IMPORTED_MODULE_0__[\"webSocket\"]; });\n\n/* harmony import */ var _internal_observable_dom_WebSocketSubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal/observable/dom/WebSocketSubject */ \"./.codedoc/node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WebSocketSubject\", function() { return _internal_observable_dom_WebSocketSubject__WEBPACK_IMPORTED_MODULE_1__[\"WebSocketSubject\"]; });\n\n/** PURE_IMPORTS_START PURE_IMPORTS_END */\n\n\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/rxjs/_esm5/webSocket/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/safe-buffer/index.js": -/*!****************************************************!*\ - !*** ./.codedoc/node_modules/safe-buffer/index.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/*! safe-buffer. MIT License. Feross Aboukhadijeh */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(/*! buffer */ \"./.codedoc/node_modules/buffer/index.js\")\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.prototype = Object.create(Buffer.prototype)\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/safe-buffer/index.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/safer-buffer/safer.js": -/*!*****************************************************!*\ - !*** ./.codedoc/node_modules/safer-buffer/safer.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(process) {/* eslint-disable node/no-deprecated-api */\n\n\n\nvar buffer = __webpack_require__(/*! buffer */ \"./.codedoc/node_modules/buffer/index.js\")\nvar Buffer = buffer.Buffer\n\nvar safer = {}\n\nvar key\n\nfor (key in buffer) {\n if (!buffer.hasOwnProperty(key)) continue\n if (key === 'SlowBuffer' || key === 'Buffer') continue\n safer[key] = buffer[key]\n}\n\nvar Safer = safer.Buffer = {}\nfor (key in Buffer) {\n if (!Buffer.hasOwnProperty(key)) continue\n if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue\n Safer[key] = Buffer[key]\n}\n\nsafer.Buffer.prototype = Buffer.prototype\n\nif (!Safer.from || Safer.from === Uint8Array.from) {\n Safer.from = function (value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('The \"value\" argument must not be of type number. Received type ' + typeof value)\n }\n if (value && typeof value.length === 'undefined') {\n throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value)\n }\n return Buffer(value, encodingOrOffset, length)\n }\n}\n\nif (!Safer.alloc) {\n Safer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('The \"size\" argument must be of type number. Received type ' + typeof size)\n }\n if (size < 0 || size >= 2 * (1 << 30)) {\n throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n }\n var buf = Buffer(size)\n if (!fill || fill.length === 0) {\n buf.fill(0)\n } else if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n return buf\n }\n}\n\nif (!safer.kStringMaxLength) {\n try {\n safer.kStringMaxLength = process.binding('buffer').kStringMaxLength\n } catch (e) {\n // we can't determine kStringMaxLength in environments where process.binding\n // is unsupported, so let's not set it\n }\n}\n\nif (!safer.constants) {\n safer.constants = {\n MAX_LENGTH: safer.kMaxLength\n }\n if (safer.kStringMaxLength) {\n safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength\n }\n}\n\nmodule.exports = safer\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../process/browser.js */ \"./.codedoc/node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./.codedoc/node_modules/safer-buffer/safer.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/select/src/select.js": -/*!****************************************************!*\ - !*** ./.codedoc/node_modules/select/src/select.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("function select(element) {\n var selectedText;\n\n if (element.nodeName === 'SELECT') {\n element.focus();\n\n selectedText = element.value;\n }\n else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n var isReadOnly = element.hasAttribute('readonly');\n\n if (!isReadOnly) {\n element.setAttribute('readonly', '');\n }\n\n element.select();\n element.setSelectionRange(0, element.value.length);\n\n if (!isReadOnly) {\n element.removeAttribute('readonly');\n }\n\n selectedText = element.value;\n }\n else {\n if (element.hasAttribute('contenteditable')) {\n element.focus();\n }\n\n var selection = window.getSelection();\n var range = document.createRange();\n\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n\n selectedText = selection.toString();\n }\n\n return selectedText;\n}\n\nmodule.exports = select;\n\n\n//# sourceURL=webpack:///./.codedoc/node_modules/select/src/select.js?"); - -/***/ }), - -/***/ "./.codedoc/node_modules/setimmediate/setImmediate.js": -/*!************************************************************!*\ - !*** ./.codedoc/node_modules/setimmediate/setImmediate.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a

linkSpec Config Section

Controls basics about where the endpoint lives (e.g. server, port).

These settings apply to all specs in an entire suite file.

1linkmeta:

2link name: Make sure Google loads

3link locate_files_relative: true

4linkconfiguration:

5link host: api.mycompany.com

6link scheme: http

7link port: 1337

8link base_path: /api/v3

9linkspecs:

10link - name: Fetch users

11link request:

12link method: get

13link path: /users

14link response:

15link status_code: 200

16link# http://api.mycompany.com:1337/api/v3/users



linkscheme

  • Type: string required
  • Example: https
  • Values: http, https

What protocol (scheme) to use. Generally, http or https



linkhost

  • Type: string required
  • Example: localhost

What server to use.



linkport

  • Type: number optional
  • Example: 8080

A custom port to use. Note that it must be a number.



linkbase_path

  • Type: string optional
  • Example: /api

An optional base path to prepend to each URL.



linkcustom_configuration

  • Type: JS Inline Function | JS Inline Async Function | JS Module optional
  • Example: (see below)

Dynamically set any of the configuration using either an inline or external JS function.


+

linkSpec Config Section

Controls basics about where the endpoint lives (e.g. server, port).

These settings apply to all specs in an entire suite file.

1linkmeta:

2link name: Make sure Google loads

3link locate_files_relative: true

4linkconfiguration:

5link host: api.mycompany.com

6link scheme: http

7link port: 1337

8link base_path: /api/v3

9linkspecs:

10link - name: Fetch users

11link request:

12link method: get

13link path: /users

14link response:

15link status_code: 200

16link# http://api.mycompany.com:1337/api/v3/users



linkscheme

  • Type: string required
  • Example: https
  • Values: http, https

What protocol (scheme) to use. Generally, http or https



linkhost

  • Type: string required
  • Example: localhost

What server to use.



linkport

  • Type: number optional
  • Example: 8080

A custom port to use. Note that it must be a number.



linkbase_path

  • Type: string optional
  • Example: /api

An optional base path to prepend to each URL.



linkcustom_configuration

  • Type: JS Inline Function | JS Inline Async Function | JS Module optional
  • Example: (see below)

Dynamically set any of the configuration using either an inline or external JS function.


linkJS Inline Function

See also:

1linkconfiguration:

2link scheme: https

3link port: 443

4link base_path: /api

5link custom_configuration:

6link run_type: inline

7link inline:

8link function: !!js/function >

9link function() {

10link if (process.env.NODE_ENV === 'dev') {

11link this.scheme = 'http';

12link this.port = 1337;

13link this.host = 'localhost;

14link return;

15link }

16link this.host = `${process.env.NODE_ENV || 'www'}.yourcompany.com`;

17link }

18link# NODE_ENV=dev --> http://localhost:1337/api

19link# NODE_ENV=qa --> https://qa.yourcompany.com/api

20link# NODE_ENV="" --> https://www.yourcompany.com/api


linkJS Inline Async function

See also:

1linkconfiguration:

2link host: yourcompany.com

3link scheme: https

4link port: 443

5link base_path: /api

6link custom_configuration:

7link run_type: inline

8link inline:

9link function: !js/asyncFunction >

10link async function() {

11link this.scheme = 'http';

12link this.port = 3027;

13link }

14link# https//yourcompany.com:3027/api


-

linkJS Module

See also:

1linkconfiguration:

2link host: yourcompany.com

3link scheme: https

4link port: 443

5link base_path: /api

6link custom_configuration:

7link run_type: module

8link module:

9link module_path: config/test.js

10link function_name: configureForEnv # --> 'this'bound to suite object, e.g. this.host, this.port, etc.

Home

Getting Startedchevron_right

Installation +

linkJS Module

See also:

1linkconfiguration:

2link host: yourcompany.com

3link scheme: https

4link port: 443

5link base_path: /api

6link custom_configuration:

7link run_type: module

8link module:

9link module_path: config/test.js

10link function_name: configureForEnv # --> 'this'bound to suite object, e.g. this.host, this.port, etc.

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/basics/meta.html b/docs/basics/meta.html index 2e92dea..dec65cc 100644 --- a/docs/basics/meta.html +++ b/docs/basics/meta.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkSpec Meta Section

Optional section providing info related to the entire suite

⚠️ Note: applies to every file path in the suite

example-spec.yml
1linkmeta:

2link name: Make sure Google loads

3link locate_files_relative: true

4linkconfiguration:

5link host: www.google.com

6link scheme: https

7linkspecs:

8link - name: Fetch Google homepage

9link request:

10link method: get

11link path: /

12link response:

13link status_code: 200



linkname

  • Type: string required
  • Default: null

Give a name that describes the suite (e.g: "New User registration")

linkenabled

  • Type: boolean optional
  • Default: true
  • Values: true, false

Enable/disable whether this suite should be run.

See also: Example: Disabled Suite

linklocate_files_relative

  • Type: boolean optional
  • Default: false
  • Values: true, false

Locate specified files relative to this suite file's path.

If false, locates files relative to Node process's current working directory.

If true, locates files relative to the suite's path.

See also: Example: Relative Intersuite Dependencies

Home

Getting Startedchevron_right

Installation +

linkSpec Meta Section

Optional section providing info related to the entire suite

⚠️ Note: applies to every file path in the suite

example-spec.yml
1linkmeta:

2link name: Make sure Google loads

3link locate_files_relative: true

4linkconfiguration:

5link host: www.google.com

6link scheme: https

7linkspecs:

8link - name: Fetch Google homepage

9link request:

10link method: get

11link path: /

12link response:

13link status_code: 200



linkname

  • Type: string required
  • Default: null

Give a name that describes the suite (e.g: "New User registration")

linkenabled

  • Type: boolean optional
  • Default: true
  • Values: true, false

Enable/disable whether this suite should be run.

See also: Example: Disabled Suite

linklocate_files_relative

  • Type: boolean optional
  • Default: false
  • Values: true, false

Locate specified files relative to this suite file's path.

If false, locates files relative to Node process's current working directory.

If true, locates files relative to the suite's path.

See also: Example: Relative Intersuite Dependencies

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/basics/overview.html b/docs/basics/overview.html index b978028..ceb8ee8 100644 --- a/docs/basics/overview.html +++ b/docs/basics/overview.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkSpec Overview & Basic Concepts

REST-EZ's lets you test HTTP-based APIs without code (declarative, instead of procedural). It aims to make API testing easy, free, and fast for everyone.

linkThe High-level View

  • suite - a yaml file that includes a list of one or more specs
  • spec - block that defines a request & response dialog, with optional assertions and lifecycle hooks

You can write custom JS including external JS files.

linkRequired Sections

A test suite has three required sections:

linkOptional Sections

Optional sections are:

Home

Getting Startedchevron_right

Installation +

linkSpec Overview & Basic Concepts

REST-EZ's lets you test HTTP-based APIs without code (declarative, instead of procedural). It aims to make API testing easy, free, and fast for everyone.

linkThe High-level View

  • suite - a yaml file that includes a list of one or more specs
  • spec - block that defines a request & response dialog, with optional assertions and lifecycle hooks

You can write custom JS including external JS files.

linkRequired Sections

A test suite has three required sections:

linkOptional Sections

Optional sections are:

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/basics/specs.html b/docs/basics/specs.html index 153d64e..e1cfce4 100644 --- a/docs/basics/specs.html +++ b/docs/basics/specs.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkSpecs Section

Required section that provides a list of individual HTTP requests to run.

  • Type: array required
  • Example: (see below)

⚠️ Note: at least one spec is required for the suite to be valid.

specs/star-wars-service.yml
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7linkspecs:

8link - name: Fetch info about Luke Skywalker

9link request:

10link path: /people/1/

11link method: get

12link accept: application/json

13link response:

14link status_code: 200

15link headers:

16link - name: content-type

17link value: !!js/regexp application/json

18link json_data:

19link - path: $.name

20link value: Luke Skywalker

21link after_test:

22link run_type: inline

23link inline:

24link function: !!js/function >

25link function() {

26link this.suite.person = JSON.parse(this.response.body);

27link }

28link - name: Fetch each movie that Luke Skywalker is in

29link loop:

30link type: dynamic

31link dynamic:

32link run_type: inline

33link inline:

34link function: !!js/function >

35link function() {

36link return this.suite.person.films;

37link }

38link before_test:

39link run_type: inline

40link inline:

41link function: !!js/function >

42link function() {

43link this.test.path_params = {

44link id : this.loopItem.match(/\/api\/films\/(\d+)\//)[1]

45link };

46link }

47link request:

48link path: /films/{id}/

49link method: get

50link accept: application/json

51link response:

52link status_code: 200

See also:



linkRetry

Use the retry spec level property to automatically retry the spec. Example use case is polling a job until in completed state after a while.

linkcount

  • Type: integer required
  • Example: 2

How many times to retry this spec.

linkwait_before_each

  • Type: integer optional
  • Example: 10
  • Values: http, https

Number of milliseconds (ms) between retry attempts.

1link - request:

2link path: /status

3link method: get

4link retry:

5link count: 3

6link wait_before_each: 10

7link response:

8link status_code: 200

Home

Getting Startedchevron_right

Installation +

linkSpecs Section

Required section that provides a list of individual HTTP requests to run.

  • Type: array required
  • Example: (see below)

⚠️ Note: at least one spec is required for the suite to be valid.

specs/star-wars-service.yml
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7linkspecs:

8link - name: Fetch info about Luke Skywalker

9link request:

10link path: /people/1/

11link method: get

12link accept: application/json

13link response:

14link status_code: 200

15link headers:

16link - name: content-type

17link value: !!js/regexp application/json

18link json_data:

19link - path: $.name

20link value: Luke Skywalker

21link after_test:

22link run_type: inline

23link inline:

24link function: !!js/function >

25link function() {

26link this.suite.person = JSON.parse(this.response.body);

27link }

28link - name: Fetch each movie that Luke Skywalker is in

29link loop:

30link type: dynamic

31link dynamic:

32link run_type: inline

33link inline:

34link function: !!js/function >

35link function() {

36link return this.suite.person.films;

37link }

38link before_test:

39link run_type: inline

40link inline:

41link function: !!js/function >

42link function() {

43link this.test.path_params = {

44link id : this.loopItem.match(/\/api\/films\/(\d+)\//)[1]

45link };

46link }

47link request:

48link path: /films/{id}/

49link method: get

50link accept: application/json

51link response:

52link status_code: 200

See also:



linkRetry

Use the retry spec level property to automatically retry the spec. Example use case is polling a job until in completed state after a while.

linkcount

  • Type: integer required
  • Example: 2

How many times to retry this spec.

linkwait_before_each

  • Type: integer optional
  • Example: 10
  • Values: http, https

Number of milliseconds (ms) between retry attempts.

1link - request:

2link path: /status

3link method: get

4link retry:

5link count: 3

6link wait_before_each: 10

7link response:

8link status_code: 200

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/cli/basics.html b/docs/cli/basics.html index c1aed1f..daf1281 100644 --- a/docs/cli/basics.html +++ b/docs/cli/basics.html @@ -35,45 +35,45 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkCommand Line Interface (CLI)

Basic usage:

1link$rest-ez [options] <path(s)>

Invoke rest-ez from command-line:

1link$./node_modules/.bin/rest-ez

Test Suite path/pattern/directory is not specified, Looking for suites in specs directory +

linkCommand Line Interface (CLI)

Basic usage:

1link$rest-ez [options] <path(s)>

Invoke rest-ez from command-line:

1link$./node_modules/.bin/rest-ez

Test Suite path/pattern/directory is not specified, Looking for suites in specs directory No test suites found

By default REST-EZ looks for specs in the specs/ folder



linkDebugging

You can optionally log all info about failed requests using --reporter-options logRequests.

Log all failed requests in an HTML report:

1link$./node_modules/.bin/rest-ez --reporter html --reporter-options logRequests

Log all failed requests in a JSON report:

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options logRequests

⚠️ Currently, use of logRequests option only works with a reporter specified, as the example above.



linkRunning Suites in Parallel

When you have lots of test suites, it might take a while to execute all of them serially.

To reduce the test execution time, REST-EZ is built with parallelism. You can invoke rest-ez with --parallel option to trigger parallel execution mode. -All reporters respect parallel mode and generate correct reports with properly mapped errors if any.

This is how you can execute suites in parallel with rest-ez

1link$./node_modules/.bin/rest-ez --parallel 8

Above command will start test execution in parallel mode with 8 suites at a time.

⚠️ NOTE: maximum number of suites supported in parallel is 24



Home

Getting Startedchevron_right

Installation +All reporters respect parallel mode and generate correct reports with properly mapped errors if any.

This is how you can execute suites in parallel with rest-ez

1link$./node_modules/.bin/rest-ez --parallel 8

Above command will start test execution in parallel mode with 8 suites at a time.

⚠️ NOTE: maximum number of suites supported in parallel is 24



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/cli/options.html b/docs/cli/options.html index 3456411..5aaeae0 100644 --- a/docs/cli/options.html +++ b/docs/cli/options.html @@ -35,7 +35,7 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkOptions

1link$./node_modules/bin/rest-ez --help

+

linkOptions

1link$./node_modules/bin/rest-ez --help

Usage: just-api <options> <files> @@ -49,43 +49,43 @@ --recursive include sub directories when searching for suites --reporters display available reporters -h, --help output usage information -



Home

Getting Startedchevron_right



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/cli/reporters.html b/docs/cli/reporters.html index 8845051..b406461 100644 --- a/docs/cli/reporters.html +++ b/docs/cli/reporters.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkReporters

REST-EZ has several built-in reporters, json, specs, html etc.

When you need a HTML report, you can invoke rest-ez with the --reporter option

Basic example:

1link$./node_modules/.bin/rest-ez --reporter html

Advanced example:

1link$./node_modules/.bin/rest-ez --reporter html,json --reporter-options jsonReportDir=reports,jsonReportName=json-report,htmlReportDir=reports,htmlReportName=html-report,logRequests



linkMultiple Formats

REST-EZ can generate reports in multiple formats.

When you need a HTML report and a JSON report too, you could do something like this

1link$./node_modules/.bin/rest-ez --reporter html,json

This way you can generate reports in multiple formats for the same run.



linkReporter Options

REST-EZ accepts an additonal command line option --reporter-options that you can use to customize how and where reports are generated and saved.

You must pass a comma separated list of key and value pairs to this option as k=v,k2=v2,...



linkjsonReportDir

  • Type: string optional
  • Example: test-reports
  • Default: [cwd]

Provide an existing directory path that is relative to REST-EZ node process's cwd. JSON report will be saved to this directory.

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options jsonReportDir=test-reports

# Outputs to: test-reports/report.json



linkjsonReportName

  • Type: string optional
  • Example: test-report.json
  • Default: report.json

Provide a name for the JSON report file. JSON report will be saved with this name.

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options jsonReportName=test-report.json

# Outputs to: test-report.json



linkhtmlReportDir

  • Type: string optional
  • Example: test-reports/
  • Default: [cwd]

Provide an existing directory path that is relative to REST-EZ node process's cwd. HTML report will be saved to this directory.

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options htmlReportDir=reports,htmlReportName=test-report.json

# Outputs to: reports/test-report.json



linkhtmlReportName

  • Type: string optional
  • Example: test-report.html
  • Default: report.html

Provide a name for the HTML report file. HTML report will be saved with this name.

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options htmlReportDir=html-reports,htmlReportName=latest-report.json

# Outputs to: html-reports/latest-report.json



linklogRequests

  • Type: boolean optional
  • Example: true
  • Default: false (if not provided)

Tells REST-EZ to log HTTP request & response details in reports for failed tests. Omit this if you don't want to log details.

Log all failed requests in an HTML report:

1link$./node_modules/.bin/rest-ez --reporter html --reporter-options logRequests

Log all failed requests in a JSON report:

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options logRequests



linkCustom Reporters

You can write your own custom reporter.

See also: REST-EZ Built-In JSON Reporter

Reporters are JS constructors. When instantiated, a reporter receives the test launcher object along with program options.

linkRunning Custom Reporter

Using a node module by name:

1link$./node_modules/.bin/rest-ez --reporter html,custom-reporter-module-name

Using a path to a file:

1link$./node_modules/.bin/rest-ez --reporter html,/absolute/path/to/js/file

linkEvents

REST-EZ emits events on launcher object and suite object, So a custom reporter should listen to these events and implement reporting.

  • Launcher
    • start Triggered once when the test run begins
    • end Triggered once when the test run ends
    • new suite Trigger {n} times at the start of each new suite
  • Suite
    • test fail Triggered {n} times (once for each), after failing spec within a suite
    • test skip Triggered {n} times (once for each), after skipped spec within a suite
    • end Triggered {n} times (once per suite), after suite finishes

linkInterface

1linkclass Reporter {

2link

3link constructor(launcher, opts = {}) {

4link

5link }

6link

7link addSuite(suite) {

8link

9link }

10link

11link getSuite(location) {

12link

13link }

14link}



Home

Getting Startedchevron_right

Installation +

linkReporters

REST-EZ has several built-in reporters, json, specs, html etc.

When you need a HTML report, you can invoke rest-ez with the --reporter option

Basic example:

1link$./node_modules/.bin/rest-ez --reporter html

Advanced example:

1link$./node_modules/.bin/rest-ez --reporter html,json --reporter-options jsonReportDir=reports,jsonReportName=json-report,htmlReportDir=reports,htmlReportName=html-report,logRequests



linkMultiple Formats

REST-EZ can generate reports in multiple formats.

When you need a HTML report and a JSON report too, you could do something like this

1link$./node_modules/.bin/rest-ez --reporter html,json

This way you can generate reports in multiple formats for the same run.



linkReporter Options

REST-EZ accepts an additonal command line option --reporter-options that you can use to customize how and where reports are generated and saved.

You must pass a comma separated list of key and value pairs to this option as k=v,k2=v2,...



linkjsonReportDir

  • Type: string optional
  • Example: test-reports
  • Default: [cwd]

Provide an existing directory path that is relative to REST-EZ node process's cwd. JSON report will be saved to this directory.

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options jsonReportDir=test-reports

# Outputs to: test-reports/report.json



linkjsonReportName

  • Type: string optional
  • Example: test-report.json
  • Default: report.json

Provide a name for the JSON report file. JSON report will be saved with this name.

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options jsonReportName=test-report.json

# Outputs to: test-report.json



linkhtmlReportDir

  • Type: string optional
  • Example: test-reports/
  • Default: [cwd]

Provide an existing directory path that is relative to REST-EZ node process's cwd. HTML report will be saved to this directory.

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options htmlReportDir=reports,htmlReportName=test-report.json

# Outputs to: reports/test-report.json



linkhtmlReportName

  • Type: string optional
  • Example: test-report.html
  • Default: report.html

Provide a name for the HTML report file. HTML report will be saved with this name.

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options htmlReportDir=html-reports,htmlReportName=latest-report.json

# Outputs to: html-reports/latest-report.json



linklogRequests

  • Type: boolean optional
  • Example: true
  • Default: false (if not provided)

Tells REST-EZ to log HTTP request & response details in reports for failed tests. Omit this if you don't want to log details.

Log all failed requests in an HTML report:

1link$./node_modules/.bin/rest-ez --reporter html --reporter-options logRequests

Log all failed requests in a JSON report:

1link$./node_modules/.bin/rest-ez --reporter json --reporter-options logRequests



linkCustom Reporters

You can write your own custom reporter.

See also: REST-EZ Built-In JSON Reporter

Reporters are JS constructors. When instantiated, a reporter receives the test launcher object along with program options.

linkRunning Custom Reporter

Using a node module by name:

1link$./node_modules/.bin/rest-ez --reporter html,custom-reporter-module-name

Using a path to a file:

1link$./node_modules/.bin/rest-ez --reporter html,/absolute/path/to/js/file

linkEvents

REST-EZ emits events on launcher object and suite object, So a custom reporter should listen to these events and implement reporting.

  • Launcher
    • start Triggered once when the test run begins
    • end Triggered once when the test run ends
    • new suite Trigger {n} times at the start of each new suite
  • Suite
    • test fail Triggered {n} times (once for each), after failing spec within a suite
    • test skip Triggered {n} times (once for each), after skipped spec within a suite
    • end Triggered {n} times (once per suite), after suite finishes

linkInterface

1linkclass Reporter {

2link

3link constructor(launcher, opts = {}) {

4link

5link }

6link

7link addSuite(suite) {

8link

9link }

10link

11link getSuite(location) {

12link

13link }

14link}



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/getting-started/graphql.html b/docs/getting-started/graphql.html index f3667e7..6edc53d 100644 --- a/docs/getting-started/graphql.html +++ b/docs/getting-started/graphql.html @@ -35,7 +35,7 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkGraphQL Spec

linkCreating a Spec

Create a new spec under the specs/ folder:

specs/graphql-service.yml
1linkmeta:

2link name: GraphQL location service

3linkconfiguration:

4link host: graphql.contentful.com

5link scheme: https

6link base_path: /content/v1

7linkspecs:

8link - name: Get list of Lesson collections

9link request:

10link method: post

11link path: /spaces/f8bqpb154z8p/environments/master

12link query_params:

13link - name: access_token

14link value: 9d5de88248563ebc0d2ad688d0473f56fcd31c600e419d6c8962f6aed0150599

15link headers:

16link - name: content-type

17link value: application/json

18link payload:

19link body:

20link type: json

21link content:

22link query: >

23link {

24link lessonCollection(where: {OR: [{title_contains: "content"}, {title_contains: "SDK"}]}) {

25link items {

26link title

27link slug

28link }

29link }

30link }

31link variables: null

32link operationName: null

33link response:

34link status_code: 200

35link json_data:

36link - path: $.data.lessonCollection.items[0].title

37link value: Content model

38link - path: $.data.lessonCollection.items[0].slug

39link value: content-model



linkRun the Spec

Run the spec from the terminal:

1link$./node_modules/.bin/rest-ez

Test Suite path/pattern/directory is not specified, Looking for suites in specs directory +

linkGraphQL Spec

linkCreating a Spec

Create a new spec under the specs/ folder:

specs/graphql-service.yml
1linkmeta:

2link name: GraphQL location service

3linkconfiguration:

4link host: graphql.contentful.com

5link scheme: https

6link base_path: /content/v1

7linkspecs:

8link - name: Get list of Lesson collections

9link request:

10link method: post

11link path: /spaces/f8bqpb154z8p/environments/master

12link query_params:

13link - name: access_token

14link value: 9d5de88248563ebc0d2ad688d0473f56fcd31c600e419d6c8962f6aed0150599

15link headers:

16link - name: content-type

17link value: application/json

18link payload:

19link body:

20link type: json

21link content:

22link query: >

23link {

24link lessonCollection(where: {OR: [{title_contains: "content"}, {title_contains: "SDK"}]}) {

25link items {

26link title

27link slug

28link }

29link }

30link }

31link variables: null

32link operationName: null

33link response:

34link status_code: 200

35link json_data:

36link - path: $.data.lessonCollection.items[0].title

37link value: Content model

38link - path: $.data.lessonCollection.items[0].slug

39link value: content-model



linkRun the Spec

Run the spec from the terminal:

1link$./node_modules/.bin/rest-ez

Test Suite path/pattern/directory is not specified, Looking for suites in specs directory Found suites: - specs/graphql-service.yml @@ -47,43 +47,43 @@ 0 skipped, 0 failed, 1 passing (1 tests) 0 skipped, 0 failed, 1 passing (1 suites) - Duration: 667ms

Home

Getting Startedchevron_right

Installation + Duration: 667ms

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/getting-started/installation.html b/docs/getting-started/installation.html index 5c3bb13..98420ec 100644 --- a/docs/getting-started/installation.html +++ b/docs/getting-started/installation.html @@ -35,45 +35,45 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkInstallation

Install with npm:

1link$npm install --save dev rest-ez


+

linkInstallation

Install with npm:

1link$npm install --save dev rest-ez


-

⚠️ Requires node >=7.10

Home

Getting Startedchevron_right

Installation +

⚠️ Requires node >=7.10

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/getting-started/rest-api.html b/docs/getting-started/rest-api.html index 2fde4b7..e272746 100644 --- a/docs/getting-started/rest-api.html +++ b/docs/getting-started/rest-api.html @@ -35,7 +35,7 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkREST API Spec

Specs consistent of three basic sections:

  • Meta - Metadata about the spec
  • Configuration - Basics of where the request should point. Note that config can be dynamic using functions
  • Specs - An array of requests to run & resonse validations to perform against those requests



linkCreating a Spec

Create a new spec under the specs/ folder:

specs/star-wars-service.yml
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7linkspecs:

8link - name: Fetch info about Luke Skywalker

9link request:

10link path: /people/1/

11link method: get

12link accept: application/json

13link response:

14link status_code: 200

15link headers:

16link - name: content-type

17link value: !!js/regexp application/json

18link json_data:

19link - path: $.name

20link value: Luke Skywalker



linkRunning the Spec

Run the spec from the terminal:

1link$./node_modules/.bin/rest-ez

Test Suite path/pattern/directory is not specified, Looking for suites in specs directory +

linkREST API Spec

Specs consistent of three basic sections:

  • Meta - Metadata about the spec
  • Configuration - Basics of where the request should point. Note that config can be dynamic using functions
  • Specs - An array of requests to run & resonse validations to perform against those requests



linkCreating a Spec

Create a new spec under the specs/ folder:

specs/star-wars-service.yml
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7linkspecs:

8link - name: Fetch info about Luke Skywalker

9link request:

10link path: /people/1/

11link method: get

12link accept: application/json

13link response:

14link status_code: 200

15link headers:

16link - name: content-type

17link value: !!js/regexp application/json

18link json_data:

19link - path: $.name

20link value: Luke Skywalker



linkRunning the Spec

Run the spec from the terminal:

1link$./node_modules/.bin/rest-ez

Test Suite path/pattern/directory is not specified, Looking for suites in specs directory Found suites: - specs/star-wars-service.yml @@ -47,43 +47,43 @@ 0 skipped, 0 failed, 1 passing (1 tests) 0 skipped, 0 failed, 1 passing (1 suites) - Duration: 667ms

Home

Getting Startedchevron_right

Installation + Duration: 667ms

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/hooks/context.html b/docs/hooks/context.html index a3f055c..10133d0 100644 --- a/docs/hooks/context.html +++ b/docs/hooks/context.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkContext

All types of functions include appropriate context bound to this:

linkSuite

Provides the full context of the suite.

💡 Chain requests by assigning data to this.suite to utilize in subsequent specs

Available in:

  • before_all
  • after_all
  • before_each
  • after_each
  • before_test
  • after_test
get-user-addresses.yml
1link - name: get user

2link request:

3link path: /user

4link method: get

5link before_test:

6link run_type: module

7link module:

8link function: !!js/function >

9link function () {

10link this.suite.user = JSON.parse(this.response.body);

11link }

12link - name: get addresses

13link request:

14link path: /users/{userId}/addresses

15link method: get

16link after_test:

17link run_type: module

18link module:

19link function: !!js/function >

20link function () {

21link const { id } = this.suite.user;

22link this.suite.path_params = { userId: id };

23link }



linkTest

Provides the full context of the test (spec). Modify its properties on a before_* hook to change the spec request.

💡 Chain requests by utilizing data previously saved to this.suite to modify the spec.

Available in:

  • before_each
  • after_each
  • before_test
  • after_test
get-user-addresses.yml
1link - name: get user

2link request:

3link path: /user

4link method: get

5link before_test:

6link run_type: module

7link module:

8link function: !!js/function >

9link function () {

10link this.suite.user = JSON.parse(this.response.body);

11link }

12link - name: get addresses

13link request:

14link path: /users/{userId}/addresses

15link method: get

16link after_test:

17link run_type: module

18link module:

19link function: !!js/function >

20link function () {

21link const { id } = this.suite.user;

22link this.suite.path_params = { userId: id };

23link }



linkResponse

Provides full information about the response of this spec.

Available in:

  • after_each
  • after_test
get-user-addresses.yml
1link - name: get user

2link request:

3link path: /user

4link method: get

5link before_test:

6link run_type: module

7link module:

8link function: !!js/function >

9link function () {

10link this.suite.user = JSON.parse(this.response.body);

11link }



Home

Getting Startedchevron_right

Installation +

linkContext

All types of functions include appropriate context bound to this:

linkSuite

Provides the full context of the suite.

💡 Chain requests by assigning data to this.suite to utilize in subsequent specs

Available in:

  • before_all
  • after_all
  • before_each
  • after_each
  • before_test
  • after_test
get-user-addresses.yml
1link - name: get user

2link request:

3link path: /user

4link method: get

5link before_test:

6link run_type: module

7link module:

8link function: !!js/function >

9link function () {

10link this.suite.user = JSON.parse(this.response.body);

11link }

12link - name: get addresses

13link request:

14link path: /users/{userId}/addresses

15link method: get

16link after_test:

17link run_type: module

18link module:

19link function: !!js/function >

20link function () {

21link const { id } = this.suite.user;

22link this.suite.path_params = { userId: id };

23link }



linkTest

Provides the full context of the test (spec). Modify its properties on a before_* hook to change the spec request.

💡 Chain requests by utilizing data previously saved to this.suite to modify the spec.

Available in:

  • before_each
  • after_each
  • before_test
  • after_test
get-user-addresses.yml
1link - name: get user

2link request:

3link path: /user

4link method: get

5link before_test:

6link run_type: module

7link module:

8link function: !!js/function >

9link function () {

10link this.suite.user = JSON.parse(this.response.body);

11link }

12link - name: get addresses

13link request:

14link path: /users/{userId}/addresses

15link method: get

16link after_test:

17link run_type: module

18link module:

19link function: !!js/function >

20link function () {

21link const { id } = this.suite.user;

22link this.suite.path_params = { userId: id };

23link }



linkResponse

Provides full information about the response of this spec.

Available in:

  • after_each
  • after_test
get-user-addresses.yml
1link - name: get user

2link request:

3link path: /user

4link method: get

5link before_test:

6link run_type: module

7link module:

8link function: !!js/function >

9link function () {

10link this.suite.user = JSON.parse(this.response.body);

11link }



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/hooks/list.html b/docs/hooks/list.html index 4bdaf87..9e9cf67 100644 --- a/docs/hooks/list.html +++ b/docs/hooks/list.html @@ -35,7 +35,7 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkTypes of Hooks

Any hooks below can be written using the 3 supported ways of writing JS:



linkSuite-Level Hooks

These hooks are specified at the suite-level.



linkbefore_all

This runs once, before all of the specs will run.

This is a good place to set up test data or other data pre-requisites.

this keyword provides access to:

  • suite
1linkbefore_all:

2link

3linkmeta:

4link name: Star Wars suite

5linkconfiguration:

6link scheme: https

7link host: swapi.dev

8link base_path: /api

9linkbefore_all:

10link run_type: module

11link module:

12link module_path: 'lib/faker.js'

13link method_name: generateRandomUser

14link

15linkspecs:

16link # ...



linkafter_all

This runs once, after all of the specs have run.

this keyword provides access to:

  • suite
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7link

8linkafter_all:

9link run_type: module

10link module:

11link module_path: 'lib/faker.js'

12link method_name: generateRandomUser

13link

14linkspecs:

15link # ...



linkbefore_each

This runs {n} times, before each of the specs.

💡 You can save add previously saved authentication info to this.test, such as a bearer auth token or cookies for use in subsequent specs.

this keyword provides access to:

  • suite
  • test
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7link

8linkafter_each:

9link run_type: inline

10link inline:

11link function: !!js/function >

12link function () {

13link this.test.headers = { 'Authorization': `Bearer ${this.suite.token}` };

14link }

15linkspecs:

16link # ...



linkafter_each

This runs {n} times, after each of the specs.

💡 You can save returned authentication info to this.suite, such as a bearer auth token or cookies for use in subsequent tests.

this keyword provides access to:

  • suite
  • test
  • response
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7link

8linkafter_each:

9link run_type: inline

10link inline:

11link function: !!js/function >

12link function () {

13link if (this.response.headers['Authorization']) {

14link this.suite.token = this.response.headers['Authorization'];

15link }

16link }

17linkspecs:

18link # ...



linkSpec-Level Hooks



linkbefore_test

This runs once, before the spec which it is specified.

this keyword provides access to:

  • suite
  • test

💡 You can modified any aspect of the spec via this.test.


+

linkTypes of Hooks

Any hooks below can be written using the 3 supported ways of writing JS:



linkSuite-Level Hooks

These hooks are specified at the suite-level.



linkbefore_all

This runs once, before all of the specs will run.

This is a good place to set up test data or other data pre-requisites.

this keyword provides access to:

  • suite
1linkbefore_all:

2link

3linkmeta:

4link name: Star Wars suite

5linkconfiguration:

6link scheme: https

7link host: swapi.dev

8link base_path: /api

9linkbefore_all:

10link run_type: module

11link module:

12link module_path: 'lib/faker.js'

13link method_name: generateRandomUser

14link

15linkspecs:

16link # ...



linkafter_all

This runs once, after all of the specs have run.

this keyword provides access to:

  • suite
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7link

8linkafter_all:

9link run_type: module

10link module:

11link module_path: 'lib/faker.js'

12link method_name: generateRandomUser

13link

14linkspecs:

15link # ...



linkbefore_each

This runs {n} times, before each of the specs.

💡 You can save add previously saved authentication info to this.test, such as a bearer auth token or cookies for use in subsequent specs.

this keyword provides access to:

  • suite
  • test
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7link

8linkafter_each:

9link run_type: inline

10link inline:

11link function: !!js/function >

12link function () {

13link this.test.headers = { 'Authorization': `Bearer ${this.suite.token}` };

14link }

15linkspecs:

16link # ...



linkafter_each

This runs {n} times, after each of the specs.

💡 You can save returned authentication info to this.suite, such as a bearer auth token or cookies for use in subsequent tests.

this keyword provides access to:

  • suite
  • test
  • response
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7link

8linkafter_each:

9link run_type: inline

10link inline:

11link function: !!js/function >

12link function () {

13link if (this.response.headers['Authorization']) {

14link this.suite.token = this.response.headers['Authorization'];

15link }

16link }

17linkspecs:

18link # ...



linkSpec-Level Hooks



linkbefore_test

This runs once, before the spec which it is specified.

this keyword provides access to:

  • suite
  • test

💡 You can modified any aspect of the spec via this.test.


1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7link

8linkspecs:

9link - name: Get some user

10link request:

11link path: /people/{userId}/ # <--- runs random {n} times with random ID between 1 to 100

12link method: get

13link before_test:

14link run_type: inline

15link inline:

16link function: !!js/function >

17link function () {

18link this.path_params = { userId: 24 };

19link }

20link response:

21link status_code: 200

22link # GET request to URL: https://swapi.dev/api/people/42/


@@ -45,43 +45,43 @@
1linkmeta:

2link name: Star Wars suite

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6link base_path: /api

7link

8linkspecs:

9link - name: Get some user

10link request:

11link path: /people/1/ # <--- runs random {n} times with random ID between 1 to 100

12link method: get

13link after_test:

14link run_type: inline

15link inline:

16link function: !!js/function >

17link function () {

18link this.suite.person = JSON.parse(this.response.body);

19link }

20link response:

21link status_code: 200


-

⚠️ NOTE: as above, specifying this.test for headers, cookies, path_prams, & query_params uses a plain key/value set as an object, and DOES NOT use the same [{ name: 'name', value: 'value'}] format used when specifying in yaml. This will be fixed in future versions for consistency.



Home

Getting Startedchevron_right

Installation +

⚠️ NOTE: as above, specifying this.test for headers, cookies, path_prams, & query_params uses a plain key/value set as an object, and DOES NOT use the same [{ name: 'name', value: 'value'}] format used when specifying in yaml. This will be fixed in future versions for consistency.



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/hooks/overview.html b/docs/hooks/overview.html index 9a7f0f3..0c9f7cd 100644 --- a/docs/hooks/overview.html +++ b/docs/hooks/overview.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkHooks & JS

linkBasics

Write your own custom JS (including external JS files) to process & make assertions of any sort.

linkTypes

REST-EZ supports three ways of writing custom JS:

linkList of Hooks

The following List of Hooks are supported:

linkContext

JS functions have access to different hook context via this keyword.



Home

Getting Startedchevron_right

Installation +

linkHooks & JS

linkBasics

Write your own custom JS (including external JS files) to process & make assertions of any sort.

linkTypes

REST-EZ supports three ways of writing custom JS:

linkList of Hooks

The following List of Hooks are supported:

linkContext

JS functions have access to different hook context via this keyword.



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/hooks/types.html b/docs/hooks/types.html index 79ba82b..985b1d1 100644 --- a/docs/hooks/types.html +++ b/docs/hooks/types.html @@ -35,49 +35,49 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkFunction Types

REST-EZ supports three ways of writing custom JS:

These types have access to different Context



linkInline Functions

REST-EZ utilizes the following special yaml types to enable the use of JS functions:

  • !!js/function an syncronous JS function
  • !js/asyncFunction an asynchronous JS function



linkJS Synchronous Functions

Basic usage:

1link# basic function (synchronous)

2linkrun_type: inline

3linkinline:

4link function: !!js/function >

5link function () {

6link // ...

7link }


+

linkFunction Types

REST-EZ supports three ways of writing custom JS:

These types have access to different Context



linkInline Functions

REST-EZ utilizes the following special yaml types to enable the use of JS functions:

  • !!js/function an syncronous JS function
  • !js/asyncFunction an asynchronous JS function



linkJS Synchronous Functions

Basic usage:

1link# basic function (synchronous)

2linkrun_type: inline

3linkinline:

4link function: !!js/function >

5link function () {

6link // ...

7link }


Use the arguments property to pass an array of arguments:

1link# basic function (synchronous)

2linkrun_type: inline

3linkinline:

4link arguments:

5link - Kiran Mandadi

6link function: !!js/function >

7link function (name) {

8link console.log(`Hello, ${name}.`);

9link }

10link



linkJS Async Functions

Basic usage:

1link# async function

2linkrun_type: inline

3linkinline:

4link function: !js/asyncFunction >

5link async function () {

6link // return new Promise((resolve, reject) => { ... });

7link // -- or --

8link // return await doSomething();

9link }


-

Use the arguments property to pass an array of arguments:

1link# async function

2linkrun_type: inline

3linkinline:

4link arguments:

5link - name: Matthew

6link dob: 1984-03-02

7link function: !js/asyncFunction >

8link async function (options) {

9link // return await doSomething(options.name, options.dob);

10link // -- or --

11link // return new Promise((resolve, reject) => { ... });

12link }



⚠️ NOTE: using require or import inside inline function is not yet supported. Use the JS modules approach below:



linkJS From External Files

You can run code from any external file:

some-suite.yml
1linkrun_type: module

2linkmodule:

3link module_path: 'path/to/a/file.js'

4link function_name: nameOfSomeFunction

path/to/a/file.js
1linkmodule.exports = {

2link someFunction: function () {

3link // do something

4link }

5link};


+

Use the arguments property to pass an array of arguments:

1link# async function

2linkrun_type: inline

3linkinline:

4link arguments:

5link - name: Matthew

6link dob: 1984-03-02

7link function: !js/asyncFunction >

8link async function (options) {

9link // return await doSomething(options.name, options.dob);

10link // -- or --

11link // return new Promise((resolve, reject) => { ... });

12link }



⚠️ NOTE: using require or import inside inline function is not yet supported. Use the JS modules approach below:



linkJS From External Files

You can run code from any external file:

some-suite.yml
1linkrun_type: module

2linkmodule:

3link module_path: 'path/to/a/file.js'

4link function_name: nameOfSomeFunction

path/to/a/file.js
1linkmodule.exports = {

2link someFunction: function () {

3link // do something

4link }

5link};


-

Use the arguments property to pass an array of arguments:

some-suite.yml
1linkrun_type: module

2linkmodule:

3link arguments:

4link - Argument one is a string.

5link - { name: 'Person', age: 72 }

6link - [ 'argument', 3, 'is', an', 'array' ]

7link module_path: 'path/to/a/file.js'

8link function_name: nameOfSomeFunction

path/to/a/file.js
1linkmodule.exports = {

2link someFunction: function (arg1, arg2) {

3link // do something

4link }

5link};



Home

Getting Startedchevron_right

Installation +

Use the arguments property to pass an array of arguments:

some-suite.yml
1linkrun_type: module

2linkmodule:

3link arguments:

4link - Argument one is a string.

5link - { name: 'Person', age: 72 }

6link - [ 'argument', 3, 'is', an', 'array' ]

7link module_path: 'path/to/a/file.js'

8link function_name: nameOfSomeFunction

path/to/a/file.js
1linkmodule.exports = {

2link someFunction: function (arg1, arg2) {

3link // do something

4link }

5link};



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/additional-options.html b/docs/request/additional-options.html index 34c60d4..49402cf 100644 --- a/docs/request/additional-options.html +++ b/docs/request/additional-options.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkRequest Additional Options

linkfollowRedirect

  • Type: boolean optional
  • Values: true, false
  • Default: true

If enabled, follow HTTP 3xx responses as redirects.

1link - request:

2link path: /home

3link method: get

4link additional_options:

5link followRedirect: false

6link response:

7link status_code: 200



linkfollowAllRedirects

  • Type: boolean optional
  • Values: true, false
  • Default: false

If enabled, follow non-GET HTTP 3xx responses as redirects.

1link - request:

2link path: /home

3link method: get

4link additional_options:

5link followRedirect: true

6link followAllRedirects: true

7link response:

8link status_code: 200



linkfollowOriginalHttpMethod

  • Type: boolean optional
  • Values: true, false
  • Default: false

If enabled, redirect to the original HTTP method.

If disabled (by default), redirects to the original HTTP method.

1link - request:

2link path: /home

3link method: get

4link additional_options:

5link followRedirect: true

6link followOriginalHttpMethod: true

7link response:

8link status_code: 200



linkencoding

  • Type: string optional
  • Examples: utf8, null
  • Default: utf8

Encoding to be used on setEncoding of response data.

If null, the body is returned as a raw Buffer.

If specified, passed as encoding parameter of Buffer.toString().

⚠️ Note: if expecting binary data, use encoding: null to get the raw Buffer

1link - request:

2link path: /files/some-file.png

3link method: get

4link additional_options:

5link encoding: null

6link response:

7link status_code: 200



linkgzip

  • Type: boolean optional
  • Values: true, false

If enabled, adds an Accept-Encoding header to request compressed content encodings from the server (if not already present).

Also decodes supported content encodings in the response.

1link - request:

2link path: /home

3link method: get

4link additional_options:

5link gzip: true

6link response:

7link status_code: 200



Home

Getting Startedchevron_right

Installation +

linkRequest Additional Options

linkfollowRedirect

  • Type: boolean optional
  • Values: true, false
  • Default: true

If enabled, follow HTTP 3xx responses as redirects.

1link - request:

2link path: /home

3link method: get

4link additional_options:

5link followRedirect: false

6link response:

7link status_code: 200



linkfollowAllRedirects

  • Type: boolean optional
  • Values: true, false
  • Default: false

If enabled, follow non-GET HTTP 3xx responses as redirects.

1link - request:

2link path: /home

3link method: get

4link additional_options:

5link followRedirect: true

6link followAllRedirects: true

7link response:

8link status_code: 200



linkfollowOriginalHttpMethod

  • Type: boolean optional
  • Values: true, false
  • Default: false

If enabled, redirect to the original HTTP method.

If disabled (by default), redirects to the original HTTP method.

1link - request:

2link path: /home

3link method: get

4link additional_options:

5link followRedirect: true

6link followOriginalHttpMethod: true

7link response:

8link status_code: 200



linkencoding

  • Type: string optional
  • Examples: utf8, null
  • Default: utf8

Encoding to be used on setEncoding of response data.

If null, the body is returned as a raw Buffer.

If specified, passed as encoding parameter of Buffer.toString().

⚠️ Note: if expecting binary data, use encoding: null to get the raw Buffer

1link - request:

2link path: /files/some-file.png

3link method: get

4link additional_options:

5link encoding: null

6link response:

7link status_code: 200



linkgzip

  • Type: boolean optional
  • Values: true, false

If enabled, adds an Accept-Encoding header to request compressed content encodings from the server (if not already present).

Also decodes supported content encodings in the response.

1link - request:

2link path: /home

3link method: get

4link additional_options:

5link gzip: true

6link response:

7link status_code: 200



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/cookies.html b/docs/request/cookies.html index 9c2a27a..be549b5 100644 --- a/docs/request/cookies.html +++ b/docs/request/cookies.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkRequest Cookies

Optionally specify a list of cookies to be sent with the request. These will be sent as distinct Cookie headers (as per the HTTP spec).

  • Type: array optional

linkBasic Example

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link method: get

8link path: /account

9link headers:

10link - name: Accept

11link value: application/json

12link cookies:

13link - name: XSRF-Token

14link value: 399do284kds32odh28

15link response:

16link status_code: 200

See also: Example: Suite Using Cookies



linkDynamically Set Cookies

Dynamic cookies can be added by setting cookies as an object to the this.test context:

  • Type: object optional
1linkconfiguration:

2link scheme: http

3link host: 127.0.0.1

4link port: 3027

5linkspecs:

6link - before_test:

7link run_type: inline

8link inline:

9link function: !!js/function >

10link function() {

11link this.test.cookies = {cookie1: 'cookie1-value'}

12link }

13link request:

14link path: /echoCookies

15link method: get

16link response:

17link status_code: 200

18link json_data:

19link - path: $.cookie1

20link value: cookie1-value

See also: Example: Suite Using Cookies



Home

Getting Startedchevron_right

Installation +

linkRequest Cookies

Optionally specify a list of cookies to be sent with the request. These will be sent as distinct Cookie headers (as per the HTTP spec).

  • Type: array optional

linkBasic Example

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link method: get

8link path: /account

9link headers:

10link - name: Accept

11link value: application/json

12link cookies:

13link - name: XSRF-Token

14link value: 399do284kds32odh28

15link response:

16link status_code: 200

See also: Example: Suite Using Cookies



linkDynamically Set Cookies

Dynamic cookies can be added by setting cookies as an object to the this.test context:

  • Type: object optional
1linkconfiguration:

2link scheme: http

3link host: 127.0.0.1

4link port: 3027

5linkspecs:

6link - before_test:

7link run_type: inline

8link inline:

9link function: !!js/function >

10link function() {

11link this.test.cookies = {cookie1: 'cookie1-value'}

12link }

13link request:

14link path: /echoCookies

15link method: get

16link response:

17link status_code: 200

18link json_data:

19link - path: $.cookie1

20link value: cookie1-value

See also: Example: Suite Using Cookies



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/file-uploads.html b/docs/request/file-uploads.html index 9f88149..32b44cd 100644 --- a/docs/request/file-uploads.html +++ b/docs/request/file-uploads.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkFile Uploads

File uploads are supported using the form_data property.

⚠️ Note: when using the form_data property with URL encoded data, you MUST ALSO send header content-type: multipart/form-data

1link - name: post multipart form data - single file & two text fields

2link request:

3link path: /register

4link method: post

5link headers:

6link - name: content-type

7link value: multipart/form-data

8link payload:

9link form_data:

10link - name: dob

11link type: text

12link content: '1980-01-04'

13link - name: email

14link type: text

15link content: person@company.com

16link - name: photo-id-file

17link type: file

18link content: static/assets/example-id-card.png

19link response:

20link status_code: 200

⚠️ Note: the file path should be relative to Node process's current working directory.

💡 To use a path relative to suite's path use the locate_files_relative option in the suite meta section

See also:



Home

Getting Startedchevron_right

Installation +

linkFile Uploads

File uploads are supported using the form_data property.

⚠️ Note: when using the form_data property with URL encoded data, you MUST ALSO send header content-type: multipart/form-data

1link - name: post multipart form data - single file & two text fields

2link request:

3link path: /register

4link method: post

5link headers:

6link - name: content-type

7link value: multipart/form-data

8link payload:

9link form_data:

10link - name: dob

11link type: text

12link content: '1980-01-04'

13link - name: email

14link type: text

15link content: person@company.com

16link - name: photo-id-file

17link type: file

18link content: static/assets/example-id-card.png

19link response:

20link status_code: 200

⚠️ Note: the file path should be relative to Node process's current working directory.

💡 To use a path relative to suite's path use the locate_files_relative option in the suite meta section

See also:



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/headers.html b/docs/request/headers.html index c86cd3b..55fb3f6 100644 --- a/docs/request/headers.html +++ b/docs/request/headers.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkRequest Headers

Optionally specify a list of headers to be added to the request.

  • Type: array optional



linkBasic Example

1linkconfiguration:

2link host: swapi.dev

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link method: get

8link path: /films/1/

9link headers:

10link - name: Accept

11link value: application/json

12link - name: X-CustomHeader

13link value: some-value

14link response:

15link status_code: 200

See also: Example: Suite Using Headers



linkDynamically Set Headers

Dynamic headers can be added by setting headers as an object to the this.test context:

  • Type: object optional
1linkconfiguration:

2link scheme: http

3link host: 127.0.0.1

4link port: 3027

5linkspecs:

6link - before_test:

7link run_type: inline

8link inline:

9link function: !!js/function >

10link function() {

11link this.test.headers = { header2: 'header2-value' };

12link }

13link request:

14link path: /echoHeaders

15link method: get

16link headers:

17link - name: header1

18link value: header1-value

19link response:

20link json_data:

21link - path: "$.header2"

22link value: "header2-value"

23link - path: "$.header1"

24link value: "header1-value"

See also: Overview of Hooks



Home

Getting Startedchevron_right

Installation +

linkRequest Headers

Optionally specify a list of headers to be added to the request.

  • Type: array optional



linkBasic Example

1linkconfiguration:

2link host: swapi.dev

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link method: get

8link path: /films/1/

9link headers:

10link - name: Accept

11link value: application/json

12link - name: X-CustomHeader

13link value: some-value

14link response:

15link status_code: 200

See also: Example: Suite Using Headers



linkDynamically Set Headers

Dynamic headers can be added by setting headers as an object to the this.test context:

  • Type: object optional
1linkconfiguration:

2link scheme: http

3link host: 127.0.0.1

4link port: 3027

5linkspecs:

6link - before_test:

7link run_type: inline

8link inline:

9link function: !!js/function >

10link function() {

11link this.test.headers = { header2: 'header2-value' };

12link }

13link request:

14link path: /echoHeaders

15link method: get

16link headers:

17link - name: header1

18link value: header1-value

19link response:

20link json_data:

21link - path: "$.header2"

22link value: "header2-value"

23link - path: "$.header1"

24link value: "header1-value"

See also: Overview of Hooks



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/methods.html b/docs/request/methods.html index 38fcc38..99e7d14 100644 --- a/docs/request/methods.html +++ b/docs/request/methods.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkRequest Methods

Home

Getting Startedchevron_right

Installation +

linkRequest Methods

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/path-parameters.html b/docs/request/path-parameters.html index 393dc1b..e6fa2b8 100644 --- a/docs/request/path-parameters.html +++ b/docs/request/path-parameters.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkRequest Path Parameters

Modify the URL by specifying parameters to plug into the path, either hard-coded or dynamically.

  • Type: array required

linkBasic Example

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link path: /users/{userId}/addresses/{addressId}

8link method: get

9link path_params:

10link - name: userId

11link value: 4

12link - name: addressId

13link value: 1

14link response:

15link status_code: 200

16link# GET https://api.mycompany.com/users/4/addresses/1

See also: Example: Suite Using Query Params



linkDynamically Set Query Parameters

Dynamic query params can be added by setting path_params as an object to the this.test context:

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - before_test:

7link run_type: inline

8link inline:

9link function: !!js/function >

10link function () {

11link this.test.path_params = {

12link userId: 4,

13link addressId: 1

14link };

15link }

16link request:

17link path: /users/{userId}/addresses/{addressId}

18link method: get

19link response:

20link status_code: 200

21link# GET https://api.mycompany.com/users/4/addresses/1

See also: Overview of Hooks



Home

Getting Startedchevron_right

Installation +

linkRequest Path Parameters

Modify the URL by specifying parameters to plug into the path, either hard-coded or dynamically.

  • Type: array required

linkBasic Example

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link path: /users/{userId}/addresses/{addressId}

8link method: get

9link path_params:

10link - name: userId

11link value: 4

12link - name: addressId

13link value: 1

14link response:

15link status_code: 200

16link# GET https://api.mycompany.com/users/4/addresses/1

See also: Example: Suite Using Query Params



linkDynamically Set Query Parameters

Dynamic query params can be added by setting path_params as an object to the this.test context:

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - before_test:

7link run_type: inline

8link inline:

9link function: !!js/function >

10link function () {

11link this.test.path_params = {

12link userId: 4,

13link addressId: 1

14link };

15link }

16link request:

17link path: /users/{userId}/addresses/{addressId}

18link method: get

19link response:

20link status_code: 200

21link# GET https://api.mycompany.com/users/4/addresses/1

See also: Overview of Hooks



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/payload-body/binary-data.html b/docs/request/payload-body/binary-data.html index 1907cc0..e644580 100644 --- a/docs/request/payload-body/binary-data.html +++ b/docs/request/payload-body/binary-data.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkBinary Data

Send binary data by specifying a file path.

⚠️ Note: when using type: binary you MUST send an appropriate mime type header, such as content-type: image/png, content-type: image/jpeg, etc.

1link - name: post binary data (file) as body

2link request:

3link path: /profile-photo

4link method: post

5link headers:

6link - name: content-type

7link value: image/png

8link payload:

9link body:

10link type: binary

11link content: static/assets/image.png # <-- the image path

12link response:

13link status_code: 200

⚠️ Note: the image path should be relative to Node process's current working directory.

💡 To use a path relative to suite's path use the locate_files_relative option in the suite meta section

See also: Example: Binary Data

Home

Getting Startedchevron_right

Installation +

linkBinary Data

Send binary data by specifying a file path.

⚠️ Note: when using type: binary you MUST send an appropriate mime type header, such as content-type: image/png, content-type: image/jpeg, etc.

1link - name: post binary data (file) as body

2link request:

3link path: /profile-photo

4link method: post

5link headers:

6link - name: content-type

7link value: image/png

8link payload:

9link body:

10link type: binary

11link content: static/assets/image.png # <-- the image path

12link response:

13link status_code: 200

⚠️ Note: the image path should be relative to Node process's current working directory.

💡 To use a path relative to suite's path use the locate_files_relative option in the suite meta section

See also: Example: Binary Data

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/payload-body/json-body.html b/docs/request/payload-body/json-body.html index 47af185..2f17de8 100644 --- a/docs/request/payload-body/json-body.html +++ b/docs/request/payload-body/json-body.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkJSON Body

Send JSON by specifying type: json and the content property.

⚠️ Note: when using type: json you MUST send the header content-type: application/json

1link - name: create a new user

2link request:

3link path: /users

4link method: post

5link headers:

6link - name: content-type

7link value: application/json

8link payload:

9link body:

10link type: json

11link content:

12link firstName: john

13link lastName: doe

14link response:

15link status_code: 201

See also:



Home

Getting Startedchevron_right

Installation +

linkJSON Body

Send JSON by specifying type: json and the content property.

⚠️ Note: when using type: json you MUST send the header content-type: application/json

1link - name: create a new user

2link request:

3link path: /users

4link method: post

5link headers:

6link - name: content-type

7link value: application/json

8link payload:

9link body:

10link type: json

11link content:

12link firstName: john

13link lastName: doe

14link response:

15link status_code: 201

See also:



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/payload-body/multi-part-form-data.html b/docs/request/payload-body/multi-part-form-data.html index bccf668..c0f958f 100644 --- a/docs/request/payload-body/multi-part-form-data.html +++ b/docs/request/payload-body/multi-part-form-data.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkMulti-Part Form Data

To send multi-part form data, use the form_data property. This is also how to send file uploads

⚠️ Note: when using the form_data property with URL encoded data, you MUST ALSO send header content-type: multipart/form-data

1link - name: post multipart form data - single file and field

2link request:

3link path: /register

4link method: post

5link headers:

6link - name: content-type

7link value: multipart/form-data

8link payload:

9link form_data:

10link - name: dob

11link type: text

12link content: '1980-01-04'

13link - name: email

14link type: text

15link content: person@company.com

16link - name: photo-id-file

17link type: file

18link content: static/assets/example-id-card.png

19link response:

20link status_code: 200

See also:

Home

Getting Startedchevron_right

Installation +

linkMulti-Part Form Data

To send multi-part form data, use the form_data property. This is also how to send file uploads

⚠️ Note: when using the form_data property with URL encoded data, you MUST ALSO send header content-type: multipart/form-data

1link - name: post multipart form data - single file and field

2link request:

3link path: /register

4link method: post

5link headers:

6link - name: content-type

7link value: multipart/form-data

8link payload:

9link form_data:

10link - name: dob

11link type: text

12link content: '1980-01-04'

13link - name: email

14link type: text

15link content: person@company.com

16link - name: photo-id-file

17link type: file

18link content: static/assets/example-id-card.png

19link response:

20link status_code: 200

See also:

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/payload-body/url-encoded-form-data.html b/docs/request/payload-body/url-encoded-form-data.html index 0caa868..696ecf9 100644 --- a/docs/request/payload-body/url-encoded-form-data.html +++ b/docs/request/payload-body/url-encoded-form-data.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkURL Encoded Form Data

URL encoded form data (old school style) can be submitted using the form property.

⚠️ Note: when using the form property with URL encoded data, you MUST ALSO send header content-type: application/x-www-form-urlencoded

1link - name: Authenticate a user

2link request:

3link path: /authenticate

4link method: post

5link headers:

6link - name: content-type

7link value: application/x-www-form-urlencoded

8link payload:

9link form:

10link userName: john.doe

11link password: john.doe.password

12link response:

13link status_code: 200

See also: Example: URL Encoded Form Post

Home

Getting Startedchevron_right

Installation +

linkURL Encoded Form Data

URL encoded form data (old school style) can be submitted using the form property.

⚠️ Note: when using the form property with URL encoded data, you MUST ALSO send header content-type: application/x-www-form-urlencoded

1link - name: Authenticate a user

2link request:

3link path: /authenticate

4link method: post

5link headers:

6link - name: content-type

7link value: application/x-www-form-urlencoded

8link payload:

9link form:

10link userName: john.doe

11link password: john.doe.password

12link response:

13link status_code: 200

See also: Example: URL Encoded Form Post

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/query-parameters.html b/docs/request/query-parameters.html index 9020e21..cbde894 100644 --- a/docs/request/query-parameters.html +++ b/docs/request/query-parameters.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkRequest Query Parameters

Update (or override) request query params.

  • Type: array required

linkBasic Example

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link path: /users

8link method: get

9link query_params:

10link - name: firstName

11link value: Matthew

12link response:

13link status_code: 200

14link# GET https://api.mycompany.com/users?firstName=Matthew

See also: Example: Suite Using Query Params



linkDynamically Set Query Parameters

Dynamic query params can be added by setting query_params as an object to the this.test context:

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - before_test:

7link run_type: inline

8link inline:

9link function: !!js/function >

10link function () {

11link this.test.query_params = {

12link firstName: 'Matthew',

13link };

14link }

15link request:

16link path: /users

17link method: get

18link response:

19link status_code: 200

20link# GET https://api.mycompany.com/users?firstName=Matthew

See also: Overview of Hooks



Home

Getting Startedchevron_right

Installation +

linkRequest Query Parameters

Update (or override) request query params.

  • Type: array required

linkBasic Example

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link path: /users

8link method: get

9link query_params:

10link - name: firstName

11link value: Matthew

12link response:

13link status_code: 200

14link# GET https://api.mycompany.com/users?firstName=Matthew

See also: Example: Suite Using Query Params



linkDynamically Set Query Parameters

Dynamic query params can be added by setting query_params as an object to the this.test context:

1linkconfiguration:

2link host: api.mycompany.com

3link scheme: https

4link base_path: /api

5linkspecs:

6link - before_test:

7link run_type: inline

8link inline:

9link function: !!js/function >

10link function () {

11link this.test.query_params = {

12link firstName: 'Matthew',

13link };

14link }

15link request:

16link path: /users

17link method: get

18link response:

19link status_code: 200

20link# GET https://api.mycompany.com/users?firstName=Matthew

See also: Overview of Hooks



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/request/request-basics.html b/docs/request/request-basics.html index 8957312..b64bc40 100644 --- a/docs/request/request-basics.html +++ b/docs/request/request-basics.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkRequest Basics

Each spec must define a request that defines the HTTP request to be made

Required properties:

Optional properties:

ℹ️ NOTE: headers, cookies, path_params, query_params all use an array of objects with name and value

1link- name: some-name-1

2link value: Some Value

3link- name: other-name-2

4link value: Other Value

linkmethod

  • Type: string required
  • Values: get, post, put, patch, delete, head, options

linkpath:

  • Type: string required
1linkconfiguration:

2link host: swapi.dev

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link method: get

8link path: /films/1/

9link response:

10link status_code: 200

Home

Getting Startedchevron_right

Installation +

linkRequest Basics

Each spec must define a request that defines the HTTP request to be made

Required properties:

Optional properties:

ℹ️ NOTE: headers, cookies, path_params, query_params all use an array of objects with name and value

1link- name: some-name-1

2link value: Some Value

3link- name: other-name-2

4link value: Other Value

linkmethod

  • Type: string required
  • Values: get, post, put, patch, delete, head, options

linkpath:

  • Type: string required
1linkconfiguration:

2link host: swapi.dev

3link scheme: https

4link base_path: /api

5linkspecs:

6link - request:

7link method: get

8link path: /films/1/

9link response:

10link status_code: 200

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/response-validation/body/json-schema-file.html b/docs/response-validation/body/json-schema-file.html index 6f0bdd2..781e8ac 100644 --- a/docs/response-validation/body/json-schema-file.html +++ b/docs/response-validation/body/json-schema-file.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkJSON Schema File

Validate the response body using an external JSON Schema file.

Both JSON and YAML files are supported.

NOTE: All $refs are dynamically de-referenced automatically, both locally and remotely.

linkRoot Schema

Use an external file from the root-level schema.

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_schema:

7link type: file

8link $ref: static/schemas/users.json # path to the expected schema file



linkSub-Property

Validate against some sub-property within a schema file by using a JSON Pointer in the $ref

💡 HINT: this is very useful if you already have an Open API / Swagger spec since

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_schema:

7link type: file

8link # uses property $.components.schemas.users

9link # within file 'static/schemas/open-api.json'

10link $ref: 'static/schemas/open-api.yml#/components/schemas/users'

💡 NOTE: paths containing a forward slash can be URL-encoded as %2F



See also:



Home

Getting Startedchevron_right

Installation +

linkJSON Schema File

Validate the response body using an external JSON Schema file.

Both JSON and YAML files are supported.

NOTE: All $refs are dynamically de-referenced automatically, both locally and remotely.

linkRoot Schema

Use an external file from the root-level schema.

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_schema:

7link type: file

8link $ref: static/schemas/users.json # path to the expected schema file



linkSub-Property

Validate against some sub-property within a schema file by using a JSON Pointer in the $ref

💡 HINT: this is very useful if you already have an Open API / Swagger spec since

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_schema:

7link type: file

8link # uses property $.components.schemas.users

9link # within file 'static/schemas/open-api.json'

10link $ref: 'static/schemas/open-api.yml#/components/schemas/users'

💡 NOTE: paths containing a forward slash can be URL-encoded as %2F



See also:



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/response-validation/body/json-schema-inline.html b/docs/response-validation/body/json-schema-inline.html index a72521f..0dbbcd5 100644 --- a/docs/response-validation/body/json-schema-inline.html +++ b/docs/response-validation/body/json-schema-inline.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkJSON Schema Inline Validation

You can write inline schemas to validate the response body.

1link - name: update user

2link request:

3link path: /user

4link method: put

5link response:

6link json_schema:

7link type: inline

8link $ref: >

9link {

10link "type": "object",

11link "properties": {

12link "dob": {

13link "type": "string",

14link "format": "date-time"

15link }

16link },

17link "required": "dob"

18link }

See also:



Home

Getting Startedchevron_right

Installation +

linkJSON Schema Inline Validation

You can write inline schemas to validate the response body.

1link - name: update user

2link request:

3link path: /user

4link method: put

5link response:

6link json_schema:

7link type: inline

8link $ref: >

9link {

10link "type": "object",

11link "properties": {

12link "dob": {

13link "type": "string",

14link "format": "date-time"

15link }

16link },

17link "required": "dob"

18link }

See also:



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/response-validation/body/overview.html b/docs/response-validation/body/overview.html index f93cdfb..5b34736 100644 --- a/docs/response-validation/body/overview.html +++ b/docs/response-validation/body/overview.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkResponse Body Validation Overview



linkExact Value

Check the response body exactly matches some value

1link# TODO



linkJSON Path

linkExact Value

Check the property at the specified path matches an exact value:

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_data:

7link - path: $.[0].firstName

8link value: john



linkRegular Expression

Check for a regex match at the specified path:

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_data:

7link - path: $.[0].zipcode

8link value: !!js/regex /^\d{5}$/

See also: Example: Validation of JSON Data



Home

Getting Startedchevron_right

Installation +

linkResponse Body Validation Overview



linkExact Value

Check the response body exactly matches some value

1link# TODO



linkJSON Path

linkExact Value

Check the property at the specified path matches an exact value:

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_data:

7link - path: $.[0].firstName

8link value: john



linkRegular Expression

Check for a regex match at the specified path:

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_data:

7link - path: $.[0].zipcode

8link value: !!js/regex /^\d{5}$/

See also: Example: Validation of JSON Data



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/response-validation/body/swagger-open-api.html b/docs/response-validation/body/swagger-open-api.html index 99f76db..c64a28c 100644 --- a/docs/response-validation/body/swagger-open-api.html +++ b/docs/response-validation/body/swagger-open-api.html @@ -35,45 +35,45 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkSwagger & Open API

If you already have an Open API / swagger defined, you can use it to validate actual responses.

Both JSON and YAML files are supported.

⚠️ NOTE: All $ref are dynamically de-referenced automatically, those both local AND remote.



specs/example-spec.yml
1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_schema:

7link type: file

8link # note the use of %2F to escape the "application/json" part of the path

9link $ref: 'docs/paths/register.yml#/post/responses/200/content/application%2Fjson/schema'

docs/paths/register.yml
1linkpost:

2link responses:

3link '200':

4link content:

5link application/json:

6link schema:

7link type: object

8link properties:

9link dob:

10link type: string

11link format: date-time

12link required: [ dob ]


+

linkSwagger & Open API

If you already have an Open API / swagger defined, you can use it to validate actual responses.

Both JSON and YAML files are supported.

⚠️ NOTE: All $ref are dynamically de-referenced automatically, those both local AND remote.



specs/example-spec.yml
1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link json_schema:

7link type: file

8link # note the use of %2F to escape the "application/json" part of the path

9link $ref: 'docs/paths/register.yml#/post/responses/200/content/application%2Fjson/schema'

docs/paths/register.yml
1linkpost:

2link responses:

3link '200':

4link content:

5link application/json:

6link schema:

7link type: object

8link properties:

9link dob:

10link type: string

11link format: date-time

12link required: [ dob ]


-

💡 NOTE: paths containing a forward slash can be URL-encoded as %2F



See also:



Home

Getting Startedchevron_right

Installation +

💡 NOTE: paths containing a forward slash can be URL-encoded as %2F



See also:



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/response-validation/cookies.html b/docs/response-validation/cookies.html index cebad50..79a018e 100644 --- a/docs/response-validation/cookies.html +++ b/docs/response-validation/cookies.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

Home

Getting Startedchevron_right

Installation +

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/response-validation/headers.html b/docs/response-validation/headers.html index 7afcba9..a3cb6a5 100644 --- a/docs/response-validation/headers.html +++ b/docs/response-validation/headers.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

Home

Getting Startedchevron_right

Installation +

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/response-validation/overview.html b/docs/response-validation/overview.html index cc61439..13ca535 100644 --- a/docs/response-validation/overview.html +++ b/docs/response-validation/overview.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkValidation Overview



linkGeneral Assertions

These assertions work similary for cookies & headers.

See also:



linkExact Value

Assert some property matches an exact literal value.

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link headers:

7link - name: content-type

8link value: application/json

9link cookies:

10link - name: x-xsrf-token

11link value: 4f3b2209-3b75-4a8a-bd10-d0b8f02a9c07



linkRegular Expression

Assert some property matches a regular expression.

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link headers:

7link - name: content-type

8link value: !!js/regexp /json/

9link cookies:

10link - name: x-xsrf-token

11link value: !!js/regexp /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/



linkCustom Validator

Write custom code to do your own assertions.

Functions context is bound to the spec context, so this.response has all the relevant properties.

Properties:

  • response.body
  • response.statusCode
  • response.statusMessage
  • response.headers
  • response.body
  • response.duration



linkInline JS Function

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link status_code: 200

7link custom_validator:

8link run_type: inline

9link inline:

10link function: !!js/function >

11link function() {

12link var users = JSON.parse(this.response.body);

13link if (!users.length) {

14link throw new Error('no users found');

15link }

16link if (users[0].firstName !== 'john') {

17link throw new Error('first user in list is not john');

18link }

19link if (this.response.duration > 2000) {

20link throw new Error('request took longer than expected');

21link }

22link }



linkJS Module

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link status_code: 200

7link custom_validator:

8link run_type: module

9link module:

10link module_path: lib/helpers/path-to-a-file.js

11link function_name: validateUsersList



Home

Getting Startedchevron_right

Installation +

linkValidation Overview



linkGeneral Assertions

These assertions work similary for cookies & headers.

See also:



linkExact Value

Assert some property matches an exact literal value.

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link headers:

7link - name: content-type

8link value: application/json

9link cookies:

10link - name: x-xsrf-token

11link value: 4f3b2209-3b75-4a8a-bd10-d0b8f02a9c07



linkRegular Expression

Assert some property matches a regular expression.

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link headers:

7link - name: content-type

8link value: !!js/regexp /json/

9link cookies:

10link - name: x-xsrf-token

11link value: !!js/regexp /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/



linkCustom Validator

Write custom code to do your own assertions.

Functions context is bound to the spec context, so this.response has all the relevant properties.

Properties:

  • response.body
  • response.statusCode
  • response.statusMessage
  • response.headers
  • response.body
  • response.duration



linkInline JS Function

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link status_code: 200

7link custom_validator:

8link run_type: inline

9link inline:

10link function: !!js/function >

11link function() {

12link var users = JSON.parse(this.response.body);

13link if (!users.length) {

14link throw new Error('no users found');

15link }

16link if (users[0].firstName !== 'john') {

17link throw new Error('first user in list is not john');

18link }

19link if (this.response.duration > 2000) {

20link throw new Error('request took longer than expected');

21link }

22link }



linkJS Module

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link status_code: 200

7link custom_validator:

8link run_type: module

9link module:

10link module_path: lib/helpers/path-to-a-file.js

11link function_name: validateUsersList



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/response-validation/status-code.html b/docs/response-validation/status-code.html index 18547f0..b0bcab3 100644 --- a/docs/response-validation/status-code.html +++ b/docs/response-validation/status-code.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkStatus Code Validation

  • Type: integer optional

Ensure the HTTP status code matches what is expected.

Test will fail when actual response's status code does not match with specified value.

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link status_code: 400



Home

Getting Startedchevron_right

Installation +

linkStatus Code Validation

  • Type: integer optional

Ensure the HTTP status code matches what is expected.

Test will fail when actual response's status code does not match with specified value.

1link - name: get users

2link request:

3link path: /users

4link method: get

5link response:

6link status_code: 400



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/reusing-specs/intersuite-spec-deps.html b/docs/reusing-specs/intersuite-spec-deps.html index 263cef4..5b01798 100644 --- a/docs/reusing-specs/intersuite-spec-deps.html +++ b/docs/reusing-specs/intersuite-spec-deps.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkIntersuite Spec Dependencies

Home

Getting Startedchevron_right

Installation +

linkIntersuite Spec Dependencies

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/reusing-specs/looping.html b/docs/reusing-specs/looping.html index e1c6063..b5155e5 100644 --- a/docs/reusing-specs/looping.html +++ b/docs/reusing-specs/looping.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkLooping

You can use the loop construct to loop through a list of items, each item generating a test.

When the loop property is specified, that spec will be run once for each item provided with the this.loopItem available in the lifecycle hooks (before_test and after_test).

The list of items can be specified in spec beforehand or you can specify a custom JS function which returns a list of items.

linkStatic Loop

Here's how a static loop is specified, type is static and loop list is mapped to static field as list of items.

specs/star-wars-static-loop.yml
1linkmeta:

2link name: Star Wars static loop

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6linkspecs:

7link - name: fetch each character

8link loop:

9link type: static

10link static:

11link - 1 # Luke Skywalker

12link - 4 # Darth Vader

13link before_test:

14link run_type: inline

15link inline:

16link function: !!js/function >

17link function() {

18link this.test.path_params = { userId : this.loopItem };

19link }

20link request:

21link path: /api/people/{userId}/ # <--- runs twice: once as "/api/people/1/" and once as "/api/people/4"

22link method: get

23link response:

24link status_code: 200

25link json_data:

26link - path: $.gender

27link value: male

See also: Example: Suite Using Loops



linkDynamic Loop Using JS

Here's how a static loop is specified, type is static and loop list is mapped to static field as list of items.

specs/star-wars-dynamic-loop.yml
1linkmeta:

2link name: Star Wars dynamic loop

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6linkspecs:

7link - name: fetch each character

8link loop:

9link type: dynamic

10link dynamic:

11link run_type: inline

12link inline:

13link function: !!js/function >

14link function() {

15link var generatePositiveInt = (max) => {

16link return Math.floor(Math.random() * max) + 1;

17link };

18link var runTimes = generatePositiveInt(10);

19link var items = [];

20link while (items.length < runTimes) {

21link items.push(generatePositiveInt());

22link }

23link return runTimes;

24link }

25link before_test:

26link run_type: inline

27link inline:

28link function: !!js/function >

29link function() {

30link this.test.path_params = { userId : this.loopItem };

31link }

32link request:

33link path: /api/people/{userId}/ # <--- runs random {n} times with random ID between 1 to 100

34link method: get

35link response:

36link status_code: 200

See also: Example: Suite Using Loops



linkAccessing Suite

Your dynamic loop can also utilize existing data saved on the this.suite context:

star-wars-suite-w-previous-data.yml
1linkmeta:

2link name: Star Wars dynamic suite with previous data

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6linkspecs:

7link - name: fetch a movie

8link request:

9link path: /api/films/1/

10link method: get

11link after_test:

12link run_type: inline

13link inline:

14link function: !!js/function >

15link function () {

16link const film = JSON.parse(this.response.body);

17link this.suite.characters = film.characters;

18link }

19link response:

20link status_code: 200

21link - name: fetch each character for the first film

22link loop:

23link type: dynamic

24link dynamic:

25link run_type: inline

26link inline:

27link # transform the list of URLs into a list of IDs

28link function: !!js/function >

29link function() {

30link return this.suite.characters.map((url) => {

31link var matches = url.match(/\/api\/people\/(\d+)\//);

32link return matches[1];

33link });

34link }

35link before_test:

36link run_type: inline

37link inline:

38link function: !!js/function >

39link function() {

40link this.test.path_params = { userId : this.loopItem };

41link }

42link request:

43link path: /api/people/{userId}/

44link method: get

45link response:

46link status_code: 200

47link after_test:

48link run_type: inline

49link inline:

50link function: !!js/function >

51link function() {

52link var character = JSON.parse(this.response.body);

53link console.log(character);

54link }



Home

Getting Startedchevron_right

Installation +

linkLooping

You can use the loop construct to loop through a list of items, each item generating a test.

When the loop property is specified, that spec will be run once for each item provided with the this.loopItem available in the lifecycle hooks (before_test and after_test).

The list of items can be specified in spec beforehand or you can specify a custom JS function which returns a list of items.

linkStatic Loop

Here's how a static loop is specified, type is static and loop list is mapped to static field as list of items.

specs/star-wars-static-loop.yml
1linkmeta:

2link name: Star Wars static loop

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6linkspecs:

7link - name: fetch each character

8link loop:

9link type: static

10link static:

11link - 1 # Luke Skywalker

12link - 4 # Darth Vader

13link before_test:

14link run_type: inline

15link inline:

16link function: !!js/function >

17link function() {

18link this.test.path_params = { userId : this.loopItem };

19link }

20link request:

21link path: /api/people/{userId}/ # <--- runs twice: once as "/api/people/1/" and once as "/api/people/4"

22link method: get

23link response:

24link status_code: 200

25link json_data:

26link - path: $.gender

27link value: male

See also: Example: Suite Using Loops



linkDynamic Loop Using JS

Here's how a static loop is specified, type is static and loop list is mapped to static field as list of items.

specs/star-wars-dynamic-loop.yml
1linkmeta:

2link name: Star Wars dynamic loop

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6linkspecs:

7link - name: fetch each character

8link loop:

9link type: dynamic

10link dynamic:

11link run_type: inline

12link inline:

13link function: !!js/function >

14link function() {

15link var generatePositiveInt = (max) => {

16link return Math.floor(Math.random() * max) + 1;

17link };

18link var runTimes = generatePositiveInt(10);

19link var items = [];

20link while (items.length < runTimes) {

21link items.push(generatePositiveInt());

22link }

23link return runTimes;

24link }

25link before_test:

26link run_type: inline

27link inline:

28link function: !!js/function >

29link function() {

30link this.test.path_params = { userId : this.loopItem };

31link }

32link request:

33link path: /api/people/{userId}/ # <--- runs random {n} times with random ID between 1 to 100

34link method: get

35link response:

36link status_code: 200

See also: Example: Suite Using Loops



linkAccessing Suite

Your dynamic loop can also utilize existing data saved on the this.suite context:

star-wars-suite-w-previous-data.yml
1linkmeta:

2link name: Star Wars dynamic suite with previous data

3linkconfiguration:

4link scheme: https

5link host: swapi.dev

6linkspecs:

7link - name: fetch a movie

8link request:

9link path: /api/films/1/

10link method: get

11link after_test:

12link run_type: inline

13link inline:

14link function: !!js/function >

15link function () {

16link const film = JSON.parse(this.response.body);

17link this.suite.characters = film.characters;

18link }

19link response:

20link status_code: 200

21link - name: fetch each character for the first film

22link loop:

23link type: dynamic

24link dynamic:

25link run_type: inline

26link inline:

27link # transform the list of URLs into a list of IDs

28link function: !!js/function >

29link function() {

30link return this.suite.characters.map((url) => {

31link var matches = url.match(/\/api\/people\/(\d+)\//);

32link return matches[1];

33link });

34link }

35link before_test:

36link run_type: inline

37link inline:

38link function: !!js/function >

39link function() {

40link this.test.path_params = { userId : this.loopItem };

41link }

42link request:

43link path: /api/people/{userId}/

44link method: get

45link response:

46link status_code: 200

47link after_test:

48link run_type: inline

49link inline:

50link function: !!js/function >

51link function() {

52link var character = JSON.parse(this.response.body);

53link console.log(character);

54link }



Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/reusing-specs/overview.html b/docs/reusing-specs/overview.html index 2b184bb..9874620 100644 --- a/docs/reusing-specs/overview.html +++ b/docs/reusing-specs/overview.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkReusing Specs & DRY Techniques

REST-EZ has several features aimed at code re-use:

Home

Getting Startedchevron_right

Installation +

linkReusing Specs & DRY Techniques

REST-EZ has several features aimed at code re-use:

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/reusing-specs/run-spec-in-js.html b/docs/reusing-specs/run-spec-in-js.html index 5080ffe..7443bdb 100644 --- a/docs/reusing-specs/run-spec-in-js.html +++ b/docs/reusing-specs/run-spec-in-js.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkRun Existing Specs Using JS

REST-EZ supports re-using specs & their result via the this.runSpec() method



linkSpec in the Same Suite File

You can re-use an existing spec in your suite with JS:

star-wars-api-using-spec-in-same-file.yml
1linkmeta:

2link name: star wars api using yaml anchors

3linkconfiguration:

4link scheme: http

5link host: swapi.dev

6linkspecs:

7link - name: fetch film by film ID

8link request:

9link path: /api/films/{filmId}/

10link method: get

11link path_params:

12link - name: filmId

13link value: 1

14link response:

15link status_code: 200

16link - name: fetch person for film 2

17link request:

18link path: /api/people/{personId}/

19link method: get

20link before_test:

21link run_type: inline

22link inline:

23link function: !js/asyncFunction >

24link async function() {

25link var response = await this.runSpec('fetch film by film ID');

26link // name: "A New Hope"

27link this.suite.film = JSON.parse(response.body);

28link var characterUrl = this.suite.film.characters[0];

29link var personId = characterUrl.match(/\/api\/people\/(\d+)\//)[1];

30link this.test.path_params = { personId };

31link }

32link response:

33link status_code: 200



linkSpec Within a Different Suite File

Intrasuite dependencies can be specified to allow using specs in a different suite

Use the spec_dependencies suite-level property to enable this. Paths are relative to current working directory of Node process.

ℹ️ NOTE: that these imported specs will only be available when you run them using this.runSpec.



specs/new-suite.yml
1linkmeta:

2link name: Suite Relying on a Dependency

3linkspec_dependencies:

4link - specs/existing-suite.yml

5linkconfiguration:

6link scheme: http

7link host: swapi.dev

8linkspecs:

9link - name: fetch person for film 2

10link request:

11link path: /api/people/{personId}/

12link method: get

13link before_test:

14link run_type: inline

15link inline:

16link function: !js/asyncFunction >

17link async function() {

18link var response = await this.runSpec('fetch film by film ID');

19link // name: "A New Hope"

20link this.suite.film = JSON.parse(response.body);

21link var characterUrl = this.suite.film.characters[0];

22link var personId = characterUrl.match(/\/api\/people\/(\d+)\//)[1];

23link this.test.path_params = { personId };

24link }

25link response:

26link status_code: 200

specs/existing-suite.yml
1linkmeta:

2link name: Suite With an Existing Spec

3linkconfiguration:

4link scheme: http

5link host: swapi.dev

6linkspecs:

7link - name: fetch film by film ID

8link request:

9link path: /api/films/{filmId}/

10link method: get

11link path_params:

12link - name: filmId

13link value: 1

14link response:

15link status_code: 200



💡 To use a path relative to suite's path, use the locate_files_relative parameter of the suite meta section.



See also: Example: Run Specs from External File



linkspec_dependencies

  • Type: array optional

Root-level suite property.

A list of file paths that this suite relies on to use runSpec method.

1linkspec_dependencies:

2link - specs/some-suite.yml

3link - specs/some-other-suite.yml

4link# ...



linkThe runSpec Method

runSpec(name, options)

  • name string required Name of spec to run (identified by name property of the spec)
  • options object optional Override the original spec (e.g. headers, query_params, path_params, etc.)

Returns Promise<Response> The response generated by the spec

1link/**

2link * Run an existing spec in this suite

3link * or an external suite connected via interspec_dependencies suite config

4link *

5link * @param {string} specName Name of spec to run (identified by `name` property of the spec)

6link * @param {object} options Override the original spec

7link * @param {string} options.path The URL

8link * @param {string} options.method HTTP request method

9link * @param {array} options.headers Object of key/value pairs to set as headers

10link * @param {array} options.path_params Object of key/value pairs to set in the path

11link * @param {array} options.query_params Object of key/value pairs to add as query params ?name=value&name2=value2

12link * @param {object} options.payload Request body payload

13link *

14link * @return Promise<Response>

15link */

16linkfunction runSpec(specName, options) { }

example-spec.yml
1link# ...

2link - name: generate auth token

3link request:

4link path: /auth/login

5link method: post

6link payload:

7link body:

8link type: json

9link content:

10link email: foo@bar.com

11link password: F2#@9!mls

12link response:

13link status_code: 201

14link json_data:

15link - name: $.token

16link value: !!js/regexp /^[A-Z0-9]{32}$

17link - name: fetch a person

18link request:

19link path: /user

20link method: get

21link before_test:

22link run_type: inline

23link inline:

24link function: !js/asyncFunction >

25link async function() {

26link var response = await this.runSpec('generate auth token');

27link var { token } = JSON.parse(response.body);

28link this.test.headers = {

29link 'Authorization': `Bearer ${token}`

30link };

31link }

32link response:

33link status_code: 200

Home

Getting Startedchevron_right

Installation +

linkRun Existing Specs Using JS

REST-EZ supports re-using specs & their result via the this.runSpec() method



linkSpec in the Same Suite File

You can re-use an existing spec in your suite with JS:

star-wars-api-using-spec-in-same-file.yml
1linkmeta:

2link name: star wars api using yaml anchors

3linkconfiguration:

4link scheme: http

5link host: swapi.dev

6linkspecs:

7link - name: fetch film by film ID

8link request:

9link path: /api/films/{filmId}/

10link method: get

11link path_params:

12link - name: filmId

13link value: 1

14link response:

15link status_code: 200

16link - name: fetch person for film 2

17link request:

18link path: /api/people/{personId}/

19link method: get

20link before_test:

21link run_type: inline

22link inline:

23link function: !js/asyncFunction >

24link async function() {

25link var response = await this.runSpec('fetch film by film ID');

26link // name: "A New Hope"

27link this.suite.film = JSON.parse(response.body);

28link var characterUrl = this.suite.film.characters[0];

29link var personId = characterUrl.match(/\/api\/people\/(\d+)\//)[1];

30link this.test.path_params = { personId };

31link }

32link response:

33link status_code: 200



linkSpec Within a Different Suite File

Intrasuite dependencies can be specified to allow using specs in a different suite

Use the spec_dependencies suite-level property to enable this. Paths are relative to current working directory of Node process.

ℹ️ NOTE: that these imported specs will only be available when you run them using this.runSpec.



specs/new-suite.yml
1linkmeta:

2link name: Suite Relying on a Dependency

3linkspec_dependencies:

4link - specs/existing-suite.yml

5linkconfiguration:

6link scheme: http

7link host: swapi.dev

8linkspecs:

9link - name: fetch person for film 2

10link request:

11link path: /api/people/{personId}/

12link method: get

13link before_test:

14link run_type: inline

15link inline:

16link function: !js/asyncFunction >

17link async function() {

18link var response = await this.runSpec('fetch film by film ID');

19link // name: "A New Hope"

20link this.suite.film = JSON.parse(response.body);

21link var characterUrl = this.suite.film.characters[0];

22link var personId = characterUrl.match(/\/api\/people\/(\d+)\//)[1];

23link this.test.path_params = { personId };

24link }

25link response:

26link status_code: 200

specs/existing-suite.yml
1linkmeta:

2link name: Suite With an Existing Spec

3linkconfiguration:

4link scheme: http

5link host: swapi.dev

6linkspecs:

7link - name: fetch film by film ID

8link request:

9link path: /api/films/{filmId}/

10link method: get

11link path_params:

12link - name: filmId

13link value: 1

14link response:

15link status_code: 200



💡 To use a path relative to suite's path, use the locate_files_relative parameter of the suite meta section.



See also: Example: Run Specs from External File



linkspec_dependencies

  • Type: array optional

Root-level suite property.

A list of file paths that this suite relies on to use runSpec method.

1linkspec_dependencies:

2link - specs/some-suite.yml

3link - specs/some-other-suite.yml

4link# ...



linkThe runSpec Method

runSpec(name, options)

  • name string required Name of spec to run (identified by name property of the spec)
  • options object optional Override the original spec (e.g. headers, query_params, path_params, etc.)

Returns Promise<Response> The response generated by the spec

1link/**

2link * Run an existing spec in this suite

3link * or an external suite connected via interspec_dependencies suite config

4link *

5link * @param {string} specName Name of spec to run (identified by `name` property of the spec)

6link * @param {object} options Override the original spec

7link * @param {string} options.path The URL

8link * @param {string} options.method HTTP request method

9link * @param {array} options.headers Object of key/value pairs to set as headers

10link * @param {array} options.path_params Object of key/value pairs to set in the path

11link * @param {array} options.query_params Object of key/value pairs to add as query params ?name=value&name2=value2

12link * @param {object} options.payload Request body payload

13link *

14link * @return Promise<Response>

15link */

16linkfunction runSpec(specName, options) { }

example-spec.yml
1link# ...

2link - name: generate auth token

3link request:

4link path: /auth/login

5link method: post

6link payload:

7link body:

8link type: json

9link content:

10link email: foo@bar.com

11link password: F2#@9!mls

12link response:

13link status_code: 201

14link json_data:

15link - name: $.token

16link value: !!js/regexp /^[A-Z0-9]{32}$

17link - name: fetch a person

18link request:

19link path: /user

20link method: get

21link before_test:

22link run_type: inline

23link inline:

24link function: !js/asyncFunction >

25link async function() {

26link var response = await this.runSpec('generate auth token');

27link var { token } = JSON.parse(response.body);

28link this.test.headers = {

29link 'Authorization': `Bearer ${token}`

30link };

31link }

32link response:

33link status_code: 200

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/reusing-specs/yaml-anchors.html b/docs/reusing-specs/yaml-anchors.html index f9adf70..2d65cb4 100644 --- a/docs/reusing-specs/yaml-anchors.html +++ b/docs/reusing-specs/yaml-anchors.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

linkYaml Anchors & Pointers

Yaml itself has powerful features built-in to allow re-use of defined data.

The & defines a named anchor and * references it.

See also: Yaml Anchors Explained

1linkmeta:

2link name: star wars api using yaml anchors

3linkconfiguration:

4link scheme: http

5link host: swapi.dev

6linkspecs:

7link - name: fetch person 1

8link request: &starwars_person_request

9link path: /api/people/{personId}/

10link method: get

11link response: &starwars_person_response

12link status_code: 200

13link json_schema:

14link type: inline

15link $ref: >

16link {

17link "type": "object",

18link "properties": {

19link "films": {

20link "type": "array",

21link "items": {

22link "type": "string"

23link }

24link }

25link },

26link "required": ["films"]

27link }

28link before_test:

29link run_type: inline

30link inline:

31link function: !!js/function >

32link function() {

33link this.test.path_params = { personId: 1};

34link }

35link after_test: &log_body

36link run_type: inline

37link inline:

38link function: !!js/function >

39link function() {

40link console.log(this.response.body);

41link }

42link

43link - name: fetch person 2

44link request: *starwars_person_request

45link response: *starwars_person_response

46link before_test:

47link run_type: inline

48link inline:

49link function: !!js/function >

50link function() {

51link this.test.path_params = { personId: 2};

52link }

53link after_test: *log_body

54link

Home

Getting Startedchevron_right

Installation +

linkYaml Anchors & Pointers

Yaml itself has powerful features built-in to allow re-use of defined data.

The & defines a named anchor and * references it.

See also: Yaml Anchors Explained

1linkmeta:

2link name: star wars api using yaml anchors

3linkconfiguration:

4link scheme: http

5link host: swapi.dev

6linkspecs:

7link - name: fetch person 1

8link request: &starwars_person_request

9link path: /api/people/{personId}/

10link method: get

11link response: &starwars_person_response

12link status_code: 200

13link json_schema:

14link type: inline

15link $ref: >

16link {

17link "type": "object",

18link "properties": {

19link "films": {

20link "type": "array",

21link "items": {

22link "type": "string"

23link }

24link }

25link },

26link "required": ["films"]

27link }

28link before_test:

29link run_type: inline

30link inline:

31link function: !!js/function >

32link function() {

33link this.test.path_params = { personId: 1};

34link }

35link after_test: &log_body

36link run_type: inline

37link inline:

38link function: !!js/function >

39link function() {

40link console.log(this.response.body);

41link }

42link

43link - name: fetch person 2

44link request: *starwars_person_request

45link response: *starwars_person_response

46link before_test:

47link run_type: inline

48link inline:

49link function: !!js/function >

50link function() {

51link this.test.path_params = { personId: 2};

52link }

53link after_test: *log_body

54link

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/docs/reusing-specs/yaml-pointers.html b/docs/reusing-specs/yaml-pointers.html index efde88a..9170c00 100644 --- a/docs/reusing-specs/yaml-pointers.html +++ b/docs/reusing-specs/yaml-pointers.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

Home

Getting Startedchevron_right

Installation +

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file diff --git a/index.html b/index.html index d085dfb..e02adf2 100644 --- a/index.html +++ b/index.html @@ -35,43 +35,43 @@ .icon-font.outline { font-family: 'Material Icons Outlined'; } -

REST-EZ

REST-EZ

linkOverview

linkWhat is it?

REST-EZ is a declarative, specification based test framework for HTTP (ex: REST & GraphQL) APIs. In short, you test APIs without writing code (declarative, not procedural).

linkHow does it work?

YAML files define sets of requests & response validations

Each suite can have one or more specs. For each spec, REST-EZ:

  1. Builds the request
  2. Sends the request to the server
  3. Validates the response

linkDocumentation

linkAcknowledgements

👏👏👏 Enormous thanks to Kiran Mandadi,

Original creator of rest-ez upon which this project is based (forked).

👏👏👏 Thanks to corporate sponsors

linkRoadmap & TODO

  • Full support for de-referencing schema $refs
  • Allow specifying node within a schema file using JSON pointer
  • Pass arguments to inline or module-based functions to allow creater re-use
  • Documentation improvements
    • Upgrade markdown static site generator (something without python dependency)
    • Example function with arguments usage
    • JSON schema validation de-referencing schema $refs
    • Specify node within a schema file using JSON path
    • Examples directly using files within node_modules
  • Example of how to use faker.js using reusable function
  • Code Quality - add linter/hinter/prettier or whatever spec is used

Home

Getting Startedchevron_right

Installation +

REST-EZ

REST-EZ

linkOverview

linkWhat is it?

REST-EZ is a declarative, specification based test framework for HTTP (ex: REST & GraphQL) APIs. In short, you test APIs without writing code (declarative, not procedural).

linkHow does it work?

YAML files define sets of requests & response validations

Each suite can have one or more specs. For each spec, REST-EZ:

  1. Builds the request
  2. Sends the request to the server
  3. Validates the response

linkDocumentation

linkAcknowledgements

👏👏👏 Enormous thanks to Kiran Mandadi,

Original creator of rest-ez upon which this project is based (forked).

👏👏👏 Thanks to corporate sponsors

linkRoadmap & TODO

  • Full support for de-referencing schema $refs
  • Allow specifying node within a schema file using JSON pointer
  • Pass arguments to inline or module-based functions to allow creater re-use
  • Documentation improvements
    • Upgrade markdown static site generator (something without python dependency)
    • Example function with arguments usage
    • JSON schema validation de-referencing schema $refs
    • Specify node within a schema file using JSON path
    • Examples directly using files within node_modules
  • Example of how to use faker.js using reusable function
  • Code Quality - add linter/hinter/prettier or whatever spec is used

Home

Getting Startedchevron_right
Basicschevron_right
Basicschevron_right
Requestchevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters -Path Parameters

Payload Bodychevron_right

JSON Body +Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry -Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right
Response Validationchevron_right

Overview

Assertionschevron_right

Status Code -Headers & Cookies

Bodychevron_right

Overview +Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right
Command Line Interface (CLI)chevron_right
\ No newline at end of file +Reporters

\ No newline at end of file