1 line
47 KiB
JSON
1 line
47 KiB
JSON
{"id":"9bwY","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/race.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/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../util/isArray","loc":{"line":3,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArray.js"},{"name":"./fromArray","loc":{"line":4,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromArray.js"},{"name":"../OuterSubscriber","loc":{"line":5,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":6,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.race=n,exports.RaceSubscriber=exports.RaceOperator=void 0;var r=o(require(\"tslib\")),e=require(\"../util/isArray\"),t=require(\"./fromArray\"),s=require(\"../OuterSubscriber\"),i=require(\"../util/subscribeToResult\");function o(r){if(r&&r.__esModule)return r;var e={};if(null!=r)for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(r,t):{};s.get||s.set?Object.defineProperty(e,t,s):e[t]=r[t]}return e.default=r,e}function n(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(1===r.length){if(!(0,e.isArray)(r[0]))return r[0];r=r[0]}return(0,t.fromArray)(r,void 0).lift(new u)}var u=function(){function r(){}return r.prototype.call=function(r,e){return e.subscribe(new c(r))},r}();exports.RaceOperator=u;var c=function(e){function t(r){var t=e.call(this,r)||this;return t.hasFirst=!1,t.observables=[],t.subscriptions=[],t}return r.__extends(t,e),t.prototype._next=function(r){this.observables.push(r)},t.prototype._complete=function(){var r=this.observables,e=r.length;if(0===e)this.destination.complete();else{for(var t=0;t<e&&!this.hasFirst;t++){var s=r[t],o=(0,i.subscribeToResult)(this,s,s,t);this.subscriptions&&this.subscriptions.push(o),this.add(o)}this.observables=null}},t.prototype.notifyNext=function(r,e,t,s,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==t){var n=this.subscriptions[o];n.unsubscribe(),this.remove(n)}this.subscriptions=null}this.destination.next(e)},t}(s.OuterSubscriber);exports.RaceSubscriber=c;","map":{"mappings":[{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":81}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":83}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":91}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":106}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":114}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":132}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":134}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":138}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":140}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":142}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":150}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":160}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":162}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":170}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":189}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":191}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":199}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":214}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":216}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":224}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":0},"generated":{"line":1,"column":246}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":0},"generated":{"line":1,"column":248}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":0},"generated":{"line":1,"column":256}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":285}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":294}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":296}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":299}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":302}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":305}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":307}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":318}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":325}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":327}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":331}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":333}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":336}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":339}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":345}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":347}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":351}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":355}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":360}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":362}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":365}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":372}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":382}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":397}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":402}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":404}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":407}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":408}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":412}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":414}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":421}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":437}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":444}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":469}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":476}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":501}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":503}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":506}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":509}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":511}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":516}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":518}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":522}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":529}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":544}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":546}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":548}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":551}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":553}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":556}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":558}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":561}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":568}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":570}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":578}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":580}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":582}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":591}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":595}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":87},"generated":{"line":1,"column":599}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":87},"generated":{"line":1,"column":603}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":605}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":608}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":610}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":612}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":614}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":1,"column":624}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":87},"generated":{"line":1,"column":631}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":635}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":637}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":640}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":650}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":4},"generated":{"line":1,"column":653}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":27},"generated":{"line":1,"column":656}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":4},"generated":{"line":1,"column":660}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":16},"generated":{"line":1,"column":662}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":30},"generated":{"line":1,"column":669}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":670}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":675}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":677}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":679}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":1,"column":688}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":44},"generated":{"line":1,"column":690}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":694}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":701}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":1,"column":703}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":1,"column":706}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":1,"column":708}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":1,"column":710}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":713}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":720}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":722}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":724}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":735}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":742}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":745}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":750}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":1,"column":754}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":1,"column":757}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":1,"column":761}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":1,"column":763}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":1,"column":774}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":1,"column":783}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":1,"column":788}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":11},"generated":{"line":1,"column":795}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":11},"generated":{"line":1,"column":797}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":18},"generated":{"line":1,"column":807}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":1,"column":812}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":32},"generated":{"line":1,"column":821}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":47},"generated":{"line":1,"column":823}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":1,"column":826}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":1,"column":833}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":1,"column":835}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":1,"column":845}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":1,"column":849}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":1,"column":851}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":1,"column":856}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":1,"column":858}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":861}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":869}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":882}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":884}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":888}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":890}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":60},"generated":{"line":1,"column":899}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":1,"column":902}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":1,"column":911}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":1,"column":913}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":1,"column":916}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":1,"column":920}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":1,"column":922}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":30},"generated":{"line":1,"column":924}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":36},"generated":{"line":1,"column":929}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":36},"generated":{"line":1,"column":934}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":36},"generated":{"line":1,"column":938}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":943}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":1,"column":950}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":1,"column":952}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":21},"generated":{"line":1,"column":962}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":1,"column":964}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":1,"column":966}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":23},"generated":{"line":1,"column":978}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":981}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":983}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":997}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":1000}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":1002}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":1,"column":1009}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":1,"column":1011}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":1,"column":1021}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":14},"generated":{"line":1,"column":1023}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":1,"column":1026}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":1,"column":1028}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":25},"generated":{"line":1,"column":1038}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":1,"column":1044}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":38},"generated":{"line":1,"column":1053}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":1,"column":1056}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":1,"column":1061}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":1,"column":1073}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":1,"column":1078}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":1,"column":1082}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":1,"column":1084}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":24},"generated":{"line":1,"column":1094}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":29},"generated":{"line":1,"column":1104}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":10},"generated":{"line":1,"column":1115}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":10},"generated":{"line":1,"column":1119}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":16},"generated":{"line":1,"column":1121}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":28},"generated":{"line":1,"column":1126}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":8},"generated":{"line":1,"column":1138}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":1,"column":1140}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":19},"generated":{"line":1,"column":1142}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":84,"column":6},"generated":{"line":1,"column":1149}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":1,"column":1152}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":84,"column":6},"generated":{"line":1,"column":1156}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":1158}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":1163}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":1175}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":86,"column":6},"generated":{"line":1,"column":1190}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":8},"generated":{"line":1,"column":1191}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":8},"generated":{"line":1,"column":1195}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":1,"column":1199}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":1,"column":1201}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":1,"column":1203}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":22},"generated":{"line":1,"column":1205}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":25},"generated":{"line":1,"column":1209}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":37},"generated":{"line":1,"column":1214}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":40},"generated":{"line":1,"column":1223}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":40},"generated":{"line":1,"column":1227}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":12},"generated":{"line":1,"column":1228}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":12},"generated":{"line":1,"column":1232}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":24},"generated":{"line":1,"column":1234}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":27},"generated":{"line":1,"column":1236}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":12},"generated":{"line":1,"column":1239}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":17},"generated":{"line":1,"column":1242}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":1,"column":1244}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":1,"column":1246}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":1,"column":1265}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":1,"column":1270}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":1,"column":1272}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":1,"column":1274}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":91,"column":10},"generated":{"line":1,"column":1277}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":91,"column":15},"generated":{"line":1,"column":1282}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":1297}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":1302}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":1316}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":1321}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":94,"column":7},"generated":{"line":1,"column":1324}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":94,"column":7},"generated":{"line":1,"column":1329}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":94,"column":7},"generated":{"line":1,"column":1333}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":96,"column":5},"generated":{"line":1,"column":1336}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":96,"column":5},"generated":{"line":1,"column":1341}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":96,"column":5},"generated":{"line":1,"column":1353}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":1,"column":1360}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":1,"column":1362}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":1,"column":1372}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":1,"column":1383}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":1,"column":1392}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":1,"column":1394}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":1,"column":1396}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":1,"column":1398}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":1,"column":1400}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":1,"column":1403}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":1,"column":1407}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":103,"column":11},"generated":{"line":1,"column":1412}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":1,"column":1421}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":105,"column":11},"generated":{"line":1,"column":1422}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":105,"column":11},"generated":{"line":1,"column":1427}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":105,"column":22},"generated":{"line":1,"column":1437}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":1,"column":1439}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":1,"column":1443}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":13},"generated":{"line":1,"column":1447}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":13},"generated":{"line":1,"column":1449}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":18},"generated":{"line":1,"column":1451}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":18},"generated":{"line":1,"column":1453}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":28},"generated":{"line":1,"column":1458}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":30},"generated":{"line":1,"column":1472}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":30},"generated":{"line":1,"column":1479}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":107,"column":10},"generated":{"line":1,"column":1483}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":107,"column":10},"generated":{"line":1,"column":1486}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":107,"column":14},"generated":{"line":1,"column":1490}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":107,"column":26},"generated":{"line":1,"column":1492}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":10},"generated":{"line":1,"column":1493}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":10},"generated":{"line":1,"column":1497}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":23},"generated":{"line":1,"column":1499}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":34},"generated":{"line":1,"column":1504}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":37},"generated":{"line":1,"column":1518}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":1,"column":1521}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":110,"column":22},"generated":{"line":1,"column":1523}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":1,"column":1537}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":1,"column":1542}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":1,"column":1549}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":1,"column":1552}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":1,"column":1557}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":1,"column":1571}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":1,"column":1576}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":1,"column":1581}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":1,"column":1593}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":1,"column":1598}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":1602}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":1604}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":1605}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":1607}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":1624}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":1632}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":1,"column":1647}}],"sources":{"../../../src/internal/observable/race.ts":"import { Observable } from '../Observable';\nimport { isArray } from '../util/isArray';\nimport { fromArray } from './fromArray';\nimport { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { TeardownLogic } from '../types';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\n\n/**\n * Returns an Observable that mirrors the first source Observable to emit an item.\n *\n * ## Example\n * ### Subscribes to the observable that was the first to start emitting.\n *\n * ```javascript\n * const obs1 = interval(1000).pipe(mapTo('fast one'));\n * const obs2 = interval(3000).pipe(mapTo('medium one'));\n * const obs3 = interval(5000).pipe(mapTo('slow one'));\n *\n * race(obs3, obs1, obs2)\n * .subscribe(\n * winner => console.log(winner)\n * );\n *\n * // result:\n * // a series of 'fast one'\n * ```\n *\n * @param {...Observables} ...observables sources used to race for which Observable emits first.\n * @return {Observable} an Observable that mirrors the output of the first Observable to emit an item.\n * @static true\n * @name race\n * @owner Observable\n */\nexport function race<T>(observables: Array<Observable<T>>): Observable<T>;\nexport function race<T>(observables: Array<Observable<any>>): Observable<T>;\nexport function race<T>(...observables: Array<Observable<T> | Array<Observable<T>>>): Observable<T>;\nexport function race<T>(...observables: Array<Observable<any> | Array<Observable<any>>>): Observable<T> {\n // if the only argument is an array, it was most likely called with\n // `race([obs1, obs2, ...])`\n if (observables.length === 1) {\n if (isArray(observables[0])) {\n observables = <Array<Observable<any>>>observables[0];\n } else {\n return <Observable<any>>observables[0];\n }\n }\n\n return fromArray(observables, undefined).lift(new RaceOperator<T>());\n}\n\nexport class RaceOperator<T> implements Operator<T, T> {\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new RaceSubscriber(subscriber));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nexport class RaceSubscriber<T> extends OuterSubscriber<T, T> {\n private hasFirst: boolean = false;\n private observables: Observable<any>[] = [];\n private subscriptions: Subscription[] = [];\n\n constructor(destination: Subscriber<T>) {\n super(destination);\n }\n\n protected _next(observable: any): void {\n this.observables.push(observable);\n }\n\n protected _complete() {\n const observables = this.observables;\n const len = observables.length;\n\n if (len === 0) {\n this.destination.complete();\n } else {\n for (let i = 0; i < len && !this.hasFirst; i++) {\n let observable = observables[i];\n let subscription = subscribeToResult(this, observable, observable as any, i);\n\n if (this.subscriptions) {\n this.subscriptions.push(subscription);\n }\n this.add(subscription);\n }\n this.observables = null;\n }\n }\n\n notifyNext(outerValue: T, innerValue: T,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber<T, T>): void {\n if (!this.hasFirst) {\n this.hasFirst = true;\n\n for (let i = 0; i < this.subscriptions.length; i++) {\n if (i !== outerIndex) {\n let subscription = this.subscriptions[i];\n\n subscription.unsubscribe();\n this.remove(subscription);\n }\n }\n\n this.subscriptions = null;\n }\n\n this.destination.next(innerValue);\n }\n}\n"},"lineCount":null}},"hash":"4344c64b8001fe91da96799acd52edf2","cacheData":{"env":{}}} |