Every new change
This commit is contained in:
69
node_modules/rxjs/_esm5/internal/operators/audit.js
generated
vendored
Normal file
69
node_modules/rxjs/_esm5/internal/operators/audit.js
generated
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function audit(durationSelector) {
|
||||
return function auditOperatorFunction(source) {
|
||||
return source.lift(new AuditOperator(durationSelector));
|
||||
};
|
||||
}
|
||||
var AuditOperator = /*@__PURE__*/ (function () {
|
||||
function AuditOperator(durationSelector) {
|
||||
this.durationSelector = durationSelector;
|
||||
}
|
||||
AuditOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector));
|
||||
};
|
||||
return AuditOperator;
|
||||
}());
|
||||
var AuditSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(AuditSubscriber, _super);
|
||||
function AuditSubscriber(destination, durationSelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.durationSelector = durationSelector;
|
||||
_this.hasValue = false;
|
||||
return _this;
|
||||
}
|
||||
AuditSubscriber.prototype._next = function (value) {
|
||||
this.value = value;
|
||||
this.hasValue = true;
|
||||
if (!this.throttled) {
|
||||
var duration = void 0;
|
||||
try {
|
||||
var durationSelector = this.durationSelector;
|
||||
duration = durationSelector(value);
|
||||
}
|
||||
catch (err) {
|
||||
return this.destination.error(err);
|
||||
}
|
||||
var innerSubscription = subscribeToResult(this, duration);
|
||||
if (!innerSubscription || innerSubscription.closed) {
|
||||
this.clearThrottle();
|
||||
}
|
||||
else {
|
||||
this.add(this.throttled = innerSubscription);
|
||||
}
|
||||
}
|
||||
};
|
||||
AuditSubscriber.prototype.clearThrottle = function () {
|
||||
var _a = this, value = _a.value, hasValue = _a.hasValue, throttled = _a.throttled;
|
||||
if (throttled) {
|
||||
this.remove(throttled);
|
||||
this.throttled = null;
|
||||
throttled.unsubscribe();
|
||||
}
|
||||
if (hasValue) {
|
||||
this.value = null;
|
||||
this.hasValue = false;
|
||||
this.destination.next(value);
|
||||
}
|
||||
};
|
||||
AuditSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex) {
|
||||
this.clearThrottle();
|
||||
};
|
||||
AuditSubscriber.prototype.notifyComplete = function () {
|
||||
this.clearThrottle();
|
||||
};
|
||||
return AuditSubscriber;
|
||||
}(OuterSubscriber));
|
||||
//# sourceMappingURL=audit.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/audit.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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":";AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAgD9D,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;IACE,uBAAoB,gBAA0D;QAA1D,qBAAgB,GAAhB,gBAAgB,CAA0C;IAC9E,CAAC;IAED,4BAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAO,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACxF,CAAC;IACH,oBAAC;AAAD,CAAC,AAPD,IAOC;AAOD;IAAoC,2CAAqB;IAMvD,yBAAY,WAA0B,EAClB,gBAA0D;QAD9E,YAEE,kBAAM,WAAW,CAAC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E,UAAkB,EAAE,UAAkB;QAC7E,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,wCAAc,GAAd;QACE,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IACH,sBAAC;AAAD,CAAC,AApDD,CAAoC,eAAe,GAoDlD"}
|
11
node_modules/rxjs/_esm5/internal/operators/auditTime.js
generated
vendored
Normal file
11
node_modules/rxjs/_esm5/internal/operators/auditTime.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
/** PURE_IMPORTS_START _scheduler_async,_audit,_observable_timer PURE_IMPORTS_END */
|
||||
import { async } from '../scheduler/async';
|
||||
import { audit } from './audit';
|
||||
import { timer } from '../observable/timer';
|
||||
export function auditTime(duration, scheduler) {
|
||||
if (scheduler === void 0) {
|
||||
scheduler = async;
|
||||
}
|
||||
return audit(function () { return timer(duration, scheduler); });
|
||||
}
|
||||
//# sourceMappingURL=auditTime.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/auditTime.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,SAAgC;IAAhC,0BAAA,EAAA,iBAAgC;IAC7E,OAAO,KAAK,CAAC,cAAM,OAAA,KAAK,CAAC,QAAQ,EAAE,SAAS,CAAC,EAA1B,CAA0B,CAAC,CAAC;AACjD,CAAC"}
|
37
node_modules/rxjs/_esm5/internal/operators/buffer.js
generated
vendored
Normal file
37
node_modules/rxjs/_esm5/internal/operators/buffer.js
generated
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function buffer(closingNotifier) {
|
||||
return function bufferOperatorFunction(source) {
|
||||
return source.lift(new BufferOperator(closingNotifier));
|
||||
};
|
||||
}
|
||||
var BufferOperator = /*@__PURE__*/ (function () {
|
||||
function BufferOperator(closingNotifier) {
|
||||
this.closingNotifier = closingNotifier;
|
||||
}
|
||||
BufferOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));
|
||||
};
|
||||
return BufferOperator;
|
||||
}());
|
||||
var BufferSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(BufferSubscriber, _super);
|
||||
function BufferSubscriber(destination, closingNotifier) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.buffer = [];
|
||||
_this.add(subscribeToResult(_this, closingNotifier));
|
||||
return _this;
|
||||
}
|
||||
BufferSubscriber.prototype._next = function (value) {
|
||||
this.buffer.push(value);
|
||||
};
|
||||
BufferSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
var buffer = this.buffer;
|
||||
this.buffer = [];
|
||||
this.destination.next(buffer);
|
||||
};
|
||||
return BufferSubscriber;
|
||||
}(OuterSubscriber));
|
||||
//# sourceMappingURL=buffer.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/buffer.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AA2C9D,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;IAEE,wBAAoB,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IACpD,CAAC;IAED,6BAAI,GAAJ,UAAK,UAA2B,EAAE,MAAW;QAC3C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClF,CAAC;IACH,qBAAC;AAAD,CAAC,AARD,IAQC;AAOD;IAAkC,4CAAuB;IAGvD,0BAAY,WAA4B,EAAE,eAAgC;QAA1E,YACE,kBAAM,WAAW,CAAC,SAEnB;QALO,YAAM,GAAQ,EAAE,CAAC;QAIvB,KAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAI,EAAE,eAAe,CAAC,CAAC,CAAC;;IACrD,CAAC;IAES,gCAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,qCAAU,GAAV,UAAW,UAAa,EAAE,UAAe,EAC9B,UAAkB,EAAE,UAAkB,EACtC,QAAiC;QAC1C,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IACH,uBAAC;AAAD,CAAC,AAnBD,CAAkC,eAAe,GAmBhD"}
|
90
node_modules/rxjs/_esm5/internal/operators/bufferCount.js
generated
vendored
Normal file
90
node_modules/rxjs/_esm5/internal/operators/bufferCount.js
generated
vendored
Normal file
@ -0,0 +1,90 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function bufferCount(bufferSize, startBufferEvery) {
|
||||
if (startBufferEvery === void 0) {
|
||||
startBufferEvery = null;
|
||||
}
|
||||
return function bufferCountOperatorFunction(source) {
|
||||
return source.lift(new BufferCountOperator(bufferSize, startBufferEvery));
|
||||
};
|
||||
}
|
||||
var BufferCountOperator = /*@__PURE__*/ (function () {
|
||||
function BufferCountOperator(bufferSize, startBufferEvery) {
|
||||
this.bufferSize = bufferSize;
|
||||
this.startBufferEvery = startBufferEvery;
|
||||
if (!startBufferEvery || bufferSize === startBufferEvery) {
|
||||
this.subscriberClass = BufferCountSubscriber;
|
||||
}
|
||||
else {
|
||||
this.subscriberClass = BufferSkipCountSubscriber;
|
||||
}
|
||||
}
|
||||
BufferCountOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new this.subscriberClass(subscriber, this.bufferSize, this.startBufferEvery));
|
||||
};
|
||||
return BufferCountOperator;
|
||||
}());
|
||||
var BufferCountSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(BufferCountSubscriber, _super);
|
||||
function BufferCountSubscriber(destination, bufferSize) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.bufferSize = bufferSize;
|
||||
_this.buffer = [];
|
||||
return _this;
|
||||
}
|
||||
BufferCountSubscriber.prototype._next = function (value) {
|
||||
var buffer = this.buffer;
|
||||
buffer.push(value);
|
||||
if (buffer.length == this.bufferSize) {
|
||||
this.destination.next(buffer);
|
||||
this.buffer = [];
|
||||
}
|
||||
};
|
||||
BufferCountSubscriber.prototype._complete = function () {
|
||||
var buffer = this.buffer;
|
||||
if (buffer.length > 0) {
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
_super.prototype._complete.call(this);
|
||||
};
|
||||
return BufferCountSubscriber;
|
||||
}(Subscriber));
|
||||
var BufferSkipCountSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(BufferSkipCountSubscriber, _super);
|
||||
function BufferSkipCountSubscriber(destination, bufferSize, startBufferEvery) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.bufferSize = bufferSize;
|
||||
_this.startBufferEvery = startBufferEvery;
|
||||
_this.buffers = [];
|
||||
_this.count = 0;
|
||||
return _this;
|
||||
}
|
||||
BufferSkipCountSubscriber.prototype._next = function (value) {
|
||||
var _a = this, bufferSize = _a.bufferSize, startBufferEvery = _a.startBufferEvery, buffers = _a.buffers, count = _a.count;
|
||||
this.count++;
|
||||
if (count % startBufferEvery === 0) {
|
||||
buffers.push([]);
|
||||
}
|
||||
for (var i = buffers.length; i--;) {
|
||||
var buffer = buffers[i];
|
||||
buffer.push(value);
|
||||
if (buffer.length === bufferSize) {
|
||||
buffers.splice(i, 1);
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
}
|
||||
};
|
||||
BufferSkipCountSubscriber.prototype._complete = function () {
|
||||
var _a = this, buffers = _a.buffers, destination = _a.destination;
|
||||
while (buffers.length > 0) {
|
||||
var buffer = buffers.shift();
|
||||
if (buffer.length > 0) {
|
||||
destination.next(buffer);
|
||||
}
|
||||
}
|
||||
_super.prototype._complete.call(this);
|
||||
};
|
||||
return BufferSkipCountSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=bufferCount.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/bufferCount.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,gBAA+B;IAA/B,iCAAA,EAAA,uBAA+B;IAChF,OAAO,SAAS,2BAA2B,CAAC,MAAqB;QAC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AAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;gBACrB,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aAC1B;SACF;QACD,iBAAM,SAAS,WAAE,CAAC;IACpB,CAAC;IAEH,gCAAC;AAAD,CAAC,AAtCD,CAA2C,UAAU,GAsCpD"}
|
148
node_modules/rxjs/_esm5/internal/operators/bufferTime.js
generated
vendored
Normal file
148
node_modules/rxjs/_esm5/internal/operators/bufferTime.js
generated
vendored
Normal file
@ -0,0 +1,148 @@
|
||||
/** PURE_IMPORTS_START tslib,_scheduler_async,_Subscriber,_util_isScheduler PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { async } from '../scheduler/async';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { isScheduler } from '../util/isScheduler';
|
||||
export function bufferTime(bufferTimeSpan) {
|
||||
var length = arguments.length;
|
||||
var scheduler = async;
|
||||
if (isScheduler(arguments[arguments.length - 1])) {
|
||||
scheduler = arguments[arguments.length - 1];
|
||||
length--;
|
||||
}
|
||||
var bufferCreationInterval = null;
|
||||
if (length >= 2) {
|
||||
bufferCreationInterval = arguments[1];
|
||||
}
|
||||
var maxBufferSize = Number.POSITIVE_INFINITY;
|
||||
if (length >= 3) {
|
||||
maxBufferSize = arguments[2];
|
||||
}
|
||||
return function bufferTimeOperatorFunction(source) {
|
||||
return source.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler));
|
||||
};
|
||||
}
|
||||
var BufferTimeOperator = /*@__PURE__*/ (function () {
|
||||
function BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {
|
||||
this.bufferTimeSpan = bufferTimeSpan;
|
||||
this.bufferCreationInterval = bufferCreationInterval;
|
||||
this.maxBufferSize = maxBufferSize;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
BufferTimeOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler));
|
||||
};
|
||||
return BufferTimeOperator;
|
||||
}());
|
||||
var Context = /*@__PURE__*/ (function () {
|
||||
function Context() {
|
||||
this.buffer = [];
|
||||
}
|
||||
return Context;
|
||||
}());
|
||||
var BufferTimeSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(BufferTimeSubscriber, _super);
|
||||
function BufferTimeSubscriber(destination, bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.bufferTimeSpan = bufferTimeSpan;
|
||||
_this.bufferCreationInterval = bufferCreationInterval;
|
||||
_this.maxBufferSize = maxBufferSize;
|
||||
_this.scheduler = scheduler;
|
||||
_this.contexts = [];
|
||||
var context = _this.openContext();
|
||||
_this.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0;
|
||||
if (_this.timespanOnly) {
|
||||
var timeSpanOnlyState = { subscriber: _this, context: context, bufferTimeSpan: bufferTimeSpan };
|
||||
_this.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));
|
||||
}
|
||||
else {
|
||||
var closeState = { subscriber: _this, context: context };
|
||||
var creationState = { bufferTimeSpan: bufferTimeSpan, bufferCreationInterval: bufferCreationInterval, subscriber: _this, scheduler: scheduler };
|
||||
_this.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState));
|
||||
_this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState));
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
BufferTimeSubscriber.prototype._next = function (value) {
|
||||
var contexts = this.contexts;
|
||||
var len = contexts.length;
|
||||
var filledBufferContext;
|
||||
for (var i = 0; i < len; i++) {
|
||||
var context_1 = contexts[i];
|
||||
var buffer = context_1.buffer;
|
||||
buffer.push(value);
|
||||
if (buffer.length == this.maxBufferSize) {
|
||||
filledBufferContext = context_1;
|
||||
}
|
||||
}
|
||||
if (filledBufferContext) {
|
||||
this.onBufferFull(filledBufferContext);
|
||||
}
|
||||
};
|
||||
BufferTimeSubscriber.prototype._error = function (err) {
|
||||
this.contexts.length = 0;
|
||||
_super.prototype._error.call(this, err);
|
||||
};
|
||||
BufferTimeSubscriber.prototype._complete = function () {
|
||||
var _a = this, contexts = _a.contexts, destination = _a.destination;
|
||||
while (contexts.length > 0) {
|
||||
var context_2 = contexts.shift();
|
||||
destination.next(context_2.buffer);
|
||||
}
|
||||
_super.prototype._complete.call(this);
|
||||
};
|
||||
BufferTimeSubscriber.prototype._unsubscribe = function () {
|
||||
this.contexts = null;
|
||||
};
|
||||
BufferTimeSubscriber.prototype.onBufferFull = function (context) {
|
||||
this.closeContext(context);
|
||||
var closeAction = context.closeAction;
|
||||
closeAction.unsubscribe();
|
||||
this.remove(closeAction);
|
||||
if (!this.closed && this.timespanOnly) {
|
||||
context = this.openContext();
|
||||
var bufferTimeSpan = this.bufferTimeSpan;
|
||||
var timeSpanOnlyState = { subscriber: this, context: context, bufferTimeSpan: bufferTimeSpan };
|
||||
this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));
|
||||
}
|
||||
};
|
||||
BufferTimeSubscriber.prototype.openContext = function () {
|
||||
var context = new Context();
|
||||
this.contexts.push(context);
|
||||
return context;
|
||||
};
|
||||
BufferTimeSubscriber.prototype.closeContext = function (context) {
|
||||
this.destination.next(context.buffer);
|
||||
var contexts = this.contexts;
|
||||
var spliceIndex = contexts ? contexts.indexOf(context) : -1;
|
||||
if (spliceIndex >= 0) {
|
||||
contexts.splice(contexts.indexOf(context), 1);
|
||||
}
|
||||
};
|
||||
return BufferTimeSubscriber;
|
||||
}(Subscriber));
|
||||
function dispatchBufferTimeSpanOnly(state) {
|
||||
var subscriber = state.subscriber;
|
||||
var 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) {
|
||||
var bufferCreationInterval = state.bufferCreationInterval, bufferTimeSpan = state.bufferTimeSpan, subscriber = state.subscriber, scheduler = state.scheduler;
|
||||
var context = subscriber.openContext();
|
||||
var action = this;
|
||||
if (!subscriber.closed) {
|
||||
subscriber.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, { subscriber: subscriber, context: context }));
|
||||
action.schedule(state, bufferCreationInterval);
|
||||
}
|
||||
}
|
||||
function dispatchBufferClose(arg) {
|
||||
var subscriber = arg.subscriber, context = arg.context;
|
||||
subscriber.closeContext(context);
|
||||
}
|
||||
//# sourceMappingURL=bufferTime.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/bufferTime.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/internal/operators/bufferTime.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
107
node_modules/rxjs/_esm5/internal/operators/bufferToggle.js
generated
vendored
Normal file
107
node_modules/rxjs/_esm5/internal/operators/bufferToggle.js
generated
vendored
Normal file
@ -0,0 +1,107 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscription,_util_subscribeToResult,_OuterSubscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
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));
|
||||
};
|
||||
}
|
||||
var BufferToggleOperator = /*@__PURE__*/ (function () {
|
||||
function BufferToggleOperator(openings, closingSelector) {
|
||||
this.openings = openings;
|
||||
this.closingSelector = closingSelector;
|
||||
}
|
||||
BufferToggleOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector));
|
||||
};
|
||||
return BufferToggleOperator;
|
||||
}());
|
||||
var BufferToggleSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(BufferToggleSubscriber, _super);
|
||||
function BufferToggleSubscriber(destination, openings, closingSelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.openings = openings;
|
||||
_this.closingSelector = closingSelector;
|
||||
_this.contexts = [];
|
||||
_this.add(subscribeToResult(_this, openings));
|
||||
return _this;
|
||||
}
|
||||
BufferToggleSubscriber.prototype._next = function (value) {
|
||||
var contexts = this.contexts;
|
||||
var len = contexts.length;
|
||||
for (var i = 0; i < len; i++) {
|
||||
contexts[i].buffer.push(value);
|
||||
}
|
||||
};
|
||||
BufferToggleSubscriber.prototype._error = function (err) {
|
||||
var contexts = this.contexts;
|
||||
while (contexts.length > 0) {
|
||||
var context_1 = contexts.shift();
|
||||
context_1.subscription.unsubscribe();
|
||||
context_1.buffer = null;
|
||||
context_1.subscription = null;
|
||||
}
|
||||
this.contexts = null;
|
||||
_super.prototype._error.call(this, err);
|
||||
};
|
||||
BufferToggleSubscriber.prototype._complete = function () {
|
||||
var contexts = this.contexts;
|
||||
while (contexts.length > 0) {
|
||||
var context_2 = contexts.shift();
|
||||
this.destination.next(context_2.buffer);
|
||||
context_2.subscription.unsubscribe();
|
||||
context_2.buffer = null;
|
||||
context_2.subscription = null;
|
||||
}
|
||||
this.contexts = null;
|
||||
_super.prototype._complete.call(this);
|
||||
};
|
||||
BufferToggleSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue);
|
||||
};
|
||||
BufferToggleSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
this.closeBuffer(innerSub.context);
|
||||
};
|
||||
BufferToggleSubscriber.prototype.openBuffer = function (value) {
|
||||
try {
|
||||
var closingSelector = this.closingSelector;
|
||||
var closingNotifier = closingSelector.call(this, value);
|
||||
if (closingNotifier) {
|
||||
this.trySubscribe(closingNotifier);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this._error(err);
|
||||
}
|
||||
};
|
||||
BufferToggleSubscriber.prototype.closeBuffer = function (context) {
|
||||
var contexts = this.contexts;
|
||||
if (contexts && context) {
|
||||
var buffer = context.buffer, subscription = context.subscription;
|
||||
this.destination.next(buffer);
|
||||
contexts.splice(contexts.indexOf(context), 1);
|
||||
this.remove(subscription);
|
||||
subscription.unsubscribe();
|
||||
}
|
||||
};
|
||||
BufferToggleSubscriber.prototype.trySubscribe = function (closingNotifier) {
|
||||
var contexts = this.contexts;
|
||||
var buffer = [];
|
||||
var subscription = new Subscription();
|
||||
var context = { buffer: buffer, subscription: subscription };
|
||||
contexts.push(context);
|
||||
var innerSubscription = subscribeToResult(this, closingNotifier, context);
|
||||
if (!innerSubscription || innerSubscription.closed) {
|
||||
this.closeBuffer(context);
|
||||
}
|
||||
else {
|
||||
innerSubscription.context = context;
|
||||
this.add(innerSubscription);
|
||||
subscription.add(innerSubscription);
|
||||
}
|
||||
};
|
||||
return BufferToggleSubscriber;
|
||||
}(OuterSubscriber));
|
||||
//# sourceMappingURL=bufferToggle.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/bufferToggle.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,4BAA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AC;YAC5B,YAAY,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;SACrC;IACH,CAAC;IACH,6BAAC;AAAD,CAAC,AAhGD,CAA2C,eAAe,GAgGzD"}
|
82
node_modules/rxjs/_esm5/internal/operators/bufferWhen.js
generated
vendored
Normal file
82
node_modules/rxjs/_esm5/internal/operators/bufferWhen.js
generated
vendored
Normal file
@ -0,0 +1,82 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscription,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscription } from '../Subscription';
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function bufferWhen(closingSelector) {
|
||||
return function (source) {
|
||||
return source.lift(new BufferWhenOperator(closingSelector));
|
||||
};
|
||||
}
|
||||
var BufferWhenOperator = /*@__PURE__*/ (function () {
|
||||
function BufferWhenOperator(closingSelector) {
|
||||
this.closingSelector = closingSelector;
|
||||
}
|
||||
BufferWhenOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector));
|
||||
};
|
||||
return BufferWhenOperator;
|
||||
}());
|
||||
var BufferWhenSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(BufferWhenSubscriber, _super);
|
||||
function BufferWhenSubscriber(destination, closingSelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.closingSelector = closingSelector;
|
||||
_this.subscribing = false;
|
||||
_this.openBuffer();
|
||||
return _this;
|
||||
}
|
||||
BufferWhenSubscriber.prototype._next = function (value) {
|
||||
this.buffer.push(value);
|
||||
};
|
||||
BufferWhenSubscriber.prototype._complete = function () {
|
||||
var buffer = this.buffer;
|
||||
if (buffer) {
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
_super.prototype._complete.call(this);
|
||||
};
|
||||
BufferWhenSubscriber.prototype._unsubscribe = function () {
|
||||
this.buffer = null;
|
||||
this.subscribing = false;
|
||||
};
|
||||
BufferWhenSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this.openBuffer();
|
||||
};
|
||||
BufferWhenSubscriber.prototype.notifyComplete = function () {
|
||||
if (this.subscribing) {
|
||||
this.complete();
|
||||
}
|
||||
else {
|
||||
this.openBuffer();
|
||||
}
|
||||
};
|
||||
BufferWhenSubscriber.prototype.openBuffer = function () {
|
||||
var closingSubscription = this.closingSubscription;
|
||||
if (closingSubscription) {
|
||||
this.remove(closingSubscription);
|
||||
closingSubscription.unsubscribe();
|
||||
}
|
||||
var buffer = this.buffer;
|
||||
if (this.buffer) {
|
||||
this.destination.next(buffer);
|
||||
}
|
||||
this.buffer = [];
|
||||
var closingNotifier;
|
||||
try {
|
||||
var closingSelector = this.closingSelector;
|
||||
closingNotifier = closingSelector();
|
||||
}
|
||||
catch (err) {
|
||||
return this.error(err);
|
||||
}
|
||||
closingSubscription = new Subscription();
|
||||
this.closingSubscription = closingSubscription;
|
||||
this.add(closingSubscription);
|
||||
this.subscribing = true;
|
||||
closingSubscription.add(subscribeToResult(this, closingNotifier));
|
||||
this.subscribing = false;
|
||||
};
|
||||
return BufferWhenSubscriber;
|
||||
}(OuterSubscriber));
|
||||
//# sourceMappingURL=bufferWhen.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/bufferWhen.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AA6C9D,MAAM,UAAU,UAAU,CAAI,eAAsC;IAClE,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,CAAC,QAAQ,EAAE,CAAC;SACjB;aAAM;YACL,IAAI,CAAC,UAAU,EAAE,CAAC;SACnB;IACH,CAAC;IAED,yCAAU,GAAV;QACQ,IAAA,8CAAmB,CAAU;QAEnC,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;YACjC,mBAAmB,CAAC,WAAW,EAAE,CAAC;SACnC;QAED,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SAC/B;QAED,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QAEjB,IAAI,eAAe,CAAC;QACpB,IAAI;YACM,IAAA,sCAAe,CAAU;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,iBAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;IAC3B,CAAC;IACH,2BAAC;AAAD,CAAC,AAvED,CAAsC,eAAe,GAuEpD"}
|
51
node_modules/rxjs/_esm5/internal/operators/catchError.js
generated
vendored
Normal file
51
node_modules/rxjs/_esm5/internal/operators/catchError.js
generated
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_InnerSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { InnerSubscriber } from '../InnerSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function catchError(selector) {
|
||||
return function catchErrorOperatorFunction(source) {
|
||||
var operator = new CatchOperator(selector);
|
||||
var caught = source.lift(operator);
|
||||
return (operator.caught = caught);
|
||||
};
|
||||
}
|
||||
var CatchOperator = /*@__PURE__*/ (function () {
|
||||
function CatchOperator(selector) {
|
||||
this.selector = selector;
|
||||
}
|
||||
CatchOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));
|
||||
};
|
||||
return CatchOperator;
|
||||
}());
|
||||
var CatchSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(CatchSubscriber, _super);
|
||||
function CatchSubscriber(destination, selector, caught) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.selector = selector;
|
||||
_this.caught = caught;
|
||||
return _this;
|
||||
}
|
||||
CatchSubscriber.prototype.error = function (err) {
|
||||
if (!this.isStopped) {
|
||||
var result = void 0;
|
||||
try {
|
||||
result = this.selector(err, this.caught);
|
||||
}
|
||||
catch (err2) {
|
||||
_super.prototype.error.call(this, err2);
|
||||
return;
|
||||
}
|
||||
this._unsubscribeAndRecycle();
|
||||
var innerSubscriber = new InnerSubscriber(this, undefined, undefined);
|
||||
this.add(innerSubscriber);
|
||||
var innerSubscription = subscribeToResult(this, result, undefined, undefined, innerSubscriber);
|
||||
if (innerSubscription !== innerSubscriber) {
|
||||
this.add(innerSubscription);
|
||||
}
|
||||
}
|
||||
};
|
||||
return CatchSubscriber;
|
||||
}(OuterSubscriber));
|
||||
//# sourceMappingURL=catchError.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/catchError.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/internal/operators/catchError.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"catchError.js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YAAC,IAAI,CAAC,CAAC;gBAClB,OAAO;aACR;YACD,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC9B,IAAM,eAAe,GAAG,IAAI,eAAe,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;YACxE,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;YAC1B,IAAM,iBAAiB,GAAG,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,eAAe,CAAC,CAAC;YAIjG,IAAI,iBAAiB,KAAK,eAAe,EAAE;gBACzC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;aAC7B;SACF;IACH,CAAC;IACH,sBAAC;AAAD,CAAC,AAjCD,CAAoC,eAAe,GAiClD"}
|
6
node_modules/rxjs/_esm5/internal/operators/combineAll.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm5/internal/operators/combineAll.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/** PURE_IMPORTS_START _observable_combineLatest PURE_IMPORTS_END */
|
||||
import { CombineLatestOperator } from '../observable/combineLatest';
|
||||
export function combineAll(project) {
|
||||
return function (source) { return source.lift(new CombineLatestOperator(project)); };
|
||||
}
|
||||
//# sourceMappingURL=combineAll.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/combineAll.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC,EAA/C,CAA+C,CAAC;AACpF,CAAC"}
|
20
node_modules/rxjs/_esm5/internal/operators/combineLatest.js
generated
vendored
Normal file
20
node_modules/rxjs/_esm5/internal/operators/combineLatest.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
/** PURE_IMPORTS_START _util_isArray,_observable_combineLatest,_observable_from PURE_IMPORTS_END */
|
||||
import { isArray } from '../util/isArray';
|
||||
import { CombineLatestOperator } from '../observable/combineLatest';
|
||||
import { from } from '../observable/from';
|
||||
var none = {};
|
||||
export function combineLatest() {
|
||||
var observables = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
observables[_i] = arguments[_i];
|
||||
}
|
||||
var project = null;
|
||||
if (typeof observables[observables.length - 1] === 'function') {
|
||||
project = observables.pop();
|
||||
}
|
||||
if (observables.length === 1 && isArray(observables[0])) {
|
||||
observables = observables[0].slice();
|
||||
}
|
||||
return function (source) { return source.lift.call(from([source].concat(observables)), new CombineLatestOperator(project)); };
|
||||
}
|
||||
//# sourceMappingURL=combineLatest.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/combineLatest.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,IAAM,IAAI,GAAG,EAAE,CAAC;AAoChB,MAAM,UAAU,aAAa;IAAO,qBAE+C;SAF/C,UAE+C,EAF/C,qBAE+C,EAF/C,IAE+C;QAF/C,gCAE+C;;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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,SAAK,WAAW,EAAE,EAAE,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC,EAApF,CAAoF,CAAC;AACzH,CAAC"}
|
10
node_modules/rxjs/_esm5/internal/operators/concat.js
generated
vendored
Normal file
10
node_modules/rxjs/_esm5/internal/operators/concat.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
/** PURE_IMPORTS_START _observable_concat PURE_IMPORTS_END */
|
||||
import { concat as concatStatic } from '../observable/concat';
|
||||
export function concat() {
|
||||
var observables = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
observables[_i] = arguments[_i];
|
||||
}
|
||||
return function (source) { return source.lift.call(concatStatic.apply(void 0, [source].concat(observables))); };
|
||||
}
|
||||
//# sourceMappingURL=concat.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/concat.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;IAAO,qBAA2D;SAA3D,UAA2D,EAA3D,qBAA2D,EAA3D,IAA2D;QAA3D,gCAA2D;;IACtF,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,gBAAC,MAAM,SAAK,WAAW,GAAE,EAAtD,CAAsD,CAAC;AAC3F,CAAC"}
|
6
node_modules/rxjs/_esm5/internal/operators/concatAll.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm5/internal/operators/concatAll.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/** PURE_IMPORTS_START _mergeAll PURE_IMPORTS_END */
|
||||
import { mergeAll } from './mergeAll';
|
||||
export function concatAll() {
|
||||
return mergeAll(1);
|
||||
}
|
||||
//# sourceMappingURL=concatAll.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/concatAll.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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"}
|
6
node_modules/rxjs/_esm5/internal/operators/concatMap.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm5/internal/operators/concatMap.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/** PURE_IMPORTS_START _mergeMap PURE_IMPORTS_END */
|
||||
import { mergeMap } from './mergeMap';
|
||||
export function concatMap(project, resultSelector) {
|
||||
return mergeMap(project, resultSelector, 1);
|
||||
}
|
||||
//# sourceMappingURL=concatMap.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/concatMap.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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"}
|
6
node_modules/rxjs/_esm5/internal/operators/concatMapTo.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm5/internal/operators/concatMapTo.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/** PURE_IMPORTS_START _concatMap PURE_IMPORTS_END */
|
||||
import { concatMap } from './concatMap';
|
||||
export function concatMapTo(innerObservable, resultSelector) {
|
||||
return concatMap(function () { return innerObservable; }, resultSelector);
|
||||
}
|
||||
//# sourceMappingURL=concatMapTo.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/concatMapTo.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,cAAM,OAAA,eAAe,EAAf,CAAe,EAAE,cAAc,CAAC,CAAC;AAC1D,CAAC"}
|
54
node_modules/rxjs/_esm5/internal/operators/count.js
generated
vendored
Normal file
54
node_modules/rxjs/_esm5/internal/operators/count.js
generated
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function count(predicate) {
|
||||
return function (source) { return source.lift(new CountOperator(predicate, source)); };
|
||||
}
|
||||
var CountOperator = /*@__PURE__*/ (function () {
|
||||
function CountOperator(predicate, source) {
|
||||
this.predicate = predicate;
|
||||
this.source = source;
|
||||
}
|
||||
CountOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source));
|
||||
};
|
||||
return CountOperator;
|
||||
}());
|
||||
var CountSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(CountSubscriber, _super);
|
||||
function CountSubscriber(destination, predicate, source) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.predicate = predicate;
|
||||
_this.source = source;
|
||||
_this.count = 0;
|
||||
_this.index = 0;
|
||||
return _this;
|
||||
}
|
||||
CountSubscriber.prototype._next = function (value) {
|
||||
if (this.predicate) {
|
||||
this._tryPredicate(value);
|
||||
}
|
||||
else {
|
||||
this.count++;
|
||||
}
|
||||
};
|
||||
CountSubscriber.prototype._tryPredicate = function (value) {
|
||||
var result;
|
||||
try {
|
||||
result = this.predicate(value, this.index++, this.source);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
if (result) {
|
||||
this.count++;
|
||||
}
|
||||
};
|
||||
CountSubscriber.prototype._complete = function () {
|
||||
this.destination.next(this.count);
|
||||
this.destination.complete();
|
||||
};
|
||||
return CountSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=count.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/count.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,EAAjD,CAAiD,CAAC;AACtF,CAAC;AAED;IACE,uBAAoB,SAAuE,EACvE,MAAsB;QADtB,cAAS,GAAT,SAAS,CAA8D;QACvE,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,4BAAI,GA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operators/debounce.js
generated
vendored
Normal file
76
node_modules/rxjs/_esm5/internal/operators/debounce.js
generated
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function debounce(durationSelector) {
|
||||
return function (source) { return source.lift(new DebounceOperator(durationSelector)); };
|
||||
}
|
||||
var DebounceOperator = /*@__PURE__*/ (function () {
|
||||
function DebounceOperator(durationSelector) {
|
||||
this.durationSelector = durationSelector;
|
||||
}
|
||||
DebounceOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector));
|
||||
};
|
||||
return DebounceOperator;
|
||||
}());
|
||||
var DebounceSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DebounceSubscriber, _super);
|
||||
function DebounceSubscriber(destination, durationSelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.durationSelector = durationSelector;
|
||||
_this.hasValue = false;
|
||||
_this.durationSubscription = null;
|
||||
return _this;
|
||||
}
|
||||
DebounceSubscriber.prototype._next = function (value) {
|
||||
try {
|
||||
var result = this.durationSelector.call(this, value);
|
||||
if (result) {
|
||||
this._tryNext(value, result);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
};
|
||||
DebounceSubscriber.prototype._complete = function () {
|
||||
this.emitValue();
|
||||
this.destination.complete();
|
||||
};
|
||||
DebounceSubscriber.prototype._tryNext = function (value, duration) {
|
||||
var subscription = this.durationSubscription;
|
||||
this.value = value;
|
||||
this.hasValue = true;
|
||||
if (subscription) {
|
||||
subscription.unsubscribe();
|
||||
this.remove(subscription);
|
||||
}
|
||||
subscription = subscribeToResult(this, duration);
|
||||
if (subscription && !subscription.closed) {
|
||||
this.add(this.durationSubscription = subscription);
|
||||
}
|
||||
};
|
||||
DebounceSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this.emitValue();
|
||||
};
|
||||
DebounceSubscriber.prototype.notifyComplete = function () {
|
||||
this.emitValue();
|
||||
};
|
||||
DebounceSubscriber.prototype.emitValue = function () {
|
||||
if (this.hasValue) {
|
||||
var value = this.value;
|
||||
var subscription = this.durationSubscription;
|
||||
if (subscription) {
|
||||
this.durationSubscription = null;
|
||||
subscription.unsubscribe();
|
||||
this.remove(subscription);
|
||||
}
|
||||
this.value = null;
|
||||
this.hasValue = false;
|
||||
_super.prototype._next.call(this, value);
|
||||
}
|
||||
};
|
||||
return DebounceSubscriber;
|
||||
}(OuterSubscriber));
|
||||
//# sourceMappingURL=debounce.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/debounce.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/internal/operators/debounce.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"debounce.js","sources":["../../../src/internal/operators/debounce.ts"],"names":[],"mappings":";AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAkD9D,MAAM,UAAU,QAAQ,CAAI,gBAA0D;IACpF,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,EAAnD,CAAmD,CAAC;AACxF,CAAC;AAED;IACE,0BAAoB,gBAA0D;QAA1D,qBAAgB,GAAhB,gBAAgB,CAA0C;IAC9E,CAAC;IAED,+BAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,kBAAkB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACrF,CAAC;IACH,uBAAC;AAAD,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AAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,2CAAc,GAAd;QACE,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,sCAAS,GAAT;QACE,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;YACzB,IAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC;YAC/C,IAAI,YAAY,EAAE;gBAChB,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;gBACjC,YAAY,CAAC,WAAW,EAAE,CAAC;gBAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;aAC3B;YAMD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,iBAAM,KAAK,YAAC,KAAK,CAAC,CAAC;SACpB;IACH,CAAC;IACH,yBAAC;AAAD,CAAC,AAvED,CAAuC,eAAe,GAuErD"}
|
64
node_modules/rxjs/_esm5/internal/operators/debounceTime.js
generated
vendored
Normal file
64
node_modules/rxjs/_esm5/internal/operators/debounceTime.js
generated
vendored
Normal file
@ -0,0 +1,64 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber,_scheduler_async PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { async } from '../scheduler/async';
|
||||
export function debounceTime(dueTime, scheduler) {
|
||||
if (scheduler === void 0) {
|
||||
scheduler = async;
|
||||
}
|
||||
return function (source) { return source.lift(new DebounceTimeOperator(dueTime, scheduler)); };
|
||||
}
|
||||
var DebounceTimeOperator = /*@__PURE__*/ (function () {
|
||||
function DebounceTimeOperator(dueTime, scheduler) {
|
||||
this.dueTime = dueTime;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
DebounceTimeOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));
|
||||
};
|
||||
return DebounceTimeOperator;
|
||||
}());
|
||||
var DebounceTimeSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DebounceTimeSubscriber, _super);
|
||||
function DebounceTimeSubscriber(destination, dueTime, scheduler) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.dueTime = dueTime;
|
||||
_this.scheduler = scheduler;
|
||||
_this.debouncedSubscription = null;
|
||||
_this.lastValue = null;
|
||||
_this.hasValue = false;
|
||||
return _this;
|
||||
}
|
||||
DebounceTimeSubscriber.prototype._next = function (value) {
|
||||
this.clearDebounce();
|
||||
this.lastValue = value;
|
||||
this.hasValue = true;
|
||||
this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));
|
||||
};
|
||||
DebounceTimeSubscriber.prototype._complete = function () {
|
||||
this.debouncedNext();
|
||||
this.destination.complete();
|
||||
};
|
||||
DebounceTimeSubscriber.prototype.debouncedNext = function () {
|
||||
this.clearDebounce();
|
||||
if (this.hasValue) {
|
||||
var lastValue = this.lastValue;
|
||||
this.lastValue = null;
|
||||
this.hasValue = false;
|
||||
this.destination.next(lastValue);
|
||||
}
|
||||
};
|
||||
DebounceTimeSubscriber.prototype.clearDebounce = function () {
|
||||
var debouncedSubscription = this.debouncedSubscription;
|
||||
if (debouncedSubscription !== null) {
|
||||
this.remove(debouncedSubscription);
|
||||
debouncedSubscription.unsubscribe();
|
||||
this.debouncedSubscription = null;
|
||||
}
|
||||
};
|
||||
return DebounceTimeSubscriber;
|
||||
}(Subscriber));
|
||||
function dispatchNext(subscriber) {
|
||||
subscriber.debouncedNext();
|
||||
}
|
||||
//# sourceMappingURL=debounceTime.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/debounceTime.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/internal/operators/debounceTime.js.map
generated
vendored
Normal file
@ -0,0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,CAAC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IACnG,CAAC;IAES,0CAAS,GAAnB;QACE,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAED,8CAAa,GAAb;QACE,IAAI,CAAC,aAAa,EAAE,CAAC;QAErB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACT,IAAA,0BAAS,CAAU;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,8CAAa,GAArB;QACE,IAAM,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;IACH,6BAAC;AAAD,CAAC,AAhDD,CAAwC,UAAU,GAgDjD;AAED,SAAS,YAAY,CAAC,UAAuC;IAC3D,UAAU,CAAC,aAAa,EAAE,CAAC;AAC7B,CAAC"}
|
39
node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js
generated
vendored
Normal file
39
node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js
generated
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function defaultIfEmpty(defaultValue) {
|
||||
if (defaultValue === void 0) {
|
||||
defaultValue = null;
|
||||
}
|
||||
return function (source) { return source.lift(new DefaultIfEmptyOperator(defaultValue)); };
|
||||
}
|
||||
var DefaultIfEmptyOperator = /*@__PURE__*/ (function () {
|
||||
function DefaultIfEmptyOperator(defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
DefaultIfEmptyOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));
|
||||
};
|
||||
return DefaultIfEmptyOperator;
|
||||
}());
|
||||
var DefaultIfEmptySubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DefaultIfEmptySubscriber, _super);
|
||||
function DefaultIfEmptySubscriber(destination, defaultValue) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.defaultValue = defaultValue;
|
||||
_this.isEmpty = true;
|
||||
return _this;
|
||||
}
|
||||
DefaultIfEmptySubscriber.prototype._next = function (value) {
|
||||
this.isEmpty = false;
|
||||
this.destination.next(value);
|
||||
};
|
||||
DefaultIfEmptySubscriber.prototype._complete = function () {
|
||||
if (this.isEmpty) {
|
||||
this.destination.next(this.defaultValue);
|
||||
}
|
||||
this.destination.complete();
|
||||
};
|
||||
return DefaultIfEmptySubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=defaultIfEmpty.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,YAAsB;IAAtB,6BAAA,EAAA,mBAAsB;IACzD,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,YAAY,CAAC,CAAsB,EAA1E,CAA0E,CAAC;AAC/G,CAAC;AAED;IAEE,gCAAoB,YAAe;QAAf,iBAAY,GAAZ,YAAY,CAAG;IACnC,CAAC;IAED,qCAAI,GAAJ,UAAK,UAA6B,EAAE,MAAW;QAC7C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACvF,CAAC;IACH,6BAAC;AAAD,CAAC,AARD,IAQC;AAOD;IAA6C,oDAAa;IAGxD,kCAAY,WAA8B,EAAU,YAAe;QAAnE,YACE,kBAAM,WAAW,CAAC,SACnB;QAFmD,kBAAY,GAAZ,YAAY,CAAG;QAF3D,aAAO,GAAY,IAAI,CAAC;;IAIhC,CAAC;IAES,wCAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAES,4CAAS,GAAnB;QACE,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;IACH,+BAAC;AAAD,CAAC,AAlBD,CAA6C,UAAU,GAkBtD"}
|
93
node_modules/rxjs/_esm5/internal/operators/delay.js
generated
vendored
Normal file
93
node_modules/rxjs/_esm5/internal/operators/delay.js
generated
vendored
Normal file
@ -0,0 +1,93 @@
|
||||
/** PURE_IMPORTS_START tslib,_scheduler_async,_util_isDate,_Subscriber,_Notification PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { async } from '../scheduler/async';
|
||||
import { isDate } from '../util/isDate';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Notification } from '../Notification';
|
||||
export function delay(delay, scheduler) {
|
||||
if (scheduler === void 0) {
|
||||
scheduler = async;
|
||||
}
|
||||
var absoluteDelay = isDate(delay);
|
||||
var delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);
|
||||
return function (source) { return source.lift(new DelayOperator(delayFor, scheduler)); };
|
||||
}
|
||||
var DelayOperator = /*@__PURE__*/ (function () {
|
||||
function DelayOperator(delay, scheduler) {
|
||||
this.delay = delay;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
DelayOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));
|
||||
};
|
||||
return DelayOperator;
|
||||
}());
|
||||
var DelaySubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DelaySubscriber, _super);
|
||||
function DelaySubscriber(destination, delay, scheduler) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.delay = delay;
|
||||
_this.scheduler = scheduler;
|
||||
_this.queue = [];
|
||||
_this.active = false;
|
||||
_this.errored = false;
|
||||
return _this;
|
||||
}
|
||||
DelaySubscriber.dispatch = function (state) {
|
||||
var source = state.source;
|
||||
var queue = source.queue;
|
||||
var scheduler = state.scheduler;
|
||||
var destination = state.destination;
|
||||
while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {
|
||||
queue.shift().notification.observe(destination);
|
||||
}
|
||||
if (queue.length > 0) {
|
||||
var delay_1 = Math.max(0, queue[0].time - scheduler.now());
|
||||
this.schedule(state, delay_1);
|
||||
}
|
||||
else {
|
||||
this.unsubscribe();
|
||||
source.active = false;
|
||||
}
|
||||
};
|
||||
DelaySubscriber.prototype._schedule = function (scheduler) {
|
||||
this.active = true;
|
||||
var destination = this.destination;
|
||||
destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {
|
||||
source: this, destination: this.destination, scheduler: scheduler
|
||||
}));
|
||||
};
|
||||
DelaySubscriber.prototype.scheduleNotification = function (notification) {
|
||||
if (this.errored === true) {
|
||||
return;
|
||||
}
|
||||
var scheduler = this.scheduler;
|
||||
var message = new DelayMessage(scheduler.now() + this.delay, notification);
|
||||
this.queue.push(message);
|
||||
if (this.active === false) {
|
||||
this._schedule(scheduler);
|
||||
}
|
||||
};
|
||||
DelaySubscriber.prototype._next = function (value) {
|
||||
this.scheduleNotification(Notification.createNext(value));
|
||||
};
|
||||
DelaySubscriber.prototype._error = function (err) {
|
||||
this.errored = true;
|
||||
this.queue = [];
|
||||
this.destination.error(err);
|
||||
this.unsubscribe();
|
||||
};
|
||||
DelaySubscriber.prototype._complete = function () {
|
||||
this.scheduleNotification(Notification.createComplete());
|
||||
this.unsubscribe();
|
||||
};
|
||||
return DelaySubscriber;
|
||||
}(Subscriber));
|
||||
var DelayMessage = /*@__PURE__*/ (function () {
|
||||
function DelayMessage(time, notification) {
|
||||
this.time = time;
|
||||
this.notification = notification;
|
||||
}
|
||||
return DelayMessage;
|
||||
}());
|
||||
//# sourceMappingURL=delay.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/delay.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,SAAgC;IAAhC,0BAAA,EAAA,iBAAgC;IACvD,IAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,IAAM,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAS,K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K,CAAC,CAAC,CAAC;IAC5D,CAAC;IAES,gCAAM,GAAhB,UAAiB,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,mCAAS,GAAnB;QACE,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;QACzD,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IACH,sBAAC;AAAD,CAAC,AAnED,CAAiC,UAAU,GAmE1C;AAED;IACE,sBAA4B,IAAY,EACZ,YAA6B;QAD7B,SAAI,GAAJ,IAAI,CAAQ;QACZ,iBAAY,GAAZ,YAAY,CAAiB;IACzD,CAAC;IACH,mBAAC;AAAD,CAAC,AAJD,IAIC"}
|
132
node_modules/rxjs/_esm5/internal/operators/delayWhen.js
generated
vendored
Normal file
132
node_modules/rxjs/_esm5/internal/operators/delayWhen.js
generated
vendored
Normal file
@ -0,0 +1,132 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber,_Observable,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
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 function (source) {
|
||||
return new SubscriptionDelayObservable(source, subscriptionDelay)
|
||||
.lift(new DelayWhenOperator(delayDurationSelector));
|
||||
};
|
||||
}
|
||||
return function (source) { return source.lift(new DelayWhenOperator(delayDurationSelector)); };
|
||||
}
|
||||
var DelayWhenOperator = /*@__PURE__*/ (function () {
|
||||
function DelayWhenOperator(delayDurationSelector) {
|
||||
this.delayDurationSelector = delayDurationSelector;
|
||||
}
|
||||
DelayWhenOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector));
|
||||
};
|
||||
return DelayWhenOperator;
|
||||
}());
|
||||
var DelayWhenSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DelayWhenSubscriber, _super);
|
||||
function DelayWhenSubscriber(destination, delayDurationSelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.delayDurationSelector = delayDurationSelector;
|
||||
_this.completed = false;
|
||||
_this.delayNotifierSubscriptions = [];
|
||||
_this.index = 0;
|
||||
return _this;
|
||||
}
|
||||
DelayWhenSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this.destination.next(outerValue);
|
||||
this.removeSubscription(innerSub);
|
||||
this.tryComplete();
|
||||
};
|
||||
DelayWhenSubscriber.prototype.notifyError = function (error, innerSub) {
|
||||
this._error(error);
|
||||
};
|
||||
DelayWhenSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
var value = this.removeSubscription(innerSub);
|
||||
if (value) {
|
||||
this.destination.next(value);
|
||||
}
|
||||
this.tryComplete();
|
||||
};
|
||||
DelayWhenSubscriber.prototype._next = function (value) {
|
||||
var index = this.index++;
|
||||
try {
|
||||
var delayNotifier = this.delayDurationSelector(value, index);
|
||||
if (delayNotifier) {
|
||||
this.tryDelay(delayNotifier, value);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
};
|
||||
DelayWhenSubscriber.prototype._complete = function () {
|
||||
this.completed = true;
|
||||
this.tryComplete();
|
||||
this.unsubscribe();
|
||||
};
|
||||
DelayWhenSubscriber.prototype.removeSubscription = function (subscription) {
|
||||
subscription.unsubscribe();
|
||||
var subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription);
|
||||
if (subscriptionIdx !== -1) {
|
||||
this.delayNotifierSubscriptions.splice(subscriptionIdx, 1);
|
||||
}
|
||||
return subscription.outerValue;
|
||||
};
|
||||
DelayWhenSubscriber.prototype.tryDelay = function (delayNotifier, value) {
|
||||
var notifierSubscription = subscribeToResult(this, delayNotifier, value);
|
||||
if (notifierSubscription && !notifierSubscription.closed) {
|
||||
var destination = this.destination;
|
||||
destination.add(notifierSubscription);
|
||||
this.delayNotifierSubscriptions.push(notifierSubscription);
|
||||
}
|
||||
};
|
||||
DelayWhenSubscriber.prototype.tryComplete = function () {
|
||||
if (this.completed && this.delayNotifierSubscriptions.length === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
};
|
||||
return DelayWhenSubscriber;
|
||||
}(OuterSubscriber));
|
||||
var SubscriptionDelayObservable = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(SubscriptionDelayObservable, _super);
|
||||
function SubscriptionDelayObservable(source, subscriptionDelay) {
|
||||
var _this = _super.call(this) || this;
|
||||
_this.source = source;
|
||||
_this.subscriptionDelay = subscriptionDelay;
|
||||
return _this;
|
||||
}
|
||||
SubscriptionDelayObservable.prototype._subscribe = function (subscriber) {
|
||||
this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));
|
||||
};
|
||||
return SubscriptionDelayObservable;
|
||||
}(Observable));
|
||||
var SubscriptionDelaySubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(SubscriptionDelaySubscriber, _super);
|
||||
function SubscriptionDelaySubscriber(parent, source) {
|
||||
var _this = _super.call(this) || this;
|
||||
_this.parent = parent;
|
||||
_this.source = source;
|
||||
_this.sourceSubscribed = false;
|
||||
return _this;
|
||||
}
|
||||
SubscriptionDelaySubscriber.prototype._next = function (unused) {
|
||||
this.subscribeToSource();
|
||||
};
|
||||
SubscriptionDelaySubscriber.prototype._error = function (err) {
|
||||
this.unsubscribe();
|
||||
this.parent.error(err);
|
||||
};
|
||||
SubscriptionDelaySubscriber.prototype._complete = function () {
|
||||
this.unsubscribe();
|
||||
this.subscribeToSource();
|
||||
};
|
||||
SubscriptionDelaySubscriber.prototype.subscribeToSource = function () {
|
||||
if (!this.sourceSubscribed) {
|
||||
this.sourceSubscribed = true;
|
||||
this.unsubscribe();
|
||||
this.source.subscribe(this.parent);
|
||||
}
|
||||
};
|
||||
return SubscriptionDelaySubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=delayWhen.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/delayWhen.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB;YAC3B,OAAA,IAAI,2BAA2B,CAAC,MAAM,EAAE,iBAAiB,CAAC;iBACvD,IAAI,CAAC,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;QADrD,CACqD,CAAC;KACzD;IACD,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,CAAC,EAAzD,CAAyD,CAAC;AAC9F,CAAC;AAED;IACE,2BAAoB,qBAAmE;QAAnE,0BAAqB,GAArB,qBAAqB,CAA8C;IACvF,CAAC;IAED,gCAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC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QAFkB,YAAM,GAAN,MAAM,CAAe;QAAU,uBAAiB,GAAjB,iBAAiB,CAAiB;;IAEpF,CAAC;IAGD,gDAAU,GAAV,UAAW,UAAyB;QAClC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,IAAI,2BAA2B,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7F,CAAC;IACH,kCAAC;AAAD,CAAC,AATD,CAA6C,UAAU,GAStD;AAOD;IAA6C,uDAAa;IAGxD,qCAAoB,MAAqB,EAAU,MAAqB;QAAxE,YACE,iBAAO,SACR;QAFmB,YAAM,GAAN,MAAM,CAAe;QAAU,YAAM,GAAN,MAAM,CAAe;QAFhE,sBAAgB,GAAY,KAAK,CAAC;;IAI1C,CAAC;IAES,2CAAK,GAAf,UAAgB,MAAW;QACzB,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC3B,CAAC;IAES,4CAAM,GAAhB,UAAiB,GAAQ;QACvB,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;IAES,+CAAS,GAAnB;QACE,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC3B,CAAC;IAEO,uDAAiB,GAAzB;QACE,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;YAC1B,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAC7B,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SACpC;IACH,CAAC;IACH,kCAAC;AAAD,CAAC,AA5BD,CAA6C,UAAU,GA4BtD"}
|
27
node_modules/rxjs/_esm5/internal/operators/dematerialize.js
generated
vendored
Normal file
27
node_modules/rxjs/_esm5/internal/operators/dematerialize.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function dematerialize() {
|
||||
return function dematerializeOperatorFunction(source) {
|
||||
return source.lift(new DeMaterializeOperator());
|
||||
};
|
||||
}
|
||||
var DeMaterializeOperator = /*@__PURE__*/ (function () {
|
||||
function DeMaterializeOperator() {
|
||||
}
|
||||
DeMaterializeOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DeMaterializeSubscriber(subscriber));
|
||||
};
|
||||
return DeMaterializeOperator;
|
||||
}());
|
||||
var DeMaterializeSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DeMaterializeSubscriber, _super);
|
||||
function DeMaterializeSubscriber(destination) {
|
||||
return _super.call(this, destination) || this;
|
||||
}
|
||||
DeMaterializeSubscriber.prototype._next = function (value) {
|
||||
value.observe(this.destination);
|
||||
};
|
||||
return DeMaterializeSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=dematerialize.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/dematerialize.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;IAAA;IAIA,CAAC;IAHC,oCAAI,GAAJ,UAAK,UAA2B,EAAE,MAAW;QAC3C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC,CAAC;IACnE,CAAC;IACH,4BAAC;AAAD,CAAC,AAJD,IAIC;AAOD;IAAmE,mDAAa;IAC9E,iCAAY,WAA4B;eACtC,kBAAM,WAAW,CAAC;IACpB,CAAC;IAES,uCAAK,GAAf,UAAgB,KAAQ;QACtB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClC,CAAC;IACH,8BAAC;AAAD,CAAC,AARD,CAAmE,UAAU,GAQ5E"}
|
65
node_modules/rxjs/_esm5/internal/operators/distinct.js
generated
vendored
Normal file
65
node_modules/rxjs/_esm5/internal/operators/distinct.js
generated
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function distinct(keySelector, flushes) {
|
||||
return function (source) { return source.lift(new DistinctOperator(keySelector, flushes)); };
|
||||
}
|
||||
var DistinctOperator = /*@__PURE__*/ (function () {
|
||||
function DistinctOperator(keySelector, flushes) {
|
||||
this.keySelector = keySelector;
|
||||
this.flushes = flushes;
|
||||
}
|
||||
DistinctOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes));
|
||||
};
|
||||
return DistinctOperator;
|
||||
}());
|
||||
var DistinctSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DistinctSubscriber, _super);
|
||||
function DistinctSubscriber(destination, keySelector, flushes) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.keySelector = keySelector;
|
||||
_this.values = new Set();
|
||||
if (flushes) {
|
||||
_this.add(subscribeToResult(_this, flushes));
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
DistinctSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this.values.clear();
|
||||
};
|
||||
DistinctSubscriber.prototype.notifyError = function (error, innerSub) {
|
||||
this._error(error);
|
||||
};
|
||||
DistinctSubscriber.prototype._next = function (value) {
|
||||
if (this.keySelector) {
|
||||
this._useKeySelector(value);
|
||||
}
|
||||
else {
|
||||
this._finalizeNext(value, value);
|
||||
}
|
||||
};
|
||||
DistinctSubscriber.prototype._useKeySelector = function (value) {
|
||||
var key;
|
||||
var destination = this.destination;
|
||||
try {
|
||||
key = this.keySelector(value);
|
||||
}
|
||||
catch (err) {
|
||||
destination.error(err);
|
||||
return;
|
||||
}
|
||||
this._finalizeNext(key, value);
|
||||
};
|
||||
DistinctSubscriber.prototype._finalizeNext = function (key, value) {
|
||||
var values = this.values;
|
||||
if (!values.has(key)) {
|
||||
values.add(key);
|
||||
this.destination.next(value);
|
||||
}
|
||||
};
|
||||
return DistinctSubscriber;
|
||||
}(OuterSubscriber));
|
||||
export { DistinctSubscriber };
|
||||
//# sourceMappingURL=distinct.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/distinct.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/internal/operators/distinct.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"distinct.js","sources":["../../../src/internal/operators/distinct.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AA6D9D,MAAM,UAAU,QAAQ,CAAO,WAA6B,EAC7B,OAAyB;IACtD,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,EAAvD,CAAuD,CAAC;AAC5F,CAAC;AAED;IACE,0BAAoB,WAA4B,EAAU,OAAwB;QAA9D,gBAAW,GAAX,WAAW,CAAiB;QAAU,YAAO,GAAP,OAAO,CAAiB;IAClF,CAAC;IAED,+BAAI,GAAJ,UAAK,U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,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACjC,CAAC;IAEO,0CAAa,GAArB,UAAsB,GAAQ,EAAE,KAAQ;QAC9B,IAAA,oBAAM,CAAU;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAI,GAAG,CAAC,EAAE;YACvB,MAAM,CAAC,GAAG,CAAI,GAAG,CAAC,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC9B;IACH,CAAC;IAEH,yBAAC;AAAD,CAAC,AAjDD,CAA8C,eAAe,GAiD5D"}
|
60
node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js
generated
vendored
Normal file
60
node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js
generated
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function distinctUntilChanged(compare, keySelector) {
|
||||
return function (source) { return source.lift(new DistinctUntilChangedOperator(compare, keySelector)); };
|
||||
}
|
||||
var DistinctUntilChangedOperator = /*@__PURE__*/ (function () {
|
||||
function DistinctUntilChangedOperator(compare, keySelector) {
|
||||
this.compare = compare;
|
||||
this.keySelector = keySelector;
|
||||
}
|
||||
DistinctUntilChangedOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));
|
||||
};
|
||||
return DistinctUntilChangedOperator;
|
||||
}());
|
||||
var DistinctUntilChangedSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(DistinctUntilChangedSubscriber, _super);
|
||||
function DistinctUntilChangedSubscriber(destination, compare, keySelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.keySelector = keySelector;
|
||||
_this.hasKey = false;
|
||||
if (typeof compare === 'function') {
|
||||
_this.compare = compare;
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
DistinctUntilChangedSubscriber.prototype.compare = function (x, y) {
|
||||
return x === y;
|
||||
};
|
||||
DistinctUntilChangedSubscriber.prototype._next = function (value) {
|
||||
var key;
|
||||
try {
|
||||
var keySelector = this.keySelector;
|
||||
key = keySelector ? keySelector(value) : value;
|
||||
}
|
||||
catch (err) {
|
||||
return this.destination.error(err);
|
||||
}
|
||||
var result = false;
|
||||
if (this.hasKey) {
|
||||
try {
|
||||
var compare = this.compare;
|
||||
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);
|
||||
}
|
||||
};
|
||||
return DistinctUntilChangedSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=distinctUntilChanged.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,4BAA4B,CAAO,OAAO,EAAE,WAAW,CAAC,CAAC,EAAzE,CAAyE,CAAC;AAC9G,CAAC;AAED;IACE,sCAAoB,OAAgC,EAChC,WAAwB;QADxB,YAAO,GAAP,OAAO,CAAyB;QAChC,gBAAW,GAAX,WAAW,CAAa;IAC5C,CAAC;IAED,2CAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,8BAA8B,CA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AAC,KAAK,CAAC,CAAC;SAC9B;IACH,CAAC;IACH,qCAAC;AAAD,CAAC,AAzCD,CAAmD,UAAU,GAyC5D"}
|
6
node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/** PURE_IMPORTS_START _distinctUntilChanged PURE_IMPORTS_END */
|
||||
import { distinctUntilChanged } from './distinctUntilChanged';
|
||||
export function distinctUntilKeyChanged(key, compare) {
|
||||
return distinctUntilChanged(function (x, y) { return compare ? compare(x[key], y[key]) : x[key] === y[key]; });
|
||||
}
|
||||
//# sourceMappingURL=distinctUntilKeyChanged.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,CAAI,EAAE,CAAI,IAAK,OAAA,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,EAArD,CAAqD,CAAC,CAAC;AACrG,CAAC"}
|
18
node_modules/rxjs/_esm5/internal/operators/elementAt.js
generated
vendored
Normal file
18
node_modules/rxjs/_esm5/internal/operators/elementAt.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
/** PURE_IMPORTS_START _util_ArgumentOutOfRangeError,_filter,_throwIfEmpty,_defaultIfEmpty,_take PURE_IMPORTS_END */
|
||||
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();
|
||||
}
|
||||
var hasDefaultValue = arguments.length >= 2;
|
||||
return function (source) {
|
||||
return source.pipe(filter(function (v, i) { return i === index; }), take(1), hasDefaultValue
|
||||
? defaultIfEmpty(defaultValue)
|
||||
: throwIfEmpty(function () { return new ArgumentOutOfRangeError(); }));
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=elementAt.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/elementAt.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,IAAM,eAAe,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;IAC9C,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAC3C,MAAM,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,CAAC,KAAK,KAAK,EAAX,CAAW,CAAC,EAC7B,IAAI,CAAC,CAAC,CAAC,EACP,eAAe;QACb,CAAC,CAAC,cAAc,CAAC,YAAY,CAAC;QAC9B,CAAC,CAAC,YAAY,CAAC,cAAM,OAAA,IAAI,uBAAuB,EAAE,EAA7B,CAA6B,CAAC,CACtD,EANiC,CAMjC,CAAC;AACJ,CAAC"}
|
11
node_modules/rxjs/_esm5/internal/operators/endWith.js
generated
vendored
Normal file
11
node_modules/rxjs/_esm5/internal/operators/endWith.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
/** PURE_IMPORTS_START _observable_concat,_observable_of PURE_IMPORTS_END */
|
||||
import { concat } from '../observable/concat';
|
||||
import { of } from '../observable/of';
|
||||
export function endWith() {
|
||||
var array = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
array[_i] = arguments[_i];
|
||||
}
|
||||
return function (source) { return concat(source, of.apply(void 0, array)); };
|
||||
}
|
||||
//# sourceMappingURL=endWith.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/endWith.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;IAAI,eAAkC;SAAlC,UAAkC,EAAlC,qBAAkC,EAAlC,IAAkC;QAAlC,0BAAkC;;IAC3D,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,MAAM,EAAE,EAAE,eAAI,KAAK,EAAmB,EAA7C,CAA6C,CAAC;AAClF,CAAC"}
|
51
node_modules/rxjs/_esm5/internal/operators/every.js
generated
vendored
Normal file
51
node_modules/rxjs/_esm5/internal/operators/every.js
generated
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function every(predicate, thisArg) {
|
||||
return function (source) { return source.lift(new EveryOperator(predicate, thisArg, source)); };
|
||||
}
|
||||
var EveryOperator = /*@__PURE__*/ (function () {
|
||||
function EveryOperator(predicate, thisArg, source) {
|
||||
this.predicate = predicate;
|
||||
this.thisArg = thisArg;
|
||||
this.source = source;
|
||||
}
|
||||
EveryOperator.prototype.call = function (observer, source) {
|
||||
return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));
|
||||
};
|
||||
return EveryOperator;
|
||||
}());
|
||||
var EverySubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(EverySubscriber, _super);
|
||||
function EverySubscriber(destination, predicate, thisArg, source) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.predicate = predicate;
|
||||
_this.thisArg = thisArg;
|
||||
_this.source = source;
|
||||
_this.index = 0;
|
||||
_this.thisArg = thisArg || _this;
|
||||
return _this;
|
||||
}
|
||||
EverySubscriber.prototype.notifyComplete = function (everyValueMatch) {
|
||||
this.destination.next(everyValueMatch);
|
||||
this.destination.complete();
|
||||
};
|
||||
EverySubscriber.prototype._next = function (value) {
|
||||
var 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);
|
||||
}
|
||||
};
|
||||
EverySubscriber.prototype._complete = function () {
|
||||
this.notifyComplete(true);
|
||||
};
|
||||
return EverySubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=every.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/every.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,EAA1D,CAA0D,CAAC;AAC/F,CAAC;AAED;IACE,uBAAoB,SAAsE,EACtE,OAAa,EACb,MAAsB;QAFtB,cAAS,GAAT,SAAS,CAA6D;QACtE,YAAO,GAAP,OAAO,CAAM;QACb,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,4BAAI,GAAJ,UAAK,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;IACH,oBAAC;AAAD,CAAC,AATD,IASC;AAOD;IAAiC,2CAAa;IAG5C,yBAAY,WAA8B,EACtB,SAAsE,EACtE,OAAY,EACZ,MAAsB;QAH1C,YAIE,kBAAM,WAAW,CAAC,SAEnB;QALmB,eAAS,GAAT,SAAS,CAA6D;QACtE,aAAO,GAAP,OAAO,CAAK;QACZ,YAAM,GAAN,MAAM,CAAgB;QALlC,WAAK,GAAW,CAAC,CAAC;QAOxB,KAAI,CAAC,OAAO,GAAG,OAAO,IAAI,KAAI,CAAC;;IACjC,CAAC;IAEO,wCAAc,GAAtB,UAAuB,eAAwB;QAC7C,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACvC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAES,+BAAK,GAAf,UAAgB,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,mCAAS,GAAnB;QACE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACH,sBAAC;AAAD,CAAC,AAjCD,CAAiC,UAAU,GAiC1C"}
|
45
node_modules/rxjs/_esm5/internal/operators/exhaust.js
generated
vendored
Normal file
45
node_modules/rxjs/_esm5/internal/operators/exhaust.js
generated
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function exhaust() {
|
||||
return function (source) { return source.lift(new SwitchFirstOperator()); };
|
||||
}
|
||||
var SwitchFirstOperator = /*@__PURE__*/ (function () {
|
||||
function SwitchFirstOperator() {
|
||||
}
|
||||
SwitchFirstOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new SwitchFirstSubscriber(subscriber));
|
||||
};
|
||||
return SwitchFirstOperator;
|
||||
}());
|
||||
var SwitchFirstSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(SwitchFirstSubscriber, _super);
|
||||
function SwitchFirstSubscriber(destination) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.hasCompleted = false;
|
||||
_this.hasSubscription = false;
|
||||
return _this;
|
||||
}
|
||||
SwitchFirstSubscriber.prototype._next = function (value) {
|
||||
if (!this.hasSubscription) {
|
||||
this.hasSubscription = true;
|
||||
this.add(subscribeToResult(this, value));
|
||||
}
|
||||
};
|
||||
SwitchFirstSubscriber.prototype._complete = function () {
|
||||
this.hasCompleted = true;
|
||||
if (!this.hasSubscription) {
|
||||
this.destination.complete();
|
||||
}
|
||||
};
|
||||
SwitchFirstSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
this.remove(innerSub);
|
||||
this.hasSubscription = false;
|
||||
if (this.hasCompleted) {
|
||||
this.destination.complete();
|
||||
}
|
||||
};
|
||||
return SwitchFirstSubscriber;
|
||||
}(OuterSubscriber));
|
||||
//# sourceMappingURL=exhaust.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/exhaust.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAkD9D,MAAM,UAAU,OAAO;IACrB,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,EAAK,CAAC,EAAzC,CAAyC,CAAC;AAC9E,CAAC;AAED;IAAA;IAIA,CAAC;IAHC,kCAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC;IACjE,CAAC;IACH,0BAAC;AAAD,CAAC,AAJD,IAIC;AAOD;IAAuC,iDAAqB;IAI1D,+BAAY,WAA0B;QAAtC,YACE,kBAAM,WAAW,CAAC,SACnB;QALO,kBAAY,GAAY,KAAK,CAAC;QAC9B,qBAAe,GAAY,KAAK,CAAC;;IAIzC,CAAC;IAES,qCAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;YAC5B,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;SAC1C;IACH,CAAC;IAES,yCAAS,GAAnB;QACE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IAED,8CAAc,GAAd,UAAe,QAAsB;QACnC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACtB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IACH,4BAAC;AAAD,CAAC,AA7BD,CAAuC,eAAe,GA6BrD"}
|
85
node_modules/rxjs/_esm5/internal/operators/exhaustMap.js
generated
vendored
Normal file
85
node_modules/rxjs/_esm5/internal/operators/exhaustMap.js
generated
vendored
Normal file
@ -0,0 +1,85 @@
|
||||
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_InnerSubscriber,_util_subscribeToResult,_map,_observable_from PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { InnerSubscriber } from '../InnerSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
import { map } from './map';
|
||||
import { from } from '../observable/from';
|
||||
export function exhaustMap(project, resultSelector) {
|
||||
if (resultSelector) {
|
||||
return function (source) { return source.pipe(exhaustMap(function (a, i) { return from(project(a, i)).pipe(map(function (b, ii) { return resultSelector(a, b, i, ii); })); })); };
|
||||
}
|
||||
return function (source) {
|
||||
return source.lift(new ExhaustMapOperator(project));
|
||||
};
|
||||
}
|
||||
var ExhaustMapOperator = /*@__PURE__*/ (function () {
|
||||
function ExhaustMapOperator(project) {
|
||||
this.project = project;
|
||||
}
|
||||
ExhaustMapOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new ExhaustMapSubscriber(subscriber, this.project));
|
||||
};
|
||||
return ExhaustMapOperator;
|
||||
}());
|
||||
var ExhaustMapSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(ExhaustMapSubscriber, _super);
|
||||
function ExhaustMapSubscriber(destination, project) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.project = project;
|
||||
_this.hasSubscription = false;
|
||||
_this.hasCompleted = false;
|
||||
_this.index = 0;
|
||||
return _this;
|
||||
}
|
||||
ExhaustMapSubscriber.prototype._next = function (value) {
|
||||
if (!this.hasSubscription) {
|
||||
this.tryNext(value);
|
||||
}
|
||||
};
|
||||
ExhaustMapSubscriber.prototype.tryNext = function (value) {
|
||||
var result;
|
||||
var index = this.index++;
|
||||
try {
|
||||
result = this.project(value, index);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.hasSubscription = true;
|
||||
this._innerSub(result, value, index);
|
||||
};
|
||||
ExhaustMapSubscriber.prototype._innerSub = function (result, value, index) {
|
||||
var innerSubscriber = new InnerSubscriber(this, value, index);
|
||||
var destination = this.destination;
|
||||
destination.add(innerSubscriber);
|
||||
var innerSubscription = subscribeToResult(this, result, undefined, undefined, innerSubscriber);
|
||||
if (innerSubscription !== innerSubscriber) {
|
||||
destination.add(innerSubscription);
|
||||
}
|
||||
};
|
||||
ExhaustMapSubscriber.prototype._complete = function () {
|
||||
this.hasCompleted = true;
|
||||
if (!this.hasSubscription) {
|
||||
this.destination.complete();
|
||||
}
|
||||
this.unsubscribe();
|
||||
};
|
||||
ExhaustMapSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this.destination.next(innerValue);
|
||||
};
|
||||
ExhaustMapSubscriber.prototype.notifyError = function (err) {
|
||||
this.destination.error(err);
|
||||
};
|
||||
ExhaustMapSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
var destination = this.destination;
|
||||
destination.remove(innerSub);
|
||||
this.hasSubscription = false;
|
||||
if (this.hasCompleted) {
|
||||
this.destination.complete();
|
||||
}
|
||||
};
|
||||
return ExhaustMapSubscriber;
|
||||
}(OuterSubscriber));
|
||||
//# sourceMappingURL=exhaustMap.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/exhaustMap.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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":";AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAuD1C,MAAM,UAAU,UAAU,CACxB,OAAuC,EACvC,cAA6G;IAE7G,IAAI,cAAc,EAAE;QAElB,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAC3C,UAAU,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAC3C,GAAG,CAAC,UAAC,CAAM,EAAE,EAAO,IAAK,OAAA,cAAc,CAAC,CAAC,EAAE,CAAC,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C,WAAW,CAAC,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IACH,2BAAC;AAAD,CAAC,AArED,CAAyC,eAAe,GAqEvD"}
|
105
node_modules/rxjs/_esm5/internal/operators/expand.js
generated
vendored
Normal file
105
node_modules/rxjs/_esm5/internal/operators/expand.js
generated
vendored
Normal file
@ -0,0 +1,105 @@
|
||||
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
export function expand(project, concurrent, scheduler) {
|
||||
if (concurrent === void 0) {
|
||||
concurrent = Number.POSITIVE_INFINITY;
|
||||
}
|
||||
if (scheduler === void 0) {
|
||||
scheduler = undefined;
|
||||
}
|
||||
concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent;
|
||||
return function (source) { return source.lift(new ExpandOperator(project, concurrent, scheduler)); };
|
||||
}
|
||||
var ExpandOperator = /*@__PURE__*/ (function () {
|
||||
function ExpandOperator(project, concurrent, scheduler) {
|
||||
this.project = project;
|
||||
this.concurrent = concurrent;
|
||||
this.scheduler = scheduler;
|
||||
}
|
||||
ExpandOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler));
|
||||
};
|
||||
return ExpandOperator;
|
||||
}());
|
||||
export { ExpandOperator };
|
||||
var ExpandSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(ExpandSubscriber, _super);
|
||||
function ExpandSubscriber(destination, project, concurrent, scheduler) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_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 = [];
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
ExpandSubscriber.dispatch = function (arg) {
|
||||
var subscriber = arg.subscriber, result = arg.result, value = arg.value, index = arg.index;
|
||||
subscriber.subscribeToProjection(result, value, index);
|
||||
};
|
||||
ExpandSubscriber.prototype._next = function (value) {
|
||||
var destination = this.destination;
|
||||
if (destination.closed) {
|
||||
this._complete();
|
||||
return;
|
||||
}
|
||||
var index = this.index++;
|
||||
if (this.active < this.concurrent) {
|
||||
destination.next(value);
|
||||
try {
|
||||
var project = this.project;
|
||||
var result = project(value, index);
|
||||
if (!this.scheduler) {
|
||||
this.subscribeToProjection(result, value, index);
|
||||
}
|
||||
else {
|
||||
var state = { subscriber: this, result: result, value: value, index: index };
|
||||
var destination_1 = this.destination;
|
||||
destination_1.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state));
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
destination.error(e);
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.buffer.push(value);
|
||||
}
|
||||
};
|
||||
ExpandSubscriber.prototype.subscribeToProjection = function (result, value, index) {
|
||||
this.active++;
|
||||
var destination = this.destination;
|
||||
destination.add(subscribeToResult(this, result, value, index));
|
||||
};
|
||||
ExpandSubscriber.prototype._complete = function () {
|
||||
this.hasCompleted = true;
|
||||
if (this.hasCompleted && this.active === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
this.unsubscribe();
|
||||
};
|
||||
ExpandSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this._next(innerValue);
|
||||
};
|
||||
ExpandSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
var buffer = this.buffer;
|
||||
var destination = this.destination;
|
||||
destination.remove(innerSub);
|
||||
this.active--;
|
||||
if (buffer && buffer.length > 0) {
|
||||
this._next(buffer.shift());
|
||||
}
|
||||
if (this.hasCompleted && this.active === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
};
|
||||
return ExpandSubscriber;
|
||||
}(OuterSubscriber));
|
||||
export { ExpandSubscriber };
|
||||
//# sourceMappingURL=expand.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/expand.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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":";AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AA4D9D,MAAM,UAAU,MAAM,CAAO,OAAwD,EACxD,UAA6C,EAC7C,SAAoC;IADpC,2BAAA,EAAA,aAAqB,MAAM,CAAC,iBAAiB;IAC7C,0BAAA,EAAA,qBAAoC;IAC/D,UAAU,GAAG,CAAC,UAAU,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,UAAU,CAAC;IAE3E,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,EAA/D,CAA+D,CAAC;AACpG,CAAC;AAED;IACE,wBAAoB,OAAwD,EACxD,UAAkB,EAClB,SAAwB;QAFxB,YAAO,GAAP,OAAO,CAAiD;QACxD,eAAU,GAAV,UAAU,CAAQ;QAClB,cAAS,GAAT,SAAS,CAAe;IAC5C,CAAC;IAED,6BAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IAC3G,CAAC;IACH,qBAAC;AAAD,CAAC,AATD,IASC;;AAcD;IAA4C,4CAAqB;IAM/D,0BAA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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,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IACH,uBAAC;AAAD,CAAC,AAlFD,CAA4C,eAAe,GAkF1D"}
|
43
node_modules/rxjs/_esm5/internal/operators/filter.js
generated
vendored
Normal file
43
node_modules/rxjs/_esm5/internal/operators/filter.js
generated
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function filter(predicate, thisArg) {
|
||||
return function filterOperatorFunction(source) {
|
||||
return source.lift(new FilterOperator(predicate, thisArg));
|
||||
};
|
||||
}
|
||||
var FilterOperator = /*@__PURE__*/ (function () {
|
||||
function FilterOperator(predicate, thisArg) {
|
||||
this.predicate = predicate;
|
||||
this.thisArg = thisArg;
|
||||
}
|
||||
FilterOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));
|
||||
};
|
||||
return FilterOperator;
|
||||
}());
|
||||
var FilterSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(FilterSubscriber, _super);
|
||||
function FilterSubscriber(destination, predicate, thisArg) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.predicate = predicate;
|
||||
_this.thisArg = thisArg;
|
||||
_this.count = 0;
|
||||
return _this;
|
||||
}
|
||||
FilterSubscriber.prototype._next = function (value) {
|
||||
var result;
|
||||
try {
|
||||
result = this.predicate.call(this.thisArg, value, this.count++);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
if (result) {
|
||||
this.destination.next(value);
|
||||
}
|
||||
};
|
||||
return FilterSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=filter.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/filter.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;IACE,wBAAoB,SAA+C,EAC/C,OAAa;QADb,cAAS,GAAT,SAAS,CAAsC;QAC/C,YAAO,GAAP,OAAO,CAAM;IACjC,CAAC;IAED,6BAAI,GAAJ,UAAK,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;IACH,qBAAC;AAAD,CAAC,AARD,IAQC;AAOD;IAAkC,4CAAa;IAI7C,0BAAY,WAA0B,EAClB,SAA+C,EAC/C,OAAY;QAFhC,YAGE,kBAAM,WAAW,CAAC,SACnB;QAHmB,eAAS,GAAT,SAAS,CAAsC;QAC/C,aAAO,GAAP,OAAO,CAAK;QAJhC,WAAK,GAAW,CAAC,CAAC;;IAMlB,CAAC;IAIS,gCAAK,GAAf,UAAgB,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;IACH,uBAAC;AAAD,CAAC,AAxBD,CAAkC,UAAU,GAwB3C"}
|
26
node_modules/rxjs/_esm5/internal/operators/finalize.js
generated
vendored
Normal file
26
node_modules/rxjs/_esm5/internal/operators/finalize.js
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber,_Subscription PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Subscription } from '../Subscription';
|
||||
export function finalize(callback) {
|
||||
return function (source) { return source.lift(new FinallyOperator(callback)); };
|
||||
}
|
||||
var FinallyOperator = /*@__PURE__*/ (function () {
|
||||
function FinallyOperator(callback) {
|
||||
this.callback = callback;
|
||||
}
|
||||
FinallyOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new FinallySubscriber(subscriber, this.callback));
|
||||
};
|
||||
return FinallyOperator;
|
||||
}());
|
||||
var FinallySubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(FinallySubscriber, _super);
|
||||
function FinallySubscriber(destination, callback) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.add(new Subscription(callback));
|
||||
return _this;
|
||||
}
|
||||
return FinallySubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=finalize.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/finalize.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,QAAQ,CAAC,CAAC,EAA1C,CAA0C,CAAC;AAC/E,CAAC;AAED;IACE,yBAAoB,QAAoB;QAApB,aAAQ,GAAR,QAAQ,CAAY;IACxC,CAAC;IAED,8BAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5E,CAAC;IACH,sBAAC;AAAD,CAAC,AAPD,IAOC;AAOD;IAAmC,6CAAa;IAC9C,2BAAY,WAA0B,EAAE,QAAoB;QAA5D,YACE,kBAAM,WAAW,CAAC,SAEnB;QADC,KAAI,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC;;IACvC,CAAC;IACH,wBAAC;AAAD,CAAC,AALD,CAAmC,UAAU,GAK5C"}
|
59
node_modules/rxjs/_esm5/internal/operators/find.js
generated
vendored
Normal file
59
node_modules/rxjs/_esm5/internal/operators/find.js
generated
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function find(predicate, thisArg) {
|
||||
if (typeof predicate !== 'function') {
|
||||
throw new TypeError('predicate is not a function');
|
||||
}
|
||||
return function (source) { return source.lift(new FindValueOperator(predicate, source, false, thisArg)); };
|
||||
}
|
||||
var FindValueOperator = /*@__PURE__*/ (function () {
|
||||
function FindValueOperator(predicate, source, yieldIndex, thisArg) {
|
||||
this.predicate = predicate;
|
||||
this.source = source;
|
||||
this.yieldIndex = yieldIndex;
|
||||
this.thisArg = thisArg;
|
||||
}
|
||||
FindValueOperator.prototype.call = function (observer, source) {
|
||||
return source.subscribe(new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg));
|
||||
};
|
||||
return FindValueOperator;
|
||||
}());
|
||||
export { FindValueOperator };
|
||||
var FindValueSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(FindValueSubscriber, _super);
|
||||
function FindValueSubscriber(destination, predicate, source, yieldIndex, thisArg) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.predicate = predicate;
|
||||
_this.source = source;
|
||||
_this.yieldIndex = yieldIndex;
|
||||
_this.thisArg = thisArg;
|
||||
_this.index = 0;
|
||||
return _this;
|
||||
}
|
||||
FindValueSubscriber.prototype.notifyComplete = function (value) {
|
||||
var destination = this.destination;
|
||||
destination.next(value);
|
||||
destination.complete();
|
||||
this.unsubscribe();
|
||||
};
|
||||
FindValueSubscriber.prototype._next = function (value) {
|
||||
var _a = this, predicate = _a.predicate, thisArg = _a.thisArg;
|
||||
var index = this.index++;
|
||||
try {
|
||||
var result = predicate.call(thisArg || this, value, index, this.source);
|
||||
if (result) {
|
||||
this.notifyComplete(this.yieldIndex ? index : value);
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
};
|
||||
FindValueSubscriber.prototype._complete = function () {
|
||||
this.notifyComplete(this.yieldIndex ? -1 : undefined);
|
||||
};
|
||||
return FindValueSubscriber;
|
||||
}(Subscriber));
|
||||
export { FindValueSubscriber };
|
||||
//# sourceMappingURL=find.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/find.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/internal/operators/find.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|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AC/B,IAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,WAAW,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,mCAAK,GAAf,UAAgB,KAAQ;QAChB,IAAA,SAA2B,EAA1B,wBAAS,EAAE,oBAAO,CAAS;QAClC,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC3B,IAAI;YACF,IAAM,MAAM,GAAG,SAAS,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1E,IAAI,MAAM,EAAE;gBACV,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;aACtD;SACF;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SAC7B;IACH,CAAC;IAES,uCAAS,GAAnB;QACE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACxD,CAAC;IACH,0BAAC;AAAD,CAAC,AAnCD,CAA4C,UAAU,GAmCrD"}
|
6
node_modules/rxjs/_esm5/internal/operators/findIndex.js
generated
vendored
Normal file
6
node_modules/rxjs/_esm5/internal/operators/findIndex.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/** PURE_IMPORTS_START _operators_find PURE_IMPORTS_END */
|
||||
import { FindValueOperator } from '../operators/find';
|
||||
export function findIndex(predicate, thisArg) {
|
||||
return function (source) { return source.lift(new FindValueOperator(predicate, source, true, thisArg)); };
|
||||
}
|
||||
//# sourceMappingURL=findIndex.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/findIndex.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAoB,EAAvF,CAAuF,CAAC;AAC5H,CAAC"}
|
12
node_modules/rxjs/_esm5/internal/operators/first.js
generated
vendored
Normal file
12
node_modules/rxjs/_esm5/internal/operators/first.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/** PURE_IMPORTS_START _util_EmptyError,_filter,_take,_defaultIfEmpty,_throwIfEmpty,_util_identity PURE_IMPORTS_END */
|
||||
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) {
|
||||
var hasDefaultValue = arguments.length >= 2;
|
||||
return function (source) { return source.pipe(predicate ? filter(function (v, i) { return predicate(v, i, source); }) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(function () { return new EmptyError(); })); };
|
||||
}
|
||||
//# sourceMappingURL=first.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/first.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,IAAM,eAAe,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;IAC9C,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAC3C,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,EAAvB,CAAuB,CAAC,CAAC,CAAC,CAAC,QAAQ,EAChE,IAAI,CAAC,CAAC,CAAC,EACP,eAAe,CAAC,CAAC,CAAC,cAAc,CAAQ,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,cAAM,OAAA,IAAI,UAAU,EAAE,EAAhB,CAAgB,CAAC,CAC7F,EAJiC,CAIjC,CAAC;AACJ,CAAC"}
|
182
node_modules/rxjs/_esm5/internal/operators/groupBy.js
generated
vendored
Normal file
182
node_modules/rxjs/_esm5/internal/operators/groupBy.js
generated
vendored
Normal file
@ -0,0 +1,182 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber,_Subscription,_Observable,_Subject PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Subscription } from '../Subscription';
|
||||
import { Observable } from '../Observable';
|
||||
import { Subject } from '../Subject';
|
||||
export function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) {
|
||||
return function (source) {
|
||||
return source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector));
|
||||
};
|
||||
}
|
||||
var GroupByOperator = /*@__PURE__*/ (function () {
|
||||
function GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector) {
|
||||
this.keySelector = keySelector;
|
||||
this.elementSelector = elementSelector;
|
||||
this.durationSelector = durationSelector;
|
||||
this.subjectSelector = subjectSelector;
|
||||
}
|
||||
GroupByOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector));
|
||||
};
|
||||
return GroupByOperator;
|
||||
}());
|
||||
var GroupBySubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(GroupBySubscriber, _super);
|
||||
function GroupBySubscriber(destination, keySelector, elementSelector, durationSelector, subjectSelector) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.keySelector = keySelector;
|
||||
_this.elementSelector = elementSelector;
|
||||
_this.durationSelector = durationSelector;
|
||||
_this.subjectSelector = subjectSelector;
|
||||
_this.groups = null;
|
||||
_this.attemptedToUnsubscribe = false;
|
||||
_this.count = 0;
|
||||
return _this;
|
||||
}
|
||||
GroupBySubscriber.prototype._next = function (value) {
|
||||
var key;
|
||||
try {
|
||||
key = this.keySelector(value);
|
||||
}
|
||||
catch (err) {
|
||||
this.error(err);
|
||||
return;
|
||||
}
|
||||
this._group(value, key);
|
||||
};
|
||||
GroupBySubscriber.prototype._group = function (value, key) {
|
||||
var groups = this.groups;
|
||||
if (!groups) {
|
||||
groups = this.groups = new Map();
|
||||
}
|
||||
var group = groups.get(key);
|
||||
var 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);
|
||||
var groupedObservable = new GroupedObservable(key, group, this);
|
||||
this.destination.next(groupedObservable);
|
||||
if (this.durationSelector) {
|
||||
var duration = void 0;
|
||||
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);
|
||||
}
|
||||
};
|
||||
GroupBySubscriber.prototype._error = function (err) {
|
||||
var groups = this.groups;
|
||||
if (groups) {
|
||||
groups.forEach(function (group, key) {
|
||||
group.error(err);
|
||||
});
|
||||
groups.clear();
|
||||
}
|
||||
this.destination.error(err);
|
||||
};
|
||||
GroupBySubscriber.prototype._complete = function () {
|
||||
var groups = this.groups;
|
||||
if (groups) {
|
||||
groups.forEach(function (group, key) {
|
||||
group.complete();
|
||||
});
|
||||
groups.clear();
|
||||
}
|
||||
this.destination.complete();
|
||||
};
|
||||
GroupBySubscriber.prototype.removeGroup = function (key) {
|
||||
this.groups.delete(key);
|
||||
};
|
||||
GroupBySubscriber.prototype.unsubscribe = function () {
|
||||
if (!this.closed) {
|
||||
this.attemptedToUnsubscribe = true;
|
||||
if (this.count === 0) {
|
||||
_super.prototype.unsubscribe.call(this);
|
||||
}
|
||||
}
|
||||
};
|
||||
return GroupBySubscriber;
|
||||
}(Subscriber));
|
||||
var GroupDurationSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(GroupDurationSubscriber, _super);
|
||||
function GroupDurationSubscriber(key, group, parent) {
|
||||
var _this = _super.call(this, group) || this;
|
||||
_this.key = key;
|
||||
_this.group = group;
|
||||
_this.parent = parent;
|
||||
return _this;
|
||||
}
|
||||
GroupDurationSubscriber.prototype._next = function (value) {
|
||||
this.complete();
|
||||
};
|
||||
GroupDurationSubscriber.prototype._unsubscribe = function () {
|
||||
var _a = this, parent = _a.parent, key = _a.key;
|
||||
this.key = this.parent = null;
|
||||
if (parent) {
|
||||
parent.removeGroup(key);
|
||||
}
|
||||
};
|
||||
return GroupDurationSubscriber;
|
||||
}(Subscriber));
|
||||
var GroupedObservable = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(GroupedObservable, _super);
|
||||
function GroupedObservable(key, groupSubject, refCountSubscription) {
|
||||
var _this = _super.call(this) || this;
|
||||
_this.key = key;
|
||||
_this.groupSubject = groupSubject;
|
||||
_this.refCountSubscription = refCountSubscription;
|
||||
return _this;
|
||||
}
|
||||
GroupedObservable.prototype._subscribe = function (subscriber) {
|
||||
var subscription = new Subscription();
|
||||
var _a = this, refCountSubscription = _a.refCountSubscription, groupSubject = _a.groupSubject;
|
||||
if (refCountSubscription && !refCountSubscription.closed) {
|
||||
subscription.add(new InnerRefCountSubscription(refCountSubscription));
|
||||
}
|
||||
subscription.add(groupSubject.subscribe(subscriber));
|
||||
return subscription;
|
||||
};
|
||||
return GroupedObservable;
|
||||
}(Observable));
|
||||
export { GroupedObservable };
|
||||
var InnerRefCountSubscription = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(InnerRefCountSubscription, _super);
|
||||
function InnerRefCountSubscription(parent) {
|
||||
var _this = _super.call(this) || this;
|
||||
_this.parent = parent;
|
||||
parent.count++;
|
||||
return _this;
|
||||
}
|
||||
InnerRefCountSubscription.prototype.unsubscribe = function () {
|
||||
var parent = this.parent;
|
||||
if (!parent.closed && !this.closed) {
|
||||
_super.prototype.unsubscribe.call(this);
|
||||
parent.count -= 1;
|
||||
if (parent.count === 0 && parent.attemptedToUnsubscribe) {
|
||||
parent.unsubscribe();
|
||||
}
|
||||
}
|
||||
};
|
||||
return InnerRefCountSubscription;
|
||||
}(Subscription));
|
||||
//# sourceMappingURL=groupBy.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/groupBy.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/internal/operators/groupBy.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
26
node_modules/rxjs/_esm5/internal/operators/ignoreElements.js
generated
vendored
Normal file
26
node_modules/rxjs/_esm5/internal/operators/ignoreElements.js
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function ignoreElements() {
|
||||
return function ignoreElementsOperatorFunction(source) {
|
||||
return source.lift(new IgnoreElementsOperator());
|
||||
};
|
||||
}
|
||||
var IgnoreElementsOperator = /*@__PURE__*/ (function () {
|
||||
function IgnoreElementsOperator() {
|
||||
}
|
||||
IgnoreElementsOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new IgnoreElementsSubscriber(subscriber));
|
||||
};
|
||||
return IgnoreElementsOperator;
|
||||
}());
|
||||
var IgnoreElementsSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(IgnoreElementsSubscriber, _super);
|
||||
function IgnoreElementsSubscriber() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
IgnoreElementsSubscriber.prototype._next = function (unused) {
|
||||
};
|
||||
return IgnoreElementsSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=ignoreElements.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/ignoreElements.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;IAAA;IAIA,CAAC;IAHC,qCAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC;IACpE,CAAC;IACH,6BAAC;AAAD,CAAC,AAJD,IAIC;AAOD;IAA0C,oDAAa;IAAvD;;IAIA,CAAC;IAHW,wCAAK,GAAf,UAAgB,MAAS;IAEzB,CAAC;IACH,+BAAC;AAAD,CAAC,AAJD,CAA0C,UAAU,GAInD"}
|
104
node_modules/rxjs/_esm5/internal/operators/index.js
generated
vendored
Normal file
104
node_modules/rxjs/_esm5/internal/operators/index.js
generated
vendored
Normal file
@ -0,0 +1,104 @@
|
||||
/** PURE_IMPORTS_START PURE_IMPORTS_END */
|
||||
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/_esm5/internal/operators/index.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,aA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AAO,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,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"}
|
33
node_modules/rxjs/_esm5/internal/operators/isEmpty.js
generated
vendored
Normal file
33
node_modules/rxjs/_esm5/internal/operators/isEmpty.js
generated
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function isEmpty() {
|
||||
return function (source) { return source.lift(new IsEmptyOperator()); };
|
||||
}
|
||||
var IsEmptyOperator = /*@__PURE__*/ (function () {
|
||||
function IsEmptyOperator() {
|
||||
}
|
||||
IsEmptyOperator.prototype.call = function (observer, source) {
|
||||
return source.subscribe(new IsEmptySubscriber(observer));
|
||||
};
|
||||
return IsEmptyOperator;
|
||||
}());
|
||||
var IsEmptySubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(IsEmptySubscriber, _super);
|
||||
function IsEmptySubscriber(destination) {
|
||||
return _super.call(this, destination) || this;
|
||||
}
|
||||
IsEmptySubscriber.prototype.notifyComplete = function (isEmpty) {
|
||||
var destination = this.destination;
|
||||
destination.next(isEmpty);
|
||||
destination.complete();
|
||||
};
|
||||
IsEmptySubscriber.prototype._next = function (value) {
|
||||
this.notifyComplete(false);
|
||||
};
|
||||
IsEmptySubscriber.prototype._complete = function () {
|
||||
this.notifyComplete(true);
|
||||
};
|
||||
return IsEmptySubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=isEmpty.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/isEmpty.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,EAAE,CAAC,EAAlC,CAAkC,CAAC;AACvE,CAAC;AAED;IAAA;IAIA,CAAC;IAHC,8BAAI,GAAJ,UAAM,QAA6B,EAAE,MAAW;QAC9C,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3D,CAAC;IACH,sBAAC;AAAD,CAAC,AAJD,IAIC;AAOD;IAAgC,6CAAe;IAC7C,2BAAY,WAAgC;eAC1C,kBAAM,WAAW,CAAC;IACpB,CAAC;IAEO,0CAAc,GAAtB,UAAuB,OAAgB;QACrC,IAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1B,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,iCAAK,GAAf,UAAgB,KAAc;QAC5B,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAES,qCAAS,GAAnB;QACE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACH,wBAAC;AAAD,CAAC,AAnBD,CAAgC,UAAU,GAmBzC"}
|
12
node_modules/rxjs/_esm5/internal/operators/last.js
generated
vendored
Normal file
12
node_modules/rxjs/_esm5/internal/operators/last.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/** PURE_IMPORTS_START _util_EmptyError,_filter,_takeLast,_throwIfEmpty,_defaultIfEmpty,_util_identity PURE_IMPORTS_END */
|
||||
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) {
|
||||
var hasDefaultValue = arguments.length >= 2;
|
||||
return function (source) { return source.pipe(predicate ? filter(function (v, i) { return predicate(v, i, source); }) : identity, takeLast(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(function () { return new EmptyError(); })); };
|
||||
}
|
||||
//# sourceMappingURL=last.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/last.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,IAAM,eAAe,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;IAC9C,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAC3C,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,EAAvB,CAAuB,CAAC,CAAC,CAAC,CAAC,QAAQ,EAChE,QAAQ,CAAC,CAAC,CAAC,EACX,eAAe,CAAC,CAAC,CAAC,cAAc,CAAQ,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,cAAM,OAAA,IAAI,UAAU,EAAE,EAAhB,CAAgB,CAAC,CAC7F,EAJiC,CAIjC,CAAC;AACJ,CAAC"}
|
45
node_modules/rxjs/_esm5/internal/operators/map.js
generated
vendored
Normal file
45
node_modules/rxjs/_esm5/internal/operators/map.js
generated
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
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));
|
||||
};
|
||||
}
|
||||
var MapOperator = /*@__PURE__*/ (function () {
|
||||
function MapOperator(project, thisArg) {
|
||||
this.project = project;
|
||||
this.thisArg = thisArg;
|
||||
}
|
||||
MapOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));
|
||||
};
|
||||
return MapOperator;
|
||||
}());
|
||||
export { MapOperator };
|
||||
var MapSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(MapSubscriber, _super);
|
||||
function MapSubscriber(destination, project, thisArg) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.project = project;
|
||||
_this.count = 0;
|
||||
_this.thisArg = thisArg || _this;
|
||||
return _this;
|
||||
}
|
||||
MapSubscriber.prototype._next = function (value) {
|
||||
var result;
|
||||
try {
|
||||
result = this.project.call(this.thisArg, value, this.count++);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.destination.next(result);
|
||||
};
|
||||
return MapSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=map.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/map.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;IACE,qBAAoB,OAAuC,EAAU,OAAY;QAA7D,YAAO,GAAP,OAAO,CAAgC;QAAU,YAAO,GAAP,OAAO,CAAK;IACjF,CAAC;IAED,0BAAI,GAAJ,UAAK,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;IACH,kBAAC;AAAD,CAAC,AAPD,IAOC;;AAOD;IAAkC,yCAAa;IAI7C,uBAAY,WAA0B,EAClB,OAAuC,EAC/C,OAAY;QAFxB,YAGE,kBAAM,WAAW,CAAC,SAEnB;QAJmB,aAAO,GAAP,OAAO,CAAgC;QAJ3D,WAAK,GAAW,CAAC,CAAC;QAOhB,KAAI,CAAC,OAAO,GAAG,OAAO,IAAI,KAAI,CAAC;;IACjC,CAAC;IAIS,6BAAK,GAAf,UAAgB,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;IACH,oBAAC;AAAD,CAAC,AAvBD,CAAkC,UAAU,GAuB3C"}
|
28
node_modules/rxjs/_esm5/internal/operators/mapTo.js
generated
vendored
Normal file
28
node_modules/rxjs/_esm5/internal/operators/mapTo.js
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
export function mapTo(value) {
|
||||
return function (source) { return source.lift(new MapToOperator(value)); };
|
||||
}
|
||||
var MapToOperator = /*@__PURE__*/ (function () {
|
||||
function MapToOperator(value) {
|
||||
this.value = value;
|
||||
}
|
||||
MapToOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new MapToSubscriber(subscriber, this.value));
|
||||
};
|
||||
return MapToOperator;
|
||||
}());
|
||||
var MapToSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(MapToSubscriber, _super);
|
||||
function MapToSubscriber(destination, value) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.value = value;
|
||||
return _this;
|
||||
}
|
||||
MapToSubscriber.prototype._next = function (x) {
|
||||
this.destination.next(this.value);
|
||||
};
|
||||
return MapToSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=mapTo.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/mapTo.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC,EAArC,CAAqC,CAAC;AAC1E,CAAC;AAED;IAIE,uBAAY,KAAQ;QAClB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,4BAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,CAAC;IACH,oBAAC;AAAD,CAAC,AAXD,IAWC;AAOD;IAAoC,2CAAa;IAI/C,yBAAY,WAA0B,EAAE,KAAQ;QAAhD,YACE,kBAAM,WAAW,CAAC,SAEnB;QADC,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACrB,CAAC;IAES,+BAAK,GAAf,UAAgB,CAAI;QAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;IACH,sBAAC;AAAD,CAAC,AAZD,CAAoC,UAAU,GAY7C"}
|
38
node_modules/rxjs/_esm5/internal/operators/materialize.js
generated
vendored
Normal file
38
node_modules/rxjs/_esm5/internal/operators/materialize.js
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
/** PURE_IMPORTS_START tslib,_Subscriber,_Notification PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Notification } from '../Notification';
|
||||
export function materialize() {
|
||||
return function materializeOperatorFunction(source) {
|
||||
return source.lift(new MaterializeOperator());
|
||||
};
|
||||
}
|
||||
var MaterializeOperator = /*@__PURE__*/ (function () {
|
||||
function MaterializeOperator() {
|
||||
}
|
||||
MaterializeOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new MaterializeSubscriber(subscriber));
|
||||
};
|
||||
return MaterializeOperator;
|
||||
}());
|
||||
var MaterializeSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(MaterializeSubscriber, _super);
|
||||
function MaterializeSubscriber(destination) {
|
||||
return _super.call(this, destination) || this;
|
||||
}
|
||||
MaterializeSubscriber.prototype._next = function (value) {
|
||||
this.destination.next(Notification.createNext(value));
|
||||
};
|
||||
MaterializeSubscriber.prototype._error = function (err) {
|
||||
var destination = this.destination;
|
||||
destination.next(Notification.createError(err));
|
||||
destination.complete();
|
||||
};
|
||||
MaterializeSubscriber.prototype._complete = function () {
|
||||
var destination = this.destination;
|
||||
destination.next(Notification.createComplete());
|
||||
destination.complete();
|
||||
};
|
||||
return MaterializeSubscriber;
|
||||
}(Subscriber));
|
||||
//# sourceMappingURL=materialize.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/materialize.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;IAAA;IAIA,CAAC;IAHC,kCAAI,GAAJ,UAAK,UAAuC,EAAE,MAAW;QACvD,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC;IACjE,CAAC;IACH,0BAAC;AAAD,CAAC,AAJD,IAIC;AAOD;IAAuC,iDAAa;IAClD,+BAAY,WAAwC;eAClD,kBAAM,WAAW,CAAC;IACpB,CAAC;IAES,qCAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC;IAES,sCAAM,GAAhB,UAAiB,GAAQ;QACvB,IAAM,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,yCAAS,GAAnB;QACE,IAAM,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;IACH,4BAAC;AAAD,CAAC,AApBD,CAAuC,UAAU,GAoBhD"}
|
9
node_modules/rxjs/_esm5/internal/operators/max.js
generated
vendored
Normal file
9
node_modules/rxjs/_esm5/internal/operators/max.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
/** PURE_IMPORTS_START _reduce PURE_IMPORTS_END */
|
||||
import { reduce } from './reduce';
|
||||
export function max(comparer) {
|
||||
var max = (typeof comparer === 'function')
|
||||
? function (x, y) { return comparer(x, y) > 0 ? x : y; }
|
||||
: function (x, y) { return x > y ? x : y; };
|
||||
return reduce(max);
|
||||
}
|
||||
//# sourceMappingURL=max.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/max.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,IAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;QAC7D,CAAC,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAA1B,CAA0B;QACtC,CAAC,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAb,CAAa,CAAC;IAE5B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"}
|
10
node_modules/rxjs/_esm5/internal/operators/merge.js
generated
vendored
Normal file
10
node_modules/rxjs/_esm5/internal/operators/merge.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
/** PURE_IMPORTS_START _observable_merge PURE_IMPORTS_END */
|
||||
import { merge as mergeStatic } from '../observable/merge';
|
||||
export function merge() {
|
||||
var observables = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
observables[_i] = arguments[_i];
|
||||
}
|
||||
return function (source) { return source.lift.call(mergeStatic.apply(void 0, [source].concat(observables))); };
|
||||
}
|
||||
//# sourceMappingURL=merge.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/merge.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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;IAAO,qBAAoE;SAApE,UAAoE,EAApE,qBAAoE,EAApE,IAAoE;QAApE,gCAAoE;;IAC9F,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,gBAAC,MAAM,SAAK,WAAW,GAAE,EAArD,CAAqD,CAAC;AAC1F,CAAC"}
|
10
node_modules/rxjs/_esm5/internal/operators/mergeAll.js
generated
vendored
Normal file
10
node_modules/rxjs/_esm5/internal/operators/mergeAll.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
/** PURE_IMPORTS_START _mergeMap,_util_identity PURE_IMPORTS_END */
|
||||
import { mergeMap } from './mergeMap';
|
||||
import { identity } from '../util/identity';
|
||||
export function mergeAll(concurrent) {
|
||||
if (concurrent === void 0) {
|
||||
concurrent = Number.POSITIVE_INFINITY;
|
||||
}
|
||||
return mergeMap(identity, concurrent);
|
||||
}
|
||||
//# sourceMappingURL=mergeAll.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/mergeAll.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAA6C;IAA7C,2BAAA,EAAA,aAAqB,MAAM,CAAC,iBAAiB;IACvE,OAAO,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AACxC,CAAC"}
|
103
node_modules/rxjs/_esm5/internal/operators/mergeMap.js
generated
vendored
Normal file
103
node_modules/rxjs/_esm5/internal/operators/mergeMap.js
generated
vendored
Normal file
@ -0,0 +1,103 @@
|
||||
/** PURE_IMPORTS_START tslib,_util_subscribeToResult,_OuterSubscriber,_InnerSubscriber,_map,_observable_from PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { InnerSubscriber } from '../InnerSubscriber';
|
||||
import { map } from './map';
|
||||
import { from } from '../observable/from';
|
||||
export function mergeMap(project, resultSelector, concurrent) {
|
||||
if (concurrent === void 0) {
|
||||
concurrent = Number.POSITIVE_INFINITY;
|
||||
}
|
||||
if (typeof resultSelector === 'function') {
|
||||
return function (source) { return source.pipe(mergeMap(function (a, i) { return from(project(a, i)).pipe(map(function (b, ii) { return resultSelector(a, b, i, ii); })); }, concurrent)); };
|
||||
}
|
||||
else if (typeof resultSelector === 'number') {
|
||||
concurrent = resultSelector;
|
||||
}
|
||||
return function (source) { return source.lift(new MergeMapOperator(project, concurrent)); };
|
||||
}
|
||||
var MergeMapOperator = /*@__PURE__*/ (function () {
|
||||
function MergeMapOperator(project, concurrent) {
|
||||
if (concurrent === void 0) {
|
||||
concurrent = Number.POSITIVE_INFINITY;
|
||||
}
|
||||
this.project = project;
|
||||
this.concurrent = concurrent;
|
||||
}
|
||||
MergeMapOperator.prototype.call = function (observer, source) {
|
||||
return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));
|
||||
};
|
||||
return MergeMapOperator;
|
||||
}());
|
||||
export { MergeMapOperator };
|
||||
var MergeMapSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(MergeMapSubscriber, _super);
|
||||
function MergeMapSubscriber(destination, project, concurrent) {
|
||||
if (concurrent === void 0) {
|
||||
concurrent = Number.POSITIVE_INFINITY;
|
||||
}
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.project = project;
|
||||
_this.concurrent = concurrent;
|
||||
_this.hasCompleted = false;
|
||||
_this.buffer = [];
|
||||
_this.active = 0;
|
||||
_this.index = 0;
|
||||
return _this;
|
||||
}
|
||||
MergeMapSubscriber.prototype._next = function (value) {
|
||||
if (this.active < this.concurrent) {
|
||||
this._tryNext(value);
|
||||
}
|
||||
else {
|
||||
this.buffer.push(value);
|
||||
}
|
||||
};
|
||||
MergeMapSubscriber.prototype._tryNext = function (value) {
|
||||
var result;
|
||||
var index = this.index++;
|
||||
try {
|
||||
result = this.project(value, index);
|
||||
}
|
||||
catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
this.active++;
|
||||
this._innerSub(result, value, index);
|
||||
};
|
||||
MergeMapSubscriber.prototype._innerSub = function (ish, value, index) {
|
||||
var innerSubscriber = new InnerSubscriber(this, value, index);
|
||||
var destination = this.destination;
|
||||
destination.add(innerSubscriber);
|
||||
var innerSubscription = subscribeToResult(this, ish, undefined, undefined, innerSubscriber);
|
||||
if (innerSubscription !== innerSubscriber) {
|
||||
destination.add(innerSubscription);
|
||||
}
|
||||
};
|
||||
MergeMapSubscriber.prototype._complete = function () {
|
||||
this.hasCompleted = true;
|
||||
if (this.active === 0 && this.buffer.length === 0) {
|
||||
this.destination.complete();
|
||||
}
|
||||
this.unsubscribe();
|
||||
};
|
||||
MergeMapSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
this.destination.next(innerValue);
|
||||
};
|
||||
MergeMapSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
var buffer = this.buffer;
|
||||
this.remove(innerSub);
|
||||
this.active--;
|
||||
if (buffer.length > 0) {
|
||||
this._next(buffer.shift());
|
||||
}
|
||||
else if (this.active === 0 && this.hasCompleted) {
|
||||
this.destination.complete();
|
||||
}
|
||||
};
|
||||
return MergeMapSubscriber;
|
||||
}(OuterSubscriber));
|
||||
export { MergeMapSubscriber };
|
||||
//# sourceMappingURL=mergeMap.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/mergeMap.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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":";AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAkE1C,MAAM,UAAU,QAAQ,CACtB,OAAuC,EACvC,cAAwH,EACxH,UAA6C;IAA7C,2BAAA,EAAA,aAAqB,MAAM,CAAC,iBAAiB;IAE7C,IAAI,OAAO,cAAc,KAAK,UAAU,EAAE;QAExC,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAC3C,QAAQ,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CACzC,GAAG,CAAC,UAAC,CAAM,EAAE,EAAU,IAAK,OAAA,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAA3B,CAA2B,CAAC,CACzD,EAFkB,CAElB,EAAE,UAAU,CAAC,CACf,EAJiC,C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AAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAED,2CAAc,GAAd,UAAe,QAAsB;QACnC,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACtB,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,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IACH,yBAAC;AAAD,CAAC,AAtED,CAA8C,eAAe,GAsE5D"}
|
15
node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js
generated
vendored
Normal file
15
node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
/** PURE_IMPORTS_START _mergeMap PURE_IMPORTS_END */
|
||||
import { mergeMap } from './mergeMap';
|
||||
export function mergeMapTo(innerObservable, resultSelector, concurrent) {
|
||||
if (concurrent === void 0) {
|
||||
concurrent = Number.POSITIVE_INFINITY;
|
||||
}
|
||||
if (typeof resultSelector === 'function') {
|
||||
return mergeMap(function () { return innerObservable; }, resultSelector, concurrent);
|
||||
}
|
||||
if (typeof resultSelector === 'number') {
|
||||
concurrent = resultSelector;
|
||||
}
|
||||
return mergeMap(function () { return innerObservable; }, concurrent);
|
||||
}
|
||||
//# sourceMappingURL=mergeMapTo.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,UAA6C;IAA7C,2BAAA,EAAA,aAAqB,MAAM,CAAC,iBAAiB;IAE7C,IAAI,OAAO,cAAc,KAAK,UAAU,EAAE;QACxC,OAAO,QAAQ,CAAC,cAAM,OAAA,eAAe,EAAf,CAAe,EAAE,cAAc,EAAE,UAAU,CAAC,CAAC;KACpE;IACD,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;QACtC,UAAU,GAAG,cAAc,CAAC;KAC7B;IACD,OAAO,QAAQ,CAAC,cAAM,OAAA,eAAe,EAAf,CAAe,EAAE,UAAU,CAAC,CAAC;AACrD,CAAC"}
|
100
node_modules/rxjs/_esm5/internal/operators/mergeScan.js
generated
vendored
Normal file
100
node_modules/rxjs/_esm5/internal/operators/mergeScan.js
generated
vendored
Normal file
@ -0,0 +1,100 @@
|
||||
/** PURE_IMPORTS_START tslib,_util_subscribeToResult,_OuterSubscriber,_InnerSubscriber PURE_IMPORTS_END */
|
||||
import * as tslib_1 from "tslib";
|
||||
import { subscribeToResult } from '../util/subscribeToResult';
|
||||
import { OuterSubscriber } from '../OuterSubscriber';
|
||||
import { InnerSubscriber } from '../InnerSubscriber';
|
||||
export function mergeScan(accumulator, seed, concurrent) {
|
||||
if (concurrent === void 0) {
|
||||
concurrent = Number.POSITIVE_INFINITY;
|
||||
}
|
||||
return function (source) { return source.lift(new MergeScanOperator(accumulator, seed, concurrent)); };
|
||||
}
|
||||
var MergeScanOperator = /*@__PURE__*/ (function () {
|
||||
function MergeScanOperator(accumulator, seed, concurrent) {
|
||||
this.accumulator = accumulator;
|
||||
this.seed = seed;
|
||||
this.concurrent = concurrent;
|
||||
}
|
||||
MergeScanOperator.prototype.call = function (subscriber, source) {
|
||||
return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent));
|
||||
};
|
||||
return MergeScanOperator;
|
||||
}());
|
||||
export { MergeScanOperator };
|
||||
var MergeScanSubscriber = /*@__PURE__*/ (function (_super) {
|
||||
tslib_1.__extends(MergeScanSubscriber, _super);
|
||||
function MergeScanSubscriber(destination, accumulator, acc, concurrent) {
|
||||
var _this = _super.call(this, destination) || this;
|
||||
_this.accumulator = accumulator;
|
||||
_this.acc = acc;
|
||||
_this.concurrent = concurrent;
|
||||
_this.hasValue = false;
|
||||
_this.hasCompleted = false;
|
||||
_this.buffer = [];
|
||||
_this.active = 0;
|
||||
_this.index = 0;
|
||||
return _this;
|
||||
}
|
||||
MergeScanSubscriber.prototype._next = function (value) {
|
||||
if (this.active < this.concurrent) {
|
||||
var index = this.index++;
|
||||
var destination = this.destination;
|
||||
var ish = void 0;
|
||||
try {
|
||||
var accumulator = this.accumulator;
|
||||
ish = accumulator(this.acc, value, index);
|
||||
}
|
||||
catch (e) {
|
||||
return destination.error(e);
|
||||
}
|
||||
this.active++;
|
||||
this._innerSub(ish, value, index);
|
||||
}
|
||||
else {
|
||||
this.buffer.push(value);
|
||||
}
|
||||
};
|
||||
MergeScanSubscriber.prototype._innerSub = function (ish, value, index) {
|
||||
var innerSubscriber = new InnerSubscriber(this, value, index);
|
||||
var destination = this.destination;
|
||||
destination.add(innerSubscriber);
|
||||
var innerSubscription = subscribeToResult(this, ish, undefined, undefined, innerSubscriber);
|
||||
if (innerSubscription !== innerSubscriber) {
|
||||
destination.add(innerSubscription);
|
||||
}
|
||||
};
|
||||
MergeScanSubscriber.prototype._complete = function () {
|
||||
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();
|
||||
};
|
||||
MergeScanSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
|
||||
var destination = this.destination;
|
||||
this.acc = innerValue;
|
||||
this.hasValue = true;
|
||||
destination.next(innerValue);
|
||||
};
|
||||
MergeScanSubscriber.prototype.notifyComplete = function (innerSub) {
|
||||
var buffer = this.buffer;
|
||||
var destination = this.destination;
|
||||
destination.remove(innerSub);
|
||||
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();
|
||||
}
|
||||
};
|
||||
return MergeScanSubscriber;
|
||||
}(OuterSubscriber));
|
||||
export { MergeScanSubscriber };
|
||||
//# sourceMappingURL=mergeScan.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/mergeScan.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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":";AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AA0CrD,MAAM,UAAU,SAAS,CAAO,WAAoE,EACpE,IAAO,EACP,UAA6C;IAA7C,2BAAA,EAAA,aAAqB,MAAM,CAAC,iBAAiB;IAC3E,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,WAAW,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,EAAjE,CAAiE,CAAC;AACtG,CAAC;AAED;IACE,2BAAoB,WAAoE,EACpE,IAAO,EACP,UAAkB;QAFlB,gBAAW,GAAX,WAAW,CAAyD;QACpE,SAAI,GAAJ,IAAI,CAAG;QACP,eAAU,GAAV,UAAU,CAAQ;IACtC,CAAC;IAED,gCAAI,GAAJ,UAAK,UAA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CAAC;QACrD,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC7B,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,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aACjC;YACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IACH,0BAAC;AAAD,CAAC,AA/ED,CAA+C,eAAe,GA+E7D"}
|
9
node_modules/rxjs/_esm5/internal/operators/min.js
generated
vendored
Normal file
9
node_modules/rxjs/_esm5/internal/operators/min.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
/** PURE_IMPORTS_START _reduce PURE_IMPORTS_END */
|
||||
import { reduce } from './reduce';
|
||||
export function min(comparer) {
|
||||
var min = (typeof comparer === 'function')
|
||||
? function (x, y) { return comparer(x, y) < 0 ? x : y; }
|
||||
: function (x, y) { return x < y ? x : y; };
|
||||
return reduce(min);
|
||||
}
|
||||
//# sourceMappingURL=min.js.map
|
1
node_modules/rxjs/_esm5/internal/operators/min.js.map
generated
vendored
Normal file
1
node_modules/rxjs/_esm5/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,IAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;QAC7D,CAAC,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAA1B,CAA0B;QACtC,CAAC,CAAC,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAb,CAAa,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
Reference in New Issue
Block a user