Add production dependencies
This commit is contained in:
parent
5a0114f3e2
commit
579ccdc29f
12113 changed files with 978046 additions and 3 deletions
62
node_modules/rxjs/_esm2015/internal/operators/audit.js
generated
vendored
Normal file
62
node_modules/rxjs/_esm2015/internal/operators/audit.js
generated
vendored
Normal file
|
@ -0,0 +1,62 @@
|
|||
import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
|
||||
export function audit(durationSelector) {
|
||||
return function auditOperatorFunction(source) {
|
||||
return source.lift(new AuditOperator(durationSelector));
|
||||
};
|
||||
}
|
||||
class AuditOperator {
|
||||
constructor(durationSelector) {
|
||||
this.durationSelector = durationSelector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector));
|
||||
}
|
||||
}
|
||||
class AuditSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, durationSelector) {
|
||||
super(destination);
|
||||
this.durationSelector = durationSelector;
|
||||
this.hasValue = false;
|
||||
}
|
||||
_next(value) {
|
||||
this.value = value;
|
||||
this.hasValue = true;
|
||||
if (!this.throttled) {
|
||||
let duration;
|
||||
try {
|
||||
const { durationSelector } = this;
|
||||
duration = durationSelector(value);
|
||||
}
|
||||
catch (err) {
|
||||
return this.destination.error(err);
|
||||
}
|
||||
const innerSubscription = innerSubscribe(duration, new SimpleInnerSubscriber(this));
|
||||
if (!innerSubscription || innerSubscription.closed) {
|
||||
this.clearThrottle();
|
||||
}
|
||||
else {
|
||||
this.add(this.throttled = innerSubscription);
|
||||
}
|
||||
}
|
||||
}
|
||||
clearThrottle() {
|
||||
const { value, hasValue, throttled } = this;
|
||||
if (throttled) {
|
||||
this.remove(throttled);
|
||||
this.throttled = undefined;
|
||||
throttled.unsubscribe();
|
||||
}
|
||||
if (hasValue) {
|
||||
this.value = undefined;
|
||||
this.hasValue = false;
|
||||
this.destination.next(value);
|
||||
}
|
||||
}
|
||||
notifyNext() {
|
||||
this.clearThrottle();
|
||||
}
|
||||
notifyComplete() {
|
||||
this.clearThrottle();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=audit.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/audit.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/audit.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"audit.js","sources":["../../../src/internal/operators/audit.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAgDjG,MAAM,UAAU,KAAK,CAAI,gBAA0D;IACjF,OAAO,SAAS,qBAAqB,CAAC,MAAqB;QACzD,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC1D,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,aAAa;IACjB,YAAoB,gBAA0D;QAA1D,qBAAgB,GAAhB,gBAAgB,CAA0C;IAC9E,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAO,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACxF,CAAC;CACF;AAOD,MAAM,eAAsB,SAAQ,qBAA2B;IAM7D,YAAY,WAA0B,EAClB,gBAA0D;QAC5E,KAAK,CAAC,WAAW,CAAC,CAAC;QADD,qBAAgB,GAAhB,gBAAgB,CAA0C;QAJtE,aAAQ,GAAY,KAAK,CAAC;IAMlC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,IAAI,QAAQ,CAAC;YACb,IAAI;gBACF,MAAM,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAC;gBAClC,QAAQ,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;aACpC;YAAC,OAAO,GAAG,EAAE;gBACZ,OAAO,IAAI,CAAC,WAAW,CAAC,KAAM,CAAC,GAAG,CAAC,CAAC;aACrC;YACD,MAAM,iBAAiB,GAAG,cAAc,CAAC,QAAQ,EAAE,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;YACpF,IAAI,CAAC,iBAAiB,IAAI,iBAAiB,CAAC,MAAM,EAAE;gBAClD,IAAI,CAAC,aAAa,EAAE,CAAC;aACtB;iBAAM;gBACL,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,GAAG,iBAAiB,CAAC,CAAC;aAC9C;SACF;IACH,CAAC;IAED,aAAa;QACX,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QAC5C,IAAI,SAAS,EAAE;YACb,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACvB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;YAC3B,SAAS,CAAC,WAAW,EAAE,CAAC;SACzB;QACD,IAAI,QAAQ,EAAE;YACZ,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;YACvB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,KAAK,CAAC,CAAC;SAC/B;IACH,CAAC;IAED,UAAU;QACR,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;CACF"}
|
7
node_modules/rxjs/_esm2015/internal/operators/auditTime.js
generated
vendored
Normal file
7
node_modules/rxjs/_esm2015/internal/operators/auditTime.js
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { async } from '../scheduler/async';
|
||||
import { audit } from './audit';
|
||||
import { timer } from '../observable/timer';
|
||||
export function auditTime(duration, scheduler = async) {
|
||||
return audit(() => timer(duration, scheduler));
|
||||
}
|
||||
//# sourceMappingURL=auditTime.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/auditTime.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/auditTime.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"auditTime.js","sources":["../../../src/internal/operators/auditTime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAoD5C,MAAM,UAAU,SAAS,CAAI,QAAgB,EAAE,YAA2B,KAAK;IAC7E,OAAO,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;AACjD,CAAC"}
|
30
node_modules/rxjs/_esm2015/internal/operators/buffer.js
generated
vendored
Normal file
30
node_modules/rxjs/_esm2015/internal/operators/buffer.js
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
|
||||
export function buffer(closingNotifier) {
|
||||
return function bufferOperatorFunction(source) {
|
||||
return source.lift(new BufferOperator(closingNotifier));
|
||||
};
|
||||
}
|
||||
class BufferOperator {
|
||||
constructor(closingNotifier) {
|
||||
this.closingNotifier = closingNotifier;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));
|
||||
}
|
||||
}
|
||||
class BufferSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, closingNotifier) {
|
||||
super(destination);
|
||||
this.buffer = [];
|
||||
this.add(innerSubscribe(closingNotifier, new SimpleInnerSubscriber(this)));
|
||||
}
|
||||
_next(value) {
|
||||
this.buffer.push(value);
|
||||
}
|
||||
notifyNext() {
|
||||
const buffer = this.buffer;
|
||||
this.buffer = [];
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=buffer.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/buffer.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/buffer.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"buffer.js","sources":["../../../src/internal/operators/buffer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA0CjG,MAAM,UAAU,MAAM,CAAI,eAAgC;IACxD,OAAO,SAAS,sBAAsB,CAAC,MAAqB;QAC1D,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAI,eAAe,CAAC,CAAC,CAAC;IAC7D,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,cAAc;IAElB,YAAoB,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IACpD,CAAC;IAED,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClF,CAAC;CACF;AAOD,MAAM,gBAAoB,SAAQ,qBAA6B;IAG7D,YAAY,WAA4B,EAAE,eAAgC;QACxE,KAAK,CAAC,WAAW,CAAC,CAAC;QAHb,WAAM,GAAQ,EAAE,CAAC;QAIvB,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,eAAe,EAAE,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7E,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,UAAU;QACR,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;CACF"}
|
78
node_modules/rxjs/_esm2015/internal/operators/bufferCount.js
generated
vendored
Normal file
78
node_modules/rxjs/_esm2015/internal/operators/bufferCount.js
generated
vendored
Normal file
|
@ -0,0 +1,78 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function bufferCount(bufferSize, startBufferEvery = null) {
|
||||
return function bufferCountOperatorFunction(source) {
|
||||
return source.lift(new BufferCountOperator(bufferSize, startBufferEvery));
|
||||
};
|
||||
}
|
||||
class BufferCountOperator {
|
||||
constructor(bufferSize, startBufferEvery) {
|
||||
this.bufferSize = bufferSize;
|
||||
this.startBufferEvery = startBufferEvery;
|
||||
if (!startBufferEvery || bufferSize === startBufferEvery) {
|
||||
this.subscriberClass = BufferCountSubscriber;
|
||||
}
|
||||
else {
|
||||
this.subscriberClass = BufferSkipCountSubscriber;
|
||||
}
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new this.subscriberClass(subscriber, this.bufferSize, this.startBufferEvery));
|
||||
}
|
||||
}
|
||||
class BufferCountSubscriber extends Subscriber {
|
||||
constructor(destination, bufferSize) {
|
||||
super(destination);
|
||||
this.bufferSize = bufferSize;
|
||||
this.buffer = [];
|
||||
}
|
||||
_next(value) {
|
||||
const buffer = this.buffer;
|
||||
buffer.push(value);
|
||||
if (buffer.length == this.bufferSize) {
|
||||
this.destination.next(buffer);
|
||||
this.buffer = [];
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
const buffer = this.buffer;
|
||||
if (buffer.length > 0) {
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
super._complete();
|
||||
}
|
||||
}
|
||||
class BufferSkipCountSubscriber extends Subscriber {
|
||||
constructor(destination, bufferSize, startBufferEvery) {
|
||||
super(destination);
|
||||
this.bufferSize = bufferSize;
|
||||
this.startBufferEvery = startBufferEvery;
|
||||
this.buffers = [];
|
||||
this.count = 0;
|
||||
}
|
||||
_next(value) {
|
||||
const { bufferSize, startBufferEvery, buffers, count } = this;
|
||||
this.count++;
|
||||
if (count % startBufferEvery === 0) {
|
||||
buffers.push([]);
|
||||
}
|
||||
for (let i = buffers.length; i--;) {
|
||||
const buffer = buffers[i];
|
||||
buffer.push(value);
|
||||
if (buffer.length === bufferSize) {
|
||||
buffers.splice(i, 1);
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
const { buffers, destination } = this;
|
||||
while (buffers.length > 0) {
|
||||
let buffer = buffers.shift();
|
||||
if (buffer.length > 0) {
|
||||
destination.next(buffer);
|
||||
}
|
||||
}
|
||||
super._complete();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=bufferCount.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/bufferCount.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/bufferCount.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"bufferCount.js","sources":["../../../src/internal/operators/bufferCount.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AA2D3C,MAAM,UAAU,WAAW,CAAI,UAAkB,EAAE,mBAA2B,IAAI;IAChF,OAAO,SAAS,2BAA2B,CAAC,MAAqB;QAC/D,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAI,UAAU,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAC/E,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,mBAAmB;IAGvB,YAAoB,UAAkB,EAAU,gBAAwB;QAApD,eAAU,GAAV,UAAU,CAAQ;QAAU,qBAAgB,GAAhB,gBAAgB,CAAQ;QACtE,IAAI,CAAC,gBAAgB,IAAI,UAAU,KAAK,gBAAgB,EAAE;YACxD,IAAI,CAAC,eAAe,GAAG,qBAAqB,CAAC;SAC9C;aAAM;YACL,IAAI,CAAC,eAAe,GAAG,yBA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EAAE,UAAU,EAAE,gBAAgB,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAE9D,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,IAAI,KAAK,GAAG,gBAAgB,KAAK,CAAC,EAAE;YAClC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;SAClB;QAED,KAAK,IAAI,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,GAAI;YAClC,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;YAC1B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,MAAM,CAAC,MAAM,KAAK,UAAU,EAAE;gBAChC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBACrB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aAC/B;SACF;IACH,CAAC;IAES,SAAS;QACjB,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAEtC,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;YACzB,IAAI,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;YAC7B,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;gBACrB,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aAC1B;SACF;QACD,KAAK,CAAC,SAAS,EAAE,CAAC;IACpB,CAAC;CAEF"}
|
141
node_modules/rxjs/_esm2015/internal/operators/bufferTime.js
generated
vendored
Normal file
141
node_modules/rxjs/_esm2015/internal/operators/bufferTime.js
generated
vendored
Normal file
|
@ -0,0 +1,141 @@
|
|||
import { async } from '../scheduler/async';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
export function bufferTime(bufferTimeSpan) {
|
||||
let length = arguments.length;
|
||||
let scheduler = async;
|
||||
if (isScheduler(arguments[arguments.length - 1])) {
|
||||
scheduler = arguments[arguments.length - 1];
|
||||
length--;
|
||||
}
|
||||
let bufferCreationInterval = null;
|
||||
if (length >= 2) {
|
||||
bufferCreationInterval = arguments[1];
|
||||
}
|
||||
let maxBufferSize = Number.POSITIVE_INFINITY;
|
||||
if (length >= 3) {
|
||||
maxBufferSize = arguments[2];
|
||||
}
|
||||
return function bufferTimeOperatorFunction(source) {
|
||||
return source.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler));
|
||||
};
|
||||
}
|
||||
class BufferTimeOperator {
|
||||
constructor(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {
|
||||
this.bufferTimeSpan = bufferTimeSpan;
|
||||
this.bufferCreationInterval = bufferCreationInterval;
|
||||
this.maxBufferSize = maxBufferSize;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler));
|
||||
}
|
||||
}
|
||||
class Context {
|
||||
constructor() {
|
||||
this.buffer = [];
|
||||
}
|
||||
}
|
||||
class BufferTimeSubscriber extends Subscriber {
|
||||
constructor(destination, bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {
|
||||
super(destination);
|
||||
this.bufferTimeSpan = bufferTimeSpan;
|
||||
this.bufferCreationInterval = bufferCreationInterval;
|
||||
this.maxBufferSize = maxBufferSize;
|
||||
this.scheduler = scheduler;
|
||||
this.contexts = [];
|
||||
const context = this.openContext();
|
||||
this.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0;
|
||||
if (this.timespanOnly) {
|
||||
const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan };
|
||||
this.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));
|
||||
}
|
||||
else {
|
||||
const closeState = { subscriber: this, context };
|
||||
const creationState = { bufferTimeSpan, bufferCreationInterval, subscriber: this, scheduler };
|
||||
this.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState));
|
||||
this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState));
|
||||
}
|
||||
}
|
||||
_next(value) {
|
||||
const contexts = this.contexts;
|
||||
const len = contexts.length;
|
||||
let filledBufferContext;
|
||||
for (let i = 0; i < len; i++) {
|
||||
const context = contexts[i];
|
||||
const buffer = context.buffer;
|
||||
buffer.push(value);
|
||||
if (buffer.length == this.maxBufferSize) {
|
||||
filledBufferContext = context;
|
||||
}
|
||||
}
|
||||
if (filledBufferContext) {
|
||||
this.onBufferFull(filledBufferContext);
|
||||
}
|
||||
}
|
||||
_error(err) {
|
||||
this.contexts.length = 0;
|
||||
super._error(err);
|
||||
}
|
||||
_complete() {
|
||||
const { contexts, destination } = this;
|
||||
while (contexts.length > 0) {
|
||||
const context = contexts.shift();
|
||||
destination.next(context.buffer);
|
||||
}
|
||||
super._complete();
|
||||
}
|
||||
_unsubscribe() {
|
||||
this.contexts = null;
|
||||
}
|
||||
onBufferFull(context) {
|
||||
this.closeContext(context);
|
||||
const closeAction = context.closeAction;
|
||||
closeAction.unsubscribe();
|
||||
this.remove(closeAction);
|
||||
if (!this.closed && this.timespanOnly) {
|
||||
context = this.openContext();
|
||||
const bufferTimeSpan = this.bufferTimeSpan;
|
||||
const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan };
|
||||
this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));
|
||||
}
|
||||
}
|
||||
openContext() {
|
||||
const context = new Context();
|
||||
this.contexts.push(context);
|
||||
return context;
|
||||
}
|
||||
closeContext(context) {
|
||||
this.destination.next(context.buffer);
|
||||
const contexts = this.contexts;
|
||||
const spliceIndex = contexts ? contexts.indexOf(context) : -1;
|
||||
if (spliceIndex >= 0) {
|
||||
contexts.splice(contexts.indexOf(context), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
function dispatchBufferTimeSpanOnly(state) {
|
||||
const subscriber = state.subscriber;
|
||||
const prevContext = state.context;
|
||||
if (prevContext) {
|
||||
subscriber.closeContext(prevContext);
|
||||
}
|
||||
if (!subscriber.closed) {
|
||||
state.context = subscriber.openContext();
|
||||
state.context.closeAction = this.schedule(state, state.bufferTimeSpan);
|
||||
}
|
||||
}
|
||||
function dispatchBufferCreation(state) {
|
||||
const { bufferCreationInterval, bufferTimeSpan, subscriber, scheduler } = state;
|
||||
const context = subscriber.openContext();
|
||||
const action = this;
|
||||
if (!subscriber.closed) {
|
||||
subscriber.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, { subscriber, context }));
|
||||
action.schedule(state, bufferCreationInterval);
|
||||
}
|
||||
}
|
||||
function dispatchBufferClose(arg) {
|
||||
const { subscriber, context } = arg;
|
||||
subscriber.closeContext(context);
|
||||
}
|
||||
//# sourceMappingURL=bufferTime.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/bufferTime.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/bufferTime.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
100
node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js
generated
vendored
Normal file
100
node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js
generated
vendored
Normal file
|
@ -0,0 +1,100 @@
|
|||
import { Subscription } from '../Subscription';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
export function bufferToggle(openings, closingSelector) {
|
||||
return function bufferToggleOperatorFunction(source) {
|
||||
return source.lift(new BufferToggleOperator(openings, closingSelector));
|
||||
};
|
||||
}
|
||||
class BufferToggleOperator {
|
||||
constructor(openings, closingSelector) {
|
||||
this.openings = openings;
|
||||
this.closingSelector = closingSelector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector));
|
||||
}
|
||||
}
|
||||
class BufferToggleSubscriber extends OuterSubscriber {
|
||||
constructor(destination, openings, closingSelector) {
|
||||
super(destination);
|
||||
this.closingSelector = closingSelector;
|
||||
this.contexts = [];
|
||||
this.add(subscribeToResult(this, openings));
|
||||
}
|
||||
_next(value) {
|
||||
const contexts = this.contexts;
|
||||
const len = contexts.length;
|
||||
for (let i = 0; i < len; i++) {
|
||||
contexts[i].buffer.push(value);
|
||||
}
|
||||
}
|
||||
_error(err) {
|
||||
const contexts = this.contexts;
|
||||
while (contexts.length > 0) {
|
||||
const context = contexts.shift();
|
||||
context.subscription.unsubscribe();
|
||||
context.buffer = null;
|
||||
context.subscription = null;
|
||||
}
|
||||
this.contexts = null;
|
||||
super._error(err);
|
||||
}
|
||||
_complete() {
|
||||
const contexts = this.contexts;
|
||||
while (contexts.length > 0) {
|
||||
const context = contexts.shift();
|
||||
this.destination.next(context.buffer);
|
||||
context.subscription.unsubscribe();
|
||||
context.buffer = null;
|
||||
context.subscription = null;
|
||||
}
|
||||
this.contexts = null;
|
||||
super._complete();
|
||||
}
|
||||
notifyNext(outerValue, innerValue) {
|
||||
outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue);
|
||||
}
|
||||
notifyComplete(innerSub) {
|
||||
this.closeBuffer(innerSub.context);
|
||||
}
|
||||
openBuffer(value) {
|
||||
try {
|
||||
const closingSelector = this.closingSelector;
|
||||
const closingNotifier = closingSelector.call(this, value);
|
||||
if (closingNotifier) {
|
||||
this.trySubscribe(closingNotifier);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this._error(err);
|
||||
}
|
||||
}
|
||||
closeBuffer(context) {
|
||||
const contexts = this.contexts;
|
||||
if (contexts && context) {
|
||||
const { buffer, subscription } = context;
|
||||
this.destination.next(buffer);
|
||||
contexts.splice(contexts.indexOf(context), 1);
|
||||
this.remove(subscription);
|
||||
subscription.unsubscribe();
|
||||
}
|
||||
}
|
||||
trySubscribe(closingNotifier) {
|
||||
const contexts = this.contexts;
|
||||
const buffer = [];
|
||||
const subscription = new Subscription();
|
||||
const context = { buffer, subscription };
|
||||
contexts.push(context);
|
||||
const innerSubscription = subscribeToResult(this, closingNotifier, context);
|
||||
if (!innerSubscription || innerSubscription.closed) {
|
||||
this.closeBuffer(context);
|
||||
}
|
||||
else {
|
||||
innerSubscription.context = context;
|
||||
this.add(innerSubscription);
|
||||
subscription.add(innerSubscription);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=bufferToggle.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"bufferToggle.js","sources":["../../../src/internal/operators/bufferToggle.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAkDrD,MAAM,UAAU,YAAY,CAC1B,QAAkC,EAClC,eAAyD;IAEzD,OAAO,SAAS,4BAA4B,CAAC,MAAqB;QAChE,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAO,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC;IAChF,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,oBAAoB;IAExB,YAAoB,QAAkC,EAClC,eAAyD;QADzD,aAAQ,GAAR,QAAQ,CAA0B;QAClC,oBAAe,GAAf,eAAe,CAA0C;IAC7E,CAAC;IAED,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IACvG,CAAC;CACF;AAYD,MAAM,sBAA6B,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AAY,CAAC,WAAW,EAAE,CAAC;SAC5B;IACH,CAAC;IAEO,YAAY,CAAC,eAAoB;QACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAE/B,MAAM,MAAM,GAAa,EAAE,CAAC;QAC5B,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;QACxC,MAAM,OAAO,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;QACzC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAEvB,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,IAAI,EAAE,eAAe,EAAE,OAAc,CAAC,CAAC;QAEnF,IAAI,CAAC,iBAAiB,IAAI,iBAAiB,CAAC,MAAM,EAAE;YAClD,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;SAC3B;aAAM;YACJ,iBAAyB,CAAC,OAAO,GAAG,OAAO,CAAC;YAE7C,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;YAC5B,YAAY,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;SACrC;IACH,CAAC;CACF"}
|
75
node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js
generated
vendored
Normal file
75
node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js
generated
vendored
Normal file
|
@ -0,0 +1,75 @@
|
|||
import { Subscription } from '../Subscription';
|
||||
import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
|
||||
export function bufferWhen(closingSelector) {
|
||||
return function (source) {
|
||||
return source.lift(new BufferWhenOperator(closingSelector));
|
||||
};
|
||||
}
|
||||
class BufferWhenOperator {
|
||||
constructor(closingSelector) {
|
||||
this.closingSelector = closingSelector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector));
|
||||
}
|
||||
}
|
||||
class BufferWhenSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, closingSelector) {
|
||||
super(destination);
|
||||
this.closingSelector = closingSelector;
|
||||
this.subscribing = false;
|
||||
this.openBuffer();
|
||||
}
|
||||
_next(value) {
|
||||
this.buffer.push(value);
|
||||
}
|
||||
_complete() {
|
||||
const buffer = this.buffer;
|
||||
if (buffer) {
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
super._complete();
|
||||
}
|
||||
_unsubscribe() {
|
||||
this.buffer = undefined;
|
||||
this.subscribing = false;
|
||||
}
|
||||
notifyNext() {
|
||||
this.openBuffer();
|
||||
}
|
||||
notifyComplete() {
|
||||
if (this.subscribing) {
|
||||
this.complete();
|
||||
}
|
||||
else {
|
||||
this.openBuffer();
|
||||
}
|
||||
}
|
||||
openBuffer() {
|
||||
let { closingSubscription } = this;
|
||||
if (closingSubscription) {
|
||||
this.remove(closingSubscription);
|
||||
closingSubscription.unsubscribe();
|
||||
}
|
||||
const buffer = this.buffer;
|
||||
if (this.buffer) {
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
this.buffer = [];
|
||||
let closingNotifier;
|
||||
try {
|
||||
const { closingSelector } = this;
|
||||
closingNotifier = closingSelector();
|
||||
}
|
||||
catch (err) {
|
||||
return this.error(err);
|
||||
}
|
||||
closingSubscription = new Subscription();
|
||||
this.closingSubscription = closingSubscription;
|
||||
this.add(closingSubscription);
|
||||
this.subscribing = true;
|
||||
closingSubscription.add(innerSubscribe(closingNotifier, new SimpleInnerSubscriber(this)));
|
||||
this.subscribing = false;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=bufferWhen.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"bufferWhen.js","sources":["../../../src/internal/operators/bufferWhen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,qBAA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,EAAE,CAAC;SACjB;aAAM;YACL,IAAI,CAAC,UAAU,EAAE,CAAC;SACnB;IACH,CAAC;IAED,UAAU;QACR,IAAI,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;QAEnC,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;YACjC,mBAAmB,CAAC,WAAW,EAAE,CAAC;SACnC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,MAAM,CAAC,CAAC;SAChC;QAED,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QAEjB,IAAI,eAAe,CAAC;QACpB,IAAI;YACF,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;YACjC,eAAe,GAAG,eAAe,EAAE,CAAC;SACrC;QAAC,OAAO,GAAG,EAAE;YACZ,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SACxB;QACD,mBAAmB,GAAG,IAAI,YAAY,EAAE,CAAC;QACzC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;QAC9B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAAC,eAAe,EAAE,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC1F,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;IAC3B,CAAC;CACF"}
|
43
node_modules/rxjs/_esm2015/internal/operators/catchError.js
generated
vendored
Normal file
43
node_modules/rxjs/_esm2015/internal/operators/catchError.js
generated
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';
|
||||
export function catchError(selector) {
|
||||
return function catchErrorOperatorFunction(source) {
|
||||
const operator = new CatchOperator(selector);
|
||||
const caught = source.lift(operator);
|
||||
return (operator.caught = caught);
|
||||
};
|
||||
}
|
||||
class CatchOperator {
|
||||
constructor(selector) {
|
||||
this.selector = selector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));
|
||||
}
|
||||
}
|
||||
class CatchSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, selector, caught) {
|
||||
super(destination);
|
||||
this.selector = selector;
|
||||
this.caught = caught;
|
||||
}
|
||||
error(err) {
|
||||
if (!this.isStopped) {
|
||||
let result;
|
||||
try {
|
||||
result = this.selector(err, this.caught);
|
||||
}
|
||||
catch (err2) {
|
||||
super.error(err2);
|
||||
return;
|
||||
}
|
||||
this._unsubscribeAndRecycle();
|
||||
const innerSubscriber = new SimpleInnerSubscriber(this);
|
||||
this.add(innerSubscriber);
|
||||
const innerSubscription = innerSubscribe(result, innerSubscriber);
|
||||
if (innerSubscription !== innerSubscriber) {
|
||||
this.add(innerSubscription);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=catchError.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/catchError.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/catchError.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"catchError.js","sources":["../../../src/internal/operators/catchError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAkFjG,MAAM,UAAU,UAAU,CACxB,QAAgD;IAEhD,OAAO,SAAS,0BAA0B,CAAC,MAAqB;QAC9D,MAAM,QAAQ,GAAG,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC7C,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,OAAO,C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/_esm2015/internal/operators/combineAll.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { CombineLatestOperator } from '../observable/combineLatest';
|
||||
export function combineAll(project) {
|
||||
return (source) => source.lift(new CombineLatestOperator(project));
|
||||
}
|
||||
//# sourceMappingURL=combineAll.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/combineAll.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/combineAll.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"combineAll.js","sources":["../../../src/internal/operators/combineAll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAsDpE,MAAM,UAAU,UAAU,CAAO,OAAsC;IACrE,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;AACpF,CAAC"}
|
15
node_modules/rxjs/_esm2015/internal/operators/combineLatest.js
generated
vendored
Normal file
15
node_modules/rxjs/_esm2015/internal/operators/combineLatest.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { isArray } from '../util/isArray';
|
||||
import { CombineLatestOperator } from '../observable/combineLatest';
|
||||
import { from } from '../observable/from';
|
||||
const none = {};
|
||||
export function combineLatest(...observables) {
|
||||
let project = null;
|
||||
if (typeof observables[observables.length - 1] === 'function') {
|
||||
project = observables.pop();
|
||||
}
|
||||
if (observables.length === 1 && isArray(observables[0])) {
|
||||
observables = observables[0].slice();
|
||||
}
|
||||
return (source) => source.lift.call(from([source, ...observables]), new CombineLatestOperator(project));
|
||||
}
|
||||
//# sourceMappingURL=combineLatest.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/combineLatest.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/combineLatest.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"combineLatest.js","sources":["../../../src/internal/operators/combineLatest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI1C,MAAM,IAAI,GAAG,EAAE,CAAC;AAoChB,MAAM,UAAU,aAAa,CAAO,GAAG,WAE4C;IACjF,IAAI,OAAO,GAAiC,IAAI,CAAC;IACjD,IAAI,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,UAAU,EAAE;QAC7D,OAAO,GAAiC,WAAW,CAAC,GAAG,EAAE,CAAC;KAC3D;IAID,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE;QACvD,WAAW,GAAS,WAAW,CAAC,CAAC,CAAE,CAAC,KAAK,EAAE,CAAC;KAC7C;IAED,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,EAAE,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,CAAC"}
|
5
node_modules/rxjs/_esm2015/internal/operators/concat.js
generated
vendored
Normal file
5
node_modules/rxjs/_esm2015/internal/operators/concat.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { concat as concatStatic } from '../observable/concat';
|
||||
export function concat(...observables) {
|
||||
return (source) => source.lift.call(concatStatic(source, ...observables));
|
||||
}
|
||||
//# sourceMappingURL=concat.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/concat.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/concat.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"concat.js","sources":["../../../src/internal/operators/concat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,MAAM,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AA0B/D,MAAM,UAAU,MAAM,CAAO,GAAG,WAAwD;IACtF,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;AAC3F,CAAC"}
|
5
node_modules/rxjs/_esm2015/internal/operators/concatAll.js
generated
vendored
Normal file
5
node_modules/rxjs/_esm2015/internal/operators/concatAll.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { mergeAll } from './mergeAll';
|
||||
export function concatAll() {
|
||||
return mergeAll(1);
|
||||
}
|
||||
//# sourceMappingURL=concatAll.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/concatAll.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/concatAll.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"concatAll.js","sources":["../../../src/internal/operators/concatAll.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAgEtC,MAAM,UAAU,SAAS;IACvB,OAAO,QAAQ,CAAI,CAAC,CAAC,CAAC;AACxB,CAAC"}
|
5
node_modules/rxjs/_esm2015/internal/operators/concatMap.js
generated
vendored
Normal file
5
node_modules/rxjs/_esm2015/internal/operators/concatMap.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { mergeMap } from './mergeMap';
|
||||
export function concatMap(project, resultSelector) {
|
||||
return mergeMap(project, resultSelector, 1);
|
||||
}
|
||||
//# sourceMappingURL=concatMap.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/concatMap.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/concatMap.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"concatMap.js","sources":["../../../src/internal/operators/concatMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAuEtC,MAAM,UAAU,SAAS,CACvB,OAAuC,EACvC,cAA6G;IAE7G,OAAO,QAAQ,CAAC,OAAO,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;AAC9C,CAAC"}
|
5
node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js
generated
vendored
Normal file
5
node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { concatMap } from './concatMap';
|
||||
export function concatMapTo(innerObservable, resultSelector) {
|
||||
return concatMap(() => innerObservable, resultSelector);
|
||||
}
|
||||
//# sourceMappingURL=concatMapTo.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"concatMapTo.js","sources":["../../../src/internal/operators/concatMapTo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAmExC,MAAM,UAAU,WAAW,CACzB,eAAkB,EAClB,cAA6G;IAE7G,OAAO,SAAS,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;AAC1D,CAAC"}
|
48
node_modules/rxjs/_esm2015/internal/operators/count.js
generated
vendored
Normal file
48
node_modules/rxjs/_esm2015/internal/operators/count.js
generated
vendored
Normal file
|
@ -0,0 +1,48 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function count(predicate) {
|
||||
return (source) => source.lift(new CountOperator(predicate, source));
|
||||
}
|
||||
class CountOperator {
|
||||
constructor(predicate, source) {
|
||||
this.predicate = predicate;
|
||||
this.source = source;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source));
|
||||
}
|
||||
}
|
||||
class CountSubscriber extends Subscriber {
|
||||
constructor(destination, predicate, source) {
|
||||
super(destination);
|
||||
this.predicate = predicate;
|
||||
this.source = source;
|
||||
this.count = 0;
|
||||
this.index = 0;
|
||||
}
|
||||
_next(value) {
|
||||
if (this.predicate) {
|
||||
this._tryPredicate(value);
|
||||
}
|
||||
else {
|
||||
this.count++;
|
||||
}
|
||||
}
|
||||
_tryPredicate(value) {
|
||||
let result;
|
||||
try {
|
||||
result = this.predicate(value, this.index++, this.source);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
if (result) {
|
||||
this.count++;
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.destination.next(this.count);
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=count.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/count.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/count.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"count.js","sources":["../../../src/internal/operators/count.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AA6D3C,MAAM,UAAU,KAAK,CAAI,SAAuE;IAC9F,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;AACtF,CAAC;AAED,MAAM,aAAa;IACjB,YAAoB,SAAuE,EACvE,MAAsB;QADtB,cAAS,GAAT,SAAS,CAA8D;QACvE,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,IAAI,CAAC,UAA8B,EAAE,MAAW;QAC9C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACxF,CAAC;CACF;AAOD,MAAM,eAAmB,SAAQ,UAAa;IAI5C,YAAY,WAA6B,EACrB,SAAuE,EACvE,MAAsB;QACxC,KAAK,CAAC,WAAW,CAAC,CAAC;QAFD,cAAS,GAAT,SAAS,CAA8D;QACvE,WAAM,GAAN,MAAM,CAAgB;QALlC,UAAK,GAAW,CAAC,CAAC;QAClB,UAAK,GAAW,CAAC,CAAC;IAM1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACL,IAAI,CAAC,KAAK,EAAE,CAAC;SACd;IACH,CAAC;IAEO,aAAa,CAAC,KAAQ;QAC5B,IAAI,MAAW,CAAC;QAEhB,IAAI;YACF,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;SAC3D;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,OAAO;SACR;QAED,IAAI,MAAM,EAAE;YACV,IAAI,CAAC,KAAK,EAAE,CAAC;SACd;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAClC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;CACF"}
|
68
node_modules/rxjs/_esm2015/internal/operators/debounce.js
generated
vendored
Normal file
68
node_modules/rxjs/_esm2015/internal/operators/debounce.js
generated
vendored
Normal file
|
@ -0,0 +1,68 @@
|
|||
import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
|
||||
export function debounce(durationSelector) {
|
||||
return (source) => source.lift(new DebounceOperator(durationSelector));
|
||||
}
|
||||
class DebounceOperator {
|
||||
constructor(durationSelector) {
|
||||
this.durationSelector = durationSelector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector));
|
||||
}
|
||||
}
|
||||
class DebounceSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, durationSelector) {
|
||||
super(destination);
|
||||
this.durationSelector = durationSelector;
|
||||
this.hasValue = false;
|
||||
}
|
||||
_next(value) {
|
||||
try {
|
||||
const result = this.durationSelector.call(this, value);
|
||||
if (result) {
|
||||
this._tryNext(value, result);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.emitValue();
|
||||
this.destination.complete();
|
||||
}
|
||||
_tryNext(value, duration) {
|
||||
let subscription = this.durationSubscription;
|
||||
this.value = value;
|
||||
this.hasValue = true;
|
||||
if (subscription) {
|
||||
subscription.unsubscribe();
|
||||
this.remove(subscription);
|
||||
}
|
||||
subscription = innerSubscribe(duration, new SimpleInnerSubscriber(this));
|
||||
if (subscription && !subscription.closed) {
|
||||
this.add(this.durationSubscription = subscription);
|
||||
}
|
||||
}
|
||||
notifyNext() {
|
||||
this.emitValue();
|
||||
}
|
||||
notifyComplete() {
|
||||
this.emitValue();
|
||||
}
|
||||
emitValue() {
|
||||
if (this.hasValue) {
|
||||
const value = this.value;
|
||||
const subscription = this.durationSubscription;
|
||||
if (subscription) {
|
||||
this.durationSubscription = undefined;
|
||||
subscription.unsubscribe();
|
||||
this.remove(subscription);
|
||||
}
|
||||
this.value = undefined;
|
||||
this.hasValue = false;
|
||||
super._next(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=debounce.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/debounce.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/debounce.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"debounce.js","sources":["../../../src/internal/operators/deboun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,CAAC;QAC7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,YAAY,EAAE;YAChB,YAAY,CAAC,WAAW,EAAE,CAAC;YAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;SAC3B;QAED,YAAY,GAAG,cAAc,CAAC,QAAQ,EAAE,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;QACzE,IAAI,YAAY,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE;YACxC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,oBAAoB,GAAG,YAAY,CAAC,CAAC;SACpD;IACH,CAAC;IAED,UAAU;QACR,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,SAAS;QACP,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;YACzB,MAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC;YAC/C,IAAI,YAAY,EAAE;gBAChB,IAAI,CAAC,oBAAoB,GAAG,SAAS,CAAC;gBACtC,YAAY,CAAC,WAAW,EAAE,CAAC;gBAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;aAC3B;YAMD,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;YACvB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,KAAK,CAAC,KAAM,CAAC,CAAC;SACrB;IACH,CAAC;CACF"}
|
55
node_modules/rxjs/_esm2015/internal/operators/debounceTime.js
generated
vendored
Normal file
55
node_modules/rxjs/_esm2015/internal/operators/debounceTime.js
generated
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
import { async } from '../scheduler/async';
|
||||
export function debounceTime(dueTime, scheduler = async) {
|
||||
return (source) => source.lift(new DebounceTimeOperator(dueTime, scheduler));
|
||||
}
|
||||
class DebounceTimeOperator {
|
||||
constructor(dueTime, scheduler) {
|
||||
this.dueTime = dueTime;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));
|
||||
}
|
||||
}
|
||||
class DebounceTimeSubscriber extends Subscriber {
|
||||
constructor(destination, dueTime, scheduler) {
|
||||
super(destination);
|
||||
this.dueTime = dueTime;
|
||||
this.scheduler = scheduler;
|
||||
this.debouncedSubscription = null;
|
||||
this.lastValue = null;
|
||||
this.hasValue = false;
|
||||
}
|
||||
_next(value) {
|
||||
this.clearDebounce();
|
||||
this.lastValue = value;
|
||||
this.hasValue = true;
|
||||
this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));
|
||||
}
|
||||
_complete() {
|
||||
this.debouncedNext();
|
||||
this.destination.complete();
|
||||
}
|
||||
debouncedNext() {
|
||||
this.clearDebounce();
|
||||
if (this.hasValue) {
|
||||
const { lastValue } = this;
|
||||
this.lastValue = null;
|
||||
this.hasValue = false;
|
||||
this.destination.next(lastValue);
|
||||
}
|
||||
}
|
||||
clearDebounce() {
|
||||
const debouncedSubscription = this.debouncedSubscription;
|
||||
if (debouncedSubscription !== null) {
|
||||
this.remove(debouncedSubscription);
|
||||
debouncedSubscription.unsubscribe();
|
||||
this.debouncedSubscription = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
function dispatchNext(subscriber) {
|
||||
subscriber.debouncedNext();
|
||||
}
|
||||
//# sourceMappingURL=debounceTime.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/debounceTime.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/debounceTime.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"debounceTime.js","sources":["../../../src/internal/operators/debounceTime.ts"],"names":[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CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAED,aAAa;QACX,IAAI,CAAC,aAAa,EAAE,CAAC;QAErB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;YAM3B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAClC;IACH,CAAC;IAEO,aAAa;QACnB,MAAM,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC;QAEzD,IAAI,qBAAqB,KAAK,IAAI,EAAE;YAClC,IAAI,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;YACnC,qBAAqB,CAAC,WAAW,EAAE,CAAC;YACpC,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC;SACnC;IACH,CAAC;CACF;AAED,SAAS,YAAY,CAAC,UAAuC;IAC3D,UAAU,CAAC,aAAa,EAAE,CAAC;AAC7B,CAAC"}
|
30
node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js
generated
vendored
Normal file
30
node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function defaultIfEmpty(defaultValue = null) {
|
||||
return (source) => source.lift(new DefaultIfEmptyOperator(defaultValue));
|
||||
}
|
||||
class DefaultIfEmptyOperator {
|
||||
constructor(defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));
|
||||
}
|
||||
}
|
||||
class DefaultIfEmptySubscriber extends Subscriber {
|
||||
constructor(destination, defaultValue) {
|
||||
super(destination);
|
||||
this.defaultValue = defaultValue;
|
||||
this.isEmpty = true;
|
||||
}
|
||||
_next(value) {
|
||||
this.isEmpty = false;
|
||||
this.destination.next(value);
|
||||
}
|
||||
_complete() {
|
||||
if (this.isEmpty) {
|
||||
this.destination.next(this.defaultValue);
|
||||
}
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=defaultIfEmpty.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"defaultIfEmpty.js","sources":["../../../src/internal/operators/defaultIfEmpty.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AA4C3C,MAAM,UAAU,cAAc,CAAO,eAAkB,IAAI;IACzD,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,YAAY,CAAC,CAAsB,CAAC;AAC/G,CAAC;AAED,MAAM,sBAAsB;IAE1B,YAAoB,YAAe;QAAf,iBAAY,GAAZ,YAAY,CAAG;IACnC,CAAC;IAED,IAAI,CAAC,UAA6B,EAAE,MAAW;QAC7C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACvF,CAAC;CACF;AAOD,MAAM,wBAA+B,SAAQ,UAAa;IAGxD,YAAY,WAA8B,EAAU,YAAe;QACjE,KAAK,CAAC,WAAW,CAAC,CAAC;QAD+B,iBAAY,GAAZ,YAAY,CAAG;QAF3D,YAAO,GAAY,IAAI,CAAC;IAIhC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAES,SAAS;QACjB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;SAC1C;QACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;CACF"}
|
83
node_modules/rxjs/_esm2015/internal/operators/delay.js
generated
vendored
Normal file
83
node_modules/rxjs/_esm2015/internal/operators/delay.js
generated
vendored
Normal file
|
@ -0,0 +1,83 @@
|
|||
import { async } from '../scheduler/async';
|
||||
import { isDate } from '../util/isDate';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Notification } from '../Notification';
|
||||
export function delay(delay, scheduler = async) {
|
||||
const absoluteDelay = isDate(delay);
|
||||
const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);
|
||||
return (source) => source.lift(new DelayOperator(delayFor, scheduler));
|
||||
}
|
||||
class DelayOperator {
|
||||
constructor(delay, scheduler) {
|
||||
this.delay = delay;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));
|
||||
}
|
||||
}
|
||||
class DelaySubscriber extends Subscriber {
|
||||
constructor(destination, delay, scheduler) {
|
||||
super(destination);
|
||||
this.delay = delay;
|
||||
this.scheduler = scheduler;
|
||||
this.queue = [];
|
||||
this.active = false;
|
||||
this.errored = false;
|
||||
}
|
||||
static dispatch(state) {
|
||||
const source = state.source;
|
||||
const queue = source.queue;
|
||||
const scheduler = state.scheduler;
|
||||
const destination = state.destination;
|
||||
while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {
|
||||
queue.shift().notification.observe(destination);
|
||||
}
|
||||
if (queue.length > 0) {
|
||||
const delay = Math.max(0, queue[0].time - scheduler.now());
|
||||
this.schedule(state, delay);
|
||||
}
|
||||
else {
|
||||
this.unsubscribe();
|
||||
source.active = false;
|
||||
}
|
||||
}
|
||||
_schedule(scheduler) {
|
||||
this.active = true;
|
||||
const destination = this.destination;
|
||||
destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {
|
||||
source: this, destination: this.destination, scheduler: scheduler
|
||||
}));
|
||||
}
|
||||
scheduleNotification(notification) {
|
||||
if (this.errored === true) {
|
||||
return;
|
||||
}
|
||||
const scheduler = this.scheduler;
|
||||
const message = new DelayMessage(scheduler.now() + this.delay, notification);
|
||||
this.queue.push(message);
|
||||
if (this.active === false) {
|
||||
this._schedule(scheduler);
|
||||
}
|
||||
}
|
||||
_next(value) {
|
||||
this.scheduleNotification(Notification.createNext(value));
|
||||
}
|
||||
_error(err) {
|
||||
this.errored = true;
|
||||
this.queue = [];
|
||||
this.destination.error(err);
|
||||
this.unsubscribe();
|
||||
}
|
||||
_complete() {
|
||||
this.scheduleNotification(Notification.createComplete());
|
||||
this.unsubscribe();
|
||||
}
|
||||
}
|
||||
class DelayMessage {
|
||||
constructor(time, notification) {
|
||||
this.time = time;
|
||||
this.notification = notification;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=delay.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/delay.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/delay.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"delay.js","sources":["../../../src/internal/operators/delay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAsD/C,MAAM,UAAU,KAAK,CAAI,KAAkB,EAClB,YAA2B,KAAK;IACvD,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC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oBAAoB,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5D,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;QACzD,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;CACF;AAED,MAAM,YAAY;IAChB,YAA4B,IAAY,EACZ,YAA6B;QAD7B,SAAI,GAAJ,IAAI,CAAQ;QACZ,iBAAY,GAAZ,YAAY,CAAiB;IACzD,CAAC;CACF"}
|
118
node_modules/rxjs/_esm2015/internal/operators/delayWhen.js
generated
vendored
Normal file
118
node_modules/rxjs/_esm2015/internal/operators/delayWhen.js
generated
vendored
Normal file
|
@ -0,0 +1,118 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
import { Observable } from '../Observable';
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function delayWhen(delayDurationSelector, subscriptionDelay) {
|
||||
if (subscriptionDelay) {
|
||||
return (source) => new SubscriptionDelayObservable(source, subscriptionDelay)
|
||||
.lift(new DelayWhenOperator(delayDurationSelector));
|
||||
}
|
||||
return (source) => source.lift(new DelayWhenOperator(delayDurationSelector));
|
||||
}
|
||||
class DelayWhenOperator {
|
||||
constructor(delayDurationSelector) {
|
||||
this.delayDurationSelector = delayDurationSelector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector));
|
||||
}
|
||||
}
|
||||
class DelayWhenSubscriber extends OuterSubscriber {
|
||||
constructor(destination, delayDurationSelector) {
|
||||
super(destination);
|
||||
this.delayDurationSelector = delayDurationSelector;
|
||||
this.completed = false;
|
||||
this.delayNotifierSubscriptions = [];
|
||||
this.index = 0;
|
||||
}
|
||||
notifyNext(outerValue, _innerValue, _outerIndex, _innerIndex, innerSub) {
|
||||
this.destination.next(outerValue);
|
||||
this.removeSubscription(innerSub);
|
||||
this.tryComplete();
|
||||
}
|
||||
notifyError(error, innerSub) {
|
||||
this._error(error);
|
||||
}
|
||||
notifyComplete(innerSub) {
|
||||
const value = this.removeSubscription(innerSub);
|
||||
if (value) {
|
||||
this.destination.next(value);
|
||||
}
|
||||
this.tryComplete();
|
||||
}
|
||||
_next(value) {
|
||||
const index = this.index++;
|
||||
try {
|
||||
const delayNotifier = this.delayDurationSelector(value, index);
|
||||
if (delayNotifier) {
|
||||
this.tryDelay(delayNotifier, value);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.completed = true;
|
||||
this.tryComplete();
|
||||
this.unsubscribe();
|
||||
}
|
||||
removeSubscription(subscription) {
|
||||
subscription.unsubscribe();
|
||||
const subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription);
|
||||
if (subscriptionIdx !== -1) {
|
||||
this.delayNotifierSubscriptions.splice(subscriptionIdx, 1);
|
||||
}
|
||||
return subscription.outerValue;
|
||||
}
|
||||
tryDelay(delayNotifier, value) {
|
||||
const notifierSubscription = subscribeToResult(this, delayNotifier, value);
|
||||
if (notifierSubscription && !notifierSubscription.closed) {
|
||||
const destination = this.destination;
|
||||
destination.add(notifierSubscription);
|
||||
this.delayNotifierSubscriptions.push(notifierSubscription);
|
||||
}
|
||||
}
|
||||
tryComplete() {
|
||||
if (this.completed && this.delayNotifierSubscriptions.length === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
class SubscriptionDelayObservable extends Observable {
|
||||
constructor(source, subscriptionDelay) {
|
||||
super();
|
||||
this.source = source;
|
||||
this.subscriptionDelay = subscriptionDelay;
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));
|
||||
}
|
||||
}
|
||||
class SubscriptionDelaySubscriber extends Subscriber {
|
||||
constructor(parent, source) {
|
||||
super();
|
||||
this.parent = parent;
|
||||
this.source = source;
|
||||
this.sourceSubscribed = false;
|
||||
}
|
||||
_next(unused) {
|
||||
this.subscribeToSource();
|
||||
}
|
||||
_error(err) {
|
||||
this.unsubscribe();
|
||||
this.parent.error(err);
|
||||
}
|
||||
_complete() {
|
||||
this.unsubscribe();
|
||||
this.subscribeToSource();
|
||||
}
|
||||
subscribeToSource() {
|
||||
if (!this.sourceSubscribed) {
|
||||
this.sourceSubscribed = true;
|
||||
this.unsubscribe();
|
||||
this.source.subscribe(this.parent);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=delayWhen.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/delayWhen.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/delayWhen.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"delayWhen.js","sources":["../../../src/internal/operators/delayWhen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAqE9D,MAAM,UAAU,SAAS,CAAI,qBAAmE,EACnE,iBAAmC;IAC9D,IAAI,iBAAiB,EAAE;QACrB,OAAO,CAAC,MAAqB,EAAE,EAAE,CAC/B,IAAI,2BAA2B,CAAC,MAAM,EAAE,iBAAiB,CAAC;aACvD,IAAI,CAAC,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,CA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al file
20
node_modules/rxjs/_esm2015/internal/operators/dematerialize.js
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function dematerialize() {
|
||||
return function dematerializeOperatorFunction(source) {
|
||||
return source.lift(new DeMaterializeOperator());
|
||||
};
|
||||
}
|
||||
class DeMaterializeOperator {
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DeMaterializeSubscriber(subscriber));
|
||||
}
|
||||
}
|
||||
class DeMaterializeSubscriber extends Subscriber {
|
||||
constructor(destination) {
|
||||
super(destination);
|
||||
}
|
||||
_next(value) {
|
||||
value.observe(this.destination);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=dematerialize.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/dematerialize.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/dematerialize.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"dematerialize.js","sources":["../../../src/internal/operators/dematerialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAkD3C,MAAM,UAAU,aAAa;IAC3B,OAAO,SAAS,6BAA6B,CAAC,MAAmC;QAC/E,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,EAAE,CAAC,CAAC;IAClD,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,qBAAqB;IACzB,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC,CAAC;IACnE,CAAC;CACF;AAOD,MAAM,uBAAqD,SAAQ,UAAa;IAC9E,YAAY,WAA4B;QACtC,KAAK,CAAC,WAAW,CAAC,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClC,CAAC;CACF"}
|
57
node_modules/rxjs/_esm2015/internal/operators/distinct.js
generated
vendored
Normal file
57
node_modules/rxjs/_esm2015/internal/operators/distinct.js
generated
vendored
Normal file
|
@ -0,0 +1,57 @@
|
|||
import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
|
||||
export function distinct(keySelector, flushes) {
|
||||
return (source) => source.lift(new DistinctOperator(keySelector, flushes));
|
||||
}
|
||||
class DistinctOperator {
|
||||
constructor(keySelector, flushes) {
|
||||
this.keySelector = keySelector;
|
||||
this.flushes = flushes;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes));
|
||||
}
|
||||
}
|
||||
export class DistinctSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, keySelector, flushes) {
|
||||
super(destination);
|
||||
this.keySelector = keySelector;
|
||||
this.values = new Set();
|
||||
if (flushes) {
|
||||
this.add(innerSubscribe(flushes, new SimpleInnerSubscriber(this)));
|
||||
}
|
||||
}
|
||||
notifyNext() {
|
||||
this.values.clear();
|
||||
}
|
||||
notifyError(error) {
|
||||
this._error(error);
|
||||
}
|
||||
_next(value) {
|
||||
if (this.keySelector) {
|
||||
this._useKeySelector(value);
|
||||
}
|
||||
else {
|
||||
this._finalizeNext(value, value);
|
||||
}
|
||||
}
|
||||
_useKeySelector(value) {
|
||||
let key;
|
||||
const { destination } = this;
|
||||
try {
|
||||
key = this.keySelector(value);
|
||||
}
|
||||
catch (err) {
|
||||
destination.error(err);
|
||||
return;
|
||||
}
|
||||
this._finalizeNext(key, value);
|
||||
}
|
||||
_finalizeNext(key, value) {
|
||||
const { values } = this;
|
||||
if (!values.has(key)) {
|
||||
values.add(key);
|
||||
this.destination.next(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=distinct.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/distinct.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/distinct.js.map
gener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AAW,EAAE;YACpB,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;SAC7B;aAAM;YACL,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;SAClC;IACH,CAAC;IAEO,eAAe,CAAC,KAAQ;QAC9B,IAAI,GAAM,CAAC;QACX,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAC7B,IAAI;YACF,GAAG,GAAG,IAAI,CAAC,WAAY,CAAC,KAAK,CAAC,CAAC;SAChC;QAAC,OAAO,GAAG,EAAE;YACZ,WAAW,CAAC,KAAM,CAAC,GAAG,CAAC,CAAC;YACxB,OAAO;SACR;QACD,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACjC,CAAC;IAEO,aAAa,CAAC,GAAQ,EAAE,KAAQ;QACtC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAI,GAAG,CAAC,EAAE;YACvB,MAAM,CAAC,GAAG,CAAI,GAAG,CAAC,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,KAAK,CAAC,CAAC;SAC/B;IACH,CAAC;CAEF"}
|
54
node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js
generated
vendored
Normal file
54
node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js
generated
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function distinctUntilChanged(compare, keySelector) {
|
||||
return (source) => source.lift(new DistinctUntilChangedOperator(compare, keySelector));
|
||||
}
|
||||
class DistinctUntilChangedOperator {
|
||||
constructor(compare, keySelector) {
|
||||
this.compare = compare;
|
||||
this.keySelector = keySelector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));
|
||||
}
|
||||
}
|
||||
class DistinctUntilChangedSubscriber extends Subscriber {
|
||||
constructor(destination, compare, keySelector) {
|
||||
super(destination);
|
||||
this.keySelector = keySelector;
|
||||
this.hasKey = false;
|
||||
if (typeof compare === 'function') {
|
||||
this.compare = compare;
|
||||
}
|
||||
}
|
||||
compare(x, y) {
|
||||
return x === y;
|
||||
}
|
||||
_next(value) {
|
||||
let key;
|
||||
try {
|
||||
const { keySelector } = this;
|
||||
key = keySelector ? keySelector(value) : value;
|
||||
}
|
||||
catch (err) {
|
||||
return this.destination.error(err);
|
||||
}
|
||||
let result = false;
|
||||
if (this.hasKey) {
|
||||
try {
|
||||
const { compare } = this;
|
||||
result = compare(this.key, key);
|
||||
}
|
||||
catch (err) {
|
||||
return this.destination.error(err);
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.hasKey = true;
|
||||
}
|
||||
if (!result) {
|
||||
this.key = key;
|
||||
this.destination.next(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=distinctUntilChanged.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"distinctUntilChanged.js","sources":["../../../src/internal/operators/distinctUntilChanged.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AA8D3C,MAAM,UAAU,oBAAoB,CAAO,OAAiC,EAAE,WAAyB;IACrG,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,4BAA4B,CAAO,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC;AAC9G,CAAC;AAED,MAAM,4BAA4B;IAChC,YAAoB,OAAgC,EAChC,WAAwB;QADxB,YAAO,GAAP,OAAO,CAAyB;QAChC,gBAAW,GAAX,WAAW,CAAa;IAC5C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACz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G,GAAG,GAAG,CAAC;YACf,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC9B;IACH,CAAC;CACF"}
|
5
node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js
generated
vendored
Normal file
5
node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { distinctUntilChanged } from './distinctUntilChanged';
|
||||
export function distinctUntilKeyChanged(key, compare) {
|
||||
return distinctUntilChanged((x, y) => compare ? compare(x[key], y[key]) : x[key] === y[key]);
|
||||
}
|
||||
//# sourceMappingURL=distinctUntilKeyChanged.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"distinctUntilKeyChanged.js","sources":["../../../src/internal/operators/distinctUntilKeyChanged.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AA8E9D,MAAM,UAAU,uBAAuB,CAAuB,GAAM,EAAE,OAAuC;IAC3G,OAAO,oBAAoB,CAAC,CAAC,CAAI,EAAE,CAAI,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AACrG,CAAC"}
|
15
node_modules/rxjs/_esm2015/internal/operators/elementAt.js
generated
vendored
Normal file
15
node_modules/rxjs/_esm2015/internal/operators/elementAt.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';
|
||||
import { filter } from './filter';
|
||||
import { throwIfEmpty } from './throwIfEmpty';
|
||||
import { defaultIfEmpty } from './defaultIfEmpty';
|
||||
import { take } from './take';
|
||||
export function elementAt(index, defaultValue) {
|
||||
if (index < 0) {
|
||||
throw new ArgumentOutOfRangeError();
|
||||
}
|
||||
const hasDefaultValue = arguments.length >= 2;
|
||||
return (source) => source.pipe(filter((v, i) => i === index), take(1), hasDefaultValue
|
||||
? defaultIfEmpty(defaultValue)
|
||||
: throwIfEmpty(() => new ArgumentOutOfRangeError()));
|
||||
}
|
||||
//# sourceMappingURL=elementAt.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/elementAt.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/elementAt.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"elementAt.js","sources":["../../../src/internal/operators/elementAt.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAG1E,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAkD9B,MAAM,UAAU,SAAS,CAAI,KAAa,EAAE,YAAgB;IAC1D,IAAI,KAAK,GAAG,CAAC,EAAE;QAAE,MAAM,IAAI,uBAAuB,EAAE,CAAC;KAAE;IACvD,MAAM,eAAe,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;IAC9C,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAC3C,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,EAC7B,IAAI,CAAC,CAAC,CAAC,EACP,eAAe;QACb,CAAC,CAAC,cAAc,CAAC,YAAY,CAAC;QAC9B,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,uBAAuB,EAAE,CAAC,CACtD,CAAC;AACJ,CAAC"}
|
6
node_modules/rxjs/_esm2015/internal/operators/endWith.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm2015/internal/operators/endWith.js
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { concat } from '../observable/concat';
|
||||
import { of } from '../observable/of';
|
||||
export function endWith(...array) {
|
||||
return (source) => concat(source, of(...array));
|
||||
}
|
||||
//# sourceMappingURL=endWith.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/endWith.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/endWith.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"endWith.js","sources":["../../../src/internal/operators/endWith.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AA8DtC,MAAM,UAAU,OAAO,CAAI,GAAG,KAA+B;IAC3D,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAkB,CAAC;AAClF,CAAC"}
|
45
node_modules/rxjs/_esm2015/internal/operators/every.js
generated
vendored
Normal file
45
node_modules/rxjs/_esm2015/internal/operators/every.js
generated
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function every(predicate, thisArg) {
|
||||
return (source) => source.lift(new EveryOperator(predicate, thisArg, source));
|
||||
}
|
||||
class EveryOperator {
|
||||
constructor(predicate, thisArg, source) {
|
||||
this.predicate = predicate;
|
||||
this.thisArg = thisArg;
|
||||
this.source = source;
|
||||
}
|
||||
call(observer, source) {
|
||||
return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));
|
||||
}
|
||||
}
|
||||
class EverySubscriber extends Subscriber {
|
||||
constructor(destination, predicate, thisArg, source) {
|
||||
super(destination);
|
||||
this.predicate = predicate;
|
||||
this.thisArg = thisArg;
|
||||
this.source = source;
|
||||
this.index = 0;
|
||||
this.thisArg = thisArg || this;
|
||||
}
|
||||
notifyComplete(everyValueMatch) {
|
||||
this.destination.next(everyValueMatch);
|
||||
this.destination.complete();
|
||||
}
|
||||
_next(value) {
|
||||
let result = false;
|
||||
try {
|
||||
result = this.predicate.call(this.thisArg, value, this.index++, this.source);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
if (!result) {
|
||||
this.notifyComplete(false);
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.notifyComplete(true);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=every.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/every.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/every.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"every.js","sources":["../../../src/internal/operators/every.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAwB3C,MAAM,UAAU,KAAK,CAAI,SAAsE,EACtE,OAAa;IACpC,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAC/F,CAAC;AAED,MAAM,aAAa;IACjB,YAAoB,SAAsE,EACtE,OAAa,EACb,MAAsB;QAFtB,cAAS,GAAT,SAAS,CAA6D;QACtE,YAAO,GAAP,OAAO,CAAM;QACb,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,IAAI,CAAC,QAA6B,EAAE,MAAW;QAC7C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACpG,CAAC;CACF;AAOD,MAAM,eAAmB,SAAQ,UAAa;IAG5C,YAAY,WAA8B,EACtB,SAAsE,EACtE,OAAY,EACZ,MAAsB;QACxC,KAAK,CAAC,WAAW,CAAC,CAAC;QAHD,cAAS,GAAT,SAAS,CAA6D;QACtE,YAAO,GAAP,OAAO,CAAK;QACZ,WAAM,GAAN,MAAM,CAAgB;QALlC,UAAK,GAAW,CAAC,CAAC;QAOxB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;IACjC,CAAC;IAEO,cAAc,CAAC,eAAwB;QAC7C,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACvC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,MAAM,GAAG,KAAK,CAAC;QACnB,IAAI;YACF,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;SAC9E;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,OAAO;SACR;QAED,IAAI,CAAC,MAAM,EAAE;YACX,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;SAC5B;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF"}
|
35
node_modules/rxjs/_esm2015/internal/operators/exhaust.js
generated
vendored
Normal file
35
node_modules/rxjs/_esm2015/internal/operators/exhaust.js
generated
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
|
||||
export function exhaust() {
|
||||
return (source) => source.lift(new SwitchFirstOperator());
|
||||
}
|
||||
class SwitchFirstOperator {
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new SwitchFirstSubscriber(subscriber));
|
||||
}
|
||||
}
|
||||
class SwitchFirstSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination) {
|
||||
super(destination);
|
||||
this.hasCompleted = false;
|
||||
this.hasSubscription = false;
|
||||
}
|
||||
_next(value) {
|
||||
if (!this.hasSubscription) {
|
||||
this.hasSubscription = true;
|
||||
this.add(innerSubscribe(value, new SimpleInnerSubscriber(this)));
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.hasCompleted = true;
|
||||
if (!this.hasSubscription) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
notifyComplete() {
|
||||
this.hasSubscription = false;
|
||||
if (this.hasCompleted) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=exhaust.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/exhaust.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/exhaust.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"exhaust.js","sources":["../../../src/internal/operators/exhaust.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAiDjG,MAAM,UAAU,OAAO;IACrB,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,EAAK,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,mBAAmB;IACvB,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC;IACjE,CAAC;CACF;AAOD,MAAM,qBAAyB,SAAQ,qBAA2B;IAIhE,YAAY,WAA0B;QACpC,KAAK,CAAC,WAAW,CAAC,CAAC;QAJb,iBAAY,GAAY,KAAK,CAAC;QAC9B,oBAAe,GAAY,KAAK,CAAC;IAIzC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;YAC5B,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,EAAE,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SAClE;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;IACH,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;IACH,CAAC;CACF"}
|
73
node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js
generated
vendored
Normal file
73
node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js
generated
vendored
Normal file
|
@ -0,0 +1,73 @@
|
|||
import { map } from './map';
|
||||
import { from } from '../observable/from';
|
||||
import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';
|
||||
export function exhaustMap(project, resultSelector) {
|
||||
if (resultSelector) {
|
||||
return (source) => source.pipe(exhaustMap((a, i) => from(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii)))));
|
||||
}
|
||||
return (source) => source.lift(new ExhaustMapOperator(project));
|
||||
}
|
||||
class ExhaustMapOperator {
|
||||
constructor(project) {
|
||||
this.project = project;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new ExhaustMapSubscriber(subscriber, this.project));
|
||||
}
|
||||
}
|
||||
class ExhaustMapSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, project) {
|
||||
super(destination);
|
||||
this.project = project;
|
||||
this.hasSubscription = false;
|
||||
this.hasCompleted = false;
|
||||
this.index = 0;
|
||||
}
|
||||
_next(value) {
|
||||
if (!this.hasSubscription) {
|
||||
this.tryNext(value);
|
||||
}
|
||||
}
|
||||
tryNext(value) {
|
||||
let result;
|
||||
const index = this.index++;
|
||||
try {
|
||||
result = this.project(value, index);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.hasSubscription = true;
|
||||
this._innerSub(result);
|
||||
}
|
||||
_innerSub(result) {
|
||||
const innerSubscriber = new SimpleInnerSubscriber(this);
|
||||
const destination = this.destination;
|
||||
destination.add(innerSubscriber);
|
||||
const innerSubscription = innerSubscribe(result, innerSubscriber);
|
||||
if (innerSubscription !== innerSubscriber) {
|
||||
destination.add(innerSubscription);
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.hasCompleted = true;
|
||||
if (!this.hasSubscription) {
|
||||
this.destination.complete();
|
||||
}
|
||||
this.unsubscribe();
|
||||
}
|
||||
notifyNext(innerValue) {
|
||||
this.destination.next(innerValue);
|
||||
}
|
||||
notifyError(err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
notifyComplete() {
|
||||
this.hasSubscription = false;
|
||||
if (this.hasCompleted) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=exhaustMap.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"exhaustMap.js","sources":["../../../src/internal/operators/exhaustMap.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAA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Ae,GAAG,KAAK,CAAC;QAC7B,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;IACH,CAAC;CACF"}
|
88
node_modules/rxjs/_esm2015/internal/operators/expand.js
generated
vendored
Normal file
88
node_modules/rxjs/_esm2015/internal/operators/expand.js
generated
vendored
Normal file
|
@ -0,0 +1,88 @@
|
|||
import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';
|
||||
export function expand(project, concurrent = Number.POSITIVE_INFINITY, scheduler) {
|
||||
concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent;
|
||||
return (source) => source.lift(new ExpandOperator(project, concurrent, scheduler));
|
||||
}
|
||||
export class ExpandOperator {
|
||||
constructor(project, concurrent, scheduler) {
|
||||
this.project = project;
|
||||
this.concurrent = concurrent;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler));
|
||||
}
|
||||
}
|
||||
export class ExpandSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, project, concurrent, scheduler) {
|
||||
super(destination);
|
||||
this.project = project;
|
||||
this.concurrent = concurrent;
|
||||
this.scheduler = scheduler;
|
||||
this.index = 0;
|
||||
this.active = 0;
|
||||
this.hasCompleted = false;
|
||||
if (concurrent < Number.POSITIVE_INFINITY) {
|
||||
this.buffer = [];
|
||||
}
|
||||
}
|
||||
static dispatch(arg) {
|
||||
const { subscriber, result, value, index } = arg;
|
||||
subscriber.subscribeToProjection(result, value, index);
|
||||
}
|
||||
_next(value) {
|
||||
const destination = this.destination;
|
||||
if (destination.closed) {
|
||||
this._complete();
|
||||
return;
|
||||
}
|
||||
const index = this.index++;
|
||||
if (this.active < this.concurrent) {
|
||||
destination.next(value);
|
||||
try {
|
||||
const { project } = this;
|
||||
const result = project(value, index);
|
||||
if (!this.scheduler) {
|
||||
this.subscribeToProjection(result, value, index);
|
||||
}
|
||||
else {
|
||||
const state = { subscriber: this, result, value, index };
|
||||
const destination = this.destination;
|
||||
destination.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state));
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
destination.error(e);
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.buffer.push(value);
|
||||
}
|
||||
}
|
||||
subscribeToProjection(result, value, index) {
|
||||
this.active++;
|
||||
const destination = this.destination;
|
||||
destination.add(innerSubscribe(result, new SimpleInnerSubscriber(this)));
|
||||
}
|
||||
_complete() {
|
||||
this.hasCompleted = true;
|
||||
if (this.hasCompleted && this.active === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
this.unsubscribe();
|
||||
}
|
||||
notifyNext(innerValue) {
|
||||
this._next(innerValue);
|
||||
}
|
||||
notifyComplete() {
|
||||
const buffer = this.buffer;
|
||||
this.active--;
|
||||
if (buffer && buffer.length > 0) {
|
||||
this._next(buffer.shift());
|
||||
}
|
||||
if (this.hasCompleted && this.active === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=expand.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/expand.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/expand.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"expand.js","sources":["../../../src/internal/operators/expand.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA2DjG,MAAM,UAAU,MAAM,CAAO,OAAwD,EACxD,aAAqB,MAAM,CAAC,iBAAiB,EAC7C,SAAyB;IACpD,UAAU,GAAG,CAAC,UAAU,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,UAAU,CAAC;IAE3E,OAAO,C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,SAAS;QACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAC1C,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;QACD,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAED,UAAU,CAAC,UAAa;QACtB,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IACzB,CAAC;IAED,cAAc;QACZ,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,MAAM,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;YAC/B,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;SAC5B;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YAC1C,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;IACH,CAAC;CACF"}
|
37
node_modules/rxjs/_esm2015/internal/operators/filter.js
generated
vendored
Normal file
37
node_modules/rxjs/_esm2015/internal/operators/filter.js
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function filter(predicate, thisArg) {
|
||||
return function filterOperatorFunction(source) {
|
||||
return source.lift(new FilterOperator(predicate, thisArg));
|
||||
};
|
||||
}
|
||||
class FilterOperator {
|
||||
constructor(predicate, thisArg) {
|
||||
this.predicate = predicate;
|
||||
this.thisArg = thisArg;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));
|
||||
}
|
||||
}
|
||||
class FilterSubscriber extends Subscriber {
|
||||
constructor(destination, predicate, thisArg) {
|
||||
super(destination);
|
||||
this.predicate = predicate;
|
||||
this.thisArg = thisArg;
|
||||
this.count = 0;
|
||||
}
|
||||
_next(value) {
|
||||
let result;
|
||||
try {
|
||||
result = this.predicate.call(this.thisArg, value, this.count++);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
if (result) {
|
||||
this.destination.next(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=filter.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/filter.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/filter.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"filter.js","sources":["../../../src/internal/operators/filter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAwD3C,MAAM,UAAU,MAAM,CAAI,SAA+C,EAC/C,OAAa;IACrC,OAAO,SAAS,sBAAsB,CAAC,MAAqB;QAC1D,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7D,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,cAAc;IAClB,YAAoB,SAA+C,EAC/C,OAAa;QADb,cAAS,GAAT,SAAS,CAAsC;QAC/C,YAAO,GAAP,OAAO,CAAM;IACjC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1F,CAAC;CACF;AAOD,MAAM,gBAAoB,SAAQ,UAAa;IAI7C,YAAY,WAA0B,EAClB,SAA+C,EAC/C,OAAY;QAC9B,KAAK,CAAC,WAAW,CAAC,CAAC;QAFD,cAAS,GAAT,SAAS,CAAsC;QAC/C,YAAO,GAAP,OAAO,CAAK;QAJhC,UAAK,GAAW,CAAC,CAAC;IAMlB,CAAC;IAIS,KAAK,CAAC,KAAQ;QACtB,IAAI,MAAW,CAAC;QAChB,IAAI;YACF,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;SACjE;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,OAAO;SACR;QACD,IAAI,MAAM,EAAE;YACV,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC9B;IACH,CAAC;CACF"}
|
20
node_modules/rxjs/_esm2015/internal/operators/finalize.js
generated
vendored
Normal file
20
node_modules/rxjs/_esm2015/internal/operators/finalize.js
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
import { Subscription } from '../Subscription';
|
||||
export function finalize(callback) {
|
||||
return (source) => source.lift(new FinallyOperator(callback));
|
||||
}
|
||||
class FinallyOperator {
|
||||
constructor(callback) {
|
||||
this.callback = callback;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new FinallySubscriber(subscriber, this.callback));
|
||||
}
|
||||
}
|
||||
class FinallySubscriber extends Subscriber {
|
||||
constructor(destination, callback) {
|
||||
super(destination);
|
||||
this.add(new Subscription(callback));
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=finalize.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/finalize.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/finalize.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"finalize.js","sources":["../../../src/internal/operators/finalize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAY/C,MAAM,UAAU,QAAQ,CAAI,QAAoB;IAC9C,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED,MAAM,eAAe;IACnB,YAAoB,QAAoB;QAApB,aAAQ,GAAR,QAAQ,CAAY;IACxC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AAOD,MAAM,iBAAqB,SAAQ,UAAa;IAC9C,YAAY,WAA0B,EAAE,QAAoB;QAC1D,KAAK,CAAC,WAAW,CAAC,CAAC;QACnB,IAAI,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC;IACvC,CAAC;CACF"}
|
51
node_modules/rxjs/_esm2015/internal/operators/find.js
generated
vendored
Normal file
51
node_modules/rxjs/_esm2015/internal/operators/find.js
generated
vendored
Normal file
|
@ -0,0 +1,51 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function find(predicate, thisArg) {
|
||||
if (typeof predicate !== 'function') {
|
||||
throw new TypeError('predicate is not a function');
|
||||
}
|
||||
return (source) => source.lift(new FindValueOperator(predicate, source, false, thisArg));
|
||||
}
|
||||
export class FindValueOperator {
|
||||
constructor(predicate, source, yieldIndex, thisArg) {
|
||||
this.predicate = predicate;
|
||||
this.source = source;
|
||||
this.yieldIndex = yieldIndex;
|
||||
this.thisArg = thisArg;
|
||||
}
|
||||
call(observer, source) {
|
||||
return source.subscribe(new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg));
|
||||
}
|
||||
}
|
||||
export class FindValueSubscriber extends Subscriber {
|
||||
constructor(destination, predicate, source, yieldIndex, thisArg) {
|
||||
super(destination);
|
||||
this.predicate = predicate;
|
||||
this.source = source;
|
||||
this.yieldIndex = yieldIndex;
|
||||
this.thisArg = thisArg;
|
||||
this.index = 0;
|
||||
}
|
||||
notifyComplete(value) {
|
||||
const destination = this.destination;
|
||||
destination.next(value);
|
||||
destination.complete();
|
||||
this.unsubscribe();
|
||||
}
|
||||
_next(value) {
|
||||
const { predicate, thisArg } = this;
|
||||
const index = this.index++;
|
||||
try {
|
||||
const result = predicate.call(thisArg || this, value, index, this.source);
|
||||
if (result) {
|
||||
this.notifyComplete(this.yieldIndex ? index : value);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.notifyComplete(this.yieldIndex ? -1 : undefined);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=find.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/find.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/find.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"find.js","sources":["../../../src/internal/operators/find.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AA8CzC,MAAM,UAAU,IAAI,CAAI,SAAsE,EACtE,OAAa;IACnC,IAAI,OAAO,SAAS,KAAK,UAAU,EAAE;QACnC,MAAM,IAAI,SAAS,CAAC,6BAA6B,CAAC,CAAC;KACpD;IACD,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAA8B,CAAC;AACvI,CAAC;AAED,MAAM,OAAO,iBAAiB;IAC5B,YAAoB,SAAsE,EACtE,MAAqB,EACrB,UAAmB,EACnB,OAAa;QAHb,cAAS,GAAT,SAAS,CAA6D;QACtE,WAAM,GAAN,MAAM,CAAe;QACrB,eAAU,GAAV,UAAU,CAAS;QACnB,YAAO,GAAP,OAAO,CAAM;IACjC,CAAC;IAED,IAAI,CAAC,QAAuB,EAAE,MAAW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ACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACxD,CAAC;CACF"}
|
5
node_modules/rxjs/_esm2015/internal/operators/findIndex.js
generated
vendored
Normal file
5
node_modules/rxjs/_esm2015/internal/operators/findIndex.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { FindValueOperator } from '../operators/find';
|
||||
export function findIndex(predicate, thisArg) {
|
||||
return (source) => source.lift(new FindValueOperator(predicate, source, true, thisArg));
|
||||
}
|
||||
//# sourceMappingURL=findIndex.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/findIndex.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/findIndex.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"findIndex.js","sources":["../../../src/internal/operators/findIndex.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AA0CtD,MAAM,UAAU,SAAS,CAAI,SAAsE,EACtE,OAAa;IACxC,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAoB,CAAC;AAC5H,CAAC"}
|
11
node_modules/rxjs/_esm2015/internal/operators/first.js
generated
vendored
Normal file
11
node_modules/rxjs/_esm2015/internal/operators/first.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { EmptyError } from '../util/EmptyError';
|
||||
import { filter } from './filter';
|
||||
import { take } from './take';
|
||||
import { defaultIfEmpty } from './defaultIfEmpty';
|
||||
import { throwIfEmpty } from './throwIfEmpty';
|
||||
import { identity } from '../util/identity';
|
||||
export function first(predicate, defaultValue) {
|
||||
const hasDefaultValue = arguments.length >= 2;
|
||||
return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));
|
||||
}
|
||||
//# sourceMappingURL=first.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/first.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/first.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"first.js","sources":["../../../src/internal/operators/first.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAuE5C,MAAM,UAAU,KAAK,CACnB,SAAgF,EAChF,YAAgB;IAEhB,MAAM,eAAe,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;IAC9C,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAC3C,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAChE,IAAI,CAAC,CAAC,CAAC,EACP,eAAe,CAAC,CAAC,CAAC,cAAc,CAAQ,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,UAAU,EAAE,CAAC,CAC7F,CAAC;AACJ,CAAC"}
|
164
node_modules/rxjs/_esm2015/internal/operators/groupBy.js
generated
vendored
Normal file
164
node_modules/rxjs/_esm2015/internal/operators/groupBy.js
generated
vendored
Normal file
|
@ -0,0 +1,164 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
import { Subscription } from '../Subscription';
|
||||
import { Observable } from '../Observable';
|
||||
import { Subject } from '../Subject';
|
||||
export function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) {
|
||||
return (source) => source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector));
|
||||
}
|
||||
class GroupByOperator {
|
||||
constructor(keySelector, elementSelector, durationSelector, subjectSelector) {
|
||||
this.keySelector = keySelector;
|
||||
this.elementSelector = elementSelector;
|
||||
this.durationSelector = durationSelector;
|
||||
this.subjectSelector = subjectSelector;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector));
|
||||
}
|
||||
}
|
||||
class GroupBySubscriber extends Subscriber {
|
||||
constructor(destination, keySelector, elementSelector, durationSelector, subjectSelector) {
|
||||
super(destination);
|
||||
this.keySelector = keySelector;
|
||||
this.elementSelector = elementSelector;
|
||||
this.durationSelector = durationSelector;
|
||||
this.subjectSelector = subjectSelector;
|
||||
this.groups = null;
|
||||
this.attemptedToUnsubscribe = false;
|
||||
this.count = 0;
|
||||
}
|
||||
_next(value) {
|
||||
let key;
|
||||
try {
|
||||
key = this.keySelector(value);
|
||||
}
|
||||
catch (err) {
|
||||
this.error(err);
|
||||
return;
|
||||
}
|
||||
this._group(value, key);
|
||||
}
|
||||
_group(value, key) {
|
||||
let groups = this.groups;
|
||||
if (!groups) {
|
||||
groups = this.groups = new Map();
|
||||
}
|
||||
let group = groups.get(key);
|
||||
let element;
|
||||
if (this.elementSelector) {
|
||||
try {
|
||||
element = this.elementSelector(value);
|
||||
}
|
||||
catch (err) {
|
||||
this.error(err);
|
||||
}
|
||||
}
|
||||
else {
|
||||
element = value;
|
||||
}
|
||||
if (!group) {
|
||||
group = (this.subjectSelector ? this.subjectSelector() : new Subject());
|
||||
groups.set(key, group);
|
||||
const groupedObservable = new GroupedObservable(key, group, this);
|
||||
this.destination.next(groupedObservable);
|
||||
if (this.durationSelector) {
|
||||
let duration;
|
||||
try {
|
||||
duration = this.durationSelector(new GroupedObservable(key, group));
|
||||
}
|
||||
catch (err) {
|
||||
this.error(err);
|
||||
return;
|
||||
}
|
||||
this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this)));
|
||||
}
|
||||
}
|
||||
if (!group.closed) {
|
||||
group.next(element);
|
||||
}
|
||||
}
|
||||
_error(err) {
|
||||
const groups = this.groups;
|
||||
if (groups) {
|
||||
groups.forEach((group, key) => {
|
||||
group.error(err);
|
||||
});
|
||||
groups.clear();
|
||||
}
|
||||
this.destination.error(err);
|
||||
}
|
||||
_complete() {
|
||||
const groups = this.groups;
|
||||
if (groups) {
|
||||
groups.forEach((group, key) => {
|
||||
group.complete();
|
||||
});
|
||||
groups.clear();
|
||||
}
|
||||
this.destination.complete();
|
||||
}
|
||||
removeGroup(key) {
|
||||
this.groups.delete(key);
|
||||
}
|
||||
unsubscribe() {
|
||||
if (!this.closed) {
|
||||
this.attemptedToUnsubscribe = true;
|
||||
if (this.count === 0) {
|
||||
super.unsubscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
class GroupDurationSubscriber extends Subscriber {
|
||||
constructor(key, group, parent) {
|
||||
super(group);
|
||||
this.key = key;
|
||||
this.group = group;
|
||||
this.parent = parent;
|
||||
}
|
||||
_next(value) {
|
||||
this.complete();
|
||||
}
|
||||
_unsubscribe() {
|
||||
const { parent, key } = this;
|
||||
this.key = this.parent = null;
|
||||
if (parent) {
|
||||
parent.removeGroup(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
export class GroupedObservable extends Observable {
|
||||
constructor(key, groupSubject, refCountSubscription) {
|
||||
super();
|
||||
this.key = key;
|
||||
this.groupSubject = groupSubject;
|
||||
this.refCountSubscription = refCountSubscription;
|
||||
}
|
||||
_subscribe(subscriber) {
|
||||
const subscription = new Subscription();
|
||||
const { refCountSubscription, groupSubject } = this;
|
||||
if (refCountSubscription && !refCountSubscription.closed) {
|
||||
subscription.add(new InnerRefCountSubscription(refCountSubscription));
|
||||
}
|
||||
subscription.add(groupSubject.subscribe(subscriber));
|
||||
return subscription;
|
||||
}
|
||||
}
|
||||
class InnerRefCountSubscription extends Subscription {
|
||||
constructor(parent) {
|
||||
super();
|
||||
this.parent = parent;
|
||||
parent.count++;
|
||||
}
|
||||
unsubscribe() {
|
||||
const parent = this.parent;
|
||||
if (!parent.closed && !this.closed) {
|
||||
super.unsubscribe();
|
||||
parent.count -= 1;
|
||||
if (parent.count === 0 && parent.attemptedToUnsubscribe) {
|
||||
parent.unsubscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=groupBy.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/groupBy.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/groupBy.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"groupBy.js","sources":["../../../src/internal/operators/groupBy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAoGrC,MAAM,UAAU,OAAO,CAAU,WAA4B,EAC5B,eAA0C,EAC1C,gBAAwE,EACxE,eAAkC;IACjE,OAAO,CAAC,MAAqB,EAAE,EAAE,CAC/B,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,WAAW,EAAE,eAAe,EAAE,gBAAgB,EAAE,eAAe,CAAC,CAAC,CAAC;AACtG,CAAC;AASD,MAAM,eAAe;IACnB,YAAoB,WAA4B,EAC5B,eAA0C,EAC1C,gBAAwE,EACxE,eAAkC;QAHlC,gBAAW,GAA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K,IAAI,CAAC,CAAC;YAClB,IAAI,MAAM,CAAC,KAAK,KAAK,CAAC,IAAI,MAAM,CAAC,sBAAsB,EAAE;gBACvD,MAAM,CAAC,WAAW,EAAE,CAAC;aACtB;SACF;IACH,CAAC;CACF"}
|
16
node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js
generated
vendored
Normal file
16
node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function ignoreElements() {
|
||||
return function ignoreElementsOperatorFunction(source) {
|
||||
return source.lift(new IgnoreElementsOperator());
|
||||
};
|
||||
}
|
||||
class IgnoreElementsOperator {
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new IgnoreElementsSubscriber(subscriber));
|
||||
}
|
||||
}
|
||||
class IgnoreElementsSubscriber extends Subscriber {
|
||||
_next(unused) {
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=ignoreElements.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"ignoreElements.js","sources":["../../../src/internal/operators/ignoreElements.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AA8B3C,MAAM,UAAU,cAAc;IAC5B,OAAO,SAAS,8BAA8B,CAAC,MAAuB;QACpE,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,sBAAsB,EAAE,CAAC,CAAC;IACnD,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,sBAAsB;IAC1B,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC;IACpE,CAAC;CACF;AAOD,MAAM,wBAA4B,SAAQ,UAAa;IAC3C,KAAK,CAAC,MAAS;IAEzB,CAAC;CACF"}
|
103
node_modules/rxjs/_esm2015/internal/operators/index.js
generated
vendored
Normal file
103
node_modules/rxjs/_esm2015/internal/operators/index.js
generated
vendored
Normal file
|
@ -0,0 +1,103 @@
|
|||
export { audit } from './audit';
|
||||
export { auditTime } from './auditTime';
|
||||
export { buffer } from './buffer';
|
||||
export { bufferCount } from './bufferCount';
|
||||
export { bufferTime } from './bufferTime';
|
||||
export { bufferToggle } from './bufferToggle';
|
||||
export { bufferWhen } from './bufferWhen';
|
||||
export { catchError } from './catchError';
|
||||
export { combineAll } from './combineAll';
|
||||
export { combineLatest } from './combineLatest';
|
||||
export { concat } from './concat';
|
||||
export { concatAll } from './concatAll';
|
||||
export { concatMap } from './concatMap';
|
||||
export { concatMapTo } from './concatMapTo';
|
||||
export { count } from './count';
|
||||
export { debounce } from './debounce';
|
||||
export { debounceTime } from './debounceTime';
|
||||
export { defaultIfEmpty } from './defaultIfEmpty';
|
||||
export { delay } from './delay';
|
||||
export { delayWhen } from './delayWhen';
|
||||
export { dematerialize } from './dematerialize';
|
||||
export { distinct } from './distinct';
|
||||
export { distinctUntilChanged } from './distinctUntilChanged';
|
||||
export { distinctUntilKeyChanged } from './distinctUntilKeyChanged';
|
||||
export { elementAt } from './elementAt';
|
||||
export { every } from './every';
|
||||
export { exhaust } from './exhaust';
|
||||
export { exhaustMap } from './exhaustMap';
|
||||
export { expand } from './expand';
|
||||
export { filter } from './filter';
|
||||
export { finalize } from './finalize';
|
||||
export { find } from './find';
|
||||
export { findIndex } from './findIndex';
|
||||
export { first } from './first';
|
||||
export { groupBy } from './groupBy';
|
||||
export { ignoreElements } from './ignoreElements';
|
||||
export { isEmpty } from './isEmpty';
|
||||
export { last } from './last';
|
||||
export { map } from './map';
|
||||
export { mapTo } from './mapTo';
|
||||
export { materialize } from './materialize';
|
||||
export { max } from './max';
|
||||
export { merge } from './merge';
|
||||
export { mergeAll } from './mergeAll';
|
||||
export { mergeMap } from './mergeMap';
|
||||
export { mergeMap as flatMap } from './mergeMap';
|
||||
export { mergeMapTo } from './mergeMapTo';
|
||||
export { mergeScan } from './mergeScan';
|
||||
export { min } from './min';
|
||||
export { multicast } from './multicast';
|
||||
export { observeOn } from './observeOn';
|
||||
export { onErrorResumeNext } from './onErrorResumeNext';
|
||||
export { pairwise } from './pairwise';
|
||||
export { partition } from './partition';
|
||||
export { pluck } from './pluck';
|
||||
export { publish } from './publish';
|
||||
export { publishBehavior } from './publishBehavior';
|
||||
export { publishLast } from './publishLast';
|
||||
export { publishReplay } from './publishReplay';
|
||||
export { race } from './race';
|
||||
export { reduce } from './reduce';
|
||||
export { repeat } from './repeat';
|
||||
export { repeatWhen } from './repeatWhen';
|
||||
export { retry } from './retry';
|
||||
export { retryWhen } from './retryWhen';
|
||||
export { refCount } from './refCount';
|
||||
export { sample } from './sample';
|
||||
export { sampleTime } from './sampleTime';
|
||||
export { scan } from './scan';
|
||||
export { sequenceEqual } from './sequenceEqual';
|
||||
export { share } from './share';
|
||||
export { shareReplay } from './shareReplay';
|
||||
export { single } from './single';
|
||||
export { skip } from './skip';
|
||||
export { skipLast } from './skipLast';
|
||||
export { skipUntil } from './skipUntil';
|
||||
export { skipWhile } from './skipWhile';
|
||||
export { startWith } from './startWith';
|
||||
export { subscribeOn } from './subscribeOn';
|
||||
export { switchAll } from './switchAll';
|
||||
export { switchMap } from './switchMap';
|
||||
export { switchMapTo } from './switchMapTo';
|
||||
export { take } from './take';
|
||||
export { takeLast } from './takeLast';
|
||||
export { takeUntil } from './takeUntil';
|
||||
export { takeWhile } from './takeWhile';
|
||||
export { tap } from './tap';
|
||||
export { throttle } from './throttle';
|
||||
export { throttleTime } from './throttleTime';
|
||||
export { timeInterval } from './timeInterval';
|
||||
export { timeout } from './timeout';
|
||||
export { timeoutWith } from './timeoutWith';
|
||||
export { timestamp } from './timestamp';
|
||||
export { toArray } from './toArray';
|
||||
export { window } from './window';
|
||||
export { windowCount } from './windowCount';
|
||||
export { windowTime } from './windowTime';
|
||||
export { windowToggle } from './windowToggle';
|
||||
export { windowWhen } from './windowWhen';
|
||||
export { withLatestFrom } from './withLatestFrom';
|
||||
export { zip } from './zip';
|
||||
export { zipAll } from './zipAll';
|
||||
//# sourceMappingURL=index.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/index.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/index.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index.js","sources":["../../../src/internal/operators/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAA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CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
26
node_modules/rxjs/_esm2015/internal/operators/isEmpty.js
generated
vendored
Normal file
26
node_modules/rxjs/_esm2015/internal/operators/isEmpty.js
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function isEmpty() {
|
||||
return (source) => source.lift(new IsEmptyOperator());
|
||||
}
|
||||
class IsEmptyOperator {
|
||||
call(observer, source) {
|
||||
return source.subscribe(new IsEmptySubscriber(observer));
|
||||
}
|
||||
}
|
||||
class IsEmptySubscriber extends Subscriber {
|
||||
constructor(destination) {
|
||||
super(destination);
|
||||
}
|
||||
notifyComplete(isEmpty) {
|
||||
const destination = this.destination;
|
||||
destination.next(isEmpty);
|
||||
destination.complete();
|
||||
}
|
||||
_next(value) {
|
||||
this.notifyComplete(false);
|
||||
}
|
||||
_complete() {
|
||||
this.notifyComplete(true);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=isEmpty.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/isEmpty.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/isEmpty.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"isEmpty.js","sources":["../../../src/internal/operators/isEmpty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAgE3C,MAAM,UAAU,OAAO;IACrB,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;AACvE,CAAC;AAED,MAAM,eAAe;IACnB,IAAI,CAAE,QAA6B,EAAE,MAAW;QAC9C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3D,CAAC;CACF;AAOD,MAAM,iBAAkB,SAAQ,UAAe;IAC7C,YAAY,WAAgC;QAC1C,KAAK,CAAC,WAAW,CAAC,CAAC;IACrB,CAAC;IAEO,cAAc,CAAC,OAAgB;QACrC,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1B,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,KAAK,CAAC,KAAc;QAC5B,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF"}
|
11
node_modules/rxjs/_esm2015/internal/operators/last.js
generated
vendored
Normal file
11
node_modules/rxjs/_esm2015/internal/operators/last.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { EmptyError } from '../util/EmptyError';
|
||||
import { filter } from './filter';
|
||||
import { takeLast } from './takeLast';
|
||||
import { throwIfEmpty } from './throwIfEmpty';
|
||||
import { defaultIfEmpty } from './defaultIfEmpty';
|
||||
import { identity } from '../util/identity';
|
||||
export function last(predicate, defaultValue) {
|
||||
const hasDefaultValue = arguments.length >= 2;
|
||||
return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, takeLast(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));
|
||||
}
|
||||
//# sourceMappingURL=last.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/last.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/last.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"last.js","sources":["../../../src/internal/operators/last.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAkC5C,MAAM,UAAU,IAAI,CAClB,SAAgF,EAChF,YAAgB;IAEhB,MAAM,eAAe,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;IAC9C,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAC3C,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAChE,QAAQ,CAAC,CAAC,CAAC,EACX,eAAe,CAAC,CAAC,CAAC,cAAc,CAAQ,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,UAAU,EAAE,CAAC,CAC7F,CAAC;AACJ,CAAC"}
|
38
node_modules/rxjs/_esm2015/internal/operators/map.js
generated
vendored
Normal file
38
node_modules/rxjs/_esm2015/internal/operators/map.js
generated
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function map(project, thisArg) {
|
||||
return function mapOperation(source) {
|
||||
if (typeof project !== 'function') {
|
||||
throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');
|
||||
}
|
||||
return source.lift(new MapOperator(project, thisArg));
|
||||
};
|
||||
}
|
||||
export class MapOperator {
|
||||
constructor(project, thisArg) {
|
||||
this.project = project;
|
||||
this.thisArg = thisArg;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));
|
||||
}
|
||||
}
|
||||
class MapSubscriber extends Subscriber {
|
||||
constructor(destination, project, thisArg) {
|
||||
super(destination);
|
||||
this.project = project;
|
||||
this.count = 0;
|
||||
this.thisArg = thisArg || this;
|
||||
}
|
||||
_next(value) {
|
||||
let result;
|
||||
try {
|
||||
result = this.project.call(this.thisArg, value, this.count++);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.destination.next(result);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=map.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/map.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/map.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"map.js","sources":["../../../src/internal/operators/map.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AA2C3C,MAAM,UAAU,GAAG,CAAO,OAAuC,EAAE,OAAa;IAC9E,OAAO,SAAS,YAAY,CAAC,MAAqB;QAChD,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE;YACjC,MAAM,IAAI,SAAS,CAAC,4DAA4D,CAAC,CAAC;SACnF;QACD,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACxD,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,OAAO,WAAW;IACtB,YAAoB,OAAuC,EAAU,OAAY;QAA7D,YAAO,GAAP,OAAO,CAAgC;QAAU,YAAO,GAAP,OAAO,CAAK;IACjF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACrF,CAAC;CACF;AAOD,MAAM,aAAoB,SAAQ,UAAa;IAI7C,YAAY,WAA0B,EAClB,OAAuC,EAC/C,OAAY;QACtB,KAAK,CAAC,WAAW,CAAC,CAAC;QAFD,YAAO,GAAP,OAAO,CAAgC;QAJ3D,UAAK,GAAW,CAAC,CAAC;QAOhB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;IACjC,CAAC;IAIS,KAAK,CAAC,KAAQ;QACtB,IAAI,MAAS,CAAC;QACd,IAAI;YACF,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;SAC/D;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,OAAO;SACR;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;CACF"}
|
22
node_modules/rxjs/_esm2015/internal/operators/mapTo.js
generated
vendored
Normal file
22
node_modules/rxjs/_esm2015/internal/operators/mapTo.js
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
export function mapTo(value) {
|
||||
return (source) => source.lift(new MapToOperator(value));
|
||||
}
|
||||
class MapToOperator {
|
||||
constructor(value) {
|
||||
this.value = value;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new MapToSubscriber(subscriber, this.value));
|
||||
}
|
||||
}
|
||||
class MapToSubscriber extends Subscriber {
|
||||
constructor(destination, value) {
|
||||
super(destination);
|
||||
this.value = value;
|
||||
}
|
||||
_next(x) {
|
||||
this.destination.next(this.value);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=mapTo.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/mapTo.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/mapTo.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"mapTo.js","sources":["../../../src/internal/operators/mapTo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAoC3C,MAAM,UAAU,KAAK,CAAO,KAAQ;IAClC,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AAC1E,CAAC;AAED,MAAM,aAAa;IAIjB,YAAY,KAAQ;QAClB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,CAAC;CACF;AAOD,MAAM,eAAsB,SAAQ,UAAa;IAI/C,YAAY,WAA0B,EAAE,KAAQ;QAC9C,KAAK,CAAC,WAAW,CAAC,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,CAAI;QAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF"}
|
31
node_modules/rxjs/_esm2015/internal/operators/materialize.js
generated
vendored
Normal file
31
node_modules/rxjs/_esm2015/internal/operators/materialize.js
generated
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
import { Subscriber } from '../Subscriber';
|
||||
import { Notification } from '../Notification';
|
||||
export function materialize() {
|
||||
return function materializeOperatorFunction(source) {
|
||||
return source.lift(new MaterializeOperator());
|
||||
};
|
||||
}
|
||||
class MaterializeOperator {
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new MaterializeSubscriber(subscriber));
|
||||
}
|
||||
}
|
||||
class MaterializeSubscriber extends Subscriber {
|
||||
constructor(destination) {
|
||||
super(destination);
|
||||
}
|
||||
_next(value) {
|
||||
this.destination.next(Notification.createNext(value));
|
||||
}
|
||||
_error(err) {
|
||||
const destination = this.destination;
|
||||
destination.next(Notification.createError(err));
|
||||
destination.complete();
|
||||
}
|
||||
_complete() {
|
||||
const destination = this.destination;
|
||||
destination.next(Notification.createComplete());
|
||||
destination.complete();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=materialize.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/materialize.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/materialize.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"materialize.js","sources":["../../../src/internal/operators/materialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAqD/C,MAAM,UAAU,WAAW;IACzB,OAAO,SAAS,2BAA2B,CAAC,MAAqB;QAC/D,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,mBAAmB;IACvB,IAAI,CAAC,UAAuC,EAAE,MAAW;QACvD,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC;IACjE,CAAC;CACF;AAOD,MAAM,qBAAyB,SAAQ,UAAa;IAClD,YAAY,WAAwC;QAClD,KAAK,CAAC,WAAW,CAAC,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;QAChD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;QAChD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;CACF"}
|
8
node_modules/rxjs/_esm2015/internal/operators/max.js
generated
vendored
Normal file
8
node_modules/rxjs/_esm2015/internal/operators/max.js
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { reduce } from './reduce';
|
||||
export function max(comparer) {
|
||||
const max = (typeof comparer === 'function')
|
||||
? (x, y) => comparer(x, y) > 0 ? x : y
|
||||
: (x, y) => x > y ? x : y;
|
||||
return reduce(max);
|
||||
}
|
||||
//# sourceMappingURL=max.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/max.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/max.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"max.js","sources":["../../../src/internal/operators/max.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAgDlC,MAAM,UAAU,GAAG,CAAI,QAAiC;IACtD,MAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;QAC7D,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAE5B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"}
|
5
node_modules/rxjs/_esm2015/internal/operators/merge.js
generated
vendored
Normal file
5
node_modules/rxjs/_esm2015/internal/operators/merge.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { merge as mergeStatic } from '../observable/merge';
|
||||
export function merge(...observables) {
|
||||
return (source) => source.lift.call(mergeStatic(source, ...observables));
|
||||
}
|
||||
//# sourceMappingURL=merge.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/merge.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/merge.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"merge.js","sources":["../../../src/internal/operators/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAsC3D,MAAM,UAAU,KAAK,CAAO,GAAG,WAAiE;IAC9F,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;AAC1F,CAAC"}
|
6
node_modules/rxjs/_esm2015/internal/operators/mergeAll.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm2015/internal/operators/mergeAll.js
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { mergeMap } from './mergeMap';
|
||||
import { identity } from '../util/identity';
|
||||
export function mergeAll(concurrent = Number.POSITIVE_INFINITY) {
|
||||
return mergeMap(identity, concurrent);
|
||||
}
|
||||
//# sourceMappingURL=mergeAll.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/mergeAll.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/mergeAll.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"mergeAll.js","sources":["../../../src/internal/operators/mergeAll.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AA6D5C,MAAM,UAAU,QAAQ,CAAI,aAAqB,MAAM,CAAC,iBAAiB;IACvE,OAAO,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AACxC,CAAC"}
|
84
node_modules/rxjs/_esm2015/internal/operators/mergeMap.js
generated
vendored
Normal file
84
node_modules/rxjs/_esm2015/internal/operators/mergeMap.js
generated
vendored
Normal file
|
@ -0,0 +1,84 @@
|
|||
import { map } from './map';
|
||||
import { from } from '../observable/from';
|
||||
import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';
|
||||
export function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) {
|
||||
if (typeof resultSelector === 'function') {
|
||||
return (source) => source.pipe(mergeMap((a, i) => from(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii))), concurrent));
|
||||
}
|
||||
else if (typeof resultSelector === 'number') {
|
||||
concurrent = resultSelector;
|
||||
}
|
||||
return (source) => source.lift(new MergeMapOperator(project, concurrent));
|
||||
}
|
||||
export class MergeMapOperator {
|
||||
constructor(project, concurrent = Number.POSITIVE_INFINITY) {
|
||||
this.project = project;
|
||||
this.concurrent = concurrent;
|
||||
}
|
||||
call(observer, source) {
|
||||
return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));
|
||||
}
|
||||
}
|
||||
export class MergeMapSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, project, concurrent = Number.POSITIVE_INFINITY) {
|
||||
super(destination);
|
||||
this.project = project;
|
||||
this.concurrent = concurrent;
|
||||
this.hasCompleted = false;
|
||||
this.buffer = [];
|
||||
this.active = 0;
|
||||
this.index = 0;
|
||||
}
|
||||
_next(value) {
|
||||
if (this.active < this.concurrent) {
|
||||
this._tryNext(value);
|
||||
}
|
||||
else {
|
||||
this.buffer.push(value);
|
||||
}
|
||||
}
|
||||
_tryNext(value) {
|
||||
let result;
|
||||
const index = this.index++;
|
||||
try {
|
||||
result = this.project(value, index);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.active++;
|
||||
this._innerSub(result);
|
||||
}
|
||||
_innerSub(ish) {
|
||||
const innerSubscriber = new SimpleInnerSubscriber(this);
|
||||
const destination = this.destination;
|
||||
destination.add(innerSubscriber);
|
||||
const innerSubscription = innerSubscribe(ish, innerSubscriber);
|
||||
if (innerSubscription !== innerSubscriber) {
|
||||
destination.add(innerSubscription);
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.hasCompleted = true;
|
||||
if (this.active === 0 && this.buffer.length === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
this.unsubscribe();
|
||||
}
|
||||
notifyNext(innerValue) {
|
||||
this.destination.next(innerValue);
|
||||
}
|
||||
notifyComplete() {
|
||||
const buffer = this.buffer;
|
||||
this.active--;
|
||||
if (buffer.length > 0) {
|
||||
this._next(buffer.shift());
|
||||
}
|
||||
else if (this.active === 0 && this.hasCompleted) {
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
export const flatMap = mergeMap;
|
||||
//# sourceMappingURL=mergeMap.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/mergeMap.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/mergeMap.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"mergeMap.js","sources":["../../../src/internal/operators/mergeMap.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5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,CAAC,CAAC;SACpC;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;YACjD,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;QACD,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAED,UAAU,CAAC,UAAa;QACtB,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,UAAU,CAAC,CAAC;IACrC,CAAC;IAED,cAAc;QACZ,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;YACrB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAG,CAAC,CAAC;SAC7B;aAAM,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,EAAE;YACjD,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;IACH,CAAC;CACF;AAKD,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}
|
11
node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js
generated
vendored
Normal file
11
node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { mergeMap } from './mergeMap';
|
||||
export function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) {
|
||||
if (typeof resultSelector === 'function') {
|
||||
return mergeMap(() => innerObservable, resultSelector, concurrent);
|
||||
}
|
||||
if (typeof resultSelector === 'number') {
|
||||
concurrent = resultSelector;
|
||||
}
|
||||
return mergeMap(() => innerObservable, concurrent);
|
||||
}
|
||||
//# sourceMappingURL=mergeMapTo.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"mergeMapTo.js","sources":["../../../src/internal/operators/mergeMapTo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAiDtC,MAAM,UAAU,UAAU,CACxB,eAAkB,EAClB,cAAwH,EACxH,aAAqB,MAAM,CAAC,iBAAiB;IAE7C,IAAI,OAAO,cAAc,KAAK,UAAU,EAAE;QACxC,OAAO,QAAQ,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,cAAc,EAAE,UAAU,CAAC,CAAC;KACpE;IACD,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;QACtC,UAAU,GAAG,cAAc,CAAC;KAC7B;IACD,OAAO,QAAQ,CAAC,GAAG,EAAE,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AACrD,CAAC"}
|
85
node_modules/rxjs/_esm2015/internal/operators/mergeScan.js
generated
vendored
Normal file
85
node_modules/rxjs/_esm2015/internal/operators/mergeScan.js
generated
vendored
Normal file
|
@ -0,0 +1,85 @@
|
|||
import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';
|
||||
export function mergeScan(accumulator, seed, concurrent = Number.POSITIVE_INFINITY) {
|
||||
return (source) => source.lift(new MergeScanOperator(accumulator, seed, concurrent));
|
||||
}
|
||||
export class MergeScanOperator {
|
||||
constructor(accumulator, seed, concurrent) {
|
||||
this.accumulator = accumulator;
|
||||
this.seed = seed;
|
||||
this.concurrent = concurrent;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent));
|
||||
}
|
||||
}
|
||||
export class MergeScanSubscriber extends SimpleOuterSubscriber {
|
||||
constructor(destination, accumulator, acc, concurrent) {
|
||||
super(destination);
|
||||
this.accumulator = accumulator;
|
||||
this.acc = acc;
|
||||
this.concurrent = concurrent;
|
||||
this.hasValue = false;
|
||||
this.hasCompleted = false;
|
||||
this.buffer = [];
|
||||
this.active = 0;
|
||||
this.index = 0;
|
||||
}
|
||||
_next(value) {
|
||||
if (this.active < this.concurrent) {
|
||||
const index = this.index++;
|
||||
const destination = this.destination;
|
||||
let ish;
|
||||
try {
|
||||
const { accumulator } = this;
|
||||
ish = accumulator(this.acc, value, index);
|
||||
}
|
||||
catch (e) {
|
||||
return destination.error(e);
|
||||
}
|
||||
this.active++;
|
||||
this._innerSub(ish);
|
||||
}
|
||||
else {
|
||||
this.buffer.push(value);
|
||||
}
|
||||
}
|
||||
_innerSub(ish) {
|
||||
const innerSubscriber = new SimpleInnerSubscriber(this);
|
||||
const destination = this.destination;
|
||||
destination.add(innerSubscriber);
|
||||
const innerSubscription = innerSubscribe(ish, innerSubscriber);
|
||||
if (innerSubscription !== innerSubscriber) {
|
||||
destination.add(innerSubscription);
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
this.hasCompleted = true;
|
||||
if (this.active === 0 && this.buffer.length === 0) {
|
||||
if (this.hasValue === false) {
|
||||
this.destination.next(this.acc);
|
||||
}
|
||||
this.destination.complete();
|
||||
}
|
||||
this.unsubscribe();
|
||||
}
|
||||
notifyNext(innerValue) {
|
||||
const { destination } = this;
|
||||
this.acc = innerValue;
|
||||
this.hasValue = true;
|
||||
destination.next(innerValue);
|
||||
}
|
||||
notifyComplete() {
|
||||
const buffer = this.buffer;
|
||||
this.active--;
|
||||
if (buffer.length > 0) {
|
||||
this._next(buffer.shift());
|
||||
}
|
||||
else if (this.active === 0 && this.hasCompleted) {
|
||||
if (this.hasValue === false) {
|
||||
this.destination.next(this.acc);
|
||||
}
|
||||
this.destination.complete();
|
||||
}
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=mergeScan.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/mergeScan.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/mergeScan.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"mergeScan.js","sources":["../../../src/internal/operators/mergeScan.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAyCjG,MAAM,UAAU,SAAS,CAAO,WAAoE,EACpE,IAAO,EACP,aAAqB,MAAM,CAAC,iBAAiB;IAC3E,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,WAAW,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;AACtG,CAAC;AAED,MAAM,OAAO,iBAAiB;IAC5B,YAAoB,WAAoE,EACpE,IAAO,EACP,UAAkB;QAFlB,gBAAW,GAAX,WAAW,CAAyD;QACpE,SAAI,GAAJ,IAAI,CAAG;QACP,eAAU,GAAV,UAAU,CAAQ;IACtC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAC7C,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CACzD,CAAC,CAAC;IACL,CAAC;CACF;AAOD,MAAM,OAAO,mBAA0B,SAAQ,qBAA2B;IAOxE,YAAY,WAA0B,EAClB,WAAoE,EACpE,GAAM,EACN,UAAkB;QACpC,KAAK,CAAC,WAAW,CAAC,CAAC;QAHD,gBAAW,GAAX,WAAW,CAAyD;QACpE,QAAG,GAAH,GAAG,CAAG;QACN,eAAU,GAAV,UAAU,CAAQ;QAT9B,aAAQ,GAAY,KAAK,CAAC;QAC1B,iBAAY,GAAY,KAAK,CAAC;QAC9B,WAAM,GAAsB,EAAE,CAAC;QAC/B,WAAM,GAAW,CAAC,CAAC;QACjB,UAAK,GAAW,CAAC,CAAC;IAO5B,CAAC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AC,GAAG,CAAC,CAAC;aAClC;YACD,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;QACD,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAED,UAAU,CAAC,UAAa;QACtB,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAC7B,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC;QACtB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,WAAW,CAAC,IAAK,CAAC,UAAU,CAAC,CAAC;IAChC,CAAC;IAED,cAAc;QACZ,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;YACrB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;SAC5B;aAAM,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,EAAE;YACjD,IAAI,IAAI,CAAC,QAAQ,KAAK,KAAK,EAAE;gBAC3B,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aAClC;YACD,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;IACH,CAAC;CACF"}
|
8
node_modules/rxjs/_esm2015/internal/operators/min.js
generated
vendored
Normal file
8
node_modules/rxjs/_esm2015/internal/operators/min.js
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { reduce } from './reduce';
|
||||
export function min(comparer) {
|
||||
const min = (typeof comparer === 'function')
|
||||
? (x, y) => comparer(x, y) < 0 ? x : y
|
||||
: (x, y) => x < y ? x : y;
|
||||
return reduce(min);
|
||||
}
|
||||
//# sourceMappingURL=min.js.map
|
1
node_modules/rxjs/_esm2015/internal/operators/min.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm2015/internal/operators/min.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"min.js","sources":["../../../src/internal/operators/min.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AA+ClC,MAAM,UAAU,GAAG,CAAI,QAAiC;IACtD,MAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;QAC7D,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue