webdetector/.cache/e9/a02341a7110eb59cefe154e6ebf658.json

1 line
18 KiB
JSON
Raw Normal View History

2018-12-21 12:36:28 +00:00
{"id":"../node_modules/rxjs/_esm5/internal/operators/reduce.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/reduce.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/reduce.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":"./scan","loc":{"line":2,"column":21},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/reduce.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/scan.js"},{"name":"./takeLast","loc":{"line":3,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/reduce.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/takeLast.js"},{"name":"./defaultIfEmpty","loc":{"line":4,"column":31},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/reduce.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js"},{"name":"../util/pipe","loc":{"line":5,"column":21},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/reduce.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/pipe.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.reduce = reduce;\n\nvar _scan = require(\"./scan\");\n\nvar _takeLast = require(\"./takeLast\");\n\nvar _defaultIfEmpty = require(\"./defaultIfEmpty\");\n\nvar _pipe = require(\"../util/pipe\");\n\n/** PURE_IMPORTS_START _scan,_takeLast,_defaultIfEmpty,_util_pipe PURE_IMPORTS_END */\nfunction reduce(accumulator, seed) {\n if (arguments.length >= 2) {\n return function reduceOperatorFunctionWithSeed(source) {\n return (0, _pipe.pipe)((0, _scan.scan)(accumulator, seed), (0, _takeLast.takeLast)(1), (0, _defaultIfEmpty.defaultIfEmpty)(seed))(source);\n };\n }\n\n return function reduceOperatorFunction(source) {\n return (0, _pipe.pipe)((0, _scan.scan)(function (acc, value, index) {\n return accumulator(acc, value, index + 1);\n }), (0, _takeLast.takeLast)(1))(source);\n };\n}","map":{"mappings":[{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":62,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":68,"column":2},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":68,"column":6},"generated":{"line":17,"column":9}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":68,"column":2},"generated":{"line":17,"column":15}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":68,"column":16},"generated":{"line":17,"column":16}},{"source":"../../../src/internal/operators/reduce.ts","name":null,"original":{"line":68,"column":2},"generated":{"line":17,"column":27}},{"s