{"id":"../node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/subscribeToObservable.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":"../symbol/observable","loc":{"line":2,"column":48},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/symbol/observable.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.subscribeToObservable = void 0;\n\nvar _observable = require(\"../symbol/observable\");\n\n/** PURE_IMPORTS_START _symbol_observable PURE_IMPORTS_END */\nvar subscribeToObservable = function (obj) {\n return function (subscriber) {\n var obs = obj[_observable.observable]();\n\n if (typeof obs.subscribe !== 'function') {\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n } else {\n return obs.subscribe(subscriber);\n }\n };\n};\n\nexports.subscribeToObservable = subscribeToObservable;","map":{"mappings":[{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":10,"column":2},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":10,"column":11},"generated":{"line":11,"column":4}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":10,"column":18},"generated":{"line":11,"column":25}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":10,"column":35},"generated":{"line":11,"column":28}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":10,"column":39},"generated":{"line":11,"column":38}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":10,"column":35},"generated":{"line":11,"column":41}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":10,"column":39},"generated":{"line":11,"column":43}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":12,"column":9}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":11,"column":17},"generated":{"line":12,"column":19}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":11,"column":6},"generated":{"line":12,"column":29}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":11,"column":31},"generated":{"line":12,"column":31}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":13,"column":8}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":10},"generated":{"line":13,"column":11}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":14},"generated":{"line":13,"column":14}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":14},"generated":{"line":13,"column":17}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":14},"generated":{"line":13,"column":18}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":14},"generated":{"line":13,"column":40}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":14},"generated":{"line":13,"column":41}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":13,"column":4},"generated":{"line":13,"column":43}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":8}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":15}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":18}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":19}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":28}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":33}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":43}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":15,"column":45}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":16,"column":12}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":16,"column":16}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":16,"column":25}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":16,"column":26}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":16,"column":90}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":9},"generated":{"line":16,"column":91}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":15,"column":4},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":14,"column":3},"generated":{"line":17,"column":5}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":16,"column":3},"generated":{"line":17,"column":11}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":17,"column":2},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":17,"column":2},"generated":{"line":18,"column":13}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":17,"column":2},"generated":{"line":18,"column":16}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":17,"column":2},"generated":{"line":18,"column":17}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":17,"column":2},"generated":{"line":18,"column":26}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":17,"column":2},"generated":{"line":18,"column":27}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":17,"column":2},"generated":{"line":18,"column":37}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":17,"column":2},"generated":{"line":18,"column":38}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":11,"column":2},"generated":{"line":20,"column":3}},{"source":"../../../src/internal/util/subscribeToObservable.ts","name":null,"original":{"line":10,"column":2},"generated":{"line":21,"column":1}}],"sources":{"../../../src/internal/util/subscribeToObservable.ts":"import { Subscriber } from '../Subscriber';\nimport { observable as Symbol_observable } from '../symbol/observable';\n\n/**\n * Subscribes to an object that implements Symbol.observable with the given\n * Subscriber.\n * @param obj An object that implements Symbol.observable\n */\nexport const subscribeToObservable = (obj: any) => (subscriber: Subscriber) => {\n const obs = obj[Symbol_observable]();\n if (typeof obs.subscribe !== 'function') {\n // Should be caught by observable subscribe function error handling.\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n } else {\n return obs.subscribe(subscriber);\n }\n};\n"},"lineCount":null}},"hash":"f4bce3b507d20af790fcc711010bc638","cacheData":{"env":{}}}