{"id":"5U1L","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/count.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/count.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/count.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/count.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.count=i;var t=r(require(\"tslib\")),e=require(\"../Subscriber\");function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}function i(t){return function(e){return e.lift(new n(t,e))}}var n=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new o(t,this.predicate,this.source))},t}(),o=function(e){function r(t,r,i){var n=e.call(this,t)||this;return n.predicate=r,n.source=i,n.count=0,n.index=0,n}return t.__extends(r,e),r.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},r.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(r){return void this.destination.error(r)}e&&this.count++},r.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},r}(e.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":82}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":84}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":100}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":1,"column":110}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":1,"column":112}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":1,"column":120}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":137}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":146}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":148}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":151}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":154}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":157}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":159}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":170}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":177}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":179}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":185}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":188}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":191}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":197}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":199}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":203}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":207}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":212}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":214}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":217}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":224}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":234}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":249}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":254}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":256}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":259}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":260}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":264}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":266}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":273}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":289}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":296}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":321}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":328}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":353}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":355}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":358}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":361}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":363}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":368}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":370}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":374}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":381}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":396}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":398}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":400}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":403}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":405}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":408}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":410}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":413}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":420}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":422}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":430}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":432}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":60,"column":2},"generated":{"line":1,"column":434}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":60,"column":9},"generated":{"line":1,"column":443}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":60,"column":10},"generated":{"line":1,"column":445}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":448}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":455}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":464}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":467}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":474}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":476}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":481}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":485}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":487}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":489}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":64,"column":2},"generated":{"line":1,"column":494}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":64,"column":2},"generated":{"line":1,"column":498}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":64,"column":22},"generated":{"line":1,"column":500}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":64,"column":22},"generated":{"line":1,"column":511}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":64,"column":22},"generated":{"line":1,"column":520}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":64,"column":22},"generated":{"line":1,"column":522}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":64,"column":93},"generated":{"line":1,"column":524}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":65,"column":22},"generated":{"line":1,"column":527}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":65,"column":22},"generated":{"line":1,"column":532}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":65,"column":22},"generated":{"line":1,"column":542}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":544}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":549}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":556}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":71,"column":1},"generated":{"line":1,"column":558}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":69,"column":11},"generated":{"line":1,"column":565}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":69,"column":11},"generated":{"line":1,"column":567}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":69,"column":18},"generated":{"line":1,"column":577}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":69,"column":28},"generated":{"line":1,"column":582}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":69,"column":32},"generated":{"line":1,"column":591}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":69,"column":48},"generated":{"line":1,"column":593}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":596}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":603}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":605}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":615}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":619}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":621}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":623}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":628}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":638}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":70,"column":3},"generated":{"line":1,"column":643}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":71,"column":1},"generated":{"line":1,"column":653}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":64,"column":22},"generated":{"line":1,"column":655}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":658}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":660}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":46},"generated":{"line":1,"column":669}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":82,"column":2},"generated":{"line":1,"column":672}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":82,"column":2},"generated":{"line":1,"column":681}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":85,"column":4},"generated":{"line":1,"column":683}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":85,"column":10},"generated":{"line":1,"column":685}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":85,"column":22},"generated":{"line":1,"column":687}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":83,"column":22},"generated":{"line":1,"column":690}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":83,"column":22},"generated":{"line":1,"column":694}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":83,"column":22},"generated":{"line":1,"column":696}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":83,"column":22},"generated":{"line":1,"column":698}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":83,"column":22},"generated":{"line":1,"column":703}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":83,"column":93},"generated":{"line":1,"column":708}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":83,"column":93},"generated":{"line":1,"column":712}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":86,"column":3},"generated":{"line":1,"column":717}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":84,"column":22},"generated":{"line":1,"column":724}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":84,"column":22},"generated":{"line":1,"column":726}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":84,"column":22},"generated":{"line":1,"column":736}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":1,"column":738}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":1,"column":740}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":79,"column":27},"generated":{"line":1,"column":747}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":1,"column":749}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":1,"column":751}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":757}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":759}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":761}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":767}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":86,"column":3},"generated":{"line":1,"column":769}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":771}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":82,"column":2},"generated":{"line":1,"column":778}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":82,"column":2},"generated":{"line":1,"column":780}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":82,"column":2},"generated":{"line":1,"column":790}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":82,"column":14},"generated":{"line":1,"column":792}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":89,"column":13},"generated":{"line":1,"column":795}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":89,"column":13},"generated":{"line":1,"column":797}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":89,"column":24},"generated":{"line":1,"column":807}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":89,"column":24},"generated":{"line":1,"column":813}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":89,"column":24},"generated":{"line":1,"column":822}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":90,"column":6},"generated":{"line":1,"column":825}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":90,"column":11},"generated":{"line":1,"column":830}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":91,"column":5},"generated":{"line":1,"column":840}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":91,"column":5},"generated":{"line":1,"column":845}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":91,"column":5},"generated":{"line":1,"column":859}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":93,"column":5},"generated":{"line":1,"column":862}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":93,"column":5},"generated":{"line":1,"column":867}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":97,"column":20},"generated":{"line":1,"column":876}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":97,"column":20},"generated":{"line":1,"column":878}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":97,"column":20},"generated":{"line":1,"column":888}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":97,"column":20},"generated":{"line":1,"column":902}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":97,"column":20},"generated":{"line":1,"column":911}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":914}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":918}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":100,"column":6},"generated":{"line":1,"column":920}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":1,"column":924}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":1,"column":926}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":1,"column":931}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":1,"column":941}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":1,"column":943}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":1,"column":948}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":1,"column":956}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":1,"column":961}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":102,"column":6},"generated":{"line":1,"column":969}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":102,"column":6},"generated":{"line":1,"column":975}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":104,"column":5},"generated":{"line":1,"column":978}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":1,"column":990}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":1,"column":995}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":103,"column":13},"generated":{"line":1,"column":1007}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":103,"column":13},"generated":{"line":1,"column":1013}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":107,"column":6},"generated":{"line":1,"column":1016}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":108,"column":5},"generated":{"line":1,"column":1019}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":108,"column":5},"generated":{"line":1,"column":1024}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":112,"column":9},"generated":{"line":1,"column":1033}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":112,"column":9},"generated":{"line":1,"column":1035}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":112,"column":26},"generated":{"line":1,"column":1045}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":112,"column":38},"generated":{"line":1,"column":1055}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":113,"column":9},"generated":{"line":1,"column":1066}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":113,"column":9},"generated":{"line":1,"column":1071}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":113,"column":21},"generated":{"line":1,"column":1083}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":113,"column":21},"generated":{"line":1,"column":1088}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":113,"column":31},"generated":{"line":1,"column":1093}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":114,"column":3},"generated":{"line":1,"column":1100}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":114,"column":3},"generated":{"line":1,"column":1105}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":114,"column":3},"generated":{"line":1,"column":1117}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":1129}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":1131}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":1132}},{"source":"../../../src/internal/operators/count.ts","name":null,"original":{"line":78,"column":33},"generated":{"line":1,"column":1134}}],"sources":{"../../../src/internal/operators/count.ts":"import { Observable } from '../Observable';\nimport { Operator } from '../Operator';\nimport { Observer, OperatorFunction } from '../types';\nimport { Subscriber } from '../Subscriber';\n/**\n * Counts the number of emissions on the source and emits that number when the\n * source completes.\n *\n * Tells how many values were emitted, when the source\n * completes.\n *\n * ![](count.png)\n *\n * `count` transforms an Observable that emits values into an Observable that\n * emits a single value that represents the number of values emitted by the\n * source Observable. If the source Observable terminates with an error, `count`\n * will pass this error notification along without emitting a value first. If\n * the source Observable does not terminate at all, `count` will neither emit\n * a value nor terminate. This operator takes an optional `predicate` function\n * as argument, in which case the output emission will represent the number of\n * source values that matched `true` with the `predicate`.\n *\n * ## Examples\n *\n * Counts how many seconds have passed before the first click happened\n * ```javascript\n * const seconds = interval(1000);\n * const clicks = fromEvent(document, 'click');\n * const secondsBeforeClick = seconds.pipe(takeUntil(clicks));\n * const result = secondsBeforeClick.pipe(count());\n * result.subscribe(x => console.log(x));\n * ```\n *\n * Counts how many odd numbers are there between 1 and 7\n * ```javascript\n * const numbers = range(1, 7);\n * const result = numbers.pipe(count(i => i % 2 === 1));\n * result.subscribe(x => console.log(x));\n * // Results in:\n * // 4\n * ```\n *\n * @see {@link max}\n * @see {@link min}\n * @see {@link reduce}\n *\n * @param {function(value: T, i: number, source: Observable): boolean} [predicate] A\n * boolean function to select what values are to be counted. It is provided with\n * arguments of:\n * - `value`: the value from the source Observable.\n * - `index`: the (zero-based) \"index\" of the value from the source Observable.\n * - `source`: the source Observable instance itself.\n * @return {Observable} An Observable of one number that represents the count as\n * described above.\n * @method count\n * @owner Observable\n */\n\nexport function count(predicate?: (value: T, index: number, source: Observable) => boolean): OperatorFunction {\n return (source: Observable) => source.lift(new CountOperator(predicate, source));\n}\n\nclass CountOperator implements Operator {\n constructor(private predicate?: (value: T, index: number, source: Observable) => boolean,\n private source?: Observable) {\n }\n\n call(subscriber: Subscriber, source: any): any {\n return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass CountSubscriber extends Subscriber {\n private count: number = 0;\n private index: number = 0;\n\n constructor(destination: Observer,\n private predicate?: (value: T, index: number, source: Observable) => boolean,\n private source?: Observable) {\n super(destination);\n }\n\n protected _next(value: T): void {\n if (this.predicate) {\n this._tryPredicate(value);\n } else {\n this.count++;\n }\n }\n\n private _tryPredicate(value: T) {\n let result: any;\n\n try {\n result = this.predicate(value, this.index++, this.source);\n } catch (err) {\n this.destination.error(err);\n return;\n }\n\n if (result) {\n this.count++;\n }\n }\n\n protected _complete(): void {\n this.destination.next(this.count);\n this.destination.complete();\n }\n}\n"},"lineCount":null}},"hash":"2ebe9fdbc296cb9c6f7d8498b0aac3a2","cacheData":{"env":{}}}