@harmowatch/ngx-redux-core
Version:
[](https://gitter.im/harmowatch/ngx-redux-core?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
188 lines (159 loc) • 421 kB
JavaScript
/******/ (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, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // 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 = "./matchers/index.ts");
/******/ })
/************************************************************************/
/******/ ({
/***/ "../../../node_modules/@harmowatch/redux-decorators/lib/action/context/decorator/redux-action-context-decorator.js":
/*!********************************************************************************************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/action/context/decorator/redux-action-context-decorator.js ***!
\********************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar generic_decorator_1 = __webpack_require__(/*! ../../../generic/decorator/generic-decorator */ \"../../../node_modules/@harmowatch/redux-decorators/lib/generic/decorator/generic-decorator.js\");\nfunction ReduxActionContextDecoratorForClass(config) {\n return ReduxActionContextDecorator.instance.forClass(config);\n}\nexports.ReduxActionContextDecoratorForClass = ReduxActionContextDecoratorForClass;\nvar ReduxActionContextDecorator = /** @class */ (function (_super) {\n __extends(ReduxActionContextDecorator, _super);\n function ReduxActionContextDecorator() {\n return _super.call(this, 'ReduxActionContext') || this;\n }\n ReduxActionContextDecorator.instance = new ReduxActionContextDecorator();\n ReduxActionContextDecorator.get = ReduxActionContextDecorator.instance.get.bind(ReduxActionContextDecorator.instance);\n ReduxActionContextDecorator.forClass = ReduxActionContextDecoratorForClass;\n return ReduxActionContextDecorator;\n}(generic_decorator_1.GenericDecorator));\nexports.ReduxActionContextDecorator = ReduxActionContextDecorator;\n//# sourceMappingURL=redux-action-context-decorator.js.map\n\n//# sourceURL=webpack:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/action/context/decorator/redux-action-context-decorator.js?");
/***/ }),
/***/ "../../../node_modules/@harmowatch/redux-decorators/lib/action/decorator/redux-action-decorator.js":
/*!****************************************************************************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/action/decorator/redux-action-decorator.js ***!
\****************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar __1 = __webpack_require__(/*! ../../ */ \"../../../node_modules/@harmowatch/redux-decorators/lib/index.js\");\nvar generic_decorator_1 = __webpack_require__(/*! ../../generic/decorator/generic-decorator */ \"../../../node_modules/@harmowatch/redux-decorators/lib/generic/decorator/generic-decorator.js\");\nfunction ReduxActionDecoratorForMethod(config) {\n return ReduxActionDecorator.instance.forMethod(config);\n}\nexports.ReduxActionDecoratorForMethod = ReduxActionDecoratorForMethod;\nvar ReduxActionDecorator = /** @class */ (function (_super) {\n __extends(ReduxActionDecorator, _super);\n function ReduxActionDecorator() {\n return _super.call(this, 'ReduxAction') || this;\n }\n Object.defineProperty(ReduxActionDecorator.prototype, \"forMethod\", {\n get: function () {\n var _this = this;\n return function (config) { return function (target, propertyKey, descriptor) {\n config = Object.assign({\n type: String(propertyKey),\n contextClass: target.constructor,\n onDispatchSuccess: null,\n }, config);\n var originalFunction = descriptor.value;\n var proxyFunction = function () {\n var returnValue = originalFunction.apply(this, arguments);\n var onDispatchSuccess = config.onDispatchSuccess ? config.onDispatchSuccess.bind(this) : null;\n __1.ReduxActionDispatcher.dispatch(proxyFunction, returnValue, onDispatchSuccess);\n return returnValue;\n };\n _this.defineMetadata(proxyFunction, config);\n descriptor.value = proxyFunction;\n }; };\n },\n enumerable: true,\n configurable: true\n });\n ReduxActionDecorator.instance = new ReduxActionDecorator();\n ReduxActionDecorator.get = ReduxActionDecorator.instance.get.bind(ReduxActionDecorator.instance);\n ReduxActionDecorator.forMethod = ReduxActionDecoratorForMethod;\n return ReduxActionDecorator;\n}(generic_decorator_1.GenericDecorator));\nexports.ReduxActionDecorator = ReduxActionDecorator;\n//# sourceMappingURL=redux-action-decorator.js.map\n\n//# sourceURL=webpack:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/action/decorator/redux-action-decorator.js?");
/***/ }),
/***/ "../../../node_modules/@harmowatch/redux-decorators/lib/action/dispatcher/redux-action-dispatcher.js":
/*!******************************************************************************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/action/dispatcher/redux-action-dispatcher.js ***!
\******************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = __webpack_require__(/*! rxjs */ \"../../../node_modules/rxjs/_esm5/index.js\");\nvar __1 = __webpack_require__(/*! ../../ */ \"../../../node_modules/@harmowatch/redux-decorators/lib/index.js\");\nvar ReduxActionDispatcher = /** @class */ (function () {\n function ReduxActionDispatcher() {\n }\n ReduxActionDispatcher.getType = function (target) {\n if (typeof target === 'string') {\n return target;\n }\n var action = __1.ReduxActionDecorator.get(target);\n if (!action) {\n return null;\n }\n var _a = __1.ReduxActionDecorator.get(target), type = _a.type, contextClass = _a.contextClass;\n var context = __assign({ prefix: '' }, __1.ReduxActionContextDecorator.get(contextClass));\n return \"\" + context.prefix + type;\n };\n ReduxActionDispatcher.dispatch = function (target, payload, onDispatchSuccess) {\n return Promise\n .resolve(payload instanceof rxjs_1.Observable ? payload.toPromise() : payload)\n .then(function (p) {\n var type = ReduxActionDispatcher.getType(target);\n type ? ReduxActionDispatcher.dispatchedActions.next({\n type: type,\n payload: p,\n onDispatchSuccess: onDispatchSuccess,\n }) : null;\n });\n };\n ReduxActionDispatcher.dispatchedActions = new rxjs_1.Subject();\n return ReduxActionDispatcher;\n}());\nexports.ReduxActionDispatcher = ReduxActionDispatcher;\n//# sourceMappingURL=redux-action-dispatcher.js.map\n\n//# sourceURL=webpack:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/action/dispatcher/redux-action-dispatcher.js?");
/***/ }),
/***/ "../../../node_modules/@harmowatch/redux-decorators/lib/generic/decorator/generic-decorator.js":
/*!************************************************************************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/generic/decorator/generic-decorator.js ***!
\************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__webpack_require__(/*! reflect-metadata */ \"../../../node_modules/reflect-metadata/Reflect.js\");\nvar GenericDecorator = /** @class */ (function () {\n function GenericDecorator(key) {\n this.key = key;\n }\n Object.defineProperty(GenericDecorator.prototype, \"forClass\", {\n get: function () {\n var _this = this;\n return function (value) {\n return function (constructor) {\n _this.defineMetadata(constructor, value);\n return constructor;\n };\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GenericDecorator.prototype, \"forMethod\", {\n get: function () {\n var _this = this;\n return function (value) {\n return function (target, propertyKey, descriptor) {\n _this.defineMetadata(descriptor.value, value);\n };\n };\n },\n enumerable: true,\n configurable: true\n });\n GenericDecorator.prototype.get = function (target) {\n if (typeof target === 'string' || typeof target === 'number') {\n return null;\n }\n return Reflect.getMetadata(this.key, target);\n };\n GenericDecorator.prototype.defineMetadata = function (target, value) {\n Reflect.defineMetadata(this.key, value, target);\n };\n return GenericDecorator;\n}());\nexports.GenericDecorator = GenericDecorator;\n//# sourceMappingURL=generic-decorator.js.map\n\n//# sourceURL=webpack:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/generic/decorator/generic-decorator.js?");
/***/ }),
/***/ "../../../node_modules/@harmowatch/redux-decorators/lib/index.js":
/*!******************************************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/index.js ***!
\******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// action\n__export(__webpack_require__(/*! ./action/decorator/redux-action-decorator */ \"../../../node_modules/@harmowatch/redux-decorators/lib/action/decorator/redux-action-decorator.js\"));\n__export(__webpack_require__(/*! ./action/dispatcher/redux-action-dispatcher */ \"../../../node_modules/@harmowatch/redux-decorators/lib/action/dispatcher/redux-action-dispatcher.js\"));\n// action context\n__export(__webpack_require__(/*! ./action/context/decorator/redux-action-context-decorator */ \"../../../node_modules/@harmowatch/redux-decorators/lib/action/context/decorator/redux-action-context-decorator.js\"));\n// reducer\n__export(__webpack_require__(/*! ./reducer/decorator/redux-reducer-decorator */ \"../../../node_modules/@harmowatch/redux-decorators/lib/reducer/decorator/redux-reducer-decorator.js\"));\n// state\n__export(__webpack_require__(/*! ./state/decorator/redux-state-decorator */ \"../../../node_modules/@harmowatch/redux-decorators/lib/state/decorator/redux-state-decorator.js\"));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/index.js?");
/***/ }),
/***/ "../../../node_modules/@harmowatch/redux-decorators/lib/reducer/decorator/redux-reducer-decorator.js":
/*!******************************************************************************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/reducer/decorator/redux-reducer-decorator.js ***!
\******************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar generic_decorator_1 = __webpack_require__(/*! ../../generic/decorator/generic-decorator */ \"../../../node_modules/@harmowatch/redux-decorators/lib/generic/decorator/generic-decorator.js\");\nfunction ReduxReducerDecoratorForMethod(config) {\n return ReduxReducerDecorator.instance.forMethod(config);\n}\nexports.ReduxReducerDecoratorForMethod = ReduxReducerDecoratorForMethod;\nvar ReduxReducerDecorator = /** @class */ (function (_super) {\n __extends(ReduxReducerDecorator, _super);\n function ReduxReducerDecorator() {\n return _super.call(this, 'ReduxReducer') || this;\n }\n ReduxReducerDecorator.prototype.defineMetadata = function (target, value) {\n var metadata = this.get(target);\n if (metadata) {\n return _super.prototype.defineMetadata.call(this, target, [].concat(value).concat(metadata));\n }\n _super.prototype.defineMetadata.call(this, target, value);\n };\n ReduxReducerDecorator.instance = new ReduxReducerDecorator();\n ReduxReducerDecorator.get = ReduxReducerDecorator.instance.get.bind(ReduxReducerDecorator.instance);\n ReduxReducerDecorator.forMethod = ReduxReducerDecoratorForMethod;\n return ReduxReducerDecorator;\n}(generic_decorator_1.GenericDecorator));\nexports.ReduxReducerDecorator = ReduxReducerDecorator;\n//# sourceMappingURL=redux-reducer-decorator.js.map\n\n//# sourceURL=webpack:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/reducer/decorator/redux-reducer-decorator.js?");
/***/ }),
/***/ "../../../node_modules/@harmowatch/redux-decorators/lib/state/decorator/redux-state-decorator.js":
/*!**************************************************************************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/state/decorator/redux-state-decorator.js ***!
\**************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar generic_decorator_1 = __webpack_require__(/*! ../../generic/decorator/generic-decorator */ \"../../../node_modules/@harmowatch/redux-decorators/lib/generic/decorator/generic-decorator.js\");\nfunction ReduxStateDecoratorForClass(config) {\n return ReduxStateDecorator.instance.forClass(config);\n}\nexports.ReduxStateDecoratorForClass = ReduxStateDecoratorForClass;\nvar ReduxStateDecorator = /** @class */ (function (_super) {\n __extends(ReduxStateDecorator, _super);\n function ReduxStateDecorator() {\n return _super.call(this, 'ReduxState') || this;\n }\n ReduxStateDecorator.instance = new ReduxStateDecorator();\n ReduxStateDecorator.get = ReduxStateDecorator.instance.get.bind(ReduxStateDecorator.instance);\n ReduxStateDecorator.forClass = ReduxStateDecoratorForClass;\n return ReduxStateDecorator;\n}(generic_decorator_1.GenericDecorator));\nexports.ReduxStateDecorator = ReduxStateDecorator;\n//# sourceMappingURL=redux-state-decorator.js.map\n\n//# sourceURL=webpack:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/@harmowatch/redux-decorators/lib/state/decorator/redux-state-decorator.js?");
/***/ }),
/***/ "../../../node_modules/deep-diff/index.es.js":
/*!**********************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/deep-diff/index.es.js ***!
\**********************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {\nvar $scope, conflict, conflictResolution = [];\nif (typeof global === 'object' && global) {\n $scope = global;\n} else if (typeof window !== 'undefined') {\n $scope = window;\n} else {\n $scope = {};\n}\nconflict = $scope.DeepDiff;\nif (conflict) {\n conflictResolution.push(\n function() {\n if ('undefined' !== typeof conflict && $scope.DeepDiff === accumulateDiff) {\n $scope.DeepDiff = conflict;\n conflict = undefined;\n }\n });\n}\n\n// nodejs compatible on server side and in the browser.\nfunction inherits(ctor, 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\nfunction Diff(kind, path) {\n Object.defineProperty(this, 'kind', {\n value: kind,\n enumerable: true\n });\n if (path && path.length) {\n Object.defineProperty(this, 'path', {\n value: path,\n enumerable: true\n });\n }\n}\n\nfunction DiffEdit(path, origin, value) {\n DiffEdit.super_.call(this, 'E', path);\n Object.defineProperty(this, 'lhs', {\n value: origin,\n enumerable: true\n });\n Object.defineProperty(this, 'rhs', {\n value: value,\n enumerable: true\n });\n}\ninherits(DiffEdit, Diff);\n\nfunction DiffNew(path, value) {\n DiffNew.super_.call(this, 'N', path);\n Object.defineProperty(this, 'rhs', {\n value: value,\n enumerable: true\n });\n}\ninherits(DiffNew, Diff);\n\nfunction DiffDeleted(path, value) {\n DiffDeleted.super_.call(this, 'D', path);\n Object.defineProperty(this, 'lhs', {\n value: value,\n enumerable: true\n });\n}\ninherits(DiffDeleted, Diff);\n\nfunction DiffArray(path, index, item) {\n DiffArray.super_.call(this, 'A', path);\n Object.defineProperty(this, 'index', {\n value: index,\n enumerable: true\n });\n Object.defineProperty(this, 'item', {\n value: item,\n enumerable: true\n });\n}\ninherits(DiffArray, Diff);\n\nfunction arrayRemove(arr, from, to) {\n var rest = arr.slice((to || from) + 1 || arr.length);\n arr.length = from < 0 ? arr.length + from : from;\n arr.push.apply(arr, rest);\n return arr;\n}\n\nfunction realTypeOf(subject) {\n var type = typeof subject;\n if (type !== 'object') {\n return type;\n }\n\n if (subject === Math) {\n return 'math';\n } else if (subject === null) {\n return 'null';\n } else if (Array.isArray(subject)) {\n return 'array';\n } else if (Object.prototype.toString.call(subject) === '[object Date]') {\n return 'date';\n } else if (typeof subject.toString === 'function' && /^\\/.*\\//.test(subject.toString())) {\n return 'regexp';\n }\n return 'object';\n}\n\nfunction deepDiff(lhs, rhs, changes, prefilter, path, key, stack) {\n path = path || [];\n stack = stack || [];\n var currentPath = path.slice(0);\n if (typeof key !== 'undefined') {\n if (prefilter) {\n if (typeof(prefilter) === 'function' && prefilter(currentPath, key)) {\n return; } else if (typeof(prefilter) === 'object') {\n if (prefilter.prefilter && prefilter.prefilter(currentPath, key)) {\n return; }\n if (prefilter.normalize) {\n var alt = prefilter.normalize(currentPath, key, lhs, rhs);\n if (alt) {\n lhs = alt[0];\n rhs = alt[1];\n }\n }\n }\n }\n currentPath.push(key);\n }\n\n // Use string comparison for regexes\n if (realTypeOf(lhs) === 'regexp' && realTypeOf(rhs) === 'regexp') {\n lhs = lhs.toString();\n rhs = rhs.toString();\n }\n\n var ltype = typeof lhs;\n var rtype = typeof rhs;\n\n var ldefined = ltype !== 'undefined' || (stack && stack[stack.length - 1].lhs && stack[stack.length - 1].lhs.hasOwnProperty(key));\n var rdefined = rtype !== 'undefined' || (stack && stack[stack.length - 1].rhs && stack[stack.length - 1].rhs.hasOwnProperty(key));\n\n if (!ldefined && rdefined) {\n changes(new DiffNew(currentPath, rhs));\n } else if (!rdefined && ldefined) {\n changes(new DiffDeleted(currentPath, lhs));\n } else if (realTypeOf(lhs) !== realTypeOf(rhs)) {\n changes(new DiffEdit(currentPath, lhs, rhs));\n } else if (realTypeOf(lhs) === 'date' && (lhs - rhs) !== 0) {\n changes(new DiffEdit(currentPath, lhs, rhs));\n } else if (ltype === 'object' && lhs !== null && rhs !== null) {\n if (!stack.filter(function(x) {\n return x.lhs === lhs; }).length) {\n stack.push({ lhs: lhs, rhs: rhs });\n if (Array.isArray(lhs)) {\n var i, len = lhs.length;\n for (i = 0; i < lhs.length; i++) {\n if (i >= rhs.length) {\n changes(new DiffArray(currentPath, i, new DiffDeleted(undefined, lhs[i])));\n } else {\n deepDiff(lhs[i], rhs[i], changes, prefilter, currentPath, i, stack);\n }\n }\n while (i < rhs.length) {\n changes(new DiffArray(currentPath, i, new DiffNew(undefined, rhs[i++])));\n }\n } else {\n var akeys = Object.keys(lhs);\n var pkeys = Object.keys(rhs);\n akeys.forEach(function(k, i) {\n var other = pkeys.indexOf(k);\n if (other >= 0) {\n deepDiff(lhs[k], rhs[k], changes, prefilter, currentPath, k, stack);\n pkeys = arrayRemove(pkeys, other);\n } else {\n deepDiff(lhs[k], undefined, changes, prefilter, currentPath, k, stack);\n }\n });\n pkeys.forEach(function(k) {\n deepDiff(undefined, rhs[k], changes, prefilter, currentPath, k, stack);\n });\n }\n stack.length = stack.length - 1;\n } else if (lhs !== rhs) {\n // lhs is contains a cycle at this element and it differs from rhs\n changes(new DiffEdit(currentPath, lhs, rhs));\n }\n } else if (lhs !== rhs) {\n if (!(ltype === 'number' && isNaN(lhs) && isNaN(rhs))) {\n changes(new DiffEdit(currentPath, lhs, rhs));\n }\n }\n}\n\nfunction accumulateDiff(lhs, rhs, prefilter, accum) {\n accum = accum || [];\n deepDiff(lhs, rhs,\n function(diff) {\n if (diff) {\n accum.push(diff);\n }\n },\n prefilter);\n return (accum.length) ? accum : undefined;\n}\n\nfunction applyArrayChange(arr, index, change) {\n if (change.path && change.path.length) {\n var it = arr[index],\n i, u = change.path.length - 1;\n for (i = 0; i < u; i++) {\n it = it[change.path[i]];\n }\n switch (change.kind) {\n case 'A':\n applyArrayChange(it[change.path[i]], change.index, change.item);\n break;\n case 'D':\n delete it[change.path[i]];\n break;\n case 'E':\n case 'N':\n it[change.path[i]] = change.rhs;\n break;\n }\n } else {\n switch (change.kind) {\n case 'A':\n applyArrayChange(arr[index], change.index, change.item);\n break;\n case 'D':\n arr = arrayRemove(arr, index);\n break;\n case 'E':\n case 'N':\n arr[index] = change.rhs;\n break;\n }\n }\n return arr;\n}\n\nfunction applyChange(target, source, change) {\n if (target && source && change && change.kind) {\n var it = target,\n i = -1,\n last = change.path ? change.path.length - 1 : 0;\n while (++i < last) {\n if (typeof it[change.path[i]] === 'undefined') {\n it[change.path[i]] = (typeof change.path[i] === 'number') ? [] : {};\n }\n it = it[change.path[i]];\n }\n switch (change.kind) {\n case 'A':\n applyArrayChange(change.path ? it[change.path[i]] : it, change.index, change.item);\n break;\n case 'D':\n delete it[change.path[i]];\n break;\n case 'E':\n case 'N':\n it[change.path[i]] = change.rhs;\n break;\n }\n }\n}\n\nfunction revertArrayChange(arr, index, change) {\n if (change.path && change.path.length) {\n // the structure of the object at the index has changed...\n var it = arr[index],\n i, u = change.path.length - 1;\n for (i = 0; i < u; i++) {\n it = it[change.path[i]];\n }\n switch (change.kind) {\n case 'A':\n revertArrayChange(it[change.path[i]], change.index, change.item);\n break;\n case 'D':\n it[change.path[i]] = change.lhs;\n break;\n case 'E':\n it[change.path[i]] = change.lhs;\n break;\n case 'N':\n delete it[change.path[i]];\n break;\n }\n } else {\n // the array item is different...\n switch (change.kind) {\n case 'A':\n revertArrayChange(arr[index], change.index, change.item);\n break;\n case 'D':\n arr[index] = change.lhs;\n break;\n case 'E':\n arr[index] = change.lhs;\n break;\n case 'N':\n arr = arrayRemove(arr, index);\n break;\n }\n }\n return arr;\n}\n\nfunction revertChange(target, source, change) {\n if (target && source && change && change.kind) {\n var it = target,\n i, u;\n u = change.path.length - 1;\n for (i = 0; i < u; i++) {\n if (typeof it[change.path[i]] === 'undefined') {\n it[change.path[i]] = {};\n }\n it = it[change.path[i]];\n }\n switch (change.kind) {\n case 'A':\n // Array was modified...\n // it will be an array...\n revertArrayChange(it[change.path[i]], change.index, change.item);\n break;\n case 'D':\n // Item was deleted...\n it[change.path[i]] = change.lhs;\n break;\n case 'E':\n // Item was edited...\n it[change.path[i]] = change.lhs;\n break;\n case 'N':\n // Item is new...\n delete it[change.path[i]];\n break;\n }\n }\n}\n\nfunction applyDiff(target, source, filter) {\n if (target && source) {\n var onChange = function(change) {\n if (!filter || filter(target, source, change)) {\n applyChange(target, source, change);\n }\n };\n deepDiff(target, source, onChange);\n }\n}\n\nObject.defineProperties(accumulateDiff, {\n\n diff: {\n value: accumulateDiff,\n enumerable: true\n },\n observableDiff: {\n value: deepDiff,\n enumerable: true\n },\n applyDiff: {\n value: applyDiff,\n enumerable: true\n },\n applyChange: {\n value: applyChange,\n enumerable: true\n },\n revertChange: {\n value: revertChange,\n enumerable: true\n },\n isConflict: {\n value: function() {\n return 'undefined' !== typeof conflict;\n },\n enumerable: true\n },\n noConflict: {\n value: function() {\n if (conflictResolution) {\n conflictResolution.forEach(function(it) {\n it();\n });\n conflictResolution = null;\n }\n return accumulateDiff;\n },\n enumerable: true\n }\n});\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (accumulateDiff);\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"../../../node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/deep-diff/index.es.js?");
/***/ }),
/***/ "../../../node_modules/process/browser.js":
/*!*******************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/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:////Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/process/browser.js?");
/***/ }),
/***/ "../../../node_modules/reflect-metadata/Reflect.js":
/*!****************************************************************************************************!*\
!*** /Users/kschecker/Projects/harmowatch/ngx-redux-core/node_modules/reflect-metadata/Reflect.js ***!
\****************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/* WEBPACK VAR INJECTION */(function(process, global) {/*! *****************************************************************************\r\nCopyright (C) Microsoft. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\nvar Reflect;\r\n(function (Reflect) {\r\n // Metadata Proposal\r\n // https://rbuckton.github.io/reflect-metadata/\r\n (function (factory) {\r\n var root = typeof global === \"object\" ? global :\r\n typeof self === \"object\" ? self :\r\n typeof this === \"object\" ? this :\r\n Function(\"return this;\")();\r\n var exporter = makeExporter(Reflect);\r\n if (typeof root.Reflect === \"undefined\") {\r\n root.Reflect = Reflect;\r\n }\r\n else {\r\n exporter = makeExporter(root.Reflect, exporter);\r\n }\r\n factory(exporter);\r\n function makeExporter(target, previous) {\r\n return function (key, value) {\r\n if (typeof target[key] !== \"function\") {\r\n Object.defineProperty(target, key, { configurable: true, writable: true, value: value });\r\n }\r\n if (previous)\r\n previous(key, value);\r\n };\r\n }\r\n })(function (exporter) {\r\n var hasOwn = Object.prototype.hasOwnProperty;\r\n // feature test for Symbol support\r\n var supportsSymbol = typeof Symbol === \"function\";\r\n var toPrimitiveSymbol = supportsSymbol && typeof Symbol.toPrimitive !== \"undefined\" ? Symbol.toPrimitive : \"@@toPrimitive\";\r\n var iteratorSymbol = supportsSymbol && typeof Symbol.iterator !== \"undefined\" ? Symbol.iterator : \"@@iterator\";\r\n var supportsCreate = typeof Object.create === \"function\"; // feature test for Object.create support\r\n var supportsProto = { __proto__: [] } instanceof Array; // feature test for __proto__ support\r\n var downLevel = !supportsCreate && !supportsProto;\r\n var HashMap = {\r\n // create an object in dictionary mode (a.k.a. \"slow\" mode in v8)\r\n create: supportsCreate\r\n ? function () { return MakeDictionary(Object.create(null)); }\r\n : supportsProto\r\n ? function () { return MakeDictionary({ __proto__: null }); }\r\n : function () { return MakeDictionary({}); },\r\n has: downLevel\r\n ? function (map, key) { return hasOwn.call(map, key); }\r\n : function (map, key) { return key in map; },\r\n get: downLevel\r\n ? function (map, key) { return hasOwn.call(map, key) ? map[key] : undefined; }\r\n : function (map, key) { return map[key]; },\r\n };\r\n // Load global or shim versions of Map, Set, and WeakMap\r\n var functionPrototype = Object.getPrototypeOf(Function);\r\n var usePolyfill = typeof process === \"object\" && process.env && process.env[\"REFLECT_METADATA_USE_MAP_POLYFILL\"] === \"true\";\r\n var _Map = !usePolyfill && typeof Map === \"function\" && typeof Map.prototype.entries === \"function\" ? Map : CreateMapPolyfill();\r\n var _Set = !usePolyfill && typeof Set === \"function\" && typeof Set.prototype.entries === \"function\" ? Set : CreateSetPolyfill();\r\n var _WeakMap = !usePolyfill && typeof WeakMap === \"function\" ? WeakMap : CreateWeakMapPolyfill();\r\n // [[Metadata]] internal slot\r\n // https://rbuckton.github.io/reflect-metadata/#ordinary-object-internal-methods-and-internal-slots\r\n var Metadata = new _WeakMap();\r\n /**\r\n * Applies a set of decorators to a property of a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @param propertyKey (Optional) The property key to decorate.\r\n * @param attributes (Optional) The property descriptor for the target key.\r\n * @remarks Decorators are applied in reverse order.\r\n * @example\r\n *\r\n * class Example {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty;\r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { }\r\n * }\r\n *\r\n * // constructor\r\n * Example = Reflect.decorate(decoratorsArray, Example);\r\n *\r\n * // property (on constructor)\r\n * Reflect.decorate(decoratorsArray, Example, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.decorate(decoratorsArray, Example.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Object.defineProperty(Example, \"staticMethod\",\r\n * Reflect.decorate(decoratorsArray, Example, \"staticMethod\",\r\n * Object.getOwnPropertyDescriptor(Example, \"staticMethod\")));\r\n *\r\n * // method (on prototype)\r\n * Object.defineProperty(Example.prototype, \"method\",\r\n * Reflect.decorate(decoratorsArray, Example.prototype, \"method\",\r\n * Object.getOwnPropertyDescriptor(Example.prototype, \"method\")));\r\n *\r\n */\r\n function decorate(decorators, target, propertyKey, attributes) {\r\n if (!IsUndefined(propertyKey)) {\r\n if (!IsArray(decorators))\r\n throw new TypeError();\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes))\r\n throw new TypeError();\r\n if (IsNull(attributes))\r\n attributes = undefined;\r\n propertyKey = ToPropertyKey(propertyKey);\r\n return DecorateProperty(decorators, target, propertyKey, attributes);\r\n }\r\n else {\r\n if (!IsArray(decorators))\r\n throw new TypeError();\r\n if (!IsConstructor(target))\r\n throw new TypeError();\r\n return DecorateConstructor(decorators, target);\r\n }\r\n }\r\n exporter(\"decorate\", decorate);\r\n // 4.1.2 Reflect.metadata(metadataKey, metadataValue)\r\n // https://rbuckton.github.io/reflect-metadata/#reflect.metadata\r\n /**\r\n * A default metadata decorator factory that can be used on a class, class member, or parameter.\r\n * @param metadataKey The key for the metadata entry.\r\n * @param metadataValue The value for the metadata entry.\r\n * @returns A decorator function.\r\n * @remarks\r\n * If `metadataKey` is already defined for the target and target key, the\r\n * metadataValue for that key will be overwritten.\r\n * @example\r\n *\r\n * // constructor\r\n * @Reflect.metadata(key, value)\r\n * class Example {\r\n * }\r\n *\r\n * // property (on constructor, TypeScript only)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * static staticProperty;\r\n * }\r\n *\r\n * // property (on prototype, TypeScript only)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * property;\r\n * }\r\n *\r\n * // method (on constructor)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * static staticMethod() { }\r\n * }\r\n *\r\n * // method (on prototype)\r\n * class Example {\r\n * @Reflect.metadata(key, value)\r\n * method() { }\r\n * }\r\n *\r\n */\r\n function metadata(metadataKey, metadataValue) {\r\n function decorator(target, propertyKey) {\r\n if (!IsObject(target))\r\n throw new TypeError();\r\n if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey))\r\n throw new TypeError();\r\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\r\n }\r\n return decorator;\r\n }\r\n exporter(\"metadata\", metadata);\r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r