{"id":"../node_modules/rxjs/_esm5/internal/util/toSubscriber.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/toSubscriber.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/toSubscriber.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":"../Subscriber","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/toSubscriber.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../symbol/rxSubscriber","loc":{"line":3,"column":51},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/toSubscriber.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js"},{"name":"../Observer","loc":{"line":4,"column":39},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/toSubscriber.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observer.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.toSubscriber = toSubscriber;\n\nvar _Subscriber = require(\"../Subscriber\");\n\nvar _rxSubscriber = require(\"../symbol/rxSubscriber\");\n\nvar _Observer = require(\"../Observer\");\n\n/** PURE_IMPORTS_START _Subscriber,_symbol_rxSubscriber,_Observer PURE_IMPORTS_END */\nfunction toSubscriber(nextOrObserver, error, complete) {\n if (nextOrObserver) {\n if (nextOrObserver instanceof _Subscriber.Subscriber) {\n return nextOrObserver;\n }\n\n if (nextOrObserver[_rxSubscriber.rxSubscriber]) {\n return nextOrObserver[_rxSubscriber.rxSubscriber]();\n }\n }\n\n if (!nextOrObserver && !error && !complete) {\n return new _Subscriber.Subscriber(_Observer.empty);\n }\n\n return new _Subscriber.Subscriber(nextOrObserver, error, complete);\n}","map":{"mappings":[{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":15,"column":9}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":15,"column":21}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":22},"generated":{"line":15,"column":22}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":15,"column":36}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":22},"generated":{"line":15,"column":38}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":15,"column":43}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":22},"generated":{"line":15,"column":45}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":15,"column":53}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":11,"column":22},"generated":{"line":15,"column":55}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":12,"column":4},"generated":{"line":16,"column":6}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":12,"column":8},"generated":{"line":16,"column":22}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":13,"column":6},"generated":{"line":17,"column":8}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":13,"column":30},"generated":{"line":17,"column":22}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":13,"column":46},"generated":{"line":17,"column":34}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":13,"column":46},"generated":{"line":17,"column":58}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":14,"column":5},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":14,"column":5},"generated":{"line":18,"column":13}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":14,"column":5},"generated":{"line":18,"column":27}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":16,"column":4},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":6},"generated":{"line":21,"column":8}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":21,"column":22}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":21,"column":23}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":13},"generated":{"line":21,"column":49}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":17,"column":28},"generated":{"line":21,"column":52}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":22,"column":13}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":22,"column":27}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":22,"column":28}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":22,"column":54}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":22,"column":55}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":18,"column":5},"generated":{"line":22,"column":57}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":19,"column":3},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":21,"column":2},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":26,"column":6}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":26,"column":7}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":26,"column":21}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":15},"generated":{"line":26,"column":25}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":15},"generated":{"line":26,"column":26}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":4},"generated":{"line":26,"column":31}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":26},"generated":{"line":26,"column":35}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":26},"generated":{"line":26,"column":36}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":22,"column":41},"generated":{"line":26,"column":46}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":27,"column":11}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":27,"column":15}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":27,"column":37}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":27,"column":38}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":27,"column":53}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":23,"column":3},"generated":{"line":27,"column":54}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":25,"column":2},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":9}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":13}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":35}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":36}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":50}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":52}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":57}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":59}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":67}},{"source":"../../../src/internal/util/toSubscriber.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":30,"column":68}}],"sources":{"../../../src/internal/util/toSubscriber.ts":"import { Subscriber } from '../Subscriber';\nimport { rxSubscriber as rxSubscriberSymbol } from '../symbol/rxSubscriber';\nimport { empty as emptyObserver } from '../Observer';\nimport { PartialObserver } from '../types';\n\nexport function toSubscriber(\n nextOrObserver?: PartialObserver | ((value: T) => void),\n error?: (error: any) => void,\n complete?: () => void): Subscriber {\n\n if (nextOrObserver) {\n if (nextOrObserver instanceof Subscriber) {\n return (> nextOrObserver);\n }\n\n if (nextOrObserver[rxSubscriberSymbol]) {\n return nextOrObserver[rxSubscriberSymbol]();\n }\n }\n\n if (!nextOrObserver && !error && !complete) {\n return new Subscriber(emptyObserver);\n }\n\n return new Subscriber(nextOrObserver, error, complete);\n}\n"},"lineCount":null}},"hash":"63a0749c24fb467151664c6bce25c343","cacheData":{"env":{}}}