{"id":"../node_modules/rxjs/_esm5/internal/operators/takeUntil.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/takeUntil.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/takeUntil.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/takeUntil.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../OuterSubscriber","loc":{"line":3,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/takeUntil.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":4,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/takeUntil.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.takeUntil = takeUntil;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\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,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\nfunction takeUntil(notifier) {\n return function (source) {\n return source.lift(new TakeUntilOperator(notifier));\n };\n}\n\nvar TakeUntilOperator =\n/*@__PURE__*/\nfunction () {\n function TakeUntilOperator(notifier) {\n this.notifier = notifier;\n }\n\n TakeUntilOperator.prototype.call = function (subscriber, source) {\n var takeUntilSubscriber = new TakeUntilSubscriber(subscriber);\n var notifierSubscription = (0, _subscribeToResult.subscribeToResult)(takeUntilSubscriber, this.notifier);\n\n if (notifierSubscription && !takeUntilSubscriber.seenValue) {\n takeUntilSubscriber.add(notifierSubscription);\n return source.subscribe(takeUntilSubscriber);\n }\n\n return takeUntilSubscriber;\n };\n\n return TakeUntilOperator;\n}();\n\nvar TakeUntilSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(TakeUntilSubscriber, _super);\n\n function TakeUntilSubscriber(destination) {\n var _this = _super.call(this, destination) || this;\n\n _this.seenValue = false;\n return _this;\n }\n\n TakeUntilSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.seenValue = true;\n this.complete();\n };\n\n TakeUntilSubscriber.prototype.notifyComplete = function () {};\n\n return TakeUntilSubscriber;\n}(_OuterSubscriber.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":48,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":49,"column":2},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":49,"column":9},"generated":{"line":17,"column":9}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":49,"column":2},"generated":{"line":17,"column":18}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":49,"column":10},"generated":{"line":17,"column":19}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":49,"column":2},"generated":{"line":17,"column":27}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":49,"column":36},"generated":{"line":17,"column":29}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":18,"column":9}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":18,"column":19}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":18,"column":25}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":18,"column":27}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":11}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":17}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":18}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":22}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":23}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":27}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":44}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":45}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":53}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":54}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":19,"column":55}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":20,"column":3}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":23,"column":4}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":23,"column":21}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":47},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":47},"generated":{"line":25,"column":12}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":22},"generated":{"line":26,"column":11}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":22},"generated":{"line":26,"column":29}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":47},"generated":{"line":26,"column":39}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":27,"column":9}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":27,"column":17}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":27,"column":20}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":27,"column":28}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":10},"generated":{"line":30,"column":19}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":10},"generated":{"line":30,"column":20}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":29},"generated":{"line":30,"column":30}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":30,"column":37}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":30,"column":47}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":30,"column":57}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":56},"generated":{"line":30,"column":59}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":30,"column":65}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":57,"column":67},"generated":{"line":30,"column":67}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":31,"column":8}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":10},"generated":{"line":31,"column":27}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":30},"generated":{"line":31,"column":30}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":33},"generated":{"line":31,"column":34}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":30},"generated":{"line":31,"column":53}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":51},"generated":{"line":31,"column":54}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":30},"generated":{"line":31,"column":64}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":58,"column":4},"generated":{"line":31,"column":65}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":4},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":8},"generated":{"line":32,"column":8}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":28},"generated":{"line":32,"column":28}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":28},"generated":{"line":32,"column":31}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":33},"generated":{"line":32,"column":73}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":28},"generated":{"line":32,"column":92}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":64},"generated":{"line":32,"column":94}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":64},"generated":{"line":32,"column":99}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":28},"generated":{"line":32,"column":107}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":59,"column":4},"generated":{"line":32,"column":108}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":60,"column":6},"generated":{"line":34,"column":8}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":60,"column":26},"generated":{"line":34,"column":28}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":60,"column":30},"generated":{"line":34,"column":32}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":60,"column":30},"generated":{"line":34,"column":33}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":60,"column":50},"generated":{"line":34,"column":52}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":60,"column":51},"generated":{"line":34,"column":53}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":60,"column":52},"generated":{"line":34,"column":64}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":61,"column":6},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":61,"column":6},"generated":{"line":35,"column":6}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":61,"column":20},"generated":{"line":35,"column":25}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":61,"column":20},"generated":{"line":35,"column":26}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":61,"column":6},"generated":{"line":35,"column":29}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":61,"column":30},"generated":{"line":35,"column":30}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":61,"column":6},"generated":{"line":35,"column":50}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":36,"column":13}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":36,"column":19}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":36,"column":20}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":36,"column":29}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":36,"column":30}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":36,"column":49}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":62,"column":5},"generated":{"line":36,"column":50}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":63,"column":4},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":39,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":39,"column":11}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":39,"column":30}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":65,"column":0},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":42,"column":9}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":42,"column":26}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":0},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":53,"column":47},"generated":{"line":43,"column":1}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":45,"column":4}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":45,"column":23}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":46,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":47,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":61},"generated":{"line":47,"column":10}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":47,"column":16}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":61},"generated":{"line":47,"column":18}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":48,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":48,"column":2}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":48,"column":9}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":48,"column":10}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":48,"column":19}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":48,"column":20}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":48,"column":39}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":14},"generated":{"line":48,"column":41}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":48,"column":47}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":75,"column":2},"generated":{"line":50,"column":11}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":76,"column":4},"generated":{"line":50,"column":31}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":50,"column":44}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":8}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":13}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":16}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":14},"generated":{"line":51,"column":22}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":14},"generated":{"line":51,"column":23}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":27}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":20},"generated":{"line":51,"column":28}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":32}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":20},"generated":{"line":51,"column":34}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":45}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":20},"generated":{"line":51,"column":50}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":73,"column":2},"generated":{"line":51,"column":54}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":54,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":54,"column":11}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":54,"column":16}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":55,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":18},"generated":{"line":57,"column":21}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":18},"generated":{"line":57,"column":22}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":32}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":45}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":55}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":65}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":67}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":77}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":79}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":89}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":91}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":101}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":103}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":111}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":82,"column":26},"generated":{"line":57,"column":113}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":58,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":83,"column":9},"generated":{"line":58,"column":9}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":58,"column":18}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":83,"column":20},"generated":{"line":58,"column":21}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":58,"column":25}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":9}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":17}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":86,"column":2},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":2},"generated":{"line":62,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":2},"generated":{"line":62,"column":2}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":3},"generated":{"line":62,"column":21}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":3},"generated":{"line":62,"column":22}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":2},"generated":{"line":62,"column":31}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":3},"generated":{"line":62,"column":32}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":2},"generated":{"line":62,"column":46}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":3},"generated":{"line":62,"column":49}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":3},"generated":{"line":62,"column":61}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":89,"column":0},"generated":{"line":62,"column":62}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":88,"column":2},"generated":{"line":62,"column":63}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":64,"column":0}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":64,"column":9}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":64,"column":28}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":65,"column":1}},{"source":"../../../src/internal/operators/takeUntil.ts","name":null,"original":{"line":72,"column":40},"generated":{"line":65,"column":34}}],"sources":{"../../../src/internal/operators/takeUntil.ts":"import { Operator } from '../Operator';\nimport { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\n\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\n\nimport { MonoTypeOperatorFunction, TeardownLogic } from '../types';\n\n/**\n * Emits the values emitted by the source Observable until a `notifier`\n * Observable emits a value.\n *\n * Lets values pass until a second Observable,\n * `notifier`, emits a value. Then, it completes.\n *\n * ![](takeUntil.png)\n *\n * `takeUntil` subscribes and begins mirroring the source Observable. It also\n * monitors a second Observable, `notifier` that you provide. If the `notifier`\n * emits a value, the output Observable stops mirroring the source Observable\n * and completes. If the `notifier` doesn't emit any value and completes\n * then `takeUntil` will pass all values.\n *\n * ## Example\n * Tick every second until the first click happens\n * ```javascript\n * const interval = interval(1000);\n * const clicks = fromEvent(document, 'click');\n * const result = interval.pipe(takeUntil(clicks));\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link take}\n * @see {@link takeLast}\n * @see {@link takeWhile}\n * @see {@link skip}\n *\n * @param {Observable} notifier The Observable whose first emitted value will\n * cause the output Observable of `takeUntil` to stop emitting values from the\n * source Observable.\n * @return {Observable} An Observable that emits the values from the source\n * Observable until such time as `notifier` emits its first value.\n * @method takeUntil\n * @owner Observable\n */\nexport function takeUntil(notifier: Observable): MonoTypeOperatorFunction {\n return (source: Observable) => source.lift(new TakeUntilOperator(notifier));\n}\n\nclass TakeUntilOperator implements Operator {\n constructor(private notifier: Observable) {\n }\n\n call(subscriber: Subscriber, source: any): TeardownLogic {\n const takeUntilSubscriber = new TakeUntilSubscriber(subscriber);\n const notifierSubscription = subscribeToResult(takeUntilSubscriber, this.notifier);\n if (notifierSubscription && !takeUntilSubscriber.seenValue) {\n takeUntilSubscriber.add(notifierSubscription);\n return source.subscribe(takeUntilSubscriber);\n }\n return takeUntilSubscriber;\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass TakeUntilSubscriber extends OuterSubscriber {\n seenValue = false;\n\n constructor(destination: Subscriber, ) {\n super(destination);\n }\n\n notifyNext(outerValue: T, innerValue: R,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber): void {\n this.seenValue = true;\n this.complete();\n }\n\n notifyComplete(): void {\n // noop\n }\n}\n"},"lineCount":null}},"hash":"99737f44089be4e7c32e2965f85dc341","cacheData":{"env":{}}}