{"id":"../node_modules/rxjs/_esm5/internal/operators/windowWhen.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowWhen.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/windowWhen.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/windowWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subject","loc":{"line":3,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subject.js"},{"name":"../util/tryCatch","loc":{"line":4,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/tryCatch.js"},{"name":"../util/errorObject","loc":{"line":5,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/errorObject.js"},{"name":"../OuterSubscriber","loc":{"line":6,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":7,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowWhen.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.windowWhen = windowWhen;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Subject = require(\"../Subject\");\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,_Subject,_util_tryCatch,_util_errorObject,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\nfunction windowWhen(closingSelector) {\n return function windowWhenOperatorFunction(source) {\n return source.lift(new WindowOperator(closingSelector));\n };\n}\n\nvar WindowOperator =\n/*@__PURE__*/\nfunction () {\n function WindowOperator(closingSelector) {\n this.closingSelector = closingSelector;\n }\n\n WindowOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new WindowSubscriber(subscriber, this.closingSelector));\n };\n\n return WindowOperator;\n}();\n\nvar WindowSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(WindowSubscriber, _super);\n\n function WindowSubscriber(destination, closingSelector) {\n var _this = _super.call(this, destination) || this;\n\n _this.destination = destination;\n _this.closingSelector = closingSelector;\n\n _this.openWindow();\n\n return _this;\n }\n\n WindowSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.openWindow(innerSub);\n };\n\n WindowSubscriber.prototype.notifyError = function (error, innerSub) {\n this._error(error);\n };\n\n WindowSubscriber.prototype.notifyComplete = function (innerSub) {\n this.openWindow(innerSub);\n };\n\n WindowSubscriber.prototype._next = function (value) {\n this.window.next(value);\n };\n\n WindowSubscriber.prototype._error = function (err) {\n this.window.error(err);\n this.destination.error(err);\n this.unsubscribeClosingNotification();\n };\n\n WindowSubscriber.prototype._complete = function () {\n this.window.complete();\n this.destination.complete();\n this.unsubscribeClosingNotification();\n };\n\n WindowSubscriber.prototype.unsubscribeClosingNotification = function () {\n if (this.closingNotification) {\n this.closingNotification.unsubscribe();\n }\n };\n\n WindowSubscriber.prototype.openWindow = function (innerSub) {\n if (innerSub === void 0) {\n innerSub = null;\n }\n\n if (innerSub) {\n this.remove(innerSub);\n innerSub.unsubscribe();\n }\n\n var prevWindow = this.window;\n\n if (prevWindow) {\n prevWindow.complete();\n }\n\n var window = this.window = new _Subject.Subject();\n this.destination.next(window);\n var closingNotifier = (0, _tryCatch.tryCatch)(this.closingSelector)();\n\n if (closingNotifier === _errorObject.errorObject) {\n var err = _errorObject.errorObject.e;\n this.destination.error(err);\n this.window.error(err);\n } else {\n this.add(this.closingNotification = (0, _subscribeToResult.subscribeToResult)(this, closingNotifier));\n }\n };\n\n return WindowSubscriber;\n}(_OuterSubscriber.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":56,"column":9},"generated":{"line":23,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":23,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":23,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":23,"column":35}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":23,"column":37}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":24,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":57,"column":11},"generated":{"line":24,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":24,"column":44}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":57,"column":45},"generated":{"line":24,"column":45}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":24,"column":51}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":57,"column":45},"generated":{"line":24,"column":53}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":17}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":22}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":23}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":27}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":41}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":42}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":57}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":58}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":25,"column":59}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":61,"column":0},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":29,"column":4}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":29,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":60},"generated":{"line":31,"column":12}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":32,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":37},"generated":{"line":32,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":32,"column":43}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":33,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":33,"column":24}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":33,"column":27}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":33,"column":42}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":11},"generated":{"line":36,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":11},"generated":{"line":36,"column":17}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":18},"generated":{"line":36,"column":27}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":32},"generated":{"line":36,"column":34}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":32},"generated":{"line":36,"column":44}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":32},"generated":{"line":36,"column":54}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":49},"generated":{"line":36,"column":56}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":32},"generated":{"line":36,"column":62}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":66,"column":61},"generated":{"line":36,"column":64}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":17}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":27}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":28}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":32}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":48}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":49}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":59}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":61}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":66}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":81}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":82}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":37,"column":83}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":68,"column":0},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":61,"column":0},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":68,"column":1},"generated":{"line":40,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":61,"column":0},"generated":{"line":40,"column":23}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":0},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":62,"column":22},"generated":{"line":41,"column":1}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":34},"generated":{"line":43,"column":4}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":34},"generated":{"line":43,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":34},"generated":{"line":44,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":34},"generated":{"line":45,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":57},"generated":{"line":45,"column":10}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":34},"generated":{"line":45,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":57},"generated":{"line":45,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":46,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":46,"column":2}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":46,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":46,"column":10}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":46,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":46,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":46,"column":36}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":46,"column":38}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":46,"column":44}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":48,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":81,"column":4},"generated":{"line":48,"column":28}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":81,"column":10},"generated":{"line":48,"column":41}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":83,"column":3},"generated":{"line":48,"column":58}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":13}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":35},"generated":{"line":49,"column":22}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":35},"generated":{"line":49,"column":23}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":27}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":28}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":32}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":34}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":45}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":62},"generated":{"line":49,"column":50}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":79,"column":24},"generated":{"line":49,"column":54}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":51,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":51,"column":4}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":51,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":51,"column":10}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":51,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":51,"column":24}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":51,"column":35}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":82,"column":4},"generated":{"line":52,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":82,"column":4},"generated":{"line":52,"column":4}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":82,"column":8},"generated":{"line":52,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":82,"column":9},"generated":{"line":52,"column":10}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":82,"column":4},"generated":{"line":52,"column":25}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":82,"column":22},"generated":{"line":52,"column":28}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":82,"column":4},"generated":{"line":52,"column":43}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":83,"column":3},"generated":{"line":56,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":83,"column":3},"generated":{"line":56,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":83,"column":3},"generated":{"line":56,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":85,"column":2},"generated":{"line":57,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":59,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":9},"generated":{"line":59,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":20},"generated":{"line":59,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":42}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":52}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":62}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":64}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":74}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":76}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":86}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":88}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":98}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":100}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":108}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":88,"column":30},"generated":{"line":59,"column":110}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":89,"column":3},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":89,"column":3},"generated":{"line":60,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":89,"column":3},"generated":{"line":60,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":89,"column":3},"generated":{"line":60,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":89,"column":3},"generated":{"line":60,"column":28}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":91,"column":2},"generated":{"line":61,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":16},"generated":{"line":63,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":16},"generated":{"line":63,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":23},"generated":{"line":63,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":23},"generated":{"line":63,"column":43}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":23},"generated":{"line":63,"column":53}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":23},"generated":{"line":63,"column":58}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":23},"generated":{"line":63,"column":60}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":23},"generated":{"line":63,"column":68}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":92,"column":23},"generated":{"line":63,"column":70}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":93,"column":3},"generated":{"line":64,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":93,"column":3},"generated":{"line":64,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":93,"column":3},"generated":{"line":64,"column":15}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":93,"column":3},"generated":{"line":64,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":93,"column":3},"generated":{"line":64,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":95,"column":2},"generated":{"line":65,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":96,"column":9},"generated":{"line":67,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":96,"column":9},"generated":{"line":67,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":96,"column":20},"generated":{"line":67,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":96,"column":30},"generated":{"line":67,"column":46}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":96,"column":30},"generated":{"line":67,"column":56}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":96,"column":30},"generated":{"line":67,"column":64}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":96,"column":30},"generated":{"line":67,"column":66}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":68,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":68,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":68,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":68,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":68,"column":28}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":99,"column":12},"generated":{"line":69,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":100,"column":16},"generated":{"line":71,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":100,"column":16},"generated":{"line":71,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":100,"column":27},"generated":{"line":71,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":100,"column":28},"generated":{"line":71,"column":37}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":100,"column":28},"generated":{"line":71,"column":47}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":100,"column":28},"generated":{"line":71,"column":52}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":100,"column":28},"generated":{"line":71,"column":54}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":101,"column":3},"generated":{"line":72,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":101,"column":3},"generated":{"line":72,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":101,"column":3},"generated":{"line":72,"column":15}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":101,"column":3},"generated":{"line":72,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":101,"column":3},"generated":{"line":72,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":101,"column":3},"generated":{"line":72,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":101,"column":3},"generated":{"line":72,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":103,"column":12},"generated":{"line":73,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":104,"column":16},"generated":{"line":75,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":104,"column":16},"generated":{"line":75,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":104,"column":27},"generated":{"line":75,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":104,"column":27},"generated":{"line":75,"column":38}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":104,"column":27},"generated":{"line":75,"column":48}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":104,"column":27},"generated":{"line":75,"column":51}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":104,"column":27},"generated":{"line":75,"column":53}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":105,"column":4},"generated":{"line":76,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":105,"column":9},"generated":{"line":76,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":105,"column":4},"generated":{"line":76,"column":15}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":105,"column":9},"generated":{"line":76,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":105,"column":4},"generated":{"line":76,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":105,"column":21},"generated":{"line":76,"column":22}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":105,"column":4},"generated":{"line":76,"column":25}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":77,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":106,"column":9},"generated":{"line":77,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":77,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":106,"column":9},"generated":{"line":77,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":77,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":106,"column":9},"generated":{"line":77,"column":27}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":106,"column":4},"generated":{"line":77,"column":30}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":107,"column":3},"generated":{"line":78,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":107,"column":3},"generated":{"line":78,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":107,"column":3},"generated":{"line":78,"column":39}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":109,"column":12},"generated":{"line":79,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":110,"column":16},"generated":{"line":81,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":110,"column":16},"generated":{"line":81,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":110,"column":27},"generated":{"line":81,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":110,"column":27},"generated":{"line":81,"column":41}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":110,"column":27},"generated":{"line":81,"column":53}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":111,"column":4},"generated":{"line":82,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":82,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":111,"column":4},"generated":{"line":82,"column":15}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":82,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":111,"column":4},"generated":{"line":82,"column":24}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":112,"column":4},"generated":{"line":83,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":112,"column":9},"generated":{"line":83,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":112,"column":4},"generated":{"line":83,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":112,"column":9},"generated":{"line":83,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":112,"column":4},"generated":{"line":83,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":113,"column":3},"generated":{"line":84,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":113,"column":3},"generated":{"line":84,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":113,"column":3},"generated":{"line":84,"column":39}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":115,"column":10},"generated":{"line":85,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":116,"column":13},"generated":{"line":87,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":116,"column":13},"generated":{"line":87,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":116,"column":13},"generated":{"line":87,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":116,"column":34},"generated":{"line":87,"column":62}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":116,"column":34},"generated":{"line":87,"column":74}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":117,"column":6},"generated":{"line":88,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":117,"column":11},"generated":{"line":88,"column":13}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":117,"column":31},"generated":{"line":88,"column":34}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":118,"column":5},"generated":{"line":89,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":118,"column":5},"generated":{"line":89,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":118,"column":5},"generated":{"line":89,"column":30}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":118,"column":5},"generated":{"line":89,"column":31}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":118,"column":5},"generated":{"line":89,"column":42}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":119,"column":3},"generated":{"line":90,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":121,"column":10},"generated":{"line":91,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":121,"column":21},"generated":{"line":93,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":121,"column":21},"generated":{"line":93,"column":19}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":121,"column":21},"generated":{"line":93,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":121,"column":21},"generated":{"line":93,"column":42}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":121,"column":61},"generated":{"line":93,"column":52}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":121,"column":21},"generated":{"line":93,"column":60}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":121,"column":61},"generated":{"line":93,"column":62}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":122,"column":4},"generated":{"line":94,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":122,"column":8},"generated":{"line":94,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":122,"column":16},"generated":{"line":94,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":122,"column":18},"generated":{"line":94,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":122,"column":18},"generated":{"line":94,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":122,"column":4},"generated":{"line":94,"column":27}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":122,"column":18},"generated":{"line":94,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":123,"column":6},"generated":{"line":95,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":123,"column":6},"generated":{"line":95,"column":6}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":123,"column":11},"generated":{"line":95,"column":14}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":123,"column":17},"generated":{"line":95,"column":17}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":123,"column":6},"generated":{"line":95,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":125,"column":5},"generated":{"line":98,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":125,"column":5},"generated":{"line":98,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":127,"column":10},"generated":{"line":99,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":127,"column":10},"generated":{"line":99,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":127,"column":10},"generated":{"line":99,"column":17}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":127,"column":20},"generated":{"line":99,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":127,"column":10},"generated":{"line":99,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":100,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":100,"column":6}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":100,"column":14}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":100,"column":15}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":100,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":130,"column":5},"generated":{"line":103,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":130,"column":5},"generated":{"line":103,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":130,"column":5},"generated":{"line":103,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":130,"column":5},"generated":{"line":103,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":132,"column":4},"generated":{"line":105,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":132,"column":10},"generated":{"line":105,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":132,"column":4},"generated":{"line":105,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":132,"column":19},"generated":{"line":105,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":133,"column":8},"generated":{"line":106,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":133,"column":8},"generated":{"line":106,"column":6}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":133,"column":9},"generated":{"line":106,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":133,"column":9},"generated":{"line":106,"column":17}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":133,"column":8},"generated":{"line":106,"column":25}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":135,"column":4},"generated":{"line":107,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":4},"generated":{"line":109,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":8},"generated":{"line":109,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":8},"generated":{"line":109,"column":14}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":8},"generated":{"line":109,"column":17}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":8},"generated":{"line":109,"column":22}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":8},"generated":{"line":109,"column":28}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":28},"generated":{"line":109,"column":31}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":28},"generated":{"line":109,"column":35}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":28},"generated":{"line":109,"column":51}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":136,"column":4},"generated":{"line":109,"column":53}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":137,"column":6},"generated":{"line":110,"column":9}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":137,"column":18},"generated":{"line":110,"column":21}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":137,"column":18},"generated":{"line":110,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":138,"column":6},"generated":{"line":111,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":138,"column":11},"generated":{"line":111,"column":23}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":138,"column":23},"generated":{"line":111,"column":26}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":138,"column":33},"generated":{"line":111,"column":50}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":138,"column":34},"generated":{"line":111,"column":55}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":138,"column":23},"generated":{"line":111,"column":70}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":139,"column":6},"generated":{"line":113,"column":8}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":139,"column":18},"generated":{"line":113,"column":23}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":139,"column":24},"generated":{"line":113,"column":28}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":139,"column":29},"generated":{"line":113,"column":54}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":5},"generated":{"line":114,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":5},"generated":{"line":114,"column":10}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":5},"generated":{"line":114,"column":13}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":5},"generated":{"line":114,"column":16}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":5},"generated":{"line":114,"column":41}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":5},"generated":{"line":114,"column":42}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":11},"generated":{"line":115,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":11},"generated":{"line":115,"column":23}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":140,"column":11},"generated":{"line":115,"column":29}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":141,"column":6},"generated":{"line":116,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":141,"column":11},"generated":{"line":116,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":141,"column":6},"generated":{"line":116,"column":17}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":141,"column":15},"generated":{"line":116,"column":18}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":141,"column":6},"generated":{"line":116,"column":23}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":141,"column":20},"generated":{"line":116,"column":24}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":141,"column":6},"generated":{"line":116,"column":27}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":142,"column":5},"generated":{"line":117,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":143,"column":3},"generated":{"line":117,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":0},"generated":{"line":118,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":0},"generated":{"line":118,"column":11}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":0},"generated":{"line":118,"column":14}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":0},"generated":{"line":118,"column":15}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":0},"generated":{"line":118,"column":20}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":0},"generated":{"line":118,"column":39}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":1},"generated":{"line":118,"column":42}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":1},"generated":{"line":118,"column":84}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":1},"generated":{"line":118,"column":88}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":1},"generated":{"line":118,"column":90}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":1},"generated":{"line":118,"column":105}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":144,"column":0},"generated":{"line":118,"column":106}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":34},"generated":{"line":119,"column":0}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":34},"generated":{"line":123,"column":1}},{"source":"../../../src/internal/operators/windowWhen.ts","name":null,"original":{"line":75,"column":34},"generated":{"line":123,"column":34}}],"sources":{"../../../src/internal/operators/windowWhen.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { Subject } from '../Subject';\nimport { Subscription } from '../Subscription';\nimport { tryCatch } from '../util/tryCatch';\nimport { errorObject } from '../util/errorObject';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { OperatorFunction } from '../types';\n\n/**\n * Branch out the source Observable values as a nested Observable using a\n * factory function of closing Observables to determine when to start a new\n * window.\n *\n * It's like {@link bufferWhen}, but emits a nested\n * Observable instead of an array.\n *\n * ![](windowWhen.png)\n *\n * Returns an Observable that emits windows of items it collects from the source\n * Observable. The output Observable emits connected, non-overlapping windows.\n * It emits the current window and opens a new one whenever the Observable\n * produced by the specified `closingSelector` function emits an item. The first\n * window is opened immediately when subscribing to the output Observable.\n *\n * ## Example\n * Emit only the first two clicks events in every window of [1-5] random seconds\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const result = clicks.pipe(\n * windowWhen(() => interval(1000 + Math.random() * 4000)),\n * map(win => win.pipe(take(2))), // each window has at most 2 emissions\n * mergeAll(), // flatten the Observable-of-Observables\n * );\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link window}\n * @see {@link windowCount}\n * @see {@link windowTime}\n * @see {@link windowToggle}\n * @see {@link bufferWhen}\n *\n * @param {function(): Observable} closingSelector A function that takes no\n * arguments and returns an Observable that signals (on either `next` or\n * `complete`) when to close the previous window and start a new one.\n * @return {Observable>} An observable of windows, which in turn\n * are Observables.\n * @method windowWhen\n * @owner Observable\n */\nexport function windowWhen(closingSelector: () => Observable): OperatorFunction> {\n return function windowWhenOperatorFunction(source: Observable) {\n return source.lift(new WindowOperator(closingSelector));\n };\n}\n\nclass WindowOperator implements Operator> {\n constructor(private closingSelector: () => Observable) {\n }\n\n call(subscriber: Subscriber>, source: any): any {\n return source.subscribe(new WindowSubscriber(subscriber, this.closingSelector));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass WindowSubscriber extends OuterSubscriber {\n private window: Subject;\n private closingNotification: Subscription;\n\n constructor(protected destination: Subscriber>,\n private closingSelector: () => Observable) {\n super(destination);\n this.openWindow();\n }\n\n notifyNext(outerValue: T, innerValue: any,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber): void {\n this.openWindow(innerSub);\n }\n\n notifyError(error: any, innerSub: InnerSubscriber): void {\n this._error(error);\n }\n\n notifyComplete(innerSub: InnerSubscriber): void {\n this.openWindow(innerSub);\n }\n\n protected _next(value: T): void {\n this.window.next(value);\n }\n\n protected _error(err: any): void {\n this.window.error(err);\n this.destination.error(err);\n this.unsubscribeClosingNotification();\n }\n\n protected _complete(): void {\n this.window.complete();\n this.destination.complete();\n this.unsubscribeClosingNotification();\n }\n\n private unsubscribeClosingNotification(): void {\n if (this.closingNotification) {\n this.closingNotification.unsubscribe();\n }\n }\n\n private openWindow(innerSub: InnerSubscriber = null): void {\n if (innerSub) {\n this.remove(innerSub);\n innerSub.unsubscribe();\n }\n\n const prevWindow = this.window;\n if (prevWindow) {\n prevWindow.complete();\n }\n\n const window = this.window = new Subject();\n this.destination.next(window);\n\n const closingNotifier = tryCatch(this.closingSelector)();\n if (closingNotifier === errorObject) {\n const err = errorObject.e;\n this.destination.error(err);\n this.window.error(err);\n } else {\n this.add(this.closingNotification = subscribeToResult(this, closingNotifier));\n }\n }\n}\n"},"lineCount":null}},"hash":"5957efc322f522453dd980fbdaee19d6","cacheData":{"env":{}}}