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

1 line
37 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/operators/repeat.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/repeat.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/repeat.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/repeat.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscriber","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/repeat.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../observable/empty","loc":{"line":4,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/repeat.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/empty.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.repeat = repeat;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Subscriber = require(\"../Subscriber\");\n\nvar _empty = require(\"../observable/empty\");\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\n/** PURE_IMPORTS_START tslib,_Subscriber,_observable_empty PURE_IMPORTS_END */\nfunction repeat(count) {\n if (count === void 0) {\n count = -1;\n }\n\n return function (source) {\n if (count === 0) {\n return (0, _empty.empty)();\n } else if (count < 0) {\n return source.lift(new RepeatOperator(-1, source));\n } else {\n return source.lift(new RepeatOperator(count - 1, source));\n }\n };\n}\n\nvar RepeatOperator =\n/*@__PURE__*/\nfunction () {\n function RepeatOperator(count, source) {\n this.count = count;\n this.source = source;\n }\n\n RepeatOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source));\n };\n\n return RepeatOperator;\n}();\n\nvar RepeatSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(RepeatSubscriber, _super);\n\n function RepeatSubscriber(destination, count, source) {\n var _this = _super.call(this, destination) || this;\n\n _this.count = count;\n _this.source = source;\n return _this;\n }\n\n RepeatSubscriber.prototype.complete = function () {\n if (!this.isStopped) {\n var _a = this,\n source = _a.source,\n count = _a.count;\n\n if (count === 0) {\n return _super.prototype.complete.call(this);\n } else if (count > -1) {\n this.count = count - 1;\n }\n\n source.subscribe(this._unsubscribeAndRecycle());\n }\n };\n\n return RepeatSubscriber;\n}(_Subscriber.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":19,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":19,"column":26},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":19,"column":26},"generated":{"line":17,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":19,"column":26},"generated":{"line":17,"column":15}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":19,"column":26},"generated":{"line":17,"column":16}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":19,"column":26},"generated":{"line":17,"column":21}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":19,"column":26},"generated":{"line":17,"column":23}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":18,"column":6}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":18,"column":11}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":20,"column":9},"generated":{"line":18,"column":16}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":20,"column":10},"generated":{"line":18,"column":21}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":18,"column":22}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":20,"column":10},"generated":{"line":18,"column":24}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":21,"column":4},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":21,"column":4},"generated":{"line":19,"column":4}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":19,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":21,"column":8},"generated":{"line":19,"column":12}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":21,"column":13},"generated":{"line":19,"column":13}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":21,"column":4},"generated":{"line":19,"column":14}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":23,"column":5},"generated":{"line":22,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":23,"column":5},"generated":{"line":22,"column":19}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":23,"column":5},"generated":{"line":22,"column":25}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":23,"column":5},"generated":{"line":22,"column":27}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":23,"column":15},"generated":{"line":23,"column":13}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":23,"column":20},"generated":{"line":23,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":23,"column":23},"generated":{"line":23,"column":21}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":24,"column":6},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":24,"column":13},"generated":{"line":24,"column":13}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":24,"column":6},"generated":{"line":24,"column":32}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":25,"column":5},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":25,"column":11}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":25,"column":15}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":25,"column":20}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":25,"column":23}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":25,"column":24}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":25,"column":26}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":6},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":26,"column":13}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":19},"generated":{"line":26,"column":19}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":20},"generated":{"line":26,"column":20}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":26,"column":24}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":25},"generated":{"line":26,"column":25}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":29},"generated":{"line":26,"column":29}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":25},"generated":{"line":26,"column":43}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":44},"generated":{"line":26,"column":44}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":44},"generated":{"line":26,"column":45}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":25},"generated":{"line":26,"column":46}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":44},"generated":{"line":26,"column":48}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":25},"generated":{"line":26,"column":54}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":26,"column":55}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":26,"column":6},"generated":{"line":26,"column":56}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":27,"column":5},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":25,"column":11},"generated":{"line":27,"column":5}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":28,"column":4},"generated":{"line":27,"column":11}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":13}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":19}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":20}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":24}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":25}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":29}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":43}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":44}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":49}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":52}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":53}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":55}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":61}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":62}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":29,"column":1},"generated":{"line":28,"column":63}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":31,"column":0},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":32,"column":2},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":33,"column":22},"generated":{"line":33,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":33,"column":28},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":33,"column":43},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":33,"column":43},"generated":{"line":35,"column":12}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":34,"column":3},"generated":{"line":36,"column":11}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":36,"column":25}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":34,"column":3},"generated":{"line":36,"column":26}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":36,"column":31}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":34,"column":3},"generated":{"line":36,"column":33}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":36,"column":39}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":34,"column":3},"generated":{"line":36,"column":41}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":35,"column":2},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":35,"column":2},"generated":{"line":37,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":35,"column":2},"generated":{"line":37,"column":14}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":35,"column":2},"generated":{"line":37,"column":17}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":35,"column":2},"generated":{"line":37,"column":22}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":38,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":38,"column":15}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":36,"column":18},"generated":{"line":38,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":38,"column":24}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":37,"column":3},"generated":{"line":39,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":0},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":0},"generated":{"line":41,"column":2}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":0},"generated":{"line":41,"column":16}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":0},"generated":{"line":41,"column":17}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":0},"generated":{"line":41,"column":26}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":41,"column":27}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":0},"generated":{"line":41,"column":31}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":41,"column":34}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":41,"column":44}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":41,"column":54}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":41,"column":56}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":41,"column":62}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":41,"column":64}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":11}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":17}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":27}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":28}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":32}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":48}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":49}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":59}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":61}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":66}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":71}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":73}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":78}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":84}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":85}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":1},"generated":{"line":42,"column":86}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":45,"column":0},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":38,"column":0},"generated":{"line":43,"column":3}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":45,"column":34},"generated":{"line":45,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":45,"column":34},"generated":{"line":45,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":45,"column":34},"generated":{"line":45,"column":23}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":33,"column":43},"generated":{"line":46,"column":1}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":48,"column":20}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":49,"column":10},"generated":{"line":50,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":49,"column":10},"generated":{"line":50,"column":10}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":49,"column":10},"generated":{"line":50,"column":16}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":49,"column":22},"generated":{"line":50,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":47,"column":22},"generated":{"line":51,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":47,"column":22},"generated":{"line":51,"column":10}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":47,"column":22},"generated":{"line":51,"column":20}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":47,"column":35},"generated":{"line":51,"column":38}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":48,"column":22},"generated":{"line":53,"column":11}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":48,"column":43},"generated":{"line":53,"column":28}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":48,"column":43},"generated":{"line":53,"column":41}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":48,"column":43},"generated":{"line":53,"column":48}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":48,"column":43},"generated":{"line":53,"column":56}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":50,"column":3},"generated":{"line":56,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":50,"column":3},"generated":{"line":56,"column":4}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":50,"column":3},"generated":{"line":56,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":50,"column":3},"generated":{"line":56,"column":10}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":50,"column":3},"generated":{"line":56,"column":15}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":50,"column":3},"generated":{"line":56,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":50,"column":3},"generated":{"line":56,"column":23}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":57,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":57,"column":4}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":57,"column":9}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":57,"column":10}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":57,"column":16}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":57,"column":19}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":57,"column":25}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":52,"column":4},"generated":{"line":58,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":52,"column":9},"generated":{"line":58,"column":11}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":52,"column":4},"generated":{"line":58,"column":16}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":54,"column":10},"generated":{"line":61,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":54,"column":15},"generated":{"line":61,"column":19}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":54,"column":23},"generated":{"line":61,"column":29}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":54,"column":23},"generated":{"line":61,"column":40}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":54,"column":23},"generated":{"line":61,"column":52}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":55,"column":8},"generated":{"line":62,"column":14}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":55,"column":15},"generated":{"line":62,"column":25}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":63,"column":10}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":63,"column":12}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":63,"column":15}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":64,"column":10}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":64,"column":16}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":64,"column":19}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":64,"column":21}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":64,"column":22}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":65,"column":10}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":65,"column":15}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":65,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":65,"column":20}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":7},"generated":{"line":65,"column":21}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":17},"generated":{"line":67,"column":15}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":22},"generated":{"line":67,"column":20}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":56,"column":25},"generated":{"line":67,"column":23}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":68,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":13},"generated":{"line":68,"column":15}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":21},"generated":{"line":68,"column":21}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":21},"generated":{"line":68,"column":22}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":13},"generated":{"line":68,"column":31}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":31},"generated":{"line":68,"column":32}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":13},"generated":{"line":68,"column":40}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":31},"generated":{"line":68,"column":41}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":13},"generated":{"line":68,"column":45}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":31},"generated":{"line":68,"column":46}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":13},"generated":{"line":68,"column":50}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":68,"column":51}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":58,"column":7},"generated":{"line":69,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":59,"column":6},"generated":{"line":69,"column":13}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":59,"column":13},"generated":{"line":69,"column":17}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":59,"column":13},"generated":{"line":69,"column":22}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":59,"column":23},"generated":{"line":69,"column":25}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":59,"column":23},"generated":{"line":69,"column":26}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":59,"column":6},"generated":{"line":69,"column":27}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":59,"column":27},"generated":{"line":69,"column":29}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":60,"column":5},"generated":{"line":70,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":60,"column":5},"generated":{"line":70,"column":13}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":60,"column":5},"generated":{"line":70,"column":18}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":60,"column":5},"generated":{"line":70,"column":21}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":60,"column":5},"generated":{"line":70,"column":26}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":60,"column":5},"generated":{"line":70,"column":29}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":60,"column":5},"generated":{"line":70,"column":30}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":61,"column":3},"generated":{"line":71,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":0},"generated":{"line":73,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":0},"generated":{"line":73,"column":6}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":0},"generated":{"line":73,"column":12}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":0},"generated":{"line":73,"column":13}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":0},"generated":{"line":73,"column":22}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":73,"column":23}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":73,"column":28}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":73,"column":50}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":62,"column":0},"generated":{"line":73,"column":52}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":45,"column":34},"generated":{"line":74,"column":0}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":49,"column":10},"generated":{"line":78,"column":1}},{"source":"../../../src/internal/operators/repeat.ts","name":null,"original":{"line":49,"column":10},"generated":{"line":78,"column":24}}],"sources":{"../../../src/internal/operators/repeat.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { empty } from '../observable/empty';\nimport { MonoTypeOperatorFunction, TeardownLogic } from '../types';\n\n/**\n * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times.\n *\n * ![](repeat.png)\n *\n * @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield\n * an empty Observable.\n * @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most\n * count times.\n * @method repeat\n * @owner Observable\n */\nexport function repeat<T>(count: number = -1): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => {\n if (count === 0) {\n return empty();\n } else if (count < 0) {\n return source.lift(new RepeatOperator(-1, source));\n } else {\n return source.lift(new RepeatOperator(count - 1, source));\n }\n };\n}\n\nclass RepeatOperator<T> implements Operator<T, T> {\n constructor(private count: number,\n private source: Observable<T>) {\n }\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass RepeatSubscriber<T> extends Subscriber<T> {\n constructor(destination: Subscriber<any>,\n private count: number,\n private source: Observable<T>) {\n super(destination);\n }\n complete() {\n if (!this.isStopped) {\n const { source, count } = this;\n if (count === 0) {\n return super.complete();\n } else if (count > -1) {\n this.count = count - 1;\n }\n source.subscribe(this._unsubscribeAndRecycle());\n }\n }\n}\n"},"lineCount":null}},"hash":"2cdbfd9e7f42a0a05aee31ba75c98abb","cacheData":{"env":{}}}