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

1 line
25 KiB
JSON

{"id":"QHfc","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/pairs.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/pairs.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":"../Observable","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/pairs.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observable.js"},{"name":"../Subscription","loc":{"line":3,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/pairs.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscription.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.pairs=s,exports.dispatch=i;var e=require(\"../Observable\"),r=require(\"../Subscription\");function s(s,t){return t?new e.Observable(function(e){var n=Object.keys(s),b=new r.Subscription;return b.add(t.schedule(i,0,{keys:n,index:0,subscriber:e,subscription:b,obj:s})),b}):new e.Observable(function(e){for(var r=Object.keys(s),i=0;i<r.length&&!e.closed;i++){var t=r[i];s.hasOwnProperty(t)&&e.next([t,s[t]])}e.complete()})}function i(e){var r=e.keys,s=e.index,i=e.subscriber,t=e.subscription,n=e.obj;if(!i.closed)if(s<r.length){var b=r[s];i.next([b,n[b]]),t.add(this.schedule({keys:r,index:s+1,subscriber:i,subscription:t,obj:n}))}else i.complete()}","map":{"mappings":[{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":82}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":84}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":92}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":89,"column":1},"generated":{"line":1,"column":101}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":103}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":109}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":117}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":1,"column":134}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":1,"column":136}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":1,"column":144}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":1,"column":163}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":1,"column":172}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":53,"column":18},"generated":{"line":1,"column":174}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":53,"column":18},"generated":{"line":1,"column":176}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":179}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":186}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":66,"column":6},"generated":{"line":1,"column":188}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":66,"column":12},"generated":{"line":1,"column":192}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":66,"column":6},"generated":{"line":1,"column":194}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":66,"column":26},"generated":{"line":1,"column":205}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":66,"column":36},"generated":{"line":1,"column":214}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":67,"column":12},"generated":{"line":1,"column":217}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":67,"column":12},"generated":{"line":1,"column":221}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":67,"column":12},"generated":{"line":1,"column":223}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":67,"column":24},"generated":{"line":1,"column":230}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":67,"column":31},"generated":{"line":1,"column":235}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":68,"column":6},"generated":{"line":1,"column":238}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":240}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":244}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":69,"column":8},"generated":{"line":1,"column":246}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":72,"column":7},"generated":{"line":1,"column":259}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":6},"generated":{"line":1,"column":266}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":13},"generated":{"line":1,"column":268}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":13},"generated":{"line":1,"column":272}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":274}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":283}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":285}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":287}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":288}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":293}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":295}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":301}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":303}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":314}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":316}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":329}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":331}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":71,"column":26},"generated":{"line":1,"column":335}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":72,"column":7},"generated":{"line":1,"column":340}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":55,"column":6},"generated":{"line":1,"column":344}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":55,"column":12},"generated":{"line":1,"column":348}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":55,"column":6},"generated":{"line":1,"column":350}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":55,"column":26},"generated":{"line":1,"column":361}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":55,"column":36},"generated":{"line":1,"column":370}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":8},"generated":{"line":1,"column":373}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":56,"column":6},"generated":{"line":1,"column":377}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":56,"column":6},"generated":{"line":1,"column":381}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":56,"column":16},"generated":{"line":1,"column":383}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":56,"column":23},"generated":{"line":1,"column":390}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":56,"column":26},"generated":{"line":1,"column":395}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":14},"generated":{"line":1,"column":398}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":17},"generated":{"line":1,"column":400}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":20},"generated":{"line":1,"column":402}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":26},"generated":{"line":1,"column":404}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":1,"column":406}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":1,"column":415}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":1,"column":417}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":1,"column":424}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":1,"column":428}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":58,"column":12},"generated":{"line":1,"column":429}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":58,"column":12},"generated":{"line":1,"column":433}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":58,"column":16},"generated":{"line":1,"column":435}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":58,"column":16},"generated":{"line":1,"column":437}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":59,"column":10},"generated":{"line":1,"column":440}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":59,"column":10},"generated":{"line":1,"column":442}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":59,"column":27},"generated":{"line":1,"column":457}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":60,"column":9},"generated":{"line":1,"column":461}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":60,"column":9},"generated":{"line":1,"column":463}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":60,"column":9},"generated":{"line":1,"column":468}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":60,"column":9},"generated":{"line":1,"column":469}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":60,"column":9},"generated":{"line":1,"column":471}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":60,"column":9},"generated":{"line":1,"column":473}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":63,"column":7},"generated":{"line":1,"column":478}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":63,"column":7},"generated":{"line":1,"column":480}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":1,"column":493}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":79,"column":10},"generated":{"line":1,"column":502}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":79,"column":14},"generated":{"line":1,"column":504}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":6},"generated":{"line":1,"column":507}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":6},"generated":{"line":1,"column":511}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":7},"generated":{"line":1,"column":513}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":18},"generated":{"line":1,"column":515}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":24},"generated":{"line":1,"column":520}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":522}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":524}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":530}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":532}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":534}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":545}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":547}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":549}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":562}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":564}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":80,"column":26},"generated":{"line":1,"column":566}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":81,"column":4},"generated":{"line":1,"column":570}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":81,"column":4},"generated":{"line":1,"column":574}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":81,"column":16},"generated":{"line":1,"column":576}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":82,"column":6},"generated":{"line":1,"column":583}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":82,"column":6},"generated":{"line":1,"column":586}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":82,"column":15},"generated":{"line":1,"column":588}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":82,"column":18},"generated":{"line":1,"column":590}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":82,"column":29},"generated":{"line":1,"column":597}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":83,"column":6},"generated":{"line":1,"column":598}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":83,"column":6},"generated":{"line":1,"column":602}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":83,"column":16},"generated":{"line":1,"column":604}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":83,"column":21},"generated":{"line":1,"column":606}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":84,"column":6},"generated":{"line":1,"column":609}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":84,"column":6},"generated":{"line":1,"column":611}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":84,"column":22},"generated":{"line":1,"column":616}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":84,"column":23},"generated":{"line":1,"column":617}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":84,"column":28},"generated":{"line":1,"column":619}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":84,"column":28},"generated":{"line":1,"column":621}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":626}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":628}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":632}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":637}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":646}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":647}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":652}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":654}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":660}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":662}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":664}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":675}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":677}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":690}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":692}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":696}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":87,"column":5},"generated":{"line":1,"column":706}},{"source":"../../../src/internal/observable/pairs.ts","name":null,"original":{"line":87,"column":5},"generated":{"line":1,"column":708}}],"sources":{"../../../src/internal/observable/pairs.ts":"import { Observable } from '../Observable';\nimport { SchedulerAction, SchedulerLike } from '../types';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\n\n/**\n * Convert an object into an Observable of `[key, value]` pairs.\n *\n * <span class=\"informal\">Turn entries of an object into a stream.</span>\n *\n * <img src=\"./img/pairs.png\" width=\"100%\">\n *\n * `pairs` takes an arbitrary object and returns an Observable that emits arrays. Each\n * emitted array has exactly two elements - the first is a key from the object\n * and the second is a value corresponding to that key. Keys are extracted from\n * an object via `Object.keys` function, which means that they will be only\n * enumerable keys that are present on an object directly - not ones inherited\n * via prototype chain.\n *\n * By default these arrays are emitted synchronously. To change that you can\n * pass a {@link SchedulerLike} as a second argument to `pairs`.\n *\n * @example <caption>Converts a javascript object to an Observable</caption>\n * ```javascript\n * const obj = {\n * foo: 42,\n * bar: 56,\n * baz: 78\n * };\n *\n * pairs(obj)\n * .subscribe(\n * value => console.log(value),\n * err => {},\n * () => console.log('the end!')\n * );\n *\n * // Logs:\n * // [\"foo\": 42],\n * // [\"bar\": 56],\n * // [\"baz\": 78],\n * // \"the end!\"\n * ```\n *\n * @param {Object} obj The object to inspect and turn into an\n * Observable sequence.\n * @param {Scheduler} [scheduler] An optional IScheduler to schedule\n * when resulting Observable will emit values.\n * @returns {(Observable<Array<string|T>>)} An observable sequence of\n * [key, value] pairs from the object.\n */\nexport function pairs<T>(obj: Object, scheduler?: SchedulerLike): Observable<[string, T]> {\n if (!scheduler) {\n return new Observable<[string, T]>(subscriber => {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length && !subscriber.closed; i++) {\n const key = keys[i];\n if (obj.hasOwnProperty(key)) {\n subscriber.next([key, obj[key]]);\n }\n }\n subscriber.complete();\n });\n } else {\n return new Observable<[string, T]>(subscriber => {\n const keys = Object.keys(obj);\n const subscription = new Subscription();\n subscription.add(\n scheduler.schedule<{ keys: string[], index: number, subscriber: Subscriber<[string, T]>, subscription: Subscription, obj: Object }>\n (dispatch, 0, { keys, index: 0, subscriber, subscription, obj }));\n return subscription;\n });\n }\n}\n\n/** @internal */\nexport function dispatch<T>(this: SchedulerAction<any>,\n state: { keys: string[], index: number, subscriber: Subscriber<[string, T]>, subscription: Subscription, obj: Object }) {\n const { keys, index, subscriber, subscription, obj } = state;\n if (!subscriber.closed) {\n if (index < keys.length) {\n const key = keys[index];\n subscriber.next([key, obj[key]]);\n subscription.add(this.schedule({ keys, index: index + 1, subscriber, subscription, obj }));\n } else {\n subscriber.complete();\n }\n }\n}\n"},"lineCount":null}},"hash":"d1c77cdd499d164b8197f16971c54a56","cacheData":{"env":{}}}