{"id":"GIlo","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/findIndex.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/findIndex.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"../operators/find","loc":{"line":2,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/findIndex.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/find.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.findIndex=r;var e=require(\"../operators/find\");function r(r,t){return function(n){return n.lift(new e.FindValueOperator(r,n,!0,t))}}","map":{"mappings":[{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":86}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":41,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":41,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":41,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":41,"column":0},"generated":{"line":1,"column":102}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":1,"column":123}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":1,"column":132}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":43,"column":10},"generated":{"line":1,"column":134}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":43,"column":36},"generated":{"line":1,"column":136}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":139}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":146}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":155}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":158}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":165}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":167}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":172}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":176}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":178}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":196}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":198}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":201}},{"source":"../../../src/internal/operators/findIndex.ts","name":null,"original":{"line":44,"column":1},"generated":{"line":1,"column":203}}],"sources":{"../../../src/internal/operators/findIndex.ts":"import { Observable } from '../Observable';\nimport { FindValueOperator } from '../operators/find';\nimport { OperatorFunction } from '../types';\n/**\n * Emits only the index of the first value emitted by the source Observable that\n * meets some condition.\n *\n * It's like {@link find}, but emits the index of the\n * found value, not the value itself.\n *\n * ![](findIndex.png)\n *\n * `findIndex` searches for the first item in the source Observable that matches\n * the specified condition embodied by the `predicate`, and returns the\n * (zero-based) index of the first occurrence in the source. Unlike\n * {@link first}, the `predicate` is required in `findIndex`, and does not emit\n * an error if a valid value is not found.\n *\n * ## Example\n * Emit the index of first click that happens on a DIV element\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const result = clicks.pipe(findIndex(ev => ev.target.tagName === 'DIV'));\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link filter}\n * @see {@link find}\n * @see {@link first}\n * @see {@link take}\n *\n * @param {function(value: T, index: number, source: Observable): boolean} predicate\n * A function called with each item to test for condition matching.\n * @param {any} [thisArg] An optional argument to determine the value of `this`\n * in the `predicate` function.\n * @return {Observable} An Observable of the index of the first item that\n * matches the condition.\n * @method find\n * @owner Observable\n */\nexport function findIndex(predicate: (value: T, index: number, source: Observable) => boolean,\n thisArg?: any): OperatorFunction {\n return (source: Observable) => source.lift(new FindValueOperator(predicate, source, true, thisArg)) as Observable;\n}\n"},"lineCount":null}},"hash":"b7193a91226dd550cad0fdcac07a0ac6","cacheData":{"env":{}}}