1 line
43 KiB
JSON
1 line
43 KiB
JSON
{"id":"hFX7","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/distinctUntilChanged.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":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.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/distinctUntilChanged.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../util/tryCatch","loc":{"line":4,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/tryCatch.js"},{"name":"../util/errorObject","loc":{"line":5,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/errorObject.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.distinctUntilChanged=o;var e=n(require(\"tslib\")),t=require(\"../Subscriber\"),r=require(\"../util/tryCatch\"),i=require(\"../util/errorObject\");function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};i.get||i.set?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,t}function o(e,t){return function(r){return r.lift(new c(e,t))}}var c=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))},e}(),s=function(t){function n(e,r,i){var n=t.call(this,e)||this;return n.keySelector=i,n.hasKey=!1,\"function\"==typeof r&&(n.compare=r),n}return e.__extends(n,t),n.prototype.compare=function(e,t){return e===t},n.prototype._next=function(e){var t=e;if(this.keySelector&&(t=(0,r.tryCatch)(this.keySelector)(e))===i.errorObject)return this.destination.error(i.errorObject.e);var n=!1;if(this.hasKey){if((n=(0,r.tryCatch)(this.compare)(this.key,t))===i.errorObject)return this.destination.error(i.errorObject.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=t,this.destination.next(e))},n}(t.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":97}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":103}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":125}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":127}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":135}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":152}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":154}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":162}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":1,"column":182}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":1,"column":184}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":1,"column":192}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":215}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":224}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":226}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":229}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":232}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":235}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":237}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":248}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":255}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":257}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":261}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":263}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":266}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":269}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":275}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":277}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":281}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":285}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":290}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":292}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":295}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":302}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":312}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":327}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":332}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":334}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":337}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":338}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":342}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":344}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":351}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":367}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":374}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":399}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":406}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":431}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":433}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":436}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":439}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":441}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":446}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":448}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":452}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":459}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":474}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":476}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":478}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":481}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":483}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":486}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":488}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":491}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":498}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":500}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":508}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":510}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":512}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":61,"column":9},"generated":{"line":1,"column":521}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":61,"column":36},"generated":{"line":1,"column":523}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":61,"column":43},"generated":{"line":1,"column":525}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":528}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":535}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":544}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":547}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":554}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":556}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":561}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":565}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":567}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":62,"column":1},"generated":{"line":1,"column":569}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":1,"column":574}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":1,"column":578}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":580}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":65,"column":22},"generated":{"line":1,"column":591}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":65,"column":22},"generated":{"line":1,"column":600}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":602}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":604}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":66,"column":22},"generated":{"line":1,"column":607}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":66,"column":22},"generated":{"line":1,"column":612}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":66,"column":22},"generated":{"line":1,"column":620}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":622}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":627}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":639}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":641}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":70,"column":28},"generated":{"line":1,"column":648}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":70,"column":28},"generated":{"line":1,"column":650}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":70,"column":32},"generated":{"line":1,"column":660}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":70,"column":32},"generated":{"line":1,"column":665}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":70,"column":32},"generated":{"line":1,"column":674}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":70,"column":63},"generated":{"line":1,"column":676}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":679}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":686}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":688}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":698}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":702}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":704}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":706}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":711}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":719}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":71,"column":3},"generated":{"line":1,"column":724}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":739}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":65,"column":54},"generated":{"line":1,"column":741}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":744}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":746}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":64},"generated":{"line":1,"column":755}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":83,"column":2},"generated":{"line":1,"column":758}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":83,"column":2},"generated":{"line":1,"column":767}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":86,"column":10},"generated":{"line":1,"column":769}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":86,"column":22},"generated":{"line":1,"column":771}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":90,"column":3},"generated":{"line":1,"column":773}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":85,"column":22},"generated":{"line":1,"column":776}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":85,"column":22},"generated":{"line":1,"column":780}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":85,"column":22},"generated":{"line":1,"column":782}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":85,"column":33},"generated":{"line":1,"column":784}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":85,"column":22},"generated":{"line":1,"column":789}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":85,"column":22},"generated":{"line":1,"column":794}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":85,"column":46},"generated":{"line":1,"column":798}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":90,"column":3},"generated":{"line":1,"column":803}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":81,"column":10},"generated":{"line":1,"column":810}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":81,"column":10},"generated":{"line":1,"column":812}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":81,"column":33},"generated":{"line":1,"column":824}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":87,"column":4},"generated":{"line":1,"column":826}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":87,"column":8},"generated":{"line":1,"column":828}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":87,"column":15},"generated":{"line":1,"column":836}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":88,"column":21},"generated":{"line":1,"column":838}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":88,"column":11},"generated":{"line":1,"column":857}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":89,"column":5},"generated":{"line":1,"column":861}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":89,"column":5},"generated":{"line":1,"column":863}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":89,"column":5},"generated":{"line":1,"column":871}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":90,"column":3},"generated":{"line":1,"column":874}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":876}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":83,"column":2},"generated":{"line":1,"column":883}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":83,"column":2},"generated":{"line":1,"column":885}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":83,"column":2},"generated":{"line":1,"column":895}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":83,"column":14},"generated":{"line":1,"column":897}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":93,"column":19},"generated":{"line":1,"column":900}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":93,"column":19},"generated":{"line":1,"column":902}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":93,"column":19},"generated":{"line":1,"column":912}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":93,"column":19},"generated":{"line":1,"column":920}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":93,"column":19},"generated":{"line":1,"column":929}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":93,"column":19},"generated":{"line":1,"column":931}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":94,"column":3},"generated":{"line":1,"column":934}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":94,"column":3},"generated":{"line":1,"column":941}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":94,"column":3},"generated":{"line":1,"column":945}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":98,"column":29},"generated":{"line":1,"column":948}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":98,"column":29},"generated":{"line":1,"column":950}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":98,"column":41},"generated":{"line":1,"column":960}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":98,"column":41},"generated":{"line":1,"column":966}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":98,"column":41},"generated":{"line":1,"column":975}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":978}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":1,"column":982}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":101,"column":8},"generated":{"line":1,"column":984}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":102,"column":6},"generated":{"line":1,"column":986}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":99,"column":25},"generated":{"line":1,"column":989}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":99,"column":25},"generated":{"line":1,"column":994}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":1,"column":1008}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":103,"column":10},"generated":{"line":1,"column":1011}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":103,"column":18},"generated":{"line":1,"column":1013}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":103,"column":18},"generated":{"line":1,"column":1015}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":103,"column":18},"generated":{"line":1,"column":1025}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":103,"column":18},"generated":{"line":1,"column":1030}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":103,"column":10},"generated":{"line":1,"column":1042}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":103,"column":31},"generated":{"line":1,"column":1043}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":104,"column":15},"generated":{"line":1,"column":1049}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":104,"column":20},"generated":{"line":1,"column":1051}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":105,"column":7},"generated":{"line":1,"column":1063}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":105,"column":7},"generated":{"line":1,"column":1070}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":105,"column":7},"generated":{"line":1,"column":1075}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":105,"column":7},"generated":{"line":1,"column":1087}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":105,"column":7},"generated":{"line":1,"column":1093}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":105,"column":7},"generated":{"line":1,"column":1095}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":105,"column":7},"generated":{"line":1,"column":1107}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":110,"column":8},"generated":{"line":1,"column":1110}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":110,"column":8},"generated":{"line":1,"column":1114}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":110,"column":13},"generated":{"line":1,"column":1117}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":111,"column":6},"generated":{"line":1,"column":1119}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":111,"column":6},"generated":{"line":1,"column":1122}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":111,"column":6},"generated":{"line":1,"column":1127}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":113,"column":8},"generated":{"line":1,"column":1135}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":6},"generated":{"line":1,"column":1139}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":10},"generated":{"line":1,"column":1142}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":21},"generated":{"line":1,"column":1144}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":21},"generated":{"line":1,"column":1146}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":21},"generated":{"line":1,"column":1156}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":21},"generated":{"line":1,"column":1161}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":10},"generated":{"line":1,"column":1169}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":34},"generated":{"line":1,"column":1170}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":34},"generated":{"line":1,"column":1175}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":112,"column":34},"generated":{"line":1,"column":1179}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":113,"column":19},"generated":{"line":1,"column":1185}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":113,"column":32},"generated":{"line":1,"column":1187}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":114,"column":7},"generated":{"line":1,"column":1199}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":114,"column":7},"generated":{"line":1,"column":1206}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":114,"column":7},"generated":{"line":1,"column":1211}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":114,"column":7},"generated":{"line":1,"column":1223}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":114,"column":7},"generated":{"line":1,"column":1229}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":114,"column":7},"generated":{"line":1,"column":1231}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":114,"column":7},"generated":{"line":1,"column":1243}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":117,"column":5},"generated":{"line":1,"column":1251}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":117,"column":5},"generated":{"line":1,"column":1256}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":117,"column":5},"generated":{"line":1,"column":1264}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":120,"column":21},"generated":{"line":1,"column":1267}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":1,"column":1271}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":120,"column":14},"generated":{"line":1,"column":1279}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":121,"column":11},"generated":{"line":1,"column":1284}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":121,"column":11},"generated":{"line":1,"column":1289}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":121,"column":11},"generated":{"line":1,"column":1293}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":122,"column":5},"generated":{"line":1,"column":1295}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":122,"column":5},"generated":{"line":1,"column":1300}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":122,"column":5},"generated":{"line":1,"column":1312}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":122,"column":5},"generated":{"line":1,"column":1317}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":1322}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":1324}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":1325}},{"source":"../../../src/internal/operators/distinctUntilChanged.ts","name":null,"original":{"line":79,"column":51},"generated":{"line":1,"column":1327}}],"sources":{"../../../src/internal/operators/distinctUntilChanged.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { tryCatch } from '../util/tryCatch';\nimport { errorObject } from '../util/errorObject';\nimport { Observable } from '../Observable';\nimport { MonoTypeOperatorFunction, TeardownLogic } from '../types';\n\n/* tslint:disable:max-line-length */\nexport function distinctUntilChanged<T>(compare?: (x: T, y: T) => boolean): MonoTypeOperatorFunction<T>;\nexport function distinctUntilChanged<T, K>(compare: (x: K, y: K) => boolean, keySelector: (x: T) => K): MonoTypeOperatorFunction<T>;\n/* tslint:enable:max-line-length */\n\n/**\n * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item.\n *\n * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted.\n *\n * If a comparator function is not provided, an equality check is used by default.\n *\n * ## Example\n * A simple example with numbers\n * ```javascript\n * of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4).pipe(\n * distinctUntilChanged(),\n * )\n * .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4\n * ```\n *\n * An example using a compare function\n * ```typescript\n * interface Person {\n * age: number,\n * name: string\n * }\n *\n * of<Person>(\n * { age: 4, name: 'Foo'},\n * { age: 7, name: 'Bar'},\n * { age: 5, name: 'Foo'},\n * { age: 6, name: 'Foo'},\n * ).pipe(\n * distinctUntilChanged((p: Person, q: Person) => p.name === q.name),\n * )\n * .subscribe(x => console.log(x));\n *\n * // displays:\n * // { age: 4, name: 'Foo' }\n * // { age: 7, name: 'Bar' }\n * // { age: 5, name: 'Foo' }\n * ```\n *\n * @see {@link distinct}\n * @see {@link distinctUntilKeyChanged}\n *\n * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source.\n * @return {Observable} An Observable that emits items from the source Observable with distinct values.\n * @method distinctUntilChanged\n * @owner Observable\n */\nexport function distinctUntilChanged<T, K>(compare?: (x: K, y: K) => boolean, keySelector?: (x: T) => K): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new DistinctUntilChangedOperator<T, K>(compare, keySelector));\n}\n\nclass DistinctUntilChangedOperator<T, K> implements Operator<T, T> {\n constructor(private compare: (x: K, y: K) => boolean,\n private keySelector: (x: T) => K) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass DistinctUntilChangedSubscriber<T, K> extends Subscriber<T> {\n private key: K;\n private hasKey: boolean = false;\n\n constructor(destination: Subscriber<T>,\n compare: (x: K, y: K) => boolean,\n private keySelector: (x: T) => K) {\n super(destination);\n if (typeof compare === 'function') {\n this.compare = compare;\n }\n }\n\n private compare(x: any, y: any): boolean {\n return x === y;\n }\n\n protected _next(value: T): void {\n\n const keySelector = this.keySelector;\n let key: any = value;\n\n if (keySelector) {\n key = tryCatch(this.keySelector)(value);\n if (key === errorObject) {\n return this.destination.error(errorObject.e);\n }\n }\n\n let result: any = false;\n\n if (this.hasKey) {\n result = tryCatch(this.compare)(this.key, key);\n if (result === errorObject) {\n return this.destination.error(errorObject.e);\n }\n } else {\n this.hasKey = true;\n }\n\n if (Boolean(result) === false) {\n this.key = key;\n this.destination.next(value);\n }\n }\n}\n"},"lineCount":null}},"hash":"9b754b072bddbc8e75805894a88de876","cacheData":{"env":{}}} |