1 line
49 KiB
JSON
1 line
49 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/operators/audit.js","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":1545395695572},{"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\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.audit = audit;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _tryCatch = require(\"../util/tryCatch\");\n\nvar _errorObject = require(\"../util/errorObject\");\n\nvar _OuterSubscriber = require(\"../OuterSubscriber\");\n\nvar _subscribeToResult = require(\"../util/subscribeToResult\");\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\n/** PURE_IMPORTS_START tslib,_util_tryCatch,_util_errorObject,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\nfunction audit(durationSelector) {\n return function auditOperatorFunction(source) {\n return source.lift(new AuditOperator(durationSelector));\n };\n}\n\nvar AuditOperator =\n/*@__PURE__*/\nfunction () {\n function AuditOperator(durationSelector) {\n this.durationSelector = durationSelector;\n }\n\n AuditOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector));\n };\n\n return AuditOperator;\n}();\n\nvar AuditSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(AuditSubscriber, _super);\n\n function AuditSubscriber(destination, durationSelector) {\n var _this = _super.call(this, destination) || this;\n\n _this.durationSelector = durationSelector;\n _this.hasValue = false;\n return _this;\n }\n\n AuditSubscriber.prototype._next = function (value) {\n this.value = value;\n this.hasValue = true;\n\n if (!this.throttled) {\n var duration = (0, _tryCatch.tryCatch)(this.durationSelector)(value);\n\n if (duration === _errorObject.errorObject) {\n this.destination.error(_errorObject.errorObject.e);\n } else {\n var innerSubscription = (0, _subscribeToResult.subscribeToResult)(this, duration);\n\n if (!innerSubscription || innerSubscription.closed) {\n this.clearThrottle();\n } else {\n this.add(this.throttled = innerSubscription);\n }\n }\n }\n };\n\n AuditSubscriber.prototype.clearThrottle = function () {\n var _a = this,\n value = _a.value,\n hasValue = _a.hasValue,\n throttled = _a.throttled;\n\n if (throttled) {\n this.remove(throttled);\n this.throttled = null;\n throttled.unsubscribe();\n }\n\n if (hasValue) {\n this.value = null;\n this.hasValue = false;\n this.destination.next(value);\n }\n };\n\n AuditSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex) {\n this.clearThrottle();\n };\n\n AuditSubscriber.prototype.notifyComplete = function () {\n this.clearThrottle();\n };\n\n return AuditSubscriber;\n}(_OuterSubscriber.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":9},"generated":{"line":21,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":21,"column":14}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":21,"column":15}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":21,"column":31}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":21,"column":33}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":22,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":11},"generated":{"line":22,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":22,"column":39}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":27},"generated":{"line":22,"column":40}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":22,"column":46}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":57,"column":41},"generated":{"line":22,"column":48}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":23}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":40}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":41}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":57}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":58}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":23,"column":59}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":61,"column":0},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":27,"column":4}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":27,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":80},"generated":{"line":29,"column":12}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":30,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":30,"column":25}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":30,"column":43}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":31,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":31,"column":25}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":31,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":31,"column":44}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":11},"generated":{"line":34,"column":15}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":11},"generated":{"line":34,"column":16}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":18},"generated":{"line":34,"column":26}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":28},"generated":{"line":34,"column":33}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":32},"generated":{"line":34,"column":43}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":28},"generated":{"line":34,"column":53}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":54},"generated":{"line":34,"column":55}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":28},"generated":{"line":34,"column":61}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":66,"column":66},"generated":{"line":34,"column":63}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":32}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":47}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":48}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":58}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":60}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":65}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":81}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":82}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":35,"column":83}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":61,"column":0},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":38,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":61,"column":0},"generated":{"line":38,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":0},"generated":{"line":39,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":39,"column":1}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":41,"column":4}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":41,"column":19}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":57},"generated":{"line":43,"column":10}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":43,"column":16}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":57},"generated":{"line":43,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":44,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":44,"column":2}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":44,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":44,"column":10}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":44,"column":19}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":44,"column":20}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":44,"column":35}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":14},"generated":{"line":44,"column":37}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":44,"column":43}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":46,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":46,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":83,"column":10},"generated":{"line":46,"column":40}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":46,"column":58}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":8}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":13}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":16}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":23}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":38},"generated":{"line":47,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":32}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":34}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":45}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":80},"generated":{"line":47,"column":50}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":54}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":49,"column":4}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":49,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":49,"column":10}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":49,"column":26}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":36},"generated":{"line":49,"column":29}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":49,"column":45}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":51,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":51,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":51,"column":16}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":52,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":14},"generated":{"line":54,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":14},"generated":{"line":54,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":54,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":54,"column":36}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":54,"column":46}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":54,"column":51}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":54,"column":53}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":55,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":55,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":55,"column":14}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":88,"column":17},"generated":{"line":55,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":55,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":89,"column":4},"generated":{"line":56,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":89,"column":9},"generated":{"line":56,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":89,"column":4},"generated":{"line":56,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":89,"column":14},"generated":{"line":56,"column":20}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":89,"column":4},"generated":{"line":56,"column":24}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":90,"column":6},"generated":{"line":58,"column":8}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":90,"column":6},"generated":{"line":58,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":90,"column":12},"generated":{"line":58,"column":14}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":90,"column":23},"generated":{"line":58,"column":25}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":6},"generated":{"line":59,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":10},"generated":{"line":59,"column":10}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":18},"generated":{"line":59,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":18},"generated":{"line":59,"column":21}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":23},"generated":{"line":59,"column":45}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":34},"generated":{"line":59,"column":50}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":18},"generated":{"line":59,"column":66}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":36},"generated":{"line":59,"column":68}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":18},"generated":{"line":59,"column":73}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":91,"column":6},"generated":{"line":59,"column":74}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":92,"column":8},"generated":{"line":61,"column":10}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":92,"column":13},"generated":{"line":61,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":92,"column":13},"generated":{"line":61,"column":23}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":92,"column":31},"generated":{"line":61,"column":49}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":62,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":62,"column":13}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":62,"column":24}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":62,"column":25}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":62,"column":30}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":62,"column":31}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":62,"column":56}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":93,"column":7},"generated":{"line":62,"column":57}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":94,"column":8},"generated":{"line":63,"column":13}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":64,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":12},"generated":{"line":64,"column":12}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":13},"generated":{"line":64,"column":29}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":64,"column":32}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":34},"generated":{"line":64,"column":74}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":64,"column":78}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":52},"generated":{"line":64,"column":80}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":30},"generated":{"line":64,"column":88}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":95,"column":8},"generated":{"line":64,"column":89}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":10},"generated":{"line":66,"column":12}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":10},"generated":{"line":66,"column":13}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":10},"generated":{"line":66,"column":30}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":31},"generated":{"line":66,"column":34}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":31},"generated":{"line":66,"column":51}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":31},"generated":{"line":66,"column":52}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":96,"column":31},"generated":{"line":66,"column":60}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":67,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":67,"column":15}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":67,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":98,"column":10},"generated":{"line":68,"column":15}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":69,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":69,"column":15}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":69,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":69,"column":19}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":69,"column":24}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":69,"column":33}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":69,"column":36}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":69,"column":53}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":100,"column":7},"generated":{"line":70,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":101,"column":5},"generated":{"line":71,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":102,"column":3},"generated":{"line":72,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":104,"column":2},"generated":{"line":73,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":75,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":10},"generated":{"line":75,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":12},"generated":{"line":75,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":75,"column":44}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":105,"column":19},"generated":{"line":75,"column":56}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":76,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":76,"column":8}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":76,"column":10}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":76,"column":13}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":76,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":77,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":77,"column":8}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":77,"column":13}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":77,"column":16}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":77,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":77,"column":19}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":77,"column":24}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":78,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":78,"column":8}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":78,"column":16}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":78,"column":19}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":78,"column":21}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":78,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":78,"column":30}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":79,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":79,"column":8}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":79,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":79,"column":20}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":79,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":19},"generated":{"line":79,"column":23}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":79,"column":32}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":107,"column":6},"generated":{"line":81,"column":8}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":107,"column":17},"generated":{"line":81,"column":19}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":108,"column":6},"generated":{"line":82,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":82,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":108,"column":6},"generated":{"line":82,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":82,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":108,"column":6},"generated":{"line":82,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":83,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":83,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":83,"column":20}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":109,"column":16},"generated":{"line":83,"column":23}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":83,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":84,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":84,"column":6}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":84,"column":15}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":84,"column":16}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":84,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":111,"column":4},"generated":{"line":85,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":112,"column":6},"generated":{"line":87,"column":8}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":112,"column":16},"generated":{"line":87,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":88,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":113,"column":11},"generated":{"line":88,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":88,"column":16}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":113,"column":19},"generated":{"line":88,"column":19}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":88,"column":23}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":114,"column":6},"generated":{"line":89,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":114,"column":11},"generated":{"line":89,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":114,"column":6},"generated":{"line":89,"column":19}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":114,"column":22},"generated":{"line":89,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":114,"column":6},"generated":{"line":89,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":90,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":90,"column":11}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":90,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":90,"column":23}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":90,"column":27}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":90,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":90,"column":33}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":116,"column":3},"generated":{"line":91,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":118,"column":2},"generated":{"line":92,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":9},"generated":{"line":94,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":9},"generated":{"line":94,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":41}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":51}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":61}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":63}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":73}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":75}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":85}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":87}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":97}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":119,"column":25},"generated":{"line":94,"column":99}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":120,"column":3},"generated":{"line":95,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":120,"column":3},"generated":{"line":95,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":120,"column":3},"generated":{"line":95,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":122,"column":2},"generated":{"line":96,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":9},"generated":{"line":98,"column":17}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":9},"generated":{"line":98,"column":18}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":25},"generated":{"line":98,"column":28}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":25},"generated":{"line":98,"column":45}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":123,"column":25},"generated":{"line":98,"column":57}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":99,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":99,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":99,"column":22}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":125,"column":0},"generated":{"line":100,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":102,"column":0}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":102,"column":9}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":102,"column":24}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":103,"column":1}},{"source":"../../../src/internal/operators/audit.ts","name":null,"original":{"line":75,"column":36},"generated":{"line":103,"column":34}}],"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":"c4d425de38e040916ebdb5013dd8d033","cacheData":{"env":{}}} |