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

1 line
50 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/operators/debounceTime.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/debounceTime.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/debounceTime.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/debounceTime.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscriber","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/debounceTime.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../scheduler/async","loc":{"line":4,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/debounceTime.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/scheduler/async.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.debounceTime = debounceTime;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Subscriber = require(\"../Subscriber\");\n\nvar _async = require(\"../scheduler/async\");\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,_Subscriber,_scheduler_async PURE_IMPORTS_END */\nfunction debounceTime(dueTime, scheduler) {\n if (scheduler === void 0) {\n scheduler = _async.async;\n }\n\n return function (source) {\n return source.lift(new DebounceTimeOperator(dueTime, scheduler));\n };\n}\n\nvar DebounceTimeOperator =\n/*@__PURE__*/\nfunction () {\n function DebounceTimeOperator(dueTime, scheduler) {\n this.dueTime = dueTime;\n this.scheduler = scheduler;\n }\n\n DebounceTimeOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));\n };\n\n return DebounceTimeOperator;\n}();\n\nvar DebounceTimeSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(DebounceTimeSubscriber, _super);\n\n function DebounceTimeSubscriber(destination, dueTime, scheduler) {\n var _this = _super.call(this, destination) || this;\n\n _this.dueTime = dueTime;\n _this.scheduler = scheduler;\n _this.debouncedSubscription = null;\n _this.lastValue = null;\n _this.hasValue = false;\n return _this;\n }\n\n DebounceTimeSubscriber.prototype._next = function (value) {\n this.clearDebounce();\n this.lastValue = value;\n this.hasValue = true;\n this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));\n };\n\n DebounceTimeSubscriber.prototype._complete = function () {\n this.debouncedNext();\n this.destination.complete();\n };\n\n DebounceTimeSubscriber.prototype.debouncedNext = function () {\n this.clearDebounce();\n\n if (this.hasValue) {\n var lastValue = this.lastValue;\n this.lastValue = null;\n this.hasValue = false;\n this.destination.next(lastValue);\n }\n };\n\n DebounceTimeSubscriber.prototype.clearDebounce = function () {\n var debouncedSubscription = this.debouncedSubscription;\n\n if (debouncedSubscription !== null) {\n this.remove(debouncedSubscription);\n debouncedSubscription.unsubscribe();\n this.debouncedSubscription = null;\n }\n };\n\n return DebounceTimeSubscriber;\n}(_Subscriber.Subscriber);\n\nfunction dispatchNext(subscriber) {\n subscriber.debouncedNext();\n}","map":{"mappings":[{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":17,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":17,"column":21}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":17,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":17,"column":29}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":17,"column":31}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":17,"column":40}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":57,"column":81},"generated":{"line":17,"column":42}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":58,"column":2},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":58,"column":2},"generated":{"line":18,"column":6}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":58,"column":9},"generated":{"line":18,"column":15}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":18,"column":20}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":58,"column":31},"generated":{"line":18,"column":25}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":58,"column":2},"generated":{"line":18,"column":26}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":58,"column":31},"generated":{"line":18,"column":28}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":19,"column":4}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":19,"column":13}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":19,"column":16}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":19,"column":28}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":61,"column":0},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":22,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":22,"column":19}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":22,"column":25}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":22,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":23,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":47},"generated":{"line":23,"column":17}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":47},"generated":{"line":23,"column":18}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":23,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":47},"generated":{"line":23,"column":23}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":71},"generated":{"line":23,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":47},"generated":{"line":23,"column":47}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":71},"generated":{"line":23,"column":48}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":47},"generated":{"line":23,"column":55}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":71},"generated":{"line":23,"column":57}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":47},"generated":{"line":23,"column":66}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":23,"column":67}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":23,"column":68}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":71},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":24,"column":3}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":56},"generated":{"line":27,"column":24}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":47},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":71},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":71},"generated":{"line":29,"column":12}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":63,"column":2},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":30,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":63,"column":2},"generated":{"line":30,"column":31}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":30,"column":32}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":63,"column":2},"generated":{"line":30,"column":39}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":30,"column":41}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":63,"column":2},"generated":{"line":30,"column":50}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":30,"column":52}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":31,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":31,"column":16}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":31,"column":19}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":31,"column":26}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":66,"column":4},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":66,"column":4},"generated":{"line":32,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":66,"column":4},"generated":{"line":32,"column":18}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":66,"column":18},"generated":{"line":32,"column":21}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":66,"column":4},"generated":{"line":32,"column":30}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":35,"column":2}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":35,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":35,"column":23}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":35,"column":32}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":35,"column":33}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":35,"column":37}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":35,"column":40}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":35,"column":50}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":35,"column":60}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":35,"column":62}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":35,"column":68}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":35,"column":70}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":17}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":18}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":28}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":32}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":54}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":55}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":65}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":67}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":72}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":79}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":81}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":86}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":95}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":96}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":36,"column":97}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":75,"column":0},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":37,"column":3}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":39,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":39,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":39,"column":29}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":62,"column":71},"generated":{"line":40,"column":1}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":42,"column":26}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":83,"column":10},"generated":{"line":44,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":83,"column":22},"generated":{"line":44,"column":10}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":83,"column":10},"generated":{"line":44,"column":16}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":44,"column":18}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":81,"column":22},"generated":{"line":45,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":81,"column":22},"generated":{"line":45,"column":10}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":81,"column":29},"generated":{"line":45,"column":20}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":81,"column":37},"generated":{"line":45,"column":44}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":47,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":82,"column":46},"generated":{"line":47,"column":34}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":82,"column":46},"generated":{"line":47,"column":47}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":82,"column":46},"generated":{"line":47,"column":56}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":82,"column":46},"generated":{"line":47,"column":67}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":8}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":13}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":16}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":23}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":28}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":32}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":48},"generated":{"line":48,"column":34}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":45}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":53},"generated":{"line":48,"column":50}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":48,"column":54}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":50,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":50,"column":4}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":50,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":50,"column":10}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":50,"column":17}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":77,"column":19},"generated":{"line":50,"column":20}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":50,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":51,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":51,"column":4}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":51,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":51,"column":10}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":51,"column":19}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":78,"column":30},"generated":{"line":51,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":51,"column":31}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":53,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":53,"column":4}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":53,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":53,"column":10}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":53,"column":19}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":53,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":53,"column":26}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":54,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":54,"column":4}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":54,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":54,"column":10}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":54,"column":18}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":54,"column":21}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":54,"column":26}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":87,"column":4},"generated":{"line":55,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":87,"column":9},"generated":{"line":55,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":87,"column":4},"generated":{"line":55,"column":16}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":89,"column":20},"generated":{"line":58,"column":24}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":89,"column":20},"generated":{"line":58,"column":25}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":89,"column":25},"generated":{"line":58,"column":35}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":89,"column":25},"generated":{"line":58,"column":43}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":89,"column":25},"generated":{"line":58,"column":53}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":89,"column":25},"generated":{"line":58,"column":58}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":89,"column":25},"generated":{"line":58,"column":60}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":90,"column":4},"generated":{"line":59,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":90,"column":9},"generated":{"line":59,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":90,"column":4},"generated":{"line":59,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":91,"column":3},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":91,"column":3},"generated":{"line":60,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":91,"column":3},"generated":{"line":60,"column":18}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":91,"column":3},"generated":{"line":60,"column":21}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":91,"column":3},"generated":{"line":60,"column":26}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":93,"column":12},"generated":{"line":61,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":93,"column":12},"generated":{"line":61,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":93,"column":12},"generated":{"line":61,"column":17}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":93,"column":12},"generated":{"line":61,"column":20}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":93,"column":12},"generated":{"line":61,"column":24}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":4},"generated":{"line":62,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":62,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":4},"generated":{"line":62,"column":12}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":62,"column":13}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":62,"column":18}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":62,"column":39}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":42}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":47}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":56}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":57}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":65}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":66}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":78}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":80}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":85}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":92}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":94}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":25},"generated":{"line":62,"column":98}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":94,"column":4},"generated":{"line":62,"column":99}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":2},"generated":{"line":65,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":2},"generated":{"line":65,"column":2}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":3},"generated":{"line":65,"column":24}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":3},"generated":{"line":65,"column":25}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":2},"generated":{"line":65,"column":34}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":3},"generated":{"line":65,"column":35}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":2},"generated":{"line":65,"column":44}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":3},"generated":{"line":65,"column":47}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":3},"generated":{"line":65,"column":59}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":98,"column":2},"generated":{"line":66,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":98,"column":2},"generated":{"line":66,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":98,"column":2},"generated":{"line":66,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":99,"column":4},"generated":{"line":67,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":67,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":99,"column":4},"generated":{"line":67,"column":20}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":99,"column":9},"generated":{"line":67,"column":21}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":99,"column":4},"generated":{"line":67,"column":29}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":96,"column":2},"generated":{"line":68,"column":3}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":70,"column":24}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":70,"column":25}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":70,"column":35}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":102,"column":33},"generated":{"line":70,"column":51}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":102,"column":33},"generated":{"line":70,"column":63}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":108,"column":6},"generated":{"line":71,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":73,"column":8}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":109,"column":11},"generated":{"line":73,"column":13}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":109,"column":19},"generated":{"line":73,"column":23}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":110,"column":6},"generated":{"line":74,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":74,"column":10}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":110,"column":11},"generated":{"line":74,"column":19}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":110,"column":22},"generated":{"line":74,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":110,"column":27},"generated":{"line":74,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":110,"column":6},"generated":{"line":74,"column":36}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":75,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":75,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":75,"column":20}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":75,"column":23}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":75,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":112,"column":3},"generated":{"line":76,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":112,"column":3},"generated":{"line":76,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":112,"column":3},"generated":{"line":76,"column":19}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":112,"column":3},"generated":{"line":76,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":112,"column":3},"generated":{"line":76,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":77,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":77,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":77,"column":22}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":77,"column":23}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":77,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":77,"column":28}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":77,"column":37}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":115,"column":4},"generated":{"line":78,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":118,"column":18},"generated":{"line":81,"column":24}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":118,"column":18},"generated":{"line":81,"column":25}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":118,"column":18},"generated":{"line":81,"column":35}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":118,"column":41},"generated":{"line":81,"column":51}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":118,"column":41},"generated":{"line":81,"column":63}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":119,"column":6},"generated":{"line":82,"column":8}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":119,"column":27},"generated":{"line":82,"column":29}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":119,"column":28},"generated":{"line":82,"column":32}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":119,"column":28},"generated":{"line":82,"column":37}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":84,"column":8}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":120,"column":11},"generated":{"line":84,"column":29}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":120,"column":32},"generated":{"line":84,"column":34}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":120,"column":35},"generated":{"line":84,"column":40}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":85,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":85,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":85,"column":17}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":85,"column":18}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":85,"column":39}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":122,"column":3},"generated":{"line":86,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":122,"column":3},"generated":{"line":86,"column":6}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":122,"column":3},"generated":{"line":86,"column":27}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":122,"column":3},"generated":{"line":86,"column":28}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":122,"column":3},"generated":{"line":86,"column":39}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":123,"column":0},"generated":{"line":87,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":123,"column":0},"generated":{"line":87,"column":11}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":123,"column":0},"generated":{"line":87,"column":32}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":123,"column":1},"generated":{"line":87,"column":35}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":123,"column":0},"generated":{"line":87,"column":39}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":88,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":125,"column":0},"generated":{"line":89,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":126,"column":2},"generated":{"line":91,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":126,"column":2},"generated":{"line":91,"column":9}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":126,"column":2},"generated":{"line":91,"column":31}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":127,"column":1},"generated":{"line":92,"column":0}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":83,"column":10},"generated":{"line":92,"column":1}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":127,"column":1},"generated":{"line":92,"column":2}},{"source":"../../../src/internal/operators/debounceTime.ts","name":null,"original":{"line":83,"column":10},"generated":{"line":92,"column":24}}],"sources":{"../../../src/internal/operators/debounceTime.ts":"import { Operator } from '../Operator';\nimport { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { async } from '../scheduler/async';\nimport { MonoTypeOperatorFunction, SchedulerLike, TeardownLogic } from '../types';\n\n/**\n * Emits a value from the source Observable only after a particular time span\n * has passed without another source emission.\n *\n * <span class=\"informal\">It's like {@link delay}, but passes only the most\n * recent value from each burst of emissions.</span>\n *\n * ![](debounceTime.png)\n *\n * `debounceTime` delays values emitted by the source Observable, but drops\n * previous pending delayed emissions if a new value arrives on the source\n * Observable. This operator keeps track of the most recent value from the\n * source Observable, and emits that only when `dueTime` enough time has passed\n * without any other value appearing on the source Observable. If a new value\n * appears before `dueTime` silence occurs, the previous value will be dropped\n * and will not be emitted on the output Observable.\n *\n * This is a rate-limiting operator, because it is impossible for more than one\n * value to be emitted in any time window of duration `dueTime`, but it is also\n * a delay-like operator since output emissions do not occur at the same time as\n * they did on the source Observable. Optionally takes a {@link SchedulerLike} for\n * managing timers.\n *\n * ## Example\n * Emit the most recent click after a burst of clicks\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const result = clicks.pipe(debounceTime(1000));\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link auditTime}\n * @see {@link debounce}\n * @see {@link delay}\n * @see {@link sampleTime}\n * @see {@link throttleTime}\n *\n * @param {number} dueTime The timeout duration in milliseconds (or the time\n * unit determined internally by the optional `scheduler`) for the window of\n * time required to wait for emission silence before emitting the most recent\n * source value.\n * @param {SchedulerLike} [scheduler=async] The {@link SchedulerLike} to use for\n * managing the timers that handle the timeout for each value.\n * @return {Observable} An Observable that delays the emissions of the source\n * Observable by the specified `dueTime`, and may drop some values if they occur\n * too frequently.\n * @method debounceTime\n * @owner Observable\n */\nexport function debounceTime<T>(dueTime: number, scheduler: SchedulerLike = async): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new DebounceTimeOperator(dueTime, scheduler));\n}\n\nclass DebounceTimeOperator<T> implements Operator<T, T> {\n constructor(private dueTime: number, private scheduler: SchedulerLike) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass DebounceTimeSubscriber<T> extends Subscriber<T> {\n private debouncedSubscription: Subscription = null;\n private lastValue: T = null;\n private hasValue: boolean = false;\n\n constructor(destination: Subscriber<T>,\n private dueTime: number,\n private scheduler: SchedulerLike) {\n super(destination);\n }\n\n protected _next(value: T) {\n this.clearDebounce();\n this.lastValue = value;\n this.hasValue = true;\n this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));\n }\n\n protected _complete() {\n this.debouncedNext();\n this.destination.complete();\n }\n\n debouncedNext(): void {\n this.clearDebounce();\n\n if (this.hasValue) {\n const { lastValue } = this;\n // This must be done *before* passing the value\n // along to the destination because it's possible for\n // the value to synchronously re-enter this operator\n // recursively when scheduled with things like\n // VirtualScheduler/TestScheduler.\n this.lastValue = null;\n this.hasValue = false;\n this.destination.next(lastValue);\n }\n }\n\n private clearDebounce(): void {\n const debouncedSubscription = this.debouncedSubscription;\n\n if (debouncedSubscription !== null) {\n this.remove(debouncedSubscription);\n debouncedSubscription.unsubscribe();\n this.debouncedSubscription = null;\n }\n }\n}\n\nfunction dispatchNext(subscriber: DebounceTimeSubscriber<any>) {\n subscriber.debouncedNext();\n}\n"},"lineCount":null}},"hash":"1d6811f0baee2d6a4e909b6b5bc24281","cacheData":{"env":{}}}