Files
WrenchBoardIonic2023/.angular/cache/14.2.0/babel-webpack/a1347d2ad2a38a3794d702179a42c42c.json
T
CHIEFSOFT\ameye cea49e295a first commit
2023-05-12 22:30:08 -04:00

1 line
2.2 KiB
JSON

{"ast":null,"code":"import { scan } from './scan';\nimport { takeLast } from './takeLast';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { pipe } from '../util/pipe';\nexport function reduce(accumulator, seed) {\n if (arguments.length >= 2) {\n return function reduceOperatorFunctionWithSeed(source) {\n return pipe(scan(accumulator, seed), takeLast(1), defaultIfEmpty(seed))(source);\n };\n }\n\n return function reduceOperatorFunction(source) {\n return pipe(scan((acc, value, index) => accumulator(acc, value, index + 1)), takeLast(1))(source);\n };\n}","map":{"version":3,"names":["scan","takeLast","defaultIfEmpty","pipe","reduce","accumulator","seed","arguments","length","reduceOperatorFunctionWithSeed","source","reduceOperatorFunction","acc","value","index"],"sources":["D:/MobileDev/WRB/WrenchBoard2023a/node_modules/rxjs/_esm2015/internal/operators/reduce.js"],"sourcesContent":["import { scan } from './scan';\nimport { takeLast } from './takeLast';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { pipe } from '../util/pipe';\nexport function reduce(accumulator, seed) {\n if (arguments.length >= 2) {\n return function reduceOperatorFunctionWithSeed(source) {\n return pipe(scan(accumulator, seed), takeLast(1), defaultIfEmpty(seed))(source);\n };\n }\n return function reduceOperatorFunction(source) {\n return pipe(scan((acc, value, index) => accumulator(acc, value, index + 1)), takeLast(1))(source);\n };\n}\n"],"mappings":"AAAA,SAASA,IAAT,QAAqB,QAArB;AACA,SAASC,QAAT,QAAyB,YAAzB;AACA,SAASC,cAAT,QAA+B,kBAA/B;AACA,SAASC,IAAT,QAAqB,cAArB;AACA,OAAO,SAASC,MAAT,CAAgBC,WAAhB,EAA6BC,IAA7B,EAAmC;EACtC,IAAIC,SAAS,CAACC,MAAV,IAAoB,CAAxB,EAA2B;IACvB,OAAO,SAASC,8BAAT,CAAwCC,MAAxC,EAAgD;MACnD,OAAOP,IAAI,CAACH,IAAI,CAACK,WAAD,EAAcC,IAAd,CAAL,EAA0BL,QAAQ,CAAC,CAAD,CAAlC,EAAuCC,cAAc,CAACI,IAAD,CAArD,CAAJ,CAAiEI,MAAjE,CAAP;IACH,CAFD;EAGH;;EACD,OAAO,SAASC,sBAAT,CAAgCD,MAAhC,EAAwC;IAC3C,OAAOP,IAAI,CAACH,IAAI,CAAC,CAACY,GAAD,EAAMC,KAAN,EAAaC,KAAb,KAAuBT,WAAW,CAACO,GAAD,EAAMC,KAAN,EAAaC,KAAK,GAAG,CAArB,CAAnC,CAAL,EAAkEb,QAAQ,CAAC,CAAD,CAA1E,CAAJ,CAAmFS,MAAnF,CAAP;EACH,CAFD;AAGH"},"metadata":{},"sourceType":"module"}