1 line
42 KiB
JSON
1 line
42 KiB
JSON
{"id":"Pdg2","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/audit.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/audit.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/audit.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../util/tryCatch","loc":{"line":3,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/audit.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/tryCatch.js"},{"name":"../util/errorObject","loc":{"line":4,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/audit.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/errorObject.js"},{"name":"../OuterSubscriber","loc":{"line":5,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/audit.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/operators/audit.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.audit=n;var t=u(require(\"tslib\")),e=require(\"../util/tryCatch\"),r=require(\"../util/errorObject\"),i=require(\"../OuterSubscriber\"),o=require(\"../util/subscribeToResult\");function u(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 n(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector))},t}(),l=function(i){function u(t,e){var r=i.call(this,t)||this;return r.durationSelector=e,r.hasValue=!1,r}return t.__extends(u,i),u.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var i=(0,e.tryCatch)(this.durationSelector)(t);if(i===r.errorObject)this.destination.error(r.errorObject.e);else{var u=(0,o.subscribeToResult)(this,i);!u||u.closed?this.clearThrottle():this.add(this.throttled=u)}}},u.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,r=this.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},u.prototype.notifyNext=function(t,e,r,i){this.clearThrottle()},u.prototype.notifyComplete=function(){this.clearThrottle()},u}(i.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":82}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":84}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":100}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":110}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":112}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":120}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":140}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":142}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":150}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":173}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":175}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":1,"column":205}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":1,"column":215}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":244}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":253}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":255}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":258}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":261}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":264}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":266}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":277}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":284}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":286}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":290}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":292}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":295}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":298}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":304}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":306}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":310}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":314}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":319}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":321}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":324}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":331}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":341}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":356}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":361}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":363}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":366}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":367}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":371}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":373}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":380}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":396}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":403}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":428}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":435}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":460}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":462}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":465}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":468}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":470}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":475}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":477}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":481}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":488}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":503}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":505}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":507}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":510}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":512}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":515}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":517}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":520}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":527}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":529}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":537}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":539}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":1,"column":541}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":9},"generated":{"line":1,"column":550}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":1,"column":552}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":555}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":562}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":27},"generated":{"line":1,"column":571}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":1,"column":574}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":1,"column":581}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":1,"column":583}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":1,"column":588}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":1,"column":592}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":1,"column":594}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":1,"column":599}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":1,"column":603}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":1,"column":605}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":1,"column":616}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":1,"column":625}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":1,"column":627}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":630}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":635}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":652}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":1,"column":654}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":11},"generated":{"line":1,"column":661}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":11},"generated":{"line":1,"column":663}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":18},"generated":{"line":1,"column":673}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":28},"generated":{"line":1,"column":678}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":32},"generated":{"line":1,"column":687}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":54},"generated":{"line":1,"column":689}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":692}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":699}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":701}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":711}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":715}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":717}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":719}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":724}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":1,"column":744}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":1,"column":746}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":749}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":751}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":57},"generated":{"line":1,"column":760}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":763}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":772}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":1,"column":774}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":83,"column":10},"generated":{"line":1,"column":776}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":1,"column":779}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":1,"column":783}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":1,"column":785}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":1,"column":787}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":38},"generated":{"line":1,"column":792}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":1,"column":797}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":80},"generated":{"line":1,"column":801}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":1,"column":806}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":1,"column":813}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":1,"column":815}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":36},"generated":{"line":1,"column":832}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":834}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":836}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":846}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":1,"column":848}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":850}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":857}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":859}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":869}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":14},"generated":{"line":1,"column":871}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":14},"generated":{"line":1,"column":874}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":14},"generated":{"line":1,"column":876}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":1,"column":886}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":1,"column":892}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":1,"column":901}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":90,"column":6},"generated":{"line":1,"column":904}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":1,"column":907}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":1,"column":912}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":88,"column":17},"generated":{"line":1,"column":918}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":89,"column":9},"generated":{"line":1,"column":920}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":89,"column":9},"generated":{"line":1,"column":925}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":89,"column":14},"generated":{"line":1,"column":935}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":90,"column":6},"generated":{"line":1,"column":938}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":90,"column":12},"generated":{"line":1,"column":943}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":90,"column":23},"generated":{"line":1,"column":953}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":10},"generated":{"line":1,"column":954}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":10},"generated":{"line":1,"column":958}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":18},"generated":{"line":1,"column":961}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":23},"generated":{"line":1,"column":963}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":23},"generated":{"line":1,"column":965}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":23},"generated":{"line":1,"column":975}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":34},"generated":{"line":1,"column":980}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":18},"generated":{"line":1,"column":997}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":36},"generated":{"line":1,"column":998}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":92,"column":8},"generated":{"line":1,"column":1001}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":92,"column":8},"generated":{"line":1,"column":1004}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":92,"column":13},"generated":{"line":1,"column":1008}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":92,"column":31},"generated":{"line":1,"column":1010}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":1,"column":1022}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":1,"column":1027}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":1,"column":1039}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":1,"column":1045}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":1,"column":1047}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":1,"column":1059}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":94,"column":8},"generated":{"line":1,"column":1066}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":12},"generated":{"line":1,"column":1067}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":12},"generated":{"line":1,"column":1071}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":1,"column":1074}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":34},"generated":{"line":1,"column":1076}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":34},"generated":{"line":1,"column":1078}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":34},"generated":{"line":1,"column":1097}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":52},"generated":{"line":1,"column":1102}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":10},"generated":{"line":1,"column":1106}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":31},"generated":{"line":1,"column":1109}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":31},"generated":{"line":1,"column":1111}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":1,"column":1118}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":1,"column":1123}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":1,"column":1139}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":1,"column":1144}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":1,"column":1148}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":1,"column":1153}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":1,"column":1163}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":1,"column":1169}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":1,"column":1171}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":12},"generated":{"line":1,"column":1181}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":1,"column":1195}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":1,"column":1206}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":1,"column":1210}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":1,"column":1212}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":1,"column":1217}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":1,"column":1223}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":1,"column":1225}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":1,"column":1230}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":1,"column":1239}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":1,"column":1241}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":1,"column":1246}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":107,"column":6},"generated":{"line":1,"column":1256}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":1,"column":1260}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":1,"column":1265}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":1,"column":1272}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":1,"column":1275}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":1,"column":1280}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":109,"column":16},"generated":{"line":1,"column":1290}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":1,"column":1295}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":1,"column":1297}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":112,"column":6},"generated":{"line":1,"column":1312}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":113,"column":11},"generated":{"line":1,"column":1316}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":113,"column":11},"generated":{"line":1,"column":1321}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":113,"column":19},"generated":{"line":1,"column":1327}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":114,"column":11},"generated":{"line":1,"column":1332}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":114,"column":11},"generated":{"line":1,"column":1337}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":114,"column":22},"generated":{"line":1,"column":1347}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":1,"column":1349}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":1,"column":1354}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":1,"column":1366}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":1,"column":1371}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":9},"generated":{"line":1,"column":1376}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":9},"generated":{"line":1,"column":1378}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":1,"column":1388}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":1,"column":1399}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":1,"column":1408}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":1,"column":1410}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":1,"column":1412}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":1,"column":1414}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":120,"column":3},"generated":{"line":1,"column":1417}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":120,"column":3},"generated":{"line":1,"column":1422}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":9},"generated":{"line":1,"column":1439}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":9},"generated":{"line":1,"column":1441}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":25},"generated":{"line":1,"column":1451}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":25},"generated":{"line":1,"column":1466}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1477}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1482}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":1499}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":1501}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":1502}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":1,"column":1504}}],"sources":{"../../../src/internal/operators/audit.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { MonoTypeOperatorFunction, SubscribableOrPromise, TeardownLogic } from '../types';\n\nimport { tryCatch } from '../util/tryCatch';\nimport { errorObject } from '../util/errorObject';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\n\n/**\n * Ignores source values for a duration determined by another Observable, then\n * emits the most recent value from the source Observable, then repeats this\n * process.\n *\n * <span class=\"informal\">It's like {@link auditTime}, but the silencing\n * duration is determined by a second Observable.</span>\n *\n * ![](audit.png)\n *\n * `audit` is similar to `throttle`, but emits the last value from the silenced\n * time window, instead of the first value. `audit` emits the most recent value\n * from the source Observable on the output Observable as soon as its internal\n * timer becomes disabled, and ignores source values while the timer is enabled.\n * Initially, the timer is disabled. As soon as the first source value arrives,\n * the timer is enabled by calling the `durationSelector` function with the\n * source value, which returns the \"duration\" Observable. When the duration\n * Observable emits a value or completes, the timer is disabled, then the most\n * recent source value is emitted on the output Observable, and this process\n * repeats for the next source value.\n *\n * ## Example\n *\n * Emit clicks at a rate of at most one click per second\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const result = clicks.pipe(audit(ev => interval(1000)));\n * result.subscribe(x => console.log(x));\n * ```\n * @see {@link auditTime}\n * @see {@link debounce}\n * @see {@link delayWhen}\n * @see {@link sample}\n * @see {@link throttle}\n *\n * @param {function(value: T): SubscribableOrPromise} durationSelector A function\n * that receives a value from the source Observable, for computing the silencing\n * duration, returned as an Observable or a Promise.\n * @return {Observable<T>} An Observable that performs rate-limiting of\n * emissions from the source Observable.\n * @method audit\n * @owner Observable\n */\nexport function audit<T>(durationSelector: (value: T) => SubscribableOrPromise<any>): MonoTypeOperatorFunction<T> {\n return function auditOperatorFunction(source: Observable<T>) {\n return source.lift(new AuditOperator(durationSelector));\n };\n}\n\nclass AuditOperator<T> implements Operator<T, T> {\n constructor(private durationSelector: (value: T) => SubscribableOrPromise<any>) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new AuditSubscriber<T, T>(subscriber, this.durationSelector));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass AuditSubscriber<T, R> extends OuterSubscriber<T, R> {\n\n private value: T;\n private hasValue: boolean = false;\n private throttled: Subscription;\n\n constructor(destination: Subscriber<T>,\n private durationSelector: (value: T) => SubscribableOrPromise<any>) {\n super(destination);\n }\n\n protected _next(value: T): void {\n this.value = value;\n this.hasValue = true;\n if (!this.throttled) {\n const duration = tryCatch(this.durationSelector)(value);\n if (duration === errorObject) {\n this.destination.error(errorObject.e);\n } else {\n const innerSubscription = subscribeToResult(this, duration);\n if (!innerSubscription || innerSubscription.closed) {\n this.clearThrottle();\n } else {\n this.add(this.throttled = innerSubscription);\n }\n }\n }\n }\n\n clearThrottle() {\n const { value, hasValue, throttled } = this;\n if (throttled) {\n this.remove(throttled);\n this.throttled = null;\n throttled.unsubscribe();\n }\n if (hasValue) {\n this.value = null;\n this.hasValue = false;\n this.destination.next(value);\n }\n }\n\n notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number): void {\n this.clearThrottle();\n }\n\n notifyComplete(): void {\n this.clearThrottle();\n }\n}\n"},"lineCount":null}},"hash":"61b93543913c8fdc61faca728281eace","cacheData":{"env":{}}} |