{"id":"../node_modules/rxjs/_esm5/internal/Notification.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Notification.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/Notification.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"./observable/empty","loc":{"line":2,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Notification.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/empty.js"},{"name":"./observable/of","loc":{"line":3,"column":19},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Notification.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/of.js"},{"name":"./observable/throwError","loc":{"line":4,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Notification.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/throwError.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Notification = void 0;\n\nvar _empty = require(\"./observable/empty\");\n\nvar _of = require(\"./observable/of\");\n\nvar _throwError = require(\"./observable/throwError\");\n\n/** PURE_IMPORTS_START _observable_empty,_observable_of,_observable_throwError PURE_IMPORTS_END */\nvar Notification =\n/*@__PURE__*/\nfunction () {\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\n Notification.prototype.observe = function (observer) {\n switch (this.kind) {\n case 'N':\n return observer.next && observer.next(this.value);\n\n case 'E':\n return observer.error && observer.error(this.error);\n\n case 'C':\n return observer.complete && observer.complete();\n }\n };\n\n Notification.prototype.do = function (next, error, complete) {\n var kind = this.kind;\n\n switch (kind) {\n case 'N':\n return next && next(this.value);\n\n case 'E':\n return error && error(this.error);\n\n case 'C':\n return complete && complete();\n }\n };\n\n Notification.prototype.accept = function (nextOrObserver, error, complete) {\n if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n return this.observe(nextOrObserver);\n } else {\n return this.do(nextOrObserver, error, complete);\n }\n };\n\n Notification.prototype.toObservable = function () {\n var kind = this.kind;\n\n switch (kind) {\n case 'N':\n return (0, _of.of)(this.value);\n\n case 'E':\n return (0, _throwError.throwError)(this.error);\n\n case 'C':\n return (0, _empty.empty)();\n }\n\n throw new Error('unexpected notification kind value');\n };\n\n Notification.createNext = function (value) {\n if (typeof value !== 'undefined') {\n return new Notification('N', value);\n }\n\n return Notification.undefinedValueNotification;\n };\n\n Notification.createError = function (err) {\n return new Notification('E', undefined, err);\n };\n\n Notification.createComplete = function () {\n return Notification.completeNotification;\n };\n\n Notification.completeNotification = new Notification('C');\n Notification.undefinedValueNotification = new Notification('N', undefined);\n return Notification;\n}();\n\nexports.Notification = Notification;","map":{"mappings":[{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":8,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":10,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":21,"column":0},"generated":{"line":12,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":14,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":15,"column":4}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":15,"column":16}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":16,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":42},"generated":{"line":17,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":71},"generated":{"line":17,"column":12}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":21},"generated":{"line":18,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":33},"generated":{"line":18,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":33},"generated":{"line":18,"column":30}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":33},"generated":{"line":18,"column":37}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":33},"generated":{"line":18,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":42},"generated":{"line":19,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":42},"generated":{"line":19,"column":9}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":42},"generated":{"line":19,"column":13}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":47},"generated":{"line":19,"column":16}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":42},"generated":{"line":19,"column":20}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":60},"generated":{"line":20,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":60},"generated":{"line":20,"column":9}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":60},"generated":{"line":20,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":60},"generated":{"line":20,"column":17}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":60},"generated":{"line":20,"column":22}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":21,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":25,"column":9},"generated":{"line":21,"column":9}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":21,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":25,"column":17},"generated":{"line":21,"column":17}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":21,"column":22}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":22,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":22,"column":9}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":22,"column":17}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":22,"column":20}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":22,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":22,"column":29}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":26,"column":3},"generated":{"line":22,"column":32}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":33,"column":2},"generated":{"line":23,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":34,"column":12},"generated":{"line":25,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":34,"column":12},"generated":{"line":25,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":34,"column":23},"generated":{"line":25,"column":25}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":34,"column":23},"generated":{"line":25,"column":35}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":34,"column":23},"generated":{"line":25,"column":45}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":34,"column":23},"generated":{"line":25,"column":53}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":34,"column":23},"generated":{"line":25,"column":55}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":35,"column":6},"generated":{"line":26,"column":12}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":35,"column":14},"generated":{"line":26,"column":17}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":27,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":6},"generated":{"line":28,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":23}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":28}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":32}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":40}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":41}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":45}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":46}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":51}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":14},"generated":{"line":28,"column":56}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":37,"column":6},"generated":{"line":28,"column":57}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":38,"column":8},"generated":{"line":30,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":6},"generated":{"line":31,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":23}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":29}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":33}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":41}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":42}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":47}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":48}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":53}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":14},"generated":{"line":31,"column":58}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":39,"column":6},"generated":{"line":31,"column":59}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":33,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":23}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":32}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":36}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":45}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":53}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":34,"column":55}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":52,"column":2},"generated":{"line":36,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":14},"generated":{"line":38,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":14},"generated":{"line":38,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":22},"generated":{"line":38,"column":25}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":27},"generated":{"line":38,"column":30}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":27},"generated":{"line":38,"column":40}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":27},"generated":{"line":38,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":27},"generated":{"line":38,"column":46}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":27},"generated":{"line":38,"column":51}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":27},"generated":{"line":38,"column":53}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":27},"generated":{"line":38,"column":61}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":53,"column":27},"generated":{"line":38,"column":63}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":39,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":39,"column":8}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":54,"column":12},"generated":{"line":39,"column":12}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":54,"column":12},"generated":{"line":39,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":54,"column":18},"generated":{"line":39,"column":20}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":39,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":55,"column":6},"generated":{"line":41,"column":12}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":56,"column":8},"generated":{"line":42,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":6},"generated":{"line":43,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":14},"generated":{"line":43,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":14},"generated":{"line":43,"column":19}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":14},"generated":{"line":43,"column":23}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":14},"generated":{"line":43,"column":27}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":14},"generated":{"line":43,"column":28}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":14},"generated":{"line":43,"column":33}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":14},"generated":{"line":43,"column":38}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":57,"column":6},"generated":{"line":43,"column":39}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":58,"column":8},"generated":{"line":45,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":6},"generated":{"line":46,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":46,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":46,"column":20}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":46,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":46,"column":29}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":46,"column":30}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":46,"column":35}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":14},"generated":{"line":46,"column":40}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":59,"column":6},"generated":{"line":46,"column":41}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":60,"column":8},"generated":{"line":48,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":49,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":49,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":49,"column":23}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":49,"column":27}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":49,"column":35}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":61,"column":5},"generated":{"line":49,"column":37}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":8},"generated":{"line":53,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":8},"generated":{"line":53,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":22},"generated":{"line":53,"column":25}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":26},"generated":{"line":53,"column":34}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":54},"generated":{"line":53,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":26},"generated":{"line":53,"column":58}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":79},"generated":{"line":53,"column":60}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":26},"generated":{"line":53,"column":65}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":79},"generated":{"line":53,"column":67}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":26},"generated":{"line":53,"column":75}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":74,"column":91},"generated":{"line":53,"column":77}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":6},"generated":{"line":54,"column":8}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":18},"generated":{"line":54,"column":22}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":18},"generated":{"line":54,"column":26}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":46},"generated":{"line":54,"column":33}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":62},"generated":{"line":54,"column":47}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":62},"generated":{"line":54,"column":48}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":18},"generated":{"line":54,"column":52}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":62},"generated":{"line":54,"column":57}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":75,"column":62},"generated":{"line":54,"column":69}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":76,"column":5},"generated":{"line":55,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":76,"column":5},"generated":{"line":55,"column":13}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":76,"column":5},"generated":{"line":55,"column":18}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":76,"column":5},"generated":{"line":55,"column":25}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":76,"column":5},"generated":{"line":55,"column":26}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":76,"column":5},"generated":{"line":55,"column":40}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":76,"column":5},"generated":{"line":55,"column":41}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":77,"column":6},"generated":{"line":56,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":13}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":18}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":20}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":21}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":35}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":37}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":42}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":52}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":78,"column":5},"generated":{"line":57,"column":53}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":79,"column":3},"generated":{"line":58,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":86,"column":2},"generated":{"line":59,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":87,"column":14},"generated":{"line":61,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":87,"column":14},"generated":{"line":61,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":87,"column":22},"generated":{"line":61,"column":25}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":87,"column":27},"generated":{"line":61,"column":40}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":87,"column":27},"generated":{"line":61,"column":52}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":62,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":62,"column":8}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":88,"column":12},"generated":{"line":62,"column":12}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":88,"column":12},"generated":{"line":62,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":88,"column":18},"generated":{"line":62,"column":20}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":62,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":89,"column":6},"generated":{"line":64,"column":12}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":65,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":91,"column":6},"generated":{"line":66,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":91,"column":14},"generated":{"line":66,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":91,"column":14},"generated":{"line":66,"column":27}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":91,"column":14},"generated":{"line":66,"column":32}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":91,"column":14},"generated":{"line":66,"column":37}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":91,"column":6},"generated":{"line":66,"column":38}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":92,"column":8},"generated":{"line":68,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":93,"column":6},"generated":{"line":69,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":93,"column":14},"generated":{"line":69,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":93,"column":14},"generated":{"line":69,"column":43}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":93,"column":14},"generated":{"line":69,"column":48}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":93,"column":14},"generated":{"line":69,"column":53}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":93,"column":6},"generated":{"line":69,"column":54}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":94,"column":8},"generated":{"line":71,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":95,"column":5},"generated":{"line":72,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":95,"column":5},"generated":{"line":72,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":95,"column":5},"generated":{"line":72,"column":34}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":75,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":75,"column":10}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":75,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":75,"column":19}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":75,"column":20}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":75,"column":56}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":75,"column":57}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":110,"column":9},"generated":{"line":76,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":111,"column":8},"generated":{"line":78,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":111,"column":8},"generated":{"line":78,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":111,"column":25},"generated":{"line":78,"column":28}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":111,"column":36},"generated":{"line":78,"column":38}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":111,"column":25},"generated":{"line":78,"column":43}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":111,"column":38},"generated":{"line":78,"column":45}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":112,"column":6},"generated":{"line":79,"column":8}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":112,"column":13},"generated":{"line":79,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":112,"column":6},"generated":{"line":79,"column":20}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":112,"column":17},"generated":{"line":79,"column":25}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":112,"column":35},"generated":{"line":79,"column":38}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":13}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":17}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":29}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":30}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":33}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":35}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":40}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":80,"column":41}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":114,"column":4},"generated":{"line":81,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":115,"column":3},"generated":{"line":83,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":115,"column":3},"generated":{"line":83,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":115,"column":3},"generated":{"line":83,"column":23}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":115,"column":3},"generated":{"line":83,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":115,"column":3},"generated":{"line":83,"column":50}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":125,"column":9},"generated":{"line":84,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":126,"column":11},"generated":{"line":86,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":126,"column":11},"generated":{"line":86,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":126,"column":27},"generated":{"line":86,"column":29}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":126,"column":33},"generated":{"line":86,"column":39}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":126,"column":27},"generated":{"line":86,"column":42}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":126,"column":42},"generated":{"line":86,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":27}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":28}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":31}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":33}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":42}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":47}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":127,"column":3},"generated":{"line":87,"column":48}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":134,"column":9},"generated":{"line":88,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":135,"column":11},"generated":{"line":90,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":135,"column":11},"generated":{"line":90,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":135,"column":24},"generated":{"line":90,"column":32}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":135,"column":24},"generated":{"line":90,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":136,"column":3},"generated":{"line":91,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":136,"column":3},"generated":{"line":91,"column":11}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":136,"column":3},"generated":{"line":91,"column":23}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":136,"column":3},"generated":{"line":91,"column":24}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":136,"column":3},"generated":{"line":91,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":99,"column":17},"generated":{"line":92,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":2}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":35}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":38}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":43},"generated":{"line":94,"column":42}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":54}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":69},"generated":{"line":94,"column":55}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":58}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":100,"column":17},"generated":{"line":94,"column":59}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":0},"generated":{"line":95,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":0},"generated":{"line":95,"column":2}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":0},"generated":{"line":95,"column":14}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":0},"generated":{"line":95,"column":15}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":0},"generated":{"line":95,"column":41}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":1},"generated":{"line":95,"column":44}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":1},"generated":{"line":95,"column":48}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":1},"generated":{"line":95,"column":60}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":1},"generated":{"line":95,"column":61}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":1},"generated":{"line":95,"column":64}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":1},"generated":{"line":95,"column":66}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":1},"generated":{"line":95,"column":75}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":0},"generated":{"line":95,"column":76}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":21,"column":0},"generated":{"line":96,"column":0}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":137,"column":1},"generated":{"line":96,"column":9}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":21,"column":0},"generated":{"line":96,"column":21}},{"source":"../../src/internal/Notification.ts","name":null,"original":{"line":24,"column":42},"generated":{"line":97,"column":1}}],"sources":{"../../src/internal/Notification.ts":"import { PartialObserver } from './types';\nimport { Observable } from './Observable';\nimport { empty } from './observable/empty';\nimport { of } from './observable/of';\nimport { throwError } from './observable/throwError';\n\n/**\n * Represents a push-based event or value that an {@link Observable} can emit.\n * This class is particularly useful for operators that manage notifications,\n * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and\n * others. Besides wrapping the actual delivered value, it also annotates it\n * with metadata of, for instance, what type of push message it is (`next`,\n * `error`, or `complete`).\n *\n * @see {@link materialize}\n * @see {@link dematerialize}\n * @see {@link observeOn}\n *\n * @class Notification\n */\nexport class Notification {\n hasValue: boolean;\n\n constructor(public kind: string, public value?: T, public error?: any) {\n this.hasValue = kind === 'N';\n }\n\n /**\n * Delivers to the given `observer` the value wrapped by this Notification.\n * @param {Observer} observer\n * @return\n */\n observe(observer: PartialObserver): any {\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\n /**\n * Given some {@link Observer} callbacks, deliver the value represented by the\n * current Notification to the correctly corresponding callback.\n * @param {function(value: T): void} next An Observer `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n do(next: (value: T) => void, error?: (err: any) => void, complete?: () => void): any {\n const 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\n /**\n * Takes an Observer or its individual callback functions, and calls `observe`\n * or `do` methods accordingly.\n * @param {Observer|function(value: T): void} nextOrObserver An Observer or\n * the `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n accept(nextOrObserver: PartialObserver | ((value: T) => void), error?: (err: any) => void, complete?: () => void) {\n if (nextOrObserver && typeof (>nextOrObserver).next === 'function') {\n return this.observe(>nextOrObserver);\n } else {\n return this.do(<(value: T) => void>nextOrObserver, error, complete);\n }\n }\n\n /**\n * Returns a simple Observable that just delivers the notification represented\n * by this Notification instance.\n * @return {any}\n */\n toObservable(): Observable {\n const kind = this.kind;\n switch (kind) {\n case 'N':\n return of(this.value);\n case 'E':\n return throwError(this.error);\n case 'C':\n return empty();\n }\n throw new Error('unexpected notification kind value');\n }\n\n private static completeNotification: Notification = new Notification('C');\n private static undefinedValueNotification: Notification = new Notification('N', undefined);\n\n /**\n * A shortcut to create a Notification instance of the type `next` from a\n * given value.\n * @param {T} value The `next` value.\n * @return {Notification} The \"next\" Notification representing the\n * argument.\n * @nocollapse\n */\n static createNext(value: T): Notification {\n if (typeof value !== 'undefined') {\n return new Notification('N', value);\n }\n return Notification.undefinedValueNotification;\n }\n\n /**\n * A shortcut to create a Notification instance of the type `error` from a\n * given error.\n * @param {any} [err] The `error` error.\n * @return {Notification} The \"error\" Notification representing the\n * argument.\n * @nocollapse\n */\n static createError(err?: any): Notification {\n return new Notification('E', undefined, err);\n }\n\n /**\n * A shortcut to create a Notification instance of the type `complete`.\n * @return {Notification} The valueless \"complete\" Notification.\n * @nocollapse\n */\n static createComplete(): Notification {\n return Notification.completeNotification;\n }\n}\n"},"lineCount":null}},"hash":"b245f93b3780b8fdb77a27b00eaf6e8b","cacheData":{"env":{}}}