webdetector/.cache/96/8fe7495e8c7466ed9de20aecc35b4d.json
2018-12-21 13:36:28 +01:00

1 line
24 KiB
JSON

{"id":"yJbZ","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mapTo.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/mapTo.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mapTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscriber","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mapTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.mapTo=n;var e=r(require(\"tslib\")),t=require(\"../Subscriber\");function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function n(e){return function(t){return t.lift(new i(e))}}var i=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.value))},e}(),u=function(t){function r(e,r){var n=t.call(this,e)||this;return n.value=r,n}return e.__extends(r,t),r.prototype._next=function(e){this.destination.next(this.value)},r}(t.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":82}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":84}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":100}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":1,"column":110}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":1,"column":112}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":1,"column":120}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":137}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":146}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":148}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":151}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":154}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":157}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":159}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":170}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":177}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":179}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":185}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":188}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":191}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":197}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":199}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":203}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":207}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":212}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":214}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":217}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":224}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":234}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":249}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":254}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":256}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":259}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":260}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":264}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":266}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":273}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":289}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":296}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":321}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":328}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":353}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":355}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":358}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":361}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":363}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":368}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":370}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":374}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":381}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":396}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":398}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":400}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":403}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":405}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":408}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":410}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":413}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":420}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":422}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":430}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":432}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":2},"generated":{"line":1,"column":434}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":9},"generated":{"line":1,"column":443}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":10},"generated":{"line":1,"column":445}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":448}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":455}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":464}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":467}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":474}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":476}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":481}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":485}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":1,"column":487}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":1,"column":492}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":1,"column":496}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":22},"generated":{"line":1,"column":498}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":509}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":518}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":44,"column":23},"generated":{"line":1,"column":520}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":45,"column":3},"generated":{"line":1,"column":523}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":45,"column":3},"generated":{"line":1,"column":528}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":45,"column":3},"generated":{"line":1,"column":534}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":1,"column":536}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":543}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":1,"column":545}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":18},"generated":{"line":1,"column":555}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":28},"generated":{"line":1,"column":560}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":32},"generated":{"line":1,"column":569}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":48},"generated":{"line":1,"column":571}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":1,"column":574}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":1,"column":581}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":1,"column":583}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":1,"column":593}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":1,"column":597}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":1,"column":599}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":1,"column":601}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":1,"column":606}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":1,"column":615}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":22},"generated":{"line":1,"column":617}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":620}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":622}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":1,"column":631}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":634}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":643}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":62,"column":4},"generated":{"line":1,"column":645}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":62,"column":10},"generated":{"line":1,"column":647}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":4},"generated":{"line":1,"column":650}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":4},"generated":{"line":1,"column":654}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":14},"generated":{"line":1,"column":656}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":22},"generated":{"line":1,"column":658}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":23},"generated":{"line":1,"column":663}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":23},"generated":{"line":1,"column":668}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":23},"generated":{"line":1,"column":672}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":677}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":684}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":686}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":692}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":694}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":696}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":703}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":705}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":715}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":14},"generated":{"line":1,"column":717}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":9},"generated":{"line":1,"column":720}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":9},"generated":{"line":1,"column":722}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":26},"generated":{"line":1,"column":732}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":31},"generated":{"line":1,"column":738}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":38},"generated":{"line":1,"column":747}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":1,"column":750}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":1,"column":755}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":1,"column":767}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":1,"column":772}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":1,"column":777}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":785}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":787}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":788}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":1,"column":790}}],"sources":{"../../../src/internal/operators/mapTo.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { OperatorFunction } from '../types';\n\n/**\n * Emits the given constant value on the output Observable every time the source\n * Observable emits a value.\n *\n * <span class=\"informal\">Like {@link map}, but it maps every source value to\n * the same output value every time.</span>\n *\n * ![](mapTo.png)\n *\n * Takes a constant `value` as argument, and emits that whenever the source\n * Observable emits a value. In other words, ignores the actual source value,\n * and simply uses the emission moment to know when to emit the given `value`.\n *\n * ## Example\n * Map every click to the string 'Hi'\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const greetings = clicks.pipe(mapTo('Hi'));\n * greetings.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link map}\n *\n * @param {any} value The value to map each source value to.\n * @return {Observable} An Observable that emits the given `value` every time\n * the source Observable emits something.\n * @method mapTo\n * @owner Observable\n */\nexport function mapTo<T, R>(value: R): OperatorFunction<T, R> {\n return (source: Observable<T>) => source.lift(new MapToOperator(value));\n}\n\nclass MapToOperator<T, R> implements Operator<T, R> {\n\n value: R;\n\n constructor(value: R) {\n this.value = value;\n }\n\n call(subscriber: Subscriber<R>, source: any): any {\n return source.subscribe(new MapToSubscriber(subscriber, this.value));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass MapToSubscriber<T, R> extends Subscriber<T> {\n\n value: R;\n\n constructor(destination: Subscriber<R>, value: R) {\n super(destination);\n this.value = value;\n }\n\n protected _next(x: T) {\n this.destination.next(this.value);\n }\n}\n"},"lineCount":null}},"hash":"eff75ed31a681368d7aaac4355a646f5","cacheData":{"env":{}}}