webdetector/.cache/c7/fc7b31f94111085745069c5cd53b32.json
2018-12-21 13:36:28 +01:00

1 line
20 KiB
JSON

{"id":"M6Em","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/multicast.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/multicast.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":"../observable/ConnectableObservable","loc":{"line":2,"column":48},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/multicast.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.multicast=e,exports.MulticastOperator=void 0;var t=require(\"../observable/ConnectableObservable\");function e(e,c){return function(o){var n;if(n=\"function\"==typeof e?e:function(){return e},\"function\"==typeof c)return o.lift(new r(n,c));var s=Object.create(o,t.connectableObservableDescriptor);return s.source=o,s.subjectFactory=n,s}}var r=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var r=this.selector,c=this.subjectFactory(),o=r(c).subscribe(t);return o.add(e.subscribe(c)),o},t}();exports.MulticastOperator=r;","map":{"mappings":[{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":86}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":88}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":96}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":119}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":1,"column":121}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":1,"column":125}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":1,"column":127}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":1,"column":135}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":37,"column":2},"generated":{"line":1,"column":174}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":37,"column":9},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":37,"column":18},"generated":{"line":1,"column":185}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":37,"column":44},"generated":{"line":1,"column":187}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":38,"column":4},"generated":{"line":1,"column":190}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":38,"column":4},"generated":{"line":1,"column":197}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":38,"column":41},"generated":{"line":1,"column":206}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":39,"column":8},"generated":{"line":1,"column":209}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":39,"column":8},"generated":{"line":1,"column":213}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":48,"column":6},"generated":{"line":1,"column":215}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":1,"column":218}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":40,"column":41},"generated":{"line":1,"column":220}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":40,"column":6},"generated":{"line":1,"column":239}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":41,"column":5},"generated":{"line":1,"column":241}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":43,"column":27},"generated":{"line":1,"column":243}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":254}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":44,"column":8},"generated":{"line":1,"column":261}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":48,"column":25},"generated":{"line":1,"column":264}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":48,"column":13},"generated":{"line":1,"column":283}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":285}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":292}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":294}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":299}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":303}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":305}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":307}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":52,"column":4},"generated":{"line":1,"column":311}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":52,"column":4},"generated":{"line":1,"column":315}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":52,"column":22},"generated":{"line":1,"column":317}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":52,"column":25},"generated":{"line":1,"column":324}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":331}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":333}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":52,"column":22},"generated":{"line":1,"column":335}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":56,"column":4},"generated":{"line":1,"column":368}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":1,"column":375}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":53,"column":16},"generated":{"line":1,"column":377}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":53,"column":16},"generated":{"line":1,"column":384}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":55,"column":4},"generated":{"line":1,"column":386}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":55,"column":38},"generated":{"line":1,"column":388}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":55,"column":50},"generated":{"line":1,"column":403}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":56,"column":4},"generated":{"line":1,"column":405}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":2},"generated":{"line":1,"column":408}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":2},"generated":{"line":1,"column":412}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":414}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":425}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":434}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":436}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":54},"generated":{"line":1,"column":438}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":61,"column":22},"generated":{"line":1,"column":441}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":61,"column":22},"generated":{"line":1,"column":446}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":61,"column":22},"generated":{"line":1,"column":461}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":62,"column":3},"generated":{"line":1,"column":463}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":62,"column":3},"generated":{"line":1,"column":468}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":62,"column":3},"generated":{"line":1,"column":477}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":479}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":64,"column":12},"generated":{"line":1,"column":486}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":64,"column":12},"generated":{"line":1,"column":488}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":64,"column":12},"generated":{"line":1,"column":498}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":64,"column":30},"generated":{"line":1,"column":503}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":64,"column":30},"generated":{"line":1,"column":512}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":64,"column":30},"generated":{"line":1,"column":514}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":65,"column":10},"generated":{"line":1,"column":517}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":65,"column":10},"generated":{"line":1,"column":521}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":65,"column":20},"generated":{"line":1,"column":523}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":65,"column":25},"generated":{"line":1,"column":528}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":66,"column":10},"generated":{"line":1,"column":537}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":66,"column":10},"generated":{"line":1,"column":539}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":66,"column":25},"generated":{"line":1,"column":544}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":67,"column":4},"generated":{"line":1,"column":561}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":67,"column":21},"generated":{"line":1,"column":563}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":67,"column":28},"generated":{"line":1,"column":565}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":67,"column":38},"generated":{"line":1,"column":568}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":67,"column":48},"generated":{"line":1,"column":578}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":69,"column":3},"generated":{"line":1,"column":581}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":68,"column":4},"generated":{"line":1,"column":588}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":68,"column":11},"generated":{"line":1,"column":590}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":68,"column":11},"generated":{"line":1,"column":594}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":68,"column":24},"generated":{"line":1,"column":596}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":68,"column":24},"generated":{"line":1,"column":606}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":69,"column":3},"generated":{"line":1,"column":610}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":613}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":615}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":618}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":626}},{"source":"../../../src/internal/operators/multicast.ts","name":null,"original":{"line":60,"column":22},"generated":{"line":1,"column":644}}],"sources":{"../../../src/internal/operators/multicast.ts":"import { Subject } from '../Subject';\nimport { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { ConnectableObservable, connectableObservableDescriptor } from '../observable/ConnectableObservable';\nimport { FactoryOrValue, MonoTypeOperatorFunction, OperatorFunction, UnaryFunction } from '../types';\n\n/* tslint:disable:max-line-length */\nexport function multicast<T>(subjectOrSubjectFactory: FactoryOrValue<Subject<T>>): UnaryFunction<Observable<T>, ConnectableObservable<T>>;\nexport function multicast<T>(SubjectFactory: (this: Observable<T>) => Subject<T>): UnaryFunction<Observable<T>, ConnectableObservable<T>>;\nexport function multicast<T>(SubjectFactory: (this: Observable<T>) => Subject<T>, selector?: MonoTypeOperatorFunction<T>): MonoTypeOperatorFunction<T>;\nexport function multicast<T, R>(SubjectFactory: (this: Observable<T>) => Subject<T>): UnaryFunction<Observable<T>, ConnectableObservable<R>>;\nexport function multicast<T, R>(SubjectFactory: (this: Observable<T>) => Subject<T>, selector?: OperatorFunction<T, R>): OperatorFunction<T, R>;\n/* tslint:enable:max-line-length */\n\n/**\n * Returns an Observable that emits the results of invoking a specified selector on items\n * emitted by a ConnectableObservable that shares a single subscription to the underlying stream.\n *\n * ![](multicast.png)\n *\n * @param {Function|Subject} subjectOrSubjectFactory - Factory function to create an intermediate subject through\n * which the source sequence's elements will be multicast to the selector function\n * or Subject to push source elements into.\n * @param {Function} [selector] - Optional selector function that can use the multicasted source stream\n * as many times as needed, without causing multiple subscriptions to the source stream.\n * Subscribers to the given source will receive all notifications of the source from the\n * time of the subscription forward.\n * @return {Observable} An Observable that emits the results of invoking the selector\n * on the items emitted by a `ConnectableObservable` that shares a single subscription to\n * the underlying stream.\n * @method multicast\n * @owner Observable\n */\nexport function multicast<T, R>(subjectOrSubjectFactory: Subject<T> | (() => Subject<T>),\n selector?: (source: Observable<T>) => Observable<R>): OperatorFunction<T, R> {\n return function multicastOperatorFunction(source: Observable<T>): Observable<R> {\n let subjectFactory: () => Subject<T>;\n if (typeof subjectOrSubjectFactory === 'function') {\n subjectFactory = <() => Subject<T>>subjectOrSubjectFactory;\n } else {\n subjectFactory = function subjectFactory() {\n return <Subject<T>>subjectOrSubjectFactory;\n };\n }\n\n if (typeof selector === 'function') {\n return source.lift(new MulticastOperator(subjectFactory, selector));\n }\n\n const connectable: any = Object.create(source, connectableObservableDescriptor);\n connectable.source = source;\n connectable.subjectFactory = subjectFactory;\n\n return <ConnectableObservable<R>> connectable;\n };\n}\n\nexport class MulticastOperator<T, R> implements Operator<T, R> {\n constructor(private subjectFactory: () => Subject<T>,\n private selector: (source: Observable<T>) => Observable<R>) {\n }\n call(subscriber: Subscriber<R>, source: any): any {\n const { selector } = this;\n const subject = this.subjectFactory();\n const subscription = selector(subject).subscribe(subscriber);\n subscription.add(source.subscribe(subject));\n return subscription;\n }\n}\n"},"lineCount":null}},"hash":"977698f3f291d918f9ae174e3d3173be","cacheData":{"env":{}}}