@uipath/api-workflow-tool 1.205.0-preview.277 → 1.206.0-preview.279
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/dist/THIRD-PARTY-NOTICES.md +64 -3
- package/dist/applicationinsights-web-8m26566f.js +17209 -0
- package/dist/executor-tool.js +7 -9
- package/dist/index-1wp4j95a.js +10 -0
- package/dist/index-3d09whjq.js +11 -0
- package/dist/{index-waq4trz1.js → index-njewr1c3.js} +5040 -2961
- package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
- package/dist/index.js +14 -15
- package/dist/index.umd.min-ttg1qc0x.js +7814 -0
- package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
- package/dist/js-yaml-0c4svjwq.js +36 -0
- package/dist/{node-0aex431z.js → node-zecqtv6e.js} +13 -90
- package/dist/{packager-tool-bgy9gdsp.js → packager-tool-2ckhrf4j.js} +128 -15
- package/dist/{packager-tool-kh3aq9n7.js → packager-tool-2wwd7kp4.js} +920 -903
- package/dist/{packager-tool-xak3m9vd.js → packager-tool-3hcrfsc1.js} +762 -384
- package/dist/{packager-tool-0aacqssr.js → packager-tool-5b6vjjp3.js} +371 -371
- package/dist/{packager-tool-d3w0wn6k.js → packager-tool-5gce5wfd.js} +16 -16
- package/dist/{packager-tool-f7zta1kg.js → packager-tool-61bdk9sn.js} +203 -156
- package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
- package/dist/{packager-tool-646qm7dh.js → packager-tool-km68yge6.js} +62 -586
- package/dist/{packager-tool-evd1kzq2.js → packager-tool-qhv22qaj.js} +809 -380
- package/dist/packager-tool-rqprykf5.js +15 -0
- package/dist/{packager-tool-h29ph2zm.js → packager-tool-w1asrkzg.js} +361 -205
- package/dist/packager-tool.js +6 -6
- package/dist/tool.js +13 -14
- package/package.json +2 -2
- package/dist/index-a8veczhw.js +0 -72
- package/dist/index.umd.min-fqefd9kn.js +0 -7814
- package/dist/js-yaml-69tsdrrf.js +0 -37
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-6an893wm.js";
|
|
4
4
|
|
|
5
5
|
// ../../node_modules/rxjs/dist/cjs/internal/util/isFunction.js
|
|
6
6
|
var require_isFunction = __commonJS(function(exports) {
|
|
@@ -109,13 +109,13 @@ var require_Subscription = __commonJS(function(exports) {
|
|
|
109
109
|
var UnsubscriptionError_1 = require_UnsubscriptionError();
|
|
110
110
|
var arrRemove_1 = require_arrRemove();
|
|
111
111
|
var Subscription = function() {
|
|
112
|
-
function
|
|
112
|
+
function Subscription(initialTeardown) {
|
|
113
113
|
this.initialTeardown = initialTeardown;
|
|
114
114
|
this.closed = false;
|
|
115
115
|
this._parentage = null;
|
|
116
116
|
this._finalizers = null;
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
Subscription.prototype.unsubscribe = function() {
|
|
119
119
|
var e_1, _a, e_2, _b;
|
|
120
120
|
var errors;
|
|
121
121
|
if (!this.closed) {
|
|
@@ -186,13 +186,13 @@ var require_Subscription = __commonJS(function(exports) {
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
|
-
|
|
189
|
+
Subscription.prototype.add = function(teardown) {
|
|
190
190
|
var _a;
|
|
191
191
|
if (teardown && teardown !== this) {
|
|
192
192
|
if (this.closed) {
|
|
193
193
|
execFinalizer(teardown);
|
|
194
194
|
} else {
|
|
195
|
-
if (teardown instanceof
|
|
195
|
+
if (teardown instanceof Subscription) {
|
|
196
196
|
if (teardown.closed || teardown._hasParent(this)) {
|
|
197
197
|
return;
|
|
198
198
|
}
|
|
@@ -202,15 +202,15 @@ var require_Subscription = __commonJS(function(exports) {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
|
-
|
|
205
|
+
Subscription.prototype._hasParent = function(parent) {
|
|
206
206
|
var _parentage = this._parentage;
|
|
207
207
|
return _parentage === parent || Array.isArray(_parentage) && _parentage.includes(parent);
|
|
208
208
|
};
|
|
209
|
-
|
|
209
|
+
Subscription.prototype._addParent = function(parent) {
|
|
210
210
|
var _parentage = this._parentage;
|
|
211
211
|
this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;
|
|
212
212
|
};
|
|
213
|
-
|
|
213
|
+
Subscription.prototype._removeParent = function(parent) {
|
|
214
214
|
var _parentage = this._parentage;
|
|
215
215
|
if (_parentage === parent) {
|
|
216
216
|
this._parentage = null;
|
|
@@ -218,19 +218,19 @@ var require_Subscription = __commonJS(function(exports) {
|
|
|
218
218
|
arrRemove_1.arrRemove(_parentage, parent);
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
|
-
|
|
221
|
+
Subscription.prototype.remove = function(teardown) {
|
|
222
222
|
var _finalizers = this._finalizers;
|
|
223
223
|
_finalizers && arrRemove_1.arrRemove(_finalizers, teardown);
|
|
224
|
-
if (teardown instanceof
|
|
224
|
+
if (teardown instanceof Subscription) {
|
|
225
225
|
teardown._removeParent(this);
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
|
-
|
|
229
|
-
var empty = new
|
|
228
|
+
Subscription.EMPTY = function() {
|
|
229
|
+
var empty = new Subscription;
|
|
230
230
|
empty.closed = true;
|
|
231
231
|
return empty;
|
|
232
232
|
}();
|
|
233
|
-
return
|
|
233
|
+
return Subscription;
|
|
234
234
|
}();
|
|
235
235
|
exports.Subscription = Subscription;
|
|
236
236
|
exports.EMPTY_SUBSCRIPTION = Subscription.EMPTY;
|
|
@@ -376,7 +376,7 @@ var require_errorContext = __commonJS(function(exports) {
|
|
|
376
376
|
}
|
|
377
377
|
cb();
|
|
378
378
|
if (isRoot) {
|
|
379
|
-
var _a = context,
|
|
379
|
+
var _a = context, { errorThrown, error } = _a;
|
|
380
380
|
context = null;
|
|
381
381
|
if (errorThrown) {
|
|
382
382
|
throw error;
|
|
@@ -400,12 +400,12 @@ var require_errorContext = __commonJS(function(exports) {
|
|
|
400
400
|
var require_Subscriber = __commonJS(function(exports) {
|
|
401
401
|
var __extends = exports && exports.__extends || function() {
|
|
402
402
|
var extendStatics = function(d, b) {
|
|
403
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
404
|
-
|
|
405
|
-
} || function(
|
|
406
|
-
for (var p in
|
|
407
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
408
|
-
|
|
403
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
404
|
+
d.__proto__ = b;
|
|
405
|
+
} || function(d, b) {
|
|
406
|
+
for (var p in b)
|
|
407
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
408
|
+
d[p] = b[p];
|
|
409
409
|
};
|
|
410
410
|
return extendStatics(d, b);
|
|
411
411
|
};
|
|
@@ -430,8 +430,8 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
430
430
|
var timeoutProvider_1 = require_timeoutProvider();
|
|
431
431
|
var errorContext_1 = require_errorContext();
|
|
432
432
|
var Subscriber = function(_super) {
|
|
433
|
-
__extends(
|
|
434
|
-
function
|
|
433
|
+
__extends(Subscriber, _super);
|
|
434
|
+
function Subscriber(destination) {
|
|
435
435
|
var _this = _super.call(this) || this;
|
|
436
436
|
_this.isStopped = false;
|
|
437
437
|
if (destination) {
|
|
@@ -444,17 +444,17 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
444
444
|
}
|
|
445
445
|
return _this;
|
|
446
446
|
}
|
|
447
|
-
|
|
447
|
+
Subscriber.create = function(next, error, complete) {
|
|
448
448
|
return new SafeSubscriber(next, error, complete);
|
|
449
449
|
};
|
|
450
|
-
|
|
450
|
+
Subscriber.prototype.next = function(value) {
|
|
451
451
|
if (this.isStopped) {
|
|
452
452
|
handleStoppedNotification(NotificationFactories_1.nextNotification(value), this);
|
|
453
453
|
} else {
|
|
454
454
|
this._next(value);
|
|
455
455
|
}
|
|
456
456
|
};
|
|
457
|
-
|
|
457
|
+
Subscriber.prototype.error = function(err) {
|
|
458
458
|
if (this.isStopped) {
|
|
459
459
|
handleStoppedNotification(NotificationFactories_1.errorNotification(err), this);
|
|
460
460
|
} else {
|
|
@@ -462,7 +462,7 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
462
462
|
this._error(err);
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
|
-
|
|
465
|
+
Subscriber.prototype.complete = function() {
|
|
466
466
|
if (this.isStopped) {
|
|
467
467
|
handleStoppedNotification(NotificationFactories_1.COMPLETE_NOTIFICATION, this);
|
|
468
468
|
} else {
|
|
@@ -470,31 +470,31 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
470
470
|
this._complete();
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
|
-
|
|
473
|
+
Subscriber.prototype.unsubscribe = function() {
|
|
474
474
|
if (!this.closed) {
|
|
475
475
|
this.isStopped = true;
|
|
476
476
|
_super.prototype.unsubscribe.call(this);
|
|
477
477
|
this.destination = null;
|
|
478
478
|
}
|
|
479
479
|
};
|
|
480
|
-
|
|
480
|
+
Subscriber.prototype._next = function(value) {
|
|
481
481
|
this.destination.next(value);
|
|
482
482
|
};
|
|
483
|
-
|
|
483
|
+
Subscriber.prototype._error = function(err) {
|
|
484
484
|
try {
|
|
485
485
|
this.destination.error(err);
|
|
486
486
|
} finally {
|
|
487
487
|
this.unsubscribe();
|
|
488
488
|
}
|
|
489
489
|
};
|
|
490
|
-
|
|
490
|
+
Subscriber.prototype._complete = function() {
|
|
491
491
|
try {
|
|
492
492
|
this.destination.complete();
|
|
493
493
|
} finally {
|
|
494
494
|
this.unsubscribe();
|
|
495
495
|
}
|
|
496
496
|
};
|
|
497
|
-
return
|
|
497
|
+
return Subscriber;
|
|
498
498
|
}(Subscription_1.Subscription);
|
|
499
499
|
exports.Subscriber = Subscriber;
|
|
500
500
|
var _bind = Function.prototype.bind;
|
|
@@ -502,10 +502,10 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
502
502
|
return _bind.call(fn, thisArg);
|
|
503
503
|
}
|
|
504
504
|
var ConsumerObserver = function() {
|
|
505
|
-
function
|
|
505
|
+
function ConsumerObserver(partialObserver) {
|
|
506
506
|
this.partialObserver = partialObserver;
|
|
507
507
|
}
|
|
508
|
-
|
|
508
|
+
ConsumerObserver.prototype.next = function(value) {
|
|
509
509
|
var partialObserver = this.partialObserver;
|
|
510
510
|
if (partialObserver.next) {
|
|
511
511
|
try {
|
|
@@ -515,7 +515,7 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
|
-
|
|
518
|
+
ConsumerObserver.prototype.error = function(err) {
|
|
519
519
|
var partialObserver = this.partialObserver;
|
|
520
520
|
if (partialObserver.error) {
|
|
521
521
|
try {
|
|
@@ -527,7 +527,7 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
527
527
|
handleUnhandledError(err);
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
|
-
|
|
530
|
+
ConsumerObserver.prototype.complete = function() {
|
|
531
531
|
var partialObserver = this.partialObserver;
|
|
532
532
|
if (partialObserver.complete) {
|
|
533
533
|
try {
|
|
@@ -537,11 +537,11 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
};
|
|
540
|
-
return
|
|
540
|
+
return ConsumerObserver;
|
|
541
541
|
}();
|
|
542
542
|
var SafeSubscriber = function(_super) {
|
|
543
|
-
__extends(
|
|
544
|
-
function
|
|
543
|
+
__extends(SafeSubscriber, _super);
|
|
544
|
+
function SafeSubscriber(observerOrNext, error, complete) {
|
|
545
545
|
var _this = _super.call(this) || this;
|
|
546
546
|
var partialObserver;
|
|
547
547
|
if (isFunction_1.isFunction(observerOrNext) || !observerOrNext) {
|
|
@@ -569,7 +569,7 @@ var require_Subscriber = __commonJS(function(exports) {
|
|
|
569
569
|
_this.destination = new ConsumerObserver(partialObserver);
|
|
570
570
|
return _this;
|
|
571
571
|
}
|
|
572
|
-
return
|
|
572
|
+
return SafeSubscriber;
|
|
573
573
|
}(Subscriber);
|
|
574
574
|
exports.SafeSubscriber = SafeSubscriber;
|
|
575
575
|
function handleUnhandledError(error) {
|
|
@@ -656,34 +656,34 @@ var require_Observable = __commonJS(function(exports) {
|
|
|
656
656
|
var isFunction_1 = require_isFunction();
|
|
657
657
|
var errorContext_1 = require_errorContext();
|
|
658
658
|
var Observable = function() {
|
|
659
|
-
function
|
|
659
|
+
function Observable(subscribe) {
|
|
660
660
|
if (subscribe) {
|
|
661
661
|
this._subscribe = subscribe;
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
|
-
|
|
665
|
-
var observable = new
|
|
664
|
+
Observable.prototype.lift = function(operator) {
|
|
665
|
+
var observable = new Observable;
|
|
666
666
|
observable.source = this;
|
|
667
667
|
observable.operator = operator;
|
|
668
668
|
return observable;
|
|
669
669
|
};
|
|
670
|
-
|
|
670
|
+
Observable.prototype.subscribe = function(observerOrNext, error, complete) {
|
|
671
671
|
var _this = this;
|
|
672
672
|
var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new Subscriber_1.SafeSubscriber(observerOrNext, error, complete);
|
|
673
673
|
errorContext_1.errorContext(function() {
|
|
674
|
-
var _a = _this,
|
|
674
|
+
var _a = _this, { operator, source } = _a;
|
|
675
675
|
subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));
|
|
676
676
|
});
|
|
677
677
|
return subscriber;
|
|
678
678
|
};
|
|
679
|
-
|
|
679
|
+
Observable.prototype._trySubscribe = function(sink) {
|
|
680
680
|
try {
|
|
681
681
|
return this._subscribe(sink);
|
|
682
682
|
} catch (err) {
|
|
683
683
|
sink.error(err);
|
|
684
684
|
}
|
|
685
685
|
};
|
|
686
|
-
|
|
686
|
+
Observable.prototype.forEach = function(next, promiseCtor) {
|
|
687
687
|
var _this = this;
|
|
688
688
|
promiseCtor = getPromiseCtor(promiseCtor);
|
|
689
689
|
return new promiseCtor(function(resolve, reject) {
|
|
@@ -702,21 +702,21 @@ var require_Observable = __commonJS(function(exports) {
|
|
|
702
702
|
_this.subscribe(subscriber);
|
|
703
703
|
});
|
|
704
704
|
};
|
|
705
|
-
|
|
705
|
+
Observable.prototype._subscribe = function(subscriber) {
|
|
706
706
|
var _a;
|
|
707
707
|
return (_a = this.source) === null || _a === undefined ? undefined : _a.subscribe(subscriber);
|
|
708
708
|
};
|
|
709
|
-
|
|
709
|
+
Observable.prototype[observable_1.observable] = function() {
|
|
710
710
|
return this;
|
|
711
711
|
};
|
|
712
|
-
|
|
712
|
+
Observable.prototype.pipe = function() {
|
|
713
713
|
var operations = [];
|
|
714
714
|
for (var _i = 0;_i < arguments.length; _i++) {
|
|
715
715
|
operations[_i] = arguments[_i];
|
|
716
716
|
}
|
|
717
717
|
return pipe_1.pipeFromArray(operations)(this);
|
|
718
718
|
};
|
|
719
|
-
|
|
719
|
+
Observable.prototype.toPromise = function(promiseCtor) {
|
|
720
720
|
var _this = this;
|
|
721
721
|
promiseCtor = getPromiseCtor(promiseCtor);
|
|
722
722
|
return new promiseCtor(function(resolve, reject) {
|
|
@@ -730,10 +730,10 @@ var require_Observable = __commonJS(function(exports) {
|
|
|
730
730
|
});
|
|
731
731
|
});
|
|
732
732
|
};
|
|
733
|
-
|
|
734
|
-
return new
|
|
733
|
+
Observable.create = function(subscribe) {
|
|
734
|
+
return new Observable(subscribe);
|
|
735
735
|
};
|
|
736
|
-
return
|
|
736
|
+
return Observable;
|
|
737
737
|
}();
|
|
738
738
|
exports.Observable = Observable;
|
|
739
739
|
function getPromiseCtor(promiseCtor) {
|
|
@@ -778,12 +778,12 @@ var require_lift = __commonJS(function(exports) {
|
|
|
778
778
|
var require_OperatorSubscriber = __commonJS(function(exports) {
|
|
779
779
|
var __extends = exports && exports.__extends || function() {
|
|
780
780
|
var extendStatics = function(d, b) {
|
|
781
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
782
|
-
|
|
783
|
-
} || function(
|
|
784
|
-
for (var p in
|
|
785
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
786
|
-
|
|
781
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
782
|
+
d.__proto__ = b;
|
|
783
|
+
} || function(d, b) {
|
|
784
|
+
for (var p in b)
|
|
785
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
786
|
+
d[p] = b[p];
|
|
787
787
|
};
|
|
788
788
|
return extendStatics(d, b);
|
|
789
789
|
};
|
|
@@ -805,8 +805,8 @@ var require_OperatorSubscriber = __commonJS(function(exports) {
|
|
|
805
805
|
}
|
|
806
806
|
exports.createOperatorSubscriber = createOperatorSubscriber;
|
|
807
807
|
var OperatorSubscriber = function(_super) {
|
|
808
|
-
__extends(
|
|
809
|
-
function
|
|
808
|
+
__extends(OperatorSubscriber, _super);
|
|
809
|
+
function OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
|
|
810
810
|
var _this = _super.call(this, destination) || this;
|
|
811
811
|
_this.onFinalize = onFinalize;
|
|
812
812
|
_this.shouldUnsubscribe = shouldUnsubscribe;
|
|
@@ -820,8 +820,8 @@ var require_OperatorSubscriber = __commonJS(function(exports) {
|
|
|
820
820
|
_this._error = onError ? function(err) {
|
|
821
821
|
try {
|
|
822
822
|
onError(err);
|
|
823
|
-
} catch (
|
|
824
|
-
destination.error(
|
|
823
|
+
} catch (err) {
|
|
824
|
+
destination.error(err);
|
|
825
825
|
} finally {
|
|
826
826
|
this.unsubscribe();
|
|
827
827
|
}
|
|
@@ -837,7 +837,7 @@ var require_OperatorSubscriber = __commonJS(function(exports) {
|
|
|
837
837
|
} : _super.prototype._complete;
|
|
838
838
|
return _this;
|
|
839
839
|
}
|
|
840
|
-
|
|
840
|
+
OperatorSubscriber.prototype.unsubscribe = function() {
|
|
841
841
|
var _a;
|
|
842
842
|
if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
|
|
843
843
|
var closed_1 = this.closed;
|
|
@@ -845,7 +845,7 @@ var require_OperatorSubscriber = __commonJS(function(exports) {
|
|
|
845
845
|
!closed_1 && ((_a = this.onFinalize) === null || _a === undefined || _a.call(this));
|
|
846
846
|
}
|
|
847
847
|
};
|
|
848
|
-
return
|
|
848
|
+
return OperatorSubscriber;
|
|
849
849
|
}(Subscriber_1.Subscriber);
|
|
850
850
|
exports.OperatorSubscriber = OperatorSubscriber;
|
|
851
851
|
});
|
|
@@ -886,12 +886,12 @@ var require_refCount = __commonJS(function(exports) {
|
|
|
886
886
|
var require_ConnectableObservable = __commonJS(function(exports) {
|
|
887
887
|
var __extends = exports && exports.__extends || function() {
|
|
888
888
|
var extendStatics = function(d, b) {
|
|
889
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
890
|
-
|
|
891
|
-
} || function(
|
|
892
|
-
for (var p in
|
|
893
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
894
|
-
|
|
889
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
890
|
+
d.__proto__ = b;
|
|
891
|
+
} || function(d, b) {
|
|
892
|
+
for (var p in b)
|
|
893
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
894
|
+
d[p] = b[p];
|
|
895
895
|
};
|
|
896
896
|
return extendStatics(d, b);
|
|
897
897
|
};
|
|
@@ -913,8 +913,8 @@ var require_ConnectableObservable = __commonJS(function(exports) {
|
|
|
913
913
|
var OperatorSubscriber_1 = require_OperatorSubscriber();
|
|
914
914
|
var lift_1 = require_lift();
|
|
915
915
|
var ConnectableObservable = function(_super) {
|
|
916
|
-
__extends(
|
|
917
|
-
function
|
|
916
|
+
__extends(ConnectableObservable, _super);
|
|
917
|
+
function ConnectableObservable(source, subjectFactory) {
|
|
918
918
|
var _this = _super.call(this) || this;
|
|
919
919
|
_this.source = source;
|
|
920
920
|
_this.subjectFactory = subjectFactory;
|
|
@@ -926,23 +926,23 @@ var require_ConnectableObservable = __commonJS(function(exports) {
|
|
|
926
926
|
}
|
|
927
927
|
return _this;
|
|
928
928
|
}
|
|
929
|
-
|
|
929
|
+
ConnectableObservable.prototype._subscribe = function(subscriber) {
|
|
930
930
|
return this.getSubject().subscribe(subscriber);
|
|
931
931
|
};
|
|
932
|
-
|
|
932
|
+
ConnectableObservable.prototype.getSubject = function() {
|
|
933
933
|
var subject = this._subject;
|
|
934
934
|
if (!subject || subject.isStopped) {
|
|
935
935
|
this._subject = this.subjectFactory();
|
|
936
936
|
}
|
|
937
937
|
return this._subject;
|
|
938
938
|
};
|
|
939
|
-
|
|
939
|
+
ConnectableObservable.prototype._teardown = function() {
|
|
940
940
|
this._refCount = 0;
|
|
941
941
|
var _connection = this._connection;
|
|
942
942
|
this._subject = this._connection = null;
|
|
943
943
|
_connection === null || _connection === undefined || _connection.unsubscribe();
|
|
944
944
|
};
|
|
945
|
-
|
|
945
|
+
ConnectableObservable.prototype.connect = function() {
|
|
946
946
|
var _this = this;
|
|
947
947
|
var connection = this._connection;
|
|
948
948
|
if (!connection) {
|
|
@@ -964,10 +964,10 @@ var require_ConnectableObservable = __commonJS(function(exports) {
|
|
|
964
964
|
}
|
|
965
965
|
return connection;
|
|
966
966
|
};
|
|
967
|
-
|
|
967
|
+
ConnectableObservable.prototype.refCount = function() {
|
|
968
968
|
return refCount_1.refCount()(this);
|
|
969
969
|
};
|
|
970
|
-
return
|
|
970
|
+
return ConnectableObservable;
|
|
971
971
|
}(Observable_1.Observable);
|
|
972
972
|
exports.ConnectableObservable = ConnectableObservable;
|
|
973
973
|
});
|
|
@@ -1110,12 +1110,12 @@ var require_ObjectUnsubscribedError = __commonJS(function(exports) {
|
|
|
1110
1110
|
var require_Subject = __commonJS(function(exports) {
|
|
1111
1111
|
var __extends = exports && exports.__extends || function() {
|
|
1112
1112
|
var extendStatics = function(d, b) {
|
|
1113
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1114
|
-
|
|
1115
|
-
} || function(
|
|
1116
|
-
for (var p in
|
|
1117
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1118
|
-
|
|
1113
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1114
|
+
d.__proto__ = b;
|
|
1115
|
+
} || function(d, b) {
|
|
1116
|
+
for (var p in b)
|
|
1117
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1118
|
+
d[p] = b[p];
|
|
1119
1119
|
};
|
|
1120
1120
|
return extendStatics(d, b);
|
|
1121
1121
|
};
|
|
@@ -1151,8 +1151,8 @@ var require_Subject = __commonJS(function(exports) {
|
|
|
1151
1151
|
var arrRemove_1 = require_arrRemove();
|
|
1152
1152
|
var errorContext_1 = require_errorContext();
|
|
1153
1153
|
var Subject = function(_super) {
|
|
1154
|
-
__extends(
|
|
1155
|
-
function
|
|
1154
|
+
__extends(Subject, _super);
|
|
1155
|
+
function Subject() {
|
|
1156
1156
|
var _this = _super.call(this) || this;
|
|
1157
1157
|
_this.closed = false;
|
|
1158
1158
|
_this.currentObservers = null;
|
|
@@ -1162,17 +1162,17 @@ var require_Subject = __commonJS(function(exports) {
|
|
|
1162
1162
|
_this.thrownError = null;
|
|
1163
1163
|
return _this;
|
|
1164
1164
|
}
|
|
1165
|
-
|
|
1165
|
+
Subject.prototype.lift = function(operator) {
|
|
1166
1166
|
var subject = new AnonymousSubject(this, this);
|
|
1167
1167
|
subject.operator = operator;
|
|
1168
1168
|
return subject;
|
|
1169
1169
|
};
|
|
1170
|
-
|
|
1170
|
+
Subject.prototype._throwIfClosed = function() {
|
|
1171
1171
|
if (this.closed) {
|
|
1172
1172
|
throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError;
|
|
1173
1173
|
}
|
|
1174
1174
|
};
|
|
1175
|
-
|
|
1175
|
+
Subject.prototype.next = function(value) {
|
|
1176
1176
|
var _this = this;
|
|
1177
1177
|
errorContext_1.errorContext(function() {
|
|
1178
1178
|
var e_1, _a;
|
|
@@ -1200,7 +1200,7 @@ var require_Subject = __commonJS(function(exports) {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
});
|
|
1202
1202
|
};
|
|
1203
|
-
|
|
1203
|
+
Subject.prototype.error = function(err) {
|
|
1204
1204
|
var _this = this;
|
|
1205
1205
|
errorContext_1.errorContext(function() {
|
|
1206
1206
|
_this._throwIfClosed();
|
|
@@ -1214,7 +1214,7 @@ var require_Subject = __commonJS(function(exports) {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
});
|
|
1216
1216
|
};
|
|
1217
|
-
|
|
1217
|
+
Subject.prototype.complete = function() {
|
|
1218
1218
|
var _this = this;
|
|
1219
1219
|
errorContext_1.errorContext(function() {
|
|
1220
1220
|
_this._throwIfClosed();
|
|
@@ -1227,11 +1227,11 @@ var require_Subject = __commonJS(function(exports) {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
});
|
|
1229
1229
|
};
|
|
1230
|
-
|
|
1230
|
+
Subject.prototype.unsubscribe = function() {
|
|
1231
1231
|
this.isStopped = this.closed = true;
|
|
1232
1232
|
this.observers = this.currentObservers = null;
|
|
1233
1233
|
};
|
|
1234
|
-
Object.defineProperty(
|
|
1234
|
+
Object.defineProperty(Subject.prototype, "observed", {
|
|
1235
1235
|
get: function() {
|
|
1236
1236
|
var _a;
|
|
1237
1237
|
return ((_a = this.observers) === null || _a === undefined ? undefined : _a.length) > 0;
|
|
@@ -1239,18 +1239,18 @@ var require_Subject = __commonJS(function(exports) {
|
|
|
1239
1239
|
enumerable: false,
|
|
1240
1240
|
configurable: true
|
|
1241
1241
|
});
|
|
1242
|
-
|
|
1242
|
+
Subject.prototype._trySubscribe = function(subscriber) {
|
|
1243
1243
|
this._throwIfClosed();
|
|
1244
1244
|
return _super.prototype._trySubscribe.call(this, subscriber);
|
|
1245
1245
|
};
|
|
1246
|
-
|
|
1246
|
+
Subject.prototype._subscribe = function(subscriber) {
|
|
1247
1247
|
this._throwIfClosed();
|
|
1248
1248
|
this._checkFinalizedStatuses(subscriber);
|
|
1249
1249
|
return this._innerSubscribe(subscriber);
|
|
1250
1250
|
};
|
|
1251
|
-
|
|
1251
|
+
Subject.prototype._innerSubscribe = function(subscriber) {
|
|
1252
1252
|
var _this = this;
|
|
1253
|
-
var _a = this,
|
|
1253
|
+
var _a = this, { hasError, isStopped, observers } = _a;
|
|
1254
1254
|
if (hasError || isStopped) {
|
|
1255
1255
|
return Subscription_1.EMPTY_SUBSCRIPTION;
|
|
1256
1256
|
}
|
|
@@ -1261,50 +1261,50 @@ var require_Subject = __commonJS(function(exports) {
|
|
|
1261
1261
|
arrRemove_1.arrRemove(observers, subscriber);
|
|
1262
1262
|
});
|
|
1263
1263
|
};
|
|
1264
|
-
|
|
1265
|
-
var _a = this,
|
|
1264
|
+
Subject.prototype._checkFinalizedStatuses = function(subscriber) {
|
|
1265
|
+
var _a = this, { hasError, thrownError, isStopped } = _a;
|
|
1266
1266
|
if (hasError) {
|
|
1267
1267
|
subscriber.error(thrownError);
|
|
1268
1268
|
} else if (isStopped) {
|
|
1269
1269
|
subscriber.complete();
|
|
1270
1270
|
}
|
|
1271
1271
|
};
|
|
1272
|
-
|
|
1272
|
+
Subject.prototype.asObservable = function() {
|
|
1273
1273
|
var observable = new Observable_1.Observable;
|
|
1274
1274
|
observable.source = this;
|
|
1275
1275
|
return observable;
|
|
1276
1276
|
};
|
|
1277
|
-
|
|
1277
|
+
Subject.create = function(destination, source) {
|
|
1278
1278
|
return new AnonymousSubject(destination, source);
|
|
1279
1279
|
};
|
|
1280
|
-
return
|
|
1280
|
+
return Subject;
|
|
1281
1281
|
}(Observable_1.Observable);
|
|
1282
1282
|
exports.Subject = Subject;
|
|
1283
1283
|
var AnonymousSubject = function(_super) {
|
|
1284
|
-
__extends(
|
|
1285
|
-
function
|
|
1284
|
+
__extends(AnonymousSubject, _super);
|
|
1285
|
+
function AnonymousSubject(destination, source) {
|
|
1286
1286
|
var _this = _super.call(this) || this;
|
|
1287
1287
|
_this.destination = destination;
|
|
1288
1288
|
_this.source = source;
|
|
1289
1289
|
return _this;
|
|
1290
1290
|
}
|
|
1291
|
-
|
|
1291
|
+
AnonymousSubject.prototype.next = function(value) {
|
|
1292
1292
|
var _a, _b;
|
|
1293
1293
|
(_b = (_a = this.destination) === null || _a === undefined ? undefined : _a.next) === null || _b === undefined || _b.call(_a, value);
|
|
1294
1294
|
};
|
|
1295
|
-
|
|
1295
|
+
AnonymousSubject.prototype.error = function(err) {
|
|
1296
1296
|
var _a, _b;
|
|
1297
1297
|
(_b = (_a = this.destination) === null || _a === undefined ? undefined : _a.error) === null || _b === undefined || _b.call(_a, err);
|
|
1298
1298
|
};
|
|
1299
|
-
|
|
1299
|
+
AnonymousSubject.prototype.complete = function() {
|
|
1300
1300
|
var _a, _b;
|
|
1301
1301
|
(_b = (_a = this.destination) === null || _a === undefined ? undefined : _a.complete) === null || _b === undefined || _b.call(_a);
|
|
1302
1302
|
};
|
|
1303
|
-
|
|
1303
|
+
AnonymousSubject.prototype._subscribe = function(subscriber) {
|
|
1304
1304
|
var _a, _b;
|
|
1305
1305
|
return (_b = (_a = this.source) === null || _a === undefined ? undefined : _a.subscribe(subscriber)) !== null && _b !== undefined ? _b : Subscription_1.EMPTY_SUBSCRIPTION;
|
|
1306
1306
|
};
|
|
1307
|
-
return
|
|
1307
|
+
return AnonymousSubject;
|
|
1308
1308
|
}(Subject);
|
|
1309
1309
|
exports.AnonymousSubject = AnonymousSubject;
|
|
1310
1310
|
});
|
|
@@ -1313,12 +1313,12 @@ var require_Subject = __commonJS(function(exports) {
|
|
|
1313
1313
|
var require_BehaviorSubject = __commonJS(function(exports) {
|
|
1314
1314
|
var __extends = exports && exports.__extends || function() {
|
|
1315
1315
|
var extendStatics = function(d, b) {
|
|
1316
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1317
|
-
|
|
1318
|
-
} || function(
|
|
1319
|
-
for (var p in
|
|
1320
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1321
|
-
|
|
1316
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1317
|
+
d.__proto__ = b;
|
|
1318
|
+
} || function(d, b) {
|
|
1319
|
+
for (var p in b)
|
|
1320
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1321
|
+
d[p] = b[p];
|
|
1322
1322
|
};
|
|
1323
1323
|
return extendStatics(d, b);
|
|
1324
1324
|
};
|
|
@@ -1336,36 +1336,36 @@ var require_BehaviorSubject = __commonJS(function(exports) {
|
|
|
1336
1336
|
exports.BehaviorSubject = undefined;
|
|
1337
1337
|
var Subject_1 = require_Subject();
|
|
1338
1338
|
var BehaviorSubject = function(_super) {
|
|
1339
|
-
__extends(
|
|
1340
|
-
function
|
|
1339
|
+
__extends(BehaviorSubject, _super);
|
|
1340
|
+
function BehaviorSubject(_value) {
|
|
1341
1341
|
var _this = _super.call(this) || this;
|
|
1342
1342
|
_this._value = _value;
|
|
1343
1343
|
return _this;
|
|
1344
1344
|
}
|
|
1345
|
-
Object.defineProperty(
|
|
1345
|
+
Object.defineProperty(BehaviorSubject.prototype, "value", {
|
|
1346
1346
|
get: function() {
|
|
1347
1347
|
return this.getValue();
|
|
1348
1348
|
},
|
|
1349
1349
|
enumerable: false,
|
|
1350
1350
|
configurable: true
|
|
1351
1351
|
});
|
|
1352
|
-
|
|
1352
|
+
BehaviorSubject.prototype._subscribe = function(subscriber) {
|
|
1353
1353
|
var subscription = _super.prototype._subscribe.call(this, subscriber);
|
|
1354
1354
|
!subscription.closed && subscriber.next(this._value);
|
|
1355
1355
|
return subscription;
|
|
1356
1356
|
};
|
|
1357
|
-
|
|
1358
|
-
var _a = this,
|
|
1357
|
+
BehaviorSubject.prototype.getValue = function() {
|
|
1358
|
+
var _a = this, { hasError, thrownError, _value } = _a;
|
|
1359
1359
|
if (hasError) {
|
|
1360
1360
|
throw thrownError;
|
|
1361
1361
|
}
|
|
1362
1362
|
this._throwIfClosed();
|
|
1363
1363
|
return _value;
|
|
1364
1364
|
};
|
|
1365
|
-
|
|
1365
|
+
BehaviorSubject.prototype.next = function(value) {
|
|
1366
1366
|
_super.prototype.next.call(this, this._value = value);
|
|
1367
1367
|
};
|
|
1368
|
-
return
|
|
1368
|
+
return BehaviorSubject;
|
|
1369
1369
|
}(Subject_1.Subject);
|
|
1370
1370
|
exports.BehaviorSubject = BehaviorSubject;
|
|
1371
1371
|
});
|
|
@@ -1386,12 +1386,12 @@ var require_dateTimestampProvider = __commonJS(function(exports) {
|
|
|
1386
1386
|
var require_ReplaySubject = __commonJS(function(exports) {
|
|
1387
1387
|
var __extends = exports && exports.__extends || function() {
|
|
1388
1388
|
var extendStatics = function(d, b) {
|
|
1389
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1390
|
-
|
|
1391
|
-
} || function(
|
|
1392
|
-
for (var p in
|
|
1393
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1394
|
-
|
|
1389
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1390
|
+
d.__proto__ = b;
|
|
1391
|
+
} || function(d, b) {
|
|
1392
|
+
for (var p in b)
|
|
1393
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1394
|
+
d[p] = b[p];
|
|
1395
1395
|
};
|
|
1396
1396
|
return extendStatics(d, b);
|
|
1397
1397
|
};
|
|
@@ -1410,8 +1410,8 @@ var require_ReplaySubject = __commonJS(function(exports) {
|
|
|
1410
1410
|
var Subject_1 = require_Subject();
|
|
1411
1411
|
var dateTimestampProvider_1 = require_dateTimestampProvider();
|
|
1412
1412
|
var ReplaySubject = function(_super) {
|
|
1413
|
-
__extends(
|
|
1414
|
-
function
|
|
1413
|
+
__extends(ReplaySubject, _super);
|
|
1414
|
+
function ReplaySubject(_bufferSize, _windowTime, _timestampProvider) {
|
|
1415
1415
|
if (_bufferSize === undefined) {
|
|
1416
1416
|
_bufferSize = Infinity;
|
|
1417
1417
|
}
|
|
@@ -1432,8 +1432,8 @@ var require_ReplaySubject = __commonJS(function(exports) {
|
|
|
1432
1432
|
_this._windowTime = Math.max(1, _windowTime);
|
|
1433
1433
|
return _this;
|
|
1434
1434
|
}
|
|
1435
|
-
|
|
1436
|
-
var _a = this,
|
|
1435
|
+
ReplaySubject.prototype.next = function(value) {
|
|
1436
|
+
var _a = this, { isStopped, _buffer, _infiniteTimeWindow, _timestampProvider, _windowTime } = _a;
|
|
1437
1437
|
if (!isStopped) {
|
|
1438
1438
|
_buffer.push(value);
|
|
1439
1439
|
!_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);
|
|
@@ -1441,11 +1441,11 @@ var require_ReplaySubject = __commonJS(function(exports) {
|
|
|
1441
1441
|
this._trimBuffer();
|
|
1442
1442
|
_super.prototype.next.call(this, value);
|
|
1443
1443
|
};
|
|
1444
|
-
|
|
1444
|
+
ReplaySubject.prototype._subscribe = function(subscriber) {
|
|
1445
1445
|
this._throwIfClosed();
|
|
1446
1446
|
this._trimBuffer();
|
|
1447
1447
|
var subscription = this._innerSubscribe(subscriber);
|
|
1448
|
-
var _a = this,
|
|
1448
|
+
var _a = this, { _infiniteTimeWindow, _buffer } = _a;
|
|
1449
1449
|
var copy = _buffer.slice();
|
|
1450
1450
|
for (var i = 0;i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {
|
|
1451
1451
|
subscriber.next(copy[i]);
|
|
@@ -1453,8 +1453,8 @@ var require_ReplaySubject = __commonJS(function(exports) {
|
|
|
1453
1453
|
this._checkFinalizedStatuses(subscriber);
|
|
1454
1454
|
return subscription;
|
|
1455
1455
|
};
|
|
1456
|
-
|
|
1457
|
-
var _a = this,
|
|
1456
|
+
ReplaySubject.prototype._trimBuffer = function() {
|
|
1457
|
+
var _a = this, { _bufferSize, _timestampProvider, _buffer, _infiniteTimeWindow } = _a;
|
|
1458
1458
|
var adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;
|
|
1459
1459
|
_bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);
|
|
1460
1460
|
if (!_infiniteTimeWindow) {
|
|
@@ -1466,7 +1466,7 @@ var require_ReplaySubject = __commonJS(function(exports) {
|
|
|
1466
1466
|
last && _buffer.splice(0, last + 1);
|
|
1467
1467
|
}
|
|
1468
1468
|
};
|
|
1469
|
-
return
|
|
1469
|
+
return ReplaySubject;
|
|
1470
1470
|
}(Subject_1.Subject);
|
|
1471
1471
|
exports.ReplaySubject = ReplaySubject;
|
|
1472
1472
|
});
|
|
@@ -1475,12 +1475,12 @@ var require_ReplaySubject = __commonJS(function(exports) {
|
|
|
1475
1475
|
var require_AsyncSubject = __commonJS(function(exports) {
|
|
1476
1476
|
var __extends = exports && exports.__extends || function() {
|
|
1477
1477
|
var extendStatics = function(d, b) {
|
|
1478
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1479
|
-
|
|
1480
|
-
} || function(
|
|
1481
|
-
for (var p in
|
|
1482
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1483
|
-
|
|
1478
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1479
|
+
d.__proto__ = b;
|
|
1480
|
+
} || function(d, b) {
|
|
1481
|
+
for (var p in b)
|
|
1482
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1483
|
+
d[p] = b[p];
|
|
1484
1484
|
};
|
|
1485
1485
|
return extendStatics(d, b);
|
|
1486
1486
|
};
|
|
@@ -1498,16 +1498,16 @@ var require_AsyncSubject = __commonJS(function(exports) {
|
|
|
1498
1498
|
exports.AsyncSubject = undefined;
|
|
1499
1499
|
var Subject_1 = require_Subject();
|
|
1500
1500
|
var AsyncSubject = function(_super) {
|
|
1501
|
-
__extends(
|
|
1502
|
-
function
|
|
1501
|
+
__extends(AsyncSubject, _super);
|
|
1502
|
+
function AsyncSubject() {
|
|
1503
1503
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1504
1504
|
_this._value = null;
|
|
1505
1505
|
_this._hasValue = false;
|
|
1506
1506
|
_this._isComplete = false;
|
|
1507
1507
|
return _this;
|
|
1508
1508
|
}
|
|
1509
|
-
|
|
1510
|
-
var _a = this,
|
|
1509
|
+
AsyncSubject.prototype._checkFinalizedStatuses = function(subscriber) {
|
|
1510
|
+
var _a = this, { hasError, _hasValue, _value, thrownError, isStopped, _isComplete } = _a;
|
|
1511
1511
|
if (hasError) {
|
|
1512
1512
|
subscriber.error(thrownError);
|
|
1513
1513
|
} else if (isStopped || _isComplete) {
|
|
@@ -1515,21 +1515,21 @@ var require_AsyncSubject = __commonJS(function(exports) {
|
|
|
1515
1515
|
subscriber.complete();
|
|
1516
1516
|
}
|
|
1517
1517
|
};
|
|
1518
|
-
|
|
1518
|
+
AsyncSubject.prototype.next = function(value) {
|
|
1519
1519
|
if (!this.isStopped) {
|
|
1520
1520
|
this._value = value;
|
|
1521
1521
|
this._hasValue = true;
|
|
1522
1522
|
}
|
|
1523
1523
|
};
|
|
1524
|
-
|
|
1525
|
-
var _a = this,
|
|
1524
|
+
AsyncSubject.prototype.complete = function() {
|
|
1525
|
+
var _a = this, { _hasValue, _value, _isComplete } = _a;
|
|
1526
1526
|
if (!_isComplete) {
|
|
1527
1527
|
this._isComplete = true;
|
|
1528
1528
|
_hasValue && _super.prototype.next.call(this, _value);
|
|
1529
1529
|
_super.prototype.complete.call(this);
|
|
1530
1530
|
}
|
|
1531
1531
|
};
|
|
1532
|
-
return
|
|
1532
|
+
return AsyncSubject;
|
|
1533
1533
|
}(Subject_1.Subject);
|
|
1534
1534
|
exports.AsyncSubject = AsyncSubject;
|
|
1535
1535
|
});
|
|
@@ -1538,12 +1538,12 @@ var require_AsyncSubject = __commonJS(function(exports) {
|
|
|
1538
1538
|
var require_Action = __commonJS(function(exports) {
|
|
1539
1539
|
var __extends = exports && exports.__extends || function() {
|
|
1540
1540
|
var extendStatics = function(d, b) {
|
|
1541
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1542
|
-
|
|
1543
|
-
} || function(
|
|
1544
|
-
for (var p in
|
|
1545
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1546
|
-
|
|
1541
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1542
|
+
d.__proto__ = b;
|
|
1543
|
+
} || function(d, b) {
|
|
1544
|
+
for (var p in b)
|
|
1545
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1546
|
+
d[p] = b[p];
|
|
1547
1547
|
};
|
|
1548
1548
|
return extendStatics(d, b);
|
|
1549
1549
|
};
|
|
@@ -1561,17 +1561,17 @@ var require_Action = __commonJS(function(exports) {
|
|
|
1561
1561
|
exports.Action = undefined;
|
|
1562
1562
|
var Subscription_1 = require_Subscription();
|
|
1563
1563
|
var Action = function(_super) {
|
|
1564
|
-
__extends(
|
|
1565
|
-
function
|
|
1564
|
+
__extends(Action, _super);
|
|
1565
|
+
function Action(scheduler, work) {
|
|
1566
1566
|
return _super.call(this) || this;
|
|
1567
1567
|
}
|
|
1568
|
-
|
|
1568
|
+
Action.prototype.schedule = function(state, delay) {
|
|
1569
1569
|
if (delay === undefined) {
|
|
1570
1570
|
delay = 0;
|
|
1571
1571
|
}
|
|
1572
1572
|
return this;
|
|
1573
1573
|
};
|
|
1574
|
-
return
|
|
1574
|
+
return Action;
|
|
1575
1575
|
}(Subscription_1.Subscription);
|
|
1576
1576
|
exports.Action = Action;
|
|
1577
1577
|
});
|
|
@@ -1630,12 +1630,12 @@ var require_intervalProvider = __commonJS(function(exports) {
|
|
|
1630
1630
|
var require_AsyncAction = __commonJS(function(exports) {
|
|
1631
1631
|
var __extends = exports && exports.__extends || function() {
|
|
1632
1632
|
var extendStatics = function(d, b) {
|
|
1633
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1634
|
-
|
|
1635
|
-
} || function(
|
|
1636
|
-
for (var p in
|
|
1637
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1638
|
-
|
|
1633
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1634
|
+
d.__proto__ = b;
|
|
1635
|
+
} || function(d, b) {
|
|
1636
|
+
for (var p in b)
|
|
1637
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1638
|
+
d[p] = b[p];
|
|
1639
1639
|
};
|
|
1640
1640
|
return extendStatics(d, b);
|
|
1641
1641
|
};
|
|
@@ -1655,15 +1655,15 @@ var require_AsyncAction = __commonJS(function(exports) {
|
|
|
1655
1655
|
var intervalProvider_1 = require_intervalProvider();
|
|
1656
1656
|
var arrRemove_1 = require_arrRemove();
|
|
1657
1657
|
var AsyncAction = function(_super) {
|
|
1658
|
-
__extends(
|
|
1659
|
-
function
|
|
1658
|
+
__extends(AsyncAction, _super);
|
|
1659
|
+
function AsyncAction(scheduler, work) {
|
|
1660
1660
|
var _this = _super.call(this, scheduler, work) || this;
|
|
1661
1661
|
_this.scheduler = scheduler;
|
|
1662
1662
|
_this.work = work;
|
|
1663
1663
|
_this.pending = false;
|
|
1664
1664
|
return _this;
|
|
1665
1665
|
}
|
|
1666
|
-
|
|
1666
|
+
AsyncAction.prototype.schedule = function(state, delay) {
|
|
1667
1667
|
var _a;
|
|
1668
1668
|
if (delay === undefined) {
|
|
1669
1669
|
delay = 0;
|
|
@@ -1682,13 +1682,13 @@ var require_AsyncAction = __commonJS(function(exports) {
|
|
|
1682
1682
|
this.id = (_a = this.id) !== null && _a !== undefined ? _a : this.requestAsyncId(scheduler, this.id, delay);
|
|
1683
1683
|
return this;
|
|
1684
1684
|
};
|
|
1685
|
-
|
|
1685
|
+
AsyncAction.prototype.requestAsyncId = function(scheduler, _id, delay) {
|
|
1686
1686
|
if (delay === undefined) {
|
|
1687
1687
|
delay = 0;
|
|
1688
1688
|
}
|
|
1689
1689
|
return intervalProvider_1.intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);
|
|
1690
1690
|
};
|
|
1691
|
-
|
|
1691
|
+
AsyncAction.prototype.recycleAsyncId = function(_scheduler, id, delay) {
|
|
1692
1692
|
if (delay === undefined) {
|
|
1693
1693
|
delay = 0;
|
|
1694
1694
|
}
|
|
@@ -1700,7 +1700,7 @@ var require_AsyncAction = __commonJS(function(exports) {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
return;
|
|
1702
1702
|
};
|
|
1703
|
-
|
|
1703
|
+
AsyncAction.prototype.execute = function(state, delay) {
|
|
1704
1704
|
if (this.closed) {
|
|
1705
1705
|
return new Error("executing a cancelled action");
|
|
1706
1706
|
}
|
|
@@ -1712,7 +1712,7 @@ var require_AsyncAction = __commonJS(function(exports) {
|
|
|
1712
1712
|
this.id = this.recycleAsyncId(this.scheduler, this.id, null);
|
|
1713
1713
|
}
|
|
1714
1714
|
};
|
|
1715
|
-
|
|
1715
|
+
AsyncAction.prototype._execute = function(state, _delay) {
|
|
1716
1716
|
var errored = false;
|
|
1717
1717
|
var errorValue;
|
|
1718
1718
|
try {
|
|
@@ -1726,9 +1726,9 @@ var require_AsyncAction = __commonJS(function(exports) {
|
|
|
1726
1726
|
return errorValue;
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
1729
|
-
|
|
1729
|
+
AsyncAction.prototype.unsubscribe = function() {
|
|
1730
1730
|
if (!this.closed) {
|
|
1731
|
-
var _a = this,
|
|
1731
|
+
var _a = this, { id, scheduler } = _a;
|
|
1732
1732
|
var actions = scheduler.actions;
|
|
1733
1733
|
this.work = this.state = this.scheduler = null;
|
|
1734
1734
|
this.pending = false;
|
|
@@ -1740,7 +1740,7 @@ var require_AsyncAction = __commonJS(function(exports) {
|
|
|
1740
1740
|
_super.prototype.unsubscribe.call(this);
|
|
1741
1741
|
}
|
|
1742
1742
|
};
|
|
1743
|
-
return
|
|
1743
|
+
return AsyncAction;
|
|
1744
1744
|
}(Action_1.Action);
|
|
1745
1745
|
exports.AsyncAction = AsyncAction;
|
|
1746
1746
|
});
|
|
@@ -1836,12 +1836,12 @@ var require_immediateProvider = __commonJS(function(exports) {
|
|
|
1836
1836
|
var require_AsapAction = __commonJS(function(exports) {
|
|
1837
1837
|
var __extends = exports && exports.__extends || function() {
|
|
1838
1838
|
var extendStatics = function(d, b) {
|
|
1839
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1840
|
-
|
|
1841
|
-
} || function(
|
|
1842
|
-
for (var p in
|
|
1843
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1844
|
-
|
|
1839
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1840
|
+
d.__proto__ = b;
|
|
1841
|
+
} || function(d, b) {
|
|
1842
|
+
for (var p in b)
|
|
1843
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1844
|
+
d[p] = b[p];
|
|
1845
1845
|
};
|
|
1846
1846
|
return extendStatics(d, b);
|
|
1847
1847
|
};
|
|
@@ -1860,14 +1860,14 @@ var require_AsapAction = __commonJS(function(exports) {
|
|
|
1860
1860
|
var AsyncAction_1 = require_AsyncAction();
|
|
1861
1861
|
var immediateProvider_1 = require_immediateProvider();
|
|
1862
1862
|
var AsapAction = function(_super) {
|
|
1863
|
-
__extends(
|
|
1864
|
-
function
|
|
1863
|
+
__extends(AsapAction, _super);
|
|
1864
|
+
function AsapAction(scheduler, work) {
|
|
1865
1865
|
var _this = _super.call(this, scheduler, work) || this;
|
|
1866
1866
|
_this.scheduler = scheduler;
|
|
1867
1867
|
_this.work = work;
|
|
1868
1868
|
return _this;
|
|
1869
1869
|
}
|
|
1870
|
-
|
|
1870
|
+
AsapAction.prototype.requestAsyncId = function(scheduler, id, delay) {
|
|
1871
1871
|
if (delay === undefined) {
|
|
1872
1872
|
delay = 0;
|
|
1873
1873
|
}
|
|
@@ -1877,7 +1877,7 @@ var require_AsapAction = __commonJS(function(exports) {
|
|
|
1877
1877
|
scheduler.actions.push(this);
|
|
1878
1878
|
return scheduler._scheduled || (scheduler._scheduled = immediateProvider_1.immediateProvider.setImmediate(scheduler.flush.bind(scheduler, undefined)));
|
|
1879
1879
|
};
|
|
1880
|
-
|
|
1880
|
+
AsapAction.prototype.recycleAsyncId = function(scheduler, id, delay) {
|
|
1881
1881
|
var _a;
|
|
1882
1882
|
if (delay === undefined) {
|
|
1883
1883
|
delay = 0;
|
|
@@ -1894,7 +1894,7 @@ var require_AsapAction = __commonJS(function(exports) {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
return;
|
|
1896
1896
|
};
|
|
1897
|
-
return
|
|
1897
|
+
return AsapAction;
|
|
1898
1898
|
}(AsyncAction_1.AsyncAction);
|
|
1899
1899
|
exports.AsapAction = AsapAction;
|
|
1900
1900
|
});
|
|
@@ -1905,21 +1905,21 @@ var require_Scheduler = __commonJS(function(exports) {
|
|
|
1905
1905
|
exports.Scheduler = undefined;
|
|
1906
1906
|
var dateTimestampProvider_1 = require_dateTimestampProvider();
|
|
1907
1907
|
var Scheduler = function() {
|
|
1908
|
-
function
|
|
1908
|
+
function Scheduler(schedulerActionCtor, now) {
|
|
1909
1909
|
if (now === undefined) {
|
|
1910
|
-
now =
|
|
1910
|
+
now = Scheduler.now;
|
|
1911
1911
|
}
|
|
1912
1912
|
this.schedulerActionCtor = schedulerActionCtor;
|
|
1913
1913
|
this.now = now;
|
|
1914
1914
|
}
|
|
1915
|
-
|
|
1915
|
+
Scheduler.prototype.schedule = function(work, delay, state) {
|
|
1916
1916
|
if (delay === undefined) {
|
|
1917
1917
|
delay = 0;
|
|
1918
1918
|
}
|
|
1919
1919
|
return new this.schedulerActionCtor(this, work).schedule(state, delay);
|
|
1920
1920
|
};
|
|
1921
|
-
|
|
1922
|
-
return
|
|
1921
|
+
Scheduler.now = dateTimestampProvider_1.dateTimestampProvider.now;
|
|
1922
|
+
return Scheduler;
|
|
1923
1923
|
}();
|
|
1924
1924
|
exports.Scheduler = Scheduler;
|
|
1925
1925
|
});
|
|
@@ -1928,12 +1928,12 @@ var require_Scheduler = __commonJS(function(exports) {
|
|
|
1928
1928
|
var require_AsyncScheduler = __commonJS(function(exports) {
|
|
1929
1929
|
var __extends = exports && exports.__extends || function() {
|
|
1930
1930
|
var extendStatics = function(d, b) {
|
|
1931
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1932
|
-
|
|
1933
|
-
} || function(
|
|
1934
|
-
for (var p in
|
|
1935
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1936
|
-
|
|
1931
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1932
|
+
d.__proto__ = b;
|
|
1933
|
+
} || function(d, b) {
|
|
1934
|
+
for (var p in b)
|
|
1935
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1936
|
+
d[p] = b[p];
|
|
1937
1937
|
};
|
|
1938
1938
|
return extendStatics(d, b);
|
|
1939
1939
|
};
|
|
@@ -1951,8 +1951,8 @@ var require_AsyncScheduler = __commonJS(function(exports) {
|
|
|
1951
1951
|
exports.AsyncScheduler = undefined;
|
|
1952
1952
|
var Scheduler_1 = require_Scheduler();
|
|
1953
1953
|
var AsyncScheduler = function(_super) {
|
|
1954
|
-
__extends(
|
|
1955
|
-
function
|
|
1954
|
+
__extends(AsyncScheduler, _super);
|
|
1955
|
+
function AsyncScheduler(SchedulerAction, now) {
|
|
1956
1956
|
if (now === undefined) {
|
|
1957
1957
|
now = Scheduler_1.Scheduler.now;
|
|
1958
1958
|
}
|
|
@@ -1961,7 +1961,7 @@ var require_AsyncScheduler = __commonJS(function(exports) {
|
|
|
1961
1961
|
_this._active = false;
|
|
1962
1962
|
return _this;
|
|
1963
1963
|
}
|
|
1964
|
-
|
|
1964
|
+
AsyncScheduler.prototype.flush = function(action) {
|
|
1965
1965
|
var actions = this.actions;
|
|
1966
1966
|
if (this._active) {
|
|
1967
1967
|
actions.push(action);
|
|
@@ -1982,7 +1982,7 @@ var require_AsyncScheduler = __commonJS(function(exports) {
|
|
|
1982
1982
|
throw error;
|
|
1983
1983
|
}
|
|
1984
1984
|
};
|
|
1985
|
-
return
|
|
1985
|
+
return AsyncScheduler;
|
|
1986
1986
|
}(Scheduler_1.Scheduler);
|
|
1987
1987
|
exports.AsyncScheduler = AsyncScheduler;
|
|
1988
1988
|
});
|
|
@@ -1991,12 +1991,12 @@ var require_AsyncScheduler = __commonJS(function(exports) {
|
|
|
1991
1991
|
var require_AsapScheduler = __commonJS(function(exports) {
|
|
1992
1992
|
var __extends = exports && exports.__extends || function() {
|
|
1993
1993
|
var extendStatics = function(d, b) {
|
|
1994
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
1995
|
-
|
|
1996
|
-
} || function(
|
|
1997
|
-
for (var p in
|
|
1998
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1999
|
-
|
|
1994
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1995
|
+
d.__proto__ = b;
|
|
1996
|
+
} || function(d, b) {
|
|
1997
|
+
for (var p in b)
|
|
1998
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
1999
|
+
d[p] = b[p];
|
|
2000
2000
|
};
|
|
2001
2001
|
return extendStatics(d, b);
|
|
2002
2002
|
};
|
|
@@ -2014,11 +2014,11 @@ var require_AsapScheduler = __commonJS(function(exports) {
|
|
|
2014
2014
|
exports.AsapScheduler = undefined;
|
|
2015
2015
|
var AsyncScheduler_1 = require_AsyncScheduler();
|
|
2016
2016
|
var AsapScheduler = function(_super) {
|
|
2017
|
-
__extends(
|
|
2018
|
-
function
|
|
2017
|
+
__extends(AsapScheduler, _super);
|
|
2018
|
+
function AsapScheduler() {
|
|
2019
2019
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2020
2020
|
}
|
|
2021
|
-
|
|
2021
|
+
AsapScheduler.prototype.flush = function(action) {
|
|
2022
2022
|
this._active = true;
|
|
2023
2023
|
var flushId = this._scheduled;
|
|
2024
2024
|
this._scheduled = undefined;
|
|
@@ -2038,7 +2038,7 @@ var require_AsapScheduler = __commonJS(function(exports) {
|
|
|
2038
2038
|
throw error;
|
|
2039
2039
|
}
|
|
2040
2040
|
};
|
|
2041
|
-
return
|
|
2041
|
+
return AsapScheduler;
|
|
2042
2042
|
}(AsyncScheduler_1.AsyncScheduler);
|
|
2043
2043
|
exports.AsapScheduler = AsapScheduler;
|
|
2044
2044
|
});
|
|
@@ -2067,12 +2067,12 @@ var require_async = __commonJS(function(exports) {
|
|
|
2067
2067
|
var require_QueueAction = __commonJS(function(exports) {
|
|
2068
2068
|
var __extends = exports && exports.__extends || function() {
|
|
2069
2069
|
var extendStatics = function(d, b) {
|
|
2070
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
2071
|
-
|
|
2072
|
-
} || function(
|
|
2073
|
-
for (var p in
|
|
2074
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2075
|
-
|
|
2070
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2071
|
+
d.__proto__ = b;
|
|
2072
|
+
} || function(d, b) {
|
|
2073
|
+
for (var p in b)
|
|
2074
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
2075
|
+
d[p] = b[p];
|
|
2076
2076
|
};
|
|
2077
2077
|
return extendStatics(d, b);
|
|
2078
2078
|
};
|
|
@@ -2090,14 +2090,14 @@ var require_QueueAction = __commonJS(function(exports) {
|
|
|
2090
2090
|
exports.QueueAction = undefined;
|
|
2091
2091
|
var AsyncAction_1 = require_AsyncAction();
|
|
2092
2092
|
var QueueAction = function(_super) {
|
|
2093
|
-
__extends(
|
|
2094
|
-
function
|
|
2093
|
+
__extends(QueueAction, _super);
|
|
2094
|
+
function QueueAction(scheduler, work) {
|
|
2095
2095
|
var _this = _super.call(this, scheduler, work) || this;
|
|
2096
2096
|
_this.scheduler = scheduler;
|
|
2097
2097
|
_this.work = work;
|
|
2098
2098
|
return _this;
|
|
2099
2099
|
}
|
|
2100
|
-
|
|
2100
|
+
QueueAction.prototype.schedule = function(state, delay) {
|
|
2101
2101
|
if (delay === undefined) {
|
|
2102
2102
|
delay = 0;
|
|
2103
2103
|
}
|
|
@@ -2109,10 +2109,10 @@ var require_QueueAction = __commonJS(function(exports) {
|
|
|
2109
2109
|
this.scheduler.flush(this);
|
|
2110
2110
|
return this;
|
|
2111
2111
|
};
|
|
2112
|
-
|
|
2112
|
+
QueueAction.prototype.execute = function(state, delay) {
|
|
2113
2113
|
return delay > 0 || this.closed ? _super.prototype.execute.call(this, state, delay) : this._execute(state, delay);
|
|
2114
2114
|
};
|
|
2115
|
-
|
|
2115
|
+
QueueAction.prototype.requestAsyncId = function(scheduler, id, delay) {
|
|
2116
2116
|
if (delay === undefined) {
|
|
2117
2117
|
delay = 0;
|
|
2118
2118
|
}
|
|
@@ -2122,7 +2122,7 @@ var require_QueueAction = __commonJS(function(exports) {
|
|
|
2122
2122
|
scheduler.flush(this);
|
|
2123
2123
|
return 0;
|
|
2124
2124
|
};
|
|
2125
|
-
return
|
|
2125
|
+
return QueueAction;
|
|
2126
2126
|
}(AsyncAction_1.AsyncAction);
|
|
2127
2127
|
exports.QueueAction = QueueAction;
|
|
2128
2128
|
});
|
|
@@ -2131,12 +2131,12 @@ var require_QueueAction = __commonJS(function(exports) {
|
|
|
2131
2131
|
var require_QueueScheduler = __commonJS(function(exports) {
|
|
2132
2132
|
var __extends = exports && exports.__extends || function() {
|
|
2133
2133
|
var extendStatics = function(d, b) {
|
|
2134
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
2135
|
-
|
|
2136
|
-
} || function(
|
|
2137
|
-
for (var p in
|
|
2138
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2139
|
-
|
|
2134
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2135
|
+
d.__proto__ = b;
|
|
2136
|
+
} || function(d, b) {
|
|
2137
|
+
for (var p in b)
|
|
2138
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
2139
|
+
d[p] = b[p];
|
|
2140
2140
|
};
|
|
2141
2141
|
return extendStatics(d, b);
|
|
2142
2142
|
};
|
|
@@ -2154,11 +2154,11 @@ var require_QueueScheduler = __commonJS(function(exports) {
|
|
|
2154
2154
|
exports.QueueScheduler = undefined;
|
|
2155
2155
|
var AsyncScheduler_1 = require_AsyncScheduler();
|
|
2156
2156
|
var QueueScheduler = function(_super) {
|
|
2157
|
-
__extends(
|
|
2158
|
-
function
|
|
2157
|
+
__extends(QueueScheduler, _super);
|
|
2158
|
+
function QueueScheduler() {
|
|
2159
2159
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2160
2160
|
}
|
|
2161
|
-
return
|
|
2161
|
+
return QueueScheduler;
|
|
2162
2162
|
}(AsyncScheduler_1.AsyncScheduler);
|
|
2163
2163
|
exports.QueueScheduler = QueueScheduler;
|
|
2164
2164
|
});
|
|
@@ -2177,12 +2177,12 @@ var require_queue = __commonJS(function(exports) {
|
|
|
2177
2177
|
var require_AnimationFrameAction = __commonJS(function(exports) {
|
|
2178
2178
|
var __extends = exports && exports.__extends || function() {
|
|
2179
2179
|
var extendStatics = function(d, b) {
|
|
2180
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
2181
|
-
|
|
2182
|
-
} || function(
|
|
2183
|
-
for (var p in
|
|
2184
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2185
|
-
|
|
2180
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2181
|
+
d.__proto__ = b;
|
|
2182
|
+
} || function(d, b) {
|
|
2183
|
+
for (var p in b)
|
|
2184
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
2185
|
+
d[p] = b[p];
|
|
2186
2186
|
};
|
|
2187
2187
|
return extendStatics(d, b);
|
|
2188
2188
|
};
|
|
@@ -2201,14 +2201,14 @@ var require_AnimationFrameAction = __commonJS(function(exports) {
|
|
|
2201
2201
|
var AsyncAction_1 = require_AsyncAction();
|
|
2202
2202
|
var animationFrameProvider_1 = require_animationFrameProvider();
|
|
2203
2203
|
var AnimationFrameAction = function(_super) {
|
|
2204
|
-
__extends(
|
|
2205
|
-
function
|
|
2204
|
+
__extends(AnimationFrameAction, _super);
|
|
2205
|
+
function AnimationFrameAction(scheduler, work) {
|
|
2206
2206
|
var _this = _super.call(this, scheduler, work) || this;
|
|
2207
2207
|
_this.scheduler = scheduler;
|
|
2208
2208
|
_this.work = work;
|
|
2209
2209
|
return _this;
|
|
2210
2210
|
}
|
|
2211
|
-
|
|
2211
|
+
AnimationFrameAction.prototype.requestAsyncId = function(scheduler, id, delay) {
|
|
2212
2212
|
if (delay === undefined) {
|
|
2213
2213
|
delay = 0;
|
|
2214
2214
|
}
|
|
@@ -2220,7 +2220,7 @@ var require_AnimationFrameAction = __commonJS(function(exports) {
|
|
|
2220
2220
|
return scheduler.flush(undefined);
|
|
2221
2221
|
}));
|
|
2222
2222
|
};
|
|
2223
|
-
|
|
2223
|
+
AnimationFrameAction.prototype.recycleAsyncId = function(scheduler, id, delay) {
|
|
2224
2224
|
var _a;
|
|
2225
2225
|
if (delay === undefined) {
|
|
2226
2226
|
delay = 0;
|
|
@@ -2235,7 +2235,7 @@ var require_AnimationFrameAction = __commonJS(function(exports) {
|
|
|
2235
2235
|
}
|
|
2236
2236
|
return;
|
|
2237
2237
|
};
|
|
2238
|
-
return
|
|
2238
|
+
return AnimationFrameAction;
|
|
2239
2239
|
}(AsyncAction_1.AsyncAction);
|
|
2240
2240
|
exports.AnimationFrameAction = AnimationFrameAction;
|
|
2241
2241
|
});
|
|
@@ -2244,12 +2244,12 @@ var require_AnimationFrameAction = __commonJS(function(exports) {
|
|
|
2244
2244
|
var require_AnimationFrameScheduler = __commonJS(function(exports) {
|
|
2245
2245
|
var __extends = exports && exports.__extends || function() {
|
|
2246
2246
|
var extendStatics = function(d, b) {
|
|
2247
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
2248
|
-
|
|
2249
|
-
} || function(
|
|
2250
|
-
for (var p in
|
|
2251
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2252
|
-
|
|
2247
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2248
|
+
d.__proto__ = b;
|
|
2249
|
+
} || function(d, b) {
|
|
2250
|
+
for (var p in b)
|
|
2251
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
2252
|
+
d[p] = b[p];
|
|
2253
2253
|
};
|
|
2254
2254
|
return extendStatics(d, b);
|
|
2255
2255
|
};
|
|
@@ -2267,11 +2267,11 @@ var require_AnimationFrameScheduler = __commonJS(function(exports) {
|
|
|
2267
2267
|
exports.AnimationFrameScheduler = undefined;
|
|
2268
2268
|
var AsyncScheduler_1 = require_AsyncScheduler();
|
|
2269
2269
|
var AnimationFrameScheduler = function(_super) {
|
|
2270
|
-
__extends(
|
|
2271
|
-
function
|
|
2270
|
+
__extends(AnimationFrameScheduler, _super);
|
|
2271
|
+
function AnimationFrameScheduler() {
|
|
2272
2272
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2273
2273
|
}
|
|
2274
|
-
|
|
2274
|
+
AnimationFrameScheduler.prototype.flush = function(action) {
|
|
2275
2275
|
this._active = true;
|
|
2276
2276
|
var flushId;
|
|
2277
2277
|
if (action) {
|
|
@@ -2296,7 +2296,7 @@ var require_AnimationFrameScheduler = __commonJS(function(exports) {
|
|
|
2296
2296
|
throw error;
|
|
2297
2297
|
}
|
|
2298
2298
|
};
|
|
2299
|
-
return
|
|
2299
|
+
return AnimationFrameScheduler;
|
|
2300
2300
|
}(AsyncScheduler_1.AsyncScheduler);
|
|
2301
2301
|
exports.AnimationFrameScheduler = AnimationFrameScheduler;
|
|
2302
2302
|
});
|
|
@@ -2315,12 +2315,12 @@ var require_animationFrame = __commonJS(function(exports) {
|
|
|
2315
2315
|
var require_VirtualTimeScheduler = __commonJS(function(exports) {
|
|
2316
2316
|
var __extends = exports && exports.__extends || function() {
|
|
2317
2317
|
var extendStatics = function(d, b) {
|
|
2318
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
2319
|
-
|
|
2320
|
-
} || function(
|
|
2321
|
-
for (var p in
|
|
2322
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2323
|
-
|
|
2318
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2319
|
+
d.__proto__ = b;
|
|
2320
|
+
} || function(d, b) {
|
|
2321
|
+
for (var p in b)
|
|
2322
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
2323
|
+
d[p] = b[p];
|
|
2324
2324
|
};
|
|
2325
2325
|
return extendStatics(d, b);
|
|
2326
2326
|
};
|
|
@@ -2340,8 +2340,8 @@ var require_VirtualTimeScheduler = __commonJS(function(exports) {
|
|
|
2340
2340
|
var Subscription_1 = require_Subscription();
|
|
2341
2341
|
var AsyncScheduler_1 = require_AsyncScheduler();
|
|
2342
2342
|
var VirtualTimeScheduler = function(_super) {
|
|
2343
|
-
__extends(
|
|
2344
|
-
function
|
|
2343
|
+
__extends(VirtualTimeScheduler, _super);
|
|
2344
|
+
function VirtualTimeScheduler(schedulerActionCtor, maxFrames) {
|
|
2345
2345
|
if (schedulerActionCtor === undefined) {
|
|
2346
2346
|
schedulerActionCtor = VirtualAction;
|
|
2347
2347
|
}
|
|
@@ -2356,8 +2356,8 @@ var require_VirtualTimeScheduler = __commonJS(function(exports) {
|
|
|
2356
2356
|
_this.index = -1;
|
|
2357
2357
|
return _this;
|
|
2358
2358
|
}
|
|
2359
|
-
|
|
2360
|
-
var _a = this,
|
|
2359
|
+
VirtualTimeScheduler.prototype.flush = function() {
|
|
2360
|
+
var _a = this, { actions, maxFrames } = _a;
|
|
2361
2361
|
var error;
|
|
2362
2362
|
var action;
|
|
2363
2363
|
while ((action = actions[0]) && action.delay <= maxFrames) {
|
|
@@ -2374,13 +2374,13 @@ var require_VirtualTimeScheduler = __commonJS(function(exports) {
|
|
|
2374
2374
|
throw error;
|
|
2375
2375
|
}
|
|
2376
2376
|
};
|
|
2377
|
-
|
|
2378
|
-
return
|
|
2377
|
+
VirtualTimeScheduler.frameTimeFactor = 10;
|
|
2378
|
+
return VirtualTimeScheduler;
|
|
2379
2379
|
}(AsyncScheduler_1.AsyncScheduler);
|
|
2380
2380
|
exports.VirtualTimeScheduler = VirtualTimeScheduler;
|
|
2381
2381
|
var VirtualAction = function(_super) {
|
|
2382
|
-
__extends(
|
|
2383
|
-
function
|
|
2382
|
+
__extends(VirtualAction, _super);
|
|
2383
|
+
function VirtualAction(scheduler, work, index) {
|
|
2384
2384
|
if (index === undefined) {
|
|
2385
2385
|
index = scheduler.index += 1;
|
|
2386
2386
|
}
|
|
@@ -2392,7 +2392,7 @@ var require_VirtualTimeScheduler = __commonJS(function(exports) {
|
|
|
2392
2392
|
_this.index = scheduler.index = index;
|
|
2393
2393
|
return _this;
|
|
2394
2394
|
}
|
|
2395
|
-
|
|
2395
|
+
VirtualAction.prototype.schedule = function(state, delay) {
|
|
2396
2396
|
if (delay === undefined) {
|
|
2397
2397
|
delay = 0;
|
|
2398
2398
|
}
|
|
@@ -2401,35 +2401,35 @@ var require_VirtualTimeScheduler = __commonJS(function(exports) {
|
|
|
2401
2401
|
return _super.prototype.schedule.call(this, state, delay);
|
|
2402
2402
|
}
|
|
2403
2403
|
this.active = false;
|
|
2404
|
-
var action = new
|
|
2404
|
+
var action = new VirtualAction(this.scheduler, this.work);
|
|
2405
2405
|
this.add(action);
|
|
2406
2406
|
return action.schedule(state, delay);
|
|
2407
2407
|
} else {
|
|
2408
2408
|
return Subscription_1.Subscription.EMPTY;
|
|
2409
2409
|
}
|
|
2410
2410
|
};
|
|
2411
|
-
|
|
2411
|
+
VirtualAction.prototype.requestAsyncId = function(scheduler, id, delay) {
|
|
2412
2412
|
if (delay === undefined) {
|
|
2413
2413
|
delay = 0;
|
|
2414
2414
|
}
|
|
2415
2415
|
this.delay = scheduler.frame + delay;
|
|
2416
2416
|
var actions = scheduler.actions;
|
|
2417
2417
|
actions.push(this);
|
|
2418
|
-
actions.sort(
|
|
2418
|
+
actions.sort(VirtualAction.sortActions);
|
|
2419
2419
|
return 1;
|
|
2420
2420
|
};
|
|
2421
|
-
|
|
2421
|
+
VirtualAction.prototype.recycleAsyncId = function(scheduler, id, delay) {
|
|
2422
2422
|
if (delay === undefined) {
|
|
2423
2423
|
delay = 0;
|
|
2424
2424
|
}
|
|
2425
2425
|
return;
|
|
2426
2426
|
};
|
|
2427
|
-
|
|
2427
|
+
VirtualAction.prototype._execute = function(state, delay) {
|
|
2428
2428
|
if (this.active === true) {
|
|
2429
2429
|
return _super.prototype._execute.call(this, state, delay);
|
|
2430
2430
|
}
|
|
2431
2431
|
};
|
|
2432
|
-
|
|
2432
|
+
VirtualAction.sortActions = function(a, b) {
|
|
2433
2433
|
if (a.delay === b.delay) {
|
|
2434
2434
|
if (a.index === b.index) {
|
|
2435
2435
|
return 0;
|
|
@@ -2444,7 +2444,7 @@ var require_VirtualTimeScheduler = __commonJS(function(exports) {
|
|
|
2444
2444
|
return -1;
|
|
2445
2445
|
}
|
|
2446
2446
|
};
|
|
2447
|
-
return
|
|
2447
|
+
return VirtualAction;
|
|
2448
2448
|
}(AsyncAction_1.AsyncAction);
|
|
2449
2449
|
exports.VirtualAction = VirtualAction;
|
|
2450
2450
|
});
|
|
@@ -2870,8 +2870,8 @@ var require_innerFrom = __commonJS(function(exports) {
|
|
|
2870
2870
|
};
|
|
2871
2871
|
}
|
|
2872
2872
|
function settle(resolve, reject, d, v) {
|
|
2873
|
-
Promise.resolve(v).then(function(
|
|
2874
|
-
resolve({ value:
|
|
2873
|
+
Promise.resolve(v).then(function(v) {
|
|
2874
|
+
resolve({ value: v, done: d });
|
|
2875
2875
|
}, reject);
|
|
2876
2876
|
}
|
|
2877
2877
|
};
|
|
@@ -3357,31 +3357,31 @@ var require_Notification = __commonJS(function(exports) {
|
|
|
3357
3357
|
var throwError_1 = require_throwError();
|
|
3358
3358
|
var isFunction_1 = require_isFunction();
|
|
3359
3359
|
var NotificationKind;
|
|
3360
|
-
(function(
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3360
|
+
(function(NotificationKind) {
|
|
3361
|
+
NotificationKind["NEXT"] = "N";
|
|
3362
|
+
NotificationKind["ERROR"] = "E";
|
|
3363
|
+
NotificationKind["COMPLETE"] = "C";
|
|
3364
3364
|
})(NotificationKind = exports.NotificationKind || (exports.NotificationKind = {}));
|
|
3365
3365
|
var Notification = function() {
|
|
3366
|
-
function
|
|
3366
|
+
function Notification(kind, value, error) {
|
|
3367
3367
|
this.kind = kind;
|
|
3368
3368
|
this.value = value;
|
|
3369
3369
|
this.error = error;
|
|
3370
3370
|
this.hasValue = kind === "N";
|
|
3371
3371
|
}
|
|
3372
|
-
|
|
3372
|
+
Notification.prototype.observe = function(observer) {
|
|
3373
3373
|
return observeNotification(this, observer);
|
|
3374
3374
|
};
|
|
3375
|
-
|
|
3376
|
-
var _a = this,
|
|
3375
|
+
Notification.prototype.do = function(nextHandler, errorHandler, completeHandler) {
|
|
3376
|
+
var _a = this, { kind, value, error } = _a;
|
|
3377
3377
|
return kind === "N" ? nextHandler === null || nextHandler === undefined ? undefined : nextHandler(value) : kind === "E" ? errorHandler === null || errorHandler === undefined ? undefined : errorHandler(error) : completeHandler === null || completeHandler === undefined ? undefined : completeHandler();
|
|
3378
3378
|
};
|
|
3379
|
-
|
|
3379
|
+
Notification.prototype.accept = function(nextOrObserver, error, complete) {
|
|
3380
3380
|
var _a;
|
|
3381
3381
|
return isFunction_1.isFunction((_a = nextOrObserver) === null || _a === undefined ? undefined : _a.next) ? this.observe(nextOrObserver) : this.do(nextOrObserver, error, complete);
|
|
3382
3382
|
};
|
|
3383
|
-
|
|
3384
|
-
var _a = this,
|
|
3383
|
+
Notification.prototype.toObservable = function() {
|
|
3384
|
+
var _a = this, { kind, value, error } = _a;
|
|
3385
3385
|
var result = kind === "N" ? of_1.of(value) : kind === "E" ? throwError_1.throwError(function() {
|
|
3386
3386
|
return error;
|
|
3387
3387
|
}) : kind === "C" ? empty_1.EMPTY : 0;
|
|
@@ -3390,22 +3390,22 @@ var require_Notification = __commonJS(function(exports) {
|
|
|
3390
3390
|
}
|
|
3391
3391
|
return result;
|
|
3392
3392
|
};
|
|
3393
|
-
|
|
3394
|
-
return new
|
|
3393
|
+
Notification.createNext = function(value) {
|
|
3394
|
+
return new Notification("N", value);
|
|
3395
3395
|
};
|
|
3396
|
-
|
|
3397
|
-
return new
|
|
3396
|
+
Notification.createError = function(err) {
|
|
3397
|
+
return new Notification("E", undefined, err);
|
|
3398
3398
|
};
|
|
3399
|
-
|
|
3400
|
-
return
|
|
3399
|
+
Notification.createComplete = function() {
|
|
3400
|
+
return Notification.completeNotification;
|
|
3401
3401
|
};
|
|
3402
|
-
|
|
3403
|
-
return
|
|
3402
|
+
Notification.completeNotification = new Notification("C");
|
|
3403
|
+
return Notification;
|
|
3404
3404
|
}();
|
|
3405
3405
|
exports.Notification = Notification;
|
|
3406
3406
|
function observeNotification(notification, observer) {
|
|
3407
3407
|
var _a, _b, _c;
|
|
3408
|
-
var _d = notification,
|
|
3408
|
+
var _d = notification, { kind, value, error } = _d;
|
|
3409
3409
|
if (typeof kind !== "string") {
|
|
3410
3410
|
throw new TypeError('Invalid notification, missing "kind"');
|
|
3411
3411
|
}
|
|
@@ -3575,7 +3575,7 @@ var require_timeout = __commonJS(function(exports) {
|
|
|
3575
3575
|
};
|
|
3576
3576
|
});
|
|
3577
3577
|
function timeout(config, schedulerArg) {
|
|
3578
|
-
var _a = isDate_1.isValidDate(config) ? { first: config } : typeof config === "number" ? { each: config } : config,
|
|
3578
|
+
var _a = isDate_1.isValidDate(config) ? { first: config } : typeof config === "number" ? { each: config } : config, { first, each, with: _b } = _a, _with = _b === undefined ? timeoutErrorFactory : _b, _c = _a.scheduler, scheduler = _c === undefined ? schedulerArg !== null && schedulerArg !== undefined ? schedulerArg : async_1.asyncScheduler : _c, _d = _a.meta, meta = _d === undefined ? null : _d;
|
|
3579
3579
|
if (first == null && each == null) {
|
|
3580
3580
|
throw new TypeError("No timeout provided.");
|
|
3581
3581
|
}
|
|
@@ -3754,8 +3754,8 @@ var require_bindCallbackInternals = __commonJS(function(exports) {
|
|
|
3754
3754
|
callbackFunc.apply(_this, __spreadArray(__spreadArray([], __read(args)), [
|
|
3755
3755
|
function() {
|
|
3756
3756
|
var results = [];
|
|
3757
|
-
for (var
|
|
3758
|
-
results[
|
|
3757
|
+
for (var _i = 0;_i < arguments.length; _i++) {
|
|
3758
|
+
results[_i] = arguments[_i];
|
|
3759
3759
|
}
|
|
3760
3760
|
if (isNodeStyle) {
|
|
3761
3761
|
var err = results.shift();
|
|
@@ -3850,7 +3850,7 @@ var require_createObject = __commonJS(function(exports) {
|
|
|
3850
3850
|
});
|
|
3851
3851
|
|
|
3852
3852
|
// ../../node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js
|
|
3853
|
-
var
|
|
3853
|
+
var require_combineLatest2 = __commonJS(function(exports) {
|
|
3854
3854
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3855
3855
|
exports.combineLatestInit = exports.combineLatest = undefined;
|
|
3856
3856
|
var Observable_1 = require_Observable();
|
|
@@ -3869,7 +3869,7 @@ var require_combineLatest = __commonJS(function(exports) {
|
|
|
3869
3869
|
}
|
|
3870
3870
|
var scheduler = args_1.popScheduler(args);
|
|
3871
3871
|
var resultSelector = args_1.popResultSelector(args);
|
|
3872
|
-
var _a = argsArgArrayOrObject_1.argsArgArrayOrObject(args),
|
|
3872
|
+
var _a = argsArgArrayOrObject_1.argsArgArrayOrObject(args), { args: observables, keys } = _a;
|
|
3873
3873
|
if (observables.length === 0) {
|
|
3874
3874
|
return from_1.from([], scheduler);
|
|
3875
3875
|
}
|
|
@@ -3889,12 +3889,12 @@ var require_combineLatest = __commonJS(function(exports) {
|
|
|
3889
3889
|
var values = new Array(length);
|
|
3890
3890
|
var active = length;
|
|
3891
3891
|
var remainingFirstValues = length;
|
|
3892
|
-
var _loop_1 = function(
|
|
3892
|
+
var _loop_1 = function(i) {
|
|
3893
3893
|
maybeSchedule(scheduler, function() {
|
|
3894
|
-
var source = from_1.from(observables[
|
|
3894
|
+
var source = from_1.from(observables[i], scheduler);
|
|
3895
3895
|
var hasFirstValue = false;
|
|
3896
3896
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
3897
|
-
values[
|
|
3897
|
+
values[i] = value;
|
|
3898
3898
|
if (!hasFirstValue) {
|
|
3899
3899
|
hasFirstValue = true;
|
|
3900
3900
|
remainingFirstValues--;
|
|
@@ -4049,7 +4049,7 @@ var require_concatAll = __commonJS(function(exports) {
|
|
|
4049
4049
|
});
|
|
4050
4050
|
|
|
4051
4051
|
// ../../node_modules/rxjs/dist/cjs/internal/observable/concat.js
|
|
4052
|
-
var
|
|
4052
|
+
var require_concat2 = __commonJS(function(exports) {
|
|
4053
4053
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4054
4054
|
exports.concat = undefined;
|
|
4055
4055
|
var concatAll_1 = require_concatAll();
|
|
@@ -4097,7 +4097,7 @@ var require_connectable = __commonJS(function(exports) {
|
|
|
4097
4097
|
config = DEFAULT_CONFIG;
|
|
4098
4098
|
}
|
|
4099
4099
|
var connection = null;
|
|
4100
|
-
var
|
|
4100
|
+
var connector = config.connector, _a = config.resetOnDisconnect, resetOnDisconnect = _a === undefined ? true : _a;
|
|
4101
4101
|
var subject = connector();
|
|
4102
4102
|
var result = new Observable_1.Observable(function(subscriber) {
|
|
4103
4103
|
return subject.subscribe(subscriber);
|
|
@@ -4137,7 +4137,7 @@ var require_forkJoin = __commonJS(function(exports) {
|
|
|
4137
4137
|
args[_i] = arguments[_i];
|
|
4138
4138
|
}
|
|
4139
4139
|
var resultSelector = args_1.popResultSelector(args);
|
|
4140
|
-
var _a = argsArgArrayOrObject_1.argsArgArrayOrObject(args),
|
|
4140
|
+
var _a = argsArgArrayOrObject_1.argsArgArrayOrObject(args), { args: sources, keys } = _a;
|
|
4141
4141
|
var result = new Observable_1.Observable(function(subscriber) {
|
|
4142
4142
|
var length = sources.length;
|
|
4143
4143
|
if (!length) {
|
|
@@ -4147,14 +4147,14 @@ var require_forkJoin = __commonJS(function(exports) {
|
|
|
4147
4147
|
var values = new Array(length);
|
|
4148
4148
|
var remainingCompletions = length;
|
|
4149
4149
|
var remainingEmissions = length;
|
|
4150
|
-
var _loop_1 = function(
|
|
4150
|
+
var _loop_1 = function(sourceIndex) {
|
|
4151
4151
|
var hasValue = false;
|
|
4152
|
-
innerFrom_1.innerFrom(sources[
|
|
4152
|
+
innerFrom_1.innerFrom(sources[sourceIndex]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4153
4153
|
if (!hasValue) {
|
|
4154
4154
|
hasValue = true;
|
|
4155
4155
|
remainingEmissions--;
|
|
4156
4156
|
}
|
|
4157
|
-
values[
|
|
4157
|
+
values[sourceIndex] = value;
|
|
4158
4158
|
}, function() {
|
|
4159
4159
|
return remainingCompletions--;
|
|
4160
4160
|
}, undefined, function() {
|
|
@@ -4394,18 +4394,18 @@ var require_generate = __commonJS(function(exports) {
|
|
|
4394
4394
|
}
|
|
4395
4395
|
function gen() {
|
|
4396
4396
|
var state;
|
|
4397
|
-
return __generator(this, function(
|
|
4398
|
-
switch (
|
|
4397
|
+
return __generator(this, function(_a) {
|
|
4398
|
+
switch (_a.label) {
|
|
4399
4399
|
case 0:
|
|
4400
4400
|
state = initialState;
|
|
4401
|
-
|
|
4401
|
+
_a.label = 1;
|
|
4402
4402
|
case 1:
|
|
4403
4403
|
if (!(!condition || condition(state)))
|
|
4404
4404
|
return [3, 4];
|
|
4405
4405
|
return [4, resultSelector(state)];
|
|
4406
4406
|
case 2:
|
|
4407
|
-
|
|
4408
|
-
|
|
4407
|
+
_a.sent();
|
|
4408
|
+
_a.label = 3;
|
|
4409
4409
|
case 3:
|
|
4410
4410
|
state = iterate(state);
|
|
4411
4411
|
return [3, 1];
|
|
@@ -4500,7 +4500,7 @@ var require_interval = __commonJS(function(exports) {
|
|
|
4500
4500
|
});
|
|
4501
4501
|
|
|
4502
4502
|
// ../../node_modules/rxjs/dist/cjs/internal/observable/merge.js
|
|
4503
|
-
var
|
|
4503
|
+
var require_merge2 = __commonJS(function(exports) {
|
|
4504
4504
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4505
4505
|
exports.merge = undefined;
|
|
4506
4506
|
var mergeAll_1 = require_mergeAll();
|
|
@@ -4657,11 +4657,11 @@ var require_race = __commonJS(function(exports) {
|
|
|
4657
4657
|
function raceInit(sources) {
|
|
4658
4658
|
return function(subscriber) {
|
|
4659
4659
|
var subscriptions = [];
|
|
4660
|
-
var _loop_1 = function(
|
|
4661
|
-
subscriptions.push(innerFrom_1.innerFrom(sources[
|
|
4660
|
+
var _loop_1 = function(i) {
|
|
4661
|
+
subscriptions.push(innerFrom_1.innerFrom(sources[i]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4662
4662
|
if (subscriptions) {
|
|
4663
4663
|
for (var s = 0;s < subscriptions.length; s++) {
|
|
4664
|
-
s !==
|
|
4664
|
+
s !== i && subscriptions[s].unsubscribe();
|
|
4665
4665
|
}
|
|
4666
4666
|
subscriptions = null;
|
|
4667
4667
|
}
|
|
@@ -4736,7 +4736,7 @@ var require_using = __commonJS(function(exports) {
|
|
|
4736
4736
|
});
|
|
4737
4737
|
|
|
4738
4738
|
// ../../node_modules/rxjs/dist/cjs/internal/observable/zip.js
|
|
4739
|
-
var
|
|
4739
|
+
var require_zip2 = __commonJS(function(exports) {
|
|
4740
4740
|
var __read = exports && exports.__read || function(o, n) {
|
|
4741
4741
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4742
4742
|
if (!m)
|
|
@@ -4788,9 +4788,9 @@ var require_zip = __commonJS(function(exports) {
|
|
|
4788
4788
|
subscriber.add(function() {
|
|
4789
4789
|
buffers = completed = null;
|
|
4790
4790
|
});
|
|
4791
|
-
var _loop_1 = function(
|
|
4792
|
-
innerFrom_1.innerFrom(sources[
|
|
4793
|
-
buffers[
|
|
4791
|
+
var _loop_1 = function(sourceIndex) {
|
|
4792
|
+
innerFrom_1.innerFrom(sources[sourceIndex]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4793
|
+
buffers[sourceIndex].push(value);
|
|
4794
4794
|
if (buffers.every(function(buffer) {
|
|
4795
4795
|
return buffer.length;
|
|
4796
4796
|
})) {
|
|
@@ -4805,8 +4805,8 @@ var require_zip = __commonJS(function(exports) {
|
|
|
4805
4805
|
}
|
|
4806
4806
|
}
|
|
4807
4807
|
}, function() {
|
|
4808
|
-
completed[
|
|
4809
|
-
!buffers[
|
|
4808
|
+
completed[sourceIndex] = true;
|
|
4809
|
+
!buffers[sourceIndex].length && subscriber.complete();
|
|
4810
4810
|
}));
|
|
4811
4811
|
};
|
|
4812
4812
|
for (var sourceIndex = 0;!subscriber.closed && sourceIndex < sources.length; sourceIndex++) {
|
|
@@ -5083,7 +5083,7 @@ var require_bufferTime = __commonJS(function(exports) {
|
|
|
5083
5083
|
}
|
|
5084
5084
|
startBuffer();
|
|
5085
5085
|
var bufferTimeSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
5086
|
-
var e_1,
|
|
5086
|
+
var e_1, _a;
|
|
5087
5087
|
var recordsCopy = bufferRecords.slice();
|
|
5088
5088
|
try {
|
|
5089
5089
|
for (var recordsCopy_1 = __values(recordsCopy), recordsCopy_1_1 = recordsCopy_1.next();!recordsCopy_1_1.done; recordsCopy_1_1 = recordsCopy_1.next()) {
|
|
@@ -5096,8 +5096,8 @@ var require_bufferTime = __commonJS(function(exports) {
|
|
|
5096
5096
|
e_1 = { error: e_1_1 };
|
|
5097
5097
|
} finally {
|
|
5098
5098
|
try {
|
|
5099
|
-
if (recordsCopy_1_1 && !recordsCopy_1_1.done && (
|
|
5100
|
-
|
|
5099
|
+
if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a = recordsCopy_1.return))
|
|
5100
|
+
_a.call(recordsCopy_1);
|
|
5101
5101
|
} finally {
|
|
5102
5102
|
if (e_1)
|
|
5103
5103
|
throw e_1.error;
|
|
@@ -5324,7 +5324,7 @@ var require_joinAllInternals = __commonJS(function(exports) {
|
|
|
5324
5324
|
var require_combineLatestAll = __commonJS(function(exports) {
|
|
5325
5325
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5326
5326
|
exports.combineLatestAll = undefined;
|
|
5327
|
-
var combineLatest_1 =
|
|
5327
|
+
var combineLatest_1 = require_combineLatest2();
|
|
5328
5328
|
var joinAllInternals_1 = require_joinAllInternals();
|
|
5329
5329
|
function combineLatestAll(project) {
|
|
5330
5330
|
return joinAllInternals_1.joinAllInternals(combineLatest_1.combineLatest, project);
|
|
@@ -5341,7 +5341,7 @@ var require_combineAll = __commonJS(function(exports) {
|
|
|
5341
5341
|
});
|
|
5342
5342
|
|
|
5343
5343
|
// ../../node_modules/rxjs/dist/cjs/internal/operators/combineLatest.js
|
|
5344
|
-
var
|
|
5344
|
+
var require_combineLatest = __commonJS(function(exports) {
|
|
5345
5345
|
var __read = exports && exports.__read || function(o, n) {
|
|
5346
5346
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
5347
5347
|
if (!m)
|
|
@@ -5370,7 +5370,7 @@ var require_combineLatest2 = __commonJS(function(exports) {
|
|
|
5370
5370
|
};
|
|
5371
5371
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5372
5372
|
exports.combineLatest = undefined;
|
|
5373
|
-
var combineLatest_1 =
|
|
5373
|
+
var combineLatest_1 = require_combineLatest2();
|
|
5374
5374
|
var lift_1 = require_lift();
|
|
5375
5375
|
var argsOrArgArray_1 = require_argsOrArgArray();
|
|
5376
5376
|
var mapOneOrManyArgs_1 = require_mapOneOrManyArgs();
|
|
@@ -5419,7 +5419,7 @@ var require_combineLatestWith = __commonJS(function(exports) {
|
|
|
5419
5419
|
};
|
|
5420
5420
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5421
5421
|
exports.combineLatestWith = undefined;
|
|
5422
|
-
var combineLatest_1 =
|
|
5422
|
+
var combineLatest_1 = require_combineLatest();
|
|
5423
5423
|
function combineLatestWith() {
|
|
5424
5424
|
var otherSources = [];
|
|
5425
5425
|
for (var _i = 0;_i < arguments.length; _i++) {
|
|
@@ -5459,7 +5459,7 @@ var require_concatMapTo = __commonJS(function(exports) {
|
|
|
5459
5459
|
});
|
|
5460
5460
|
|
|
5461
5461
|
// ../../node_modules/rxjs/dist/cjs/internal/operators/concat.js
|
|
5462
|
-
var
|
|
5462
|
+
var require_concat = __commonJS(function(exports) {
|
|
5463
5463
|
var __read = exports && exports.__read || function(o, n) {
|
|
5464
5464
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
5465
5465
|
if (!m)
|
|
@@ -5535,7 +5535,7 @@ var require_concatWith = __commonJS(function(exports) {
|
|
|
5535
5535
|
};
|
|
5536
5536
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5537
5537
|
exports.concatWith = undefined;
|
|
5538
|
-
var concat_1 =
|
|
5538
|
+
var concat_1 = require_concat();
|
|
5539
5539
|
function concatWith() {
|
|
5540
5540
|
var otherSources = [];
|
|
5541
5541
|
for (var _i = 0;_i < arguments.length; _i++) {
|
|
@@ -5771,7 +5771,7 @@ var require_mapTo = __commonJS(function(exports) {
|
|
|
5771
5771
|
var require_delayWhen = __commonJS(function(exports) {
|
|
5772
5772
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5773
5773
|
exports.delayWhen = undefined;
|
|
5774
|
-
var concat_1 =
|
|
5774
|
+
var concat_1 = require_concat2();
|
|
5775
5775
|
var take_1 = require_take();
|
|
5776
5776
|
var ignoreElements_1 = require_ignoreElements();
|
|
5777
5777
|
var mapTo_1 = require_mapTo();
|
|
@@ -5978,7 +5978,7 @@ var require_endWith = __commonJS(function(exports) {
|
|
|
5978
5978
|
};
|
|
5979
5979
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5980
5980
|
exports.endWith = undefined;
|
|
5981
|
-
var concat_1 =
|
|
5981
|
+
var concat_1 = require_concat2();
|
|
5982
5982
|
var of_1 = require_of();
|
|
5983
5983
|
function endWith() {
|
|
5984
5984
|
var values = [];
|
|
@@ -6448,7 +6448,7 @@ var require_mergeScan = __commonJS(function(exports) {
|
|
|
6448
6448
|
});
|
|
6449
6449
|
|
|
6450
6450
|
// ../../node_modules/rxjs/dist/cjs/internal/operators/merge.js
|
|
6451
|
-
var
|
|
6451
|
+
var require_merge = __commonJS(function(exports) {
|
|
6452
6452
|
var __read = exports && exports.__read || function(o, n) {
|
|
6453
6453
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
6454
6454
|
if (!m)
|
|
@@ -6525,7 +6525,7 @@ var require_mergeWith = __commonJS(function(exports) {
|
|
|
6525
6525
|
};
|
|
6526
6526
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6527
6527
|
exports.mergeWith = undefined;
|
|
6528
|
-
var merge_1 =
|
|
6528
|
+
var merge_1 = require_merge();
|
|
6529
6529
|
function mergeWith() {
|
|
6530
6530
|
var otherSources = [];
|
|
6531
6531
|
for (var _i = 0;_i < arguments.length; _i++) {
|
|
@@ -7389,7 +7389,7 @@ var require_skipWhile = __commonJS(function(exports) {
|
|
|
7389
7389
|
var require_startWith = __commonJS(function(exports) {
|
|
7390
7390
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7391
7391
|
exports.startWith = undefined;
|
|
7392
|
-
var concat_1 =
|
|
7392
|
+
var concat_1 = require_concat2();
|
|
7393
7393
|
var args_1 = require_args();
|
|
7394
7394
|
var lift_1 = require_lift();
|
|
7395
7395
|
function startWith() {
|
|
@@ -7545,23 +7545,23 @@ var require_tap = __commonJS(function(exports) {
|
|
|
7545
7545
|
(_a = tapObserver.subscribe) === null || _a === undefined || _a.call(tapObserver);
|
|
7546
7546
|
var isUnsub = true;
|
|
7547
7547
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
7548
|
-
var
|
|
7549
|
-
(
|
|
7548
|
+
var _a;
|
|
7549
|
+
(_a = tapObserver.next) === null || _a === undefined || _a.call(tapObserver, value);
|
|
7550
7550
|
subscriber.next(value);
|
|
7551
7551
|
}, function() {
|
|
7552
|
-
var
|
|
7552
|
+
var _a;
|
|
7553
7553
|
isUnsub = false;
|
|
7554
|
-
(
|
|
7554
|
+
(_a = tapObserver.complete) === null || _a === undefined || _a.call(tapObserver);
|
|
7555
7555
|
subscriber.complete();
|
|
7556
7556
|
}, function(err) {
|
|
7557
|
-
var
|
|
7557
|
+
var _a;
|
|
7558
7558
|
isUnsub = false;
|
|
7559
|
-
(
|
|
7559
|
+
(_a = tapObserver.error) === null || _a === undefined || _a.call(tapObserver, err);
|
|
7560
7560
|
subscriber.error(err);
|
|
7561
7561
|
}, function() {
|
|
7562
|
-
var
|
|
7562
|
+
var _a, _b;
|
|
7563
7563
|
if (isUnsub) {
|
|
7564
|
-
(
|
|
7564
|
+
(_a = tapObserver.unsubscribe) === null || _a === undefined || _a.call(tapObserver);
|
|
7565
7565
|
}
|
|
7566
7566
|
(_b = tapObserver.finalize) === null || _b === undefined || _b.call(tapObserver);
|
|
7567
7567
|
}));
|
|
@@ -7663,11 +7663,11 @@ var require_timeInterval = __commonJS(function(exports) {
|
|
|
7663
7663
|
}
|
|
7664
7664
|
exports.timeInterval = timeInterval;
|
|
7665
7665
|
var TimeInterval = function() {
|
|
7666
|
-
function
|
|
7666
|
+
function TimeInterval(value, interval) {
|
|
7667
7667
|
this.value = value;
|
|
7668
7668
|
this.interval = interval;
|
|
7669
7669
|
}
|
|
7670
|
-
return
|
|
7670
|
+
return TimeInterval;
|
|
7671
7671
|
}();
|
|
7672
7672
|
exports.TimeInterval = TimeInterval;
|
|
7673
7673
|
});
|
|
@@ -7897,8 +7897,8 @@ var require_windowTime = __commonJS(function(exports) {
|
|
|
7897
7897
|
return windowRecords.slice().forEach(cb);
|
|
7898
7898
|
};
|
|
7899
7899
|
var terminate = function(cb) {
|
|
7900
|
-
loop(function(
|
|
7901
|
-
var window =
|
|
7900
|
+
loop(function(_a) {
|
|
7901
|
+
var window = _a.window;
|
|
7902
7902
|
return cb(window);
|
|
7903
7903
|
});
|
|
7904
7904
|
cb(subscriber);
|
|
@@ -8107,11 +8107,11 @@ var require_withLatestFrom = __commonJS(function(exports) {
|
|
|
8107
8107
|
return false;
|
|
8108
8108
|
});
|
|
8109
8109
|
var ready = false;
|
|
8110
|
-
var _loop_1 = function(
|
|
8111
|
-
innerFrom_1.innerFrom(inputs[
|
|
8112
|
-
otherValues[
|
|
8113
|
-
if (!ready && !hasValue[
|
|
8114
|
-
hasValue[
|
|
8110
|
+
var _loop_1 = function(i) {
|
|
8111
|
+
innerFrom_1.innerFrom(inputs[i]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
8112
|
+
otherValues[i] = value;
|
|
8113
|
+
if (!ready && !hasValue[i]) {
|
|
8114
|
+
hasValue[i] = true;
|
|
8115
8115
|
(ready = hasValue.every(identity_1.identity)) && (hasValue = null);
|
|
8116
8116
|
}
|
|
8117
8117
|
}, noop_1.noop));
|
|
@@ -8134,7 +8134,7 @@ var require_withLatestFrom = __commonJS(function(exports) {
|
|
|
8134
8134
|
var require_zipAll = __commonJS(function(exports) {
|
|
8135
8135
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8136
8136
|
exports.zipAll = undefined;
|
|
8137
|
-
var zip_1 =
|
|
8137
|
+
var zip_1 = require_zip2();
|
|
8138
8138
|
var joinAllInternals_1 = require_joinAllInternals();
|
|
8139
8139
|
function zipAll(project) {
|
|
8140
8140
|
return joinAllInternals_1.joinAllInternals(zip_1.zip, project);
|
|
@@ -8143,7 +8143,7 @@ var require_zipAll = __commonJS(function(exports) {
|
|
|
8143
8143
|
});
|
|
8144
8144
|
|
|
8145
8145
|
// ../../node_modules/rxjs/dist/cjs/internal/operators/zip.js
|
|
8146
|
-
var
|
|
8146
|
+
var require_zip = __commonJS(function(exports) {
|
|
8147
8147
|
var __read = exports && exports.__read || function(o, n) {
|
|
8148
8148
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
8149
8149
|
if (!m)
|
|
@@ -8172,7 +8172,7 @@ var require_zip2 = __commonJS(function(exports) {
|
|
|
8172
8172
|
};
|
|
8173
8173
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8174
8174
|
exports.zip = undefined;
|
|
8175
|
-
var zip_1 =
|
|
8175
|
+
var zip_1 = require_zip2();
|
|
8176
8176
|
var lift_1 = require_lift();
|
|
8177
8177
|
function zip() {
|
|
8178
8178
|
var sources = [];
|
|
@@ -8216,7 +8216,7 @@ var require_zipWith = __commonJS(function(exports) {
|
|
|
8216
8216
|
};
|
|
8217
8217
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8218
8218
|
exports.zipWith = undefined;
|
|
8219
|
-
var zip_1 =
|
|
8219
|
+
var zip_1 = require_zip();
|
|
8220
8220
|
function zipWith() {
|
|
8221
8221
|
var otherInputs = [];
|
|
8222
8222
|
for (var _i = 0;_i < arguments.length; _i++) {
|
|
@@ -8396,11 +8396,11 @@ var require_cjs = __commonJS(function(exports) {
|
|
|
8396
8396
|
Object.defineProperty(exports, "bindNodeCallback", { enumerable: true, get: function() {
|
|
8397
8397
|
return bindNodeCallback_1.bindNodeCallback;
|
|
8398
8398
|
} });
|
|
8399
|
-
var combineLatest_1 =
|
|
8399
|
+
var combineLatest_1 = require_combineLatest2();
|
|
8400
8400
|
Object.defineProperty(exports, "combineLatest", { enumerable: true, get: function() {
|
|
8401
8401
|
return combineLatest_1.combineLatest;
|
|
8402
8402
|
} });
|
|
8403
|
-
var concat_1 =
|
|
8403
|
+
var concat_1 = require_concat2();
|
|
8404
8404
|
Object.defineProperty(exports, "concat", { enumerable: true, get: function() {
|
|
8405
8405
|
return concat_1.concat;
|
|
8406
8406
|
} });
|
|
@@ -8444,7 +8444,7 @@ var require_cjs = __commonJS(function(exports) {
|
|
|
8444
8444
|
Object.defineProperty(exports, "interval", { enumerable: true, get: function() {
|
|
8445
8445
|
return interval_1.interval;
|
|
8446
8446
|
} });
|
|
8447
|
-
var merge_1 =
|
|
8447
|
+
var merge_1 = require_merge2();
|
|
8448
8448
|
Object.defineProperty(exports, "merge", { enumerable: true, get: function() {
|
|
8449
8449
|
return merge_1.merge;
|
|
8450
8450
|
} });
|
|
@@ -8488,7 +8488,7 @@ var require_cjs = __commonJS(function(exports) {
|
|
|
8488
8488
|
Object.defineProperty(exports, "using", { enumerable: true, get: function() {
|
|
8489
8489
|
return using_1.using;
|
|
8490
8490
|
} });
|
|
8491
|
-
var zip_1 =
|
|
8491
|
+
var zip_1 = require_zip2();
|
|
8492
8492
|
Object.defineProperty(exports, "zip", { enumerable: true, get: function() {
|
|
8493
8493
|
return zip_1.zip;
|
|
8494
8494
|
} });
|
|
@@ -8939,6 +8939,6 @@ var require_cjs = __commonJS(function(exports) {
|
|
|
8939
8939
|
} });
|
|
8940
8940
|
});
|
|
8941
8941
|
|
|
8942
|
-
export { require_refCount, require_observeOn, require_subscribeOn, require_timeout, require_map, require_mergeMap, require_mergeAll, require_concatAll, require_argsOrArgArray, require_not, require_filter, require_audit, require_auditTime, require_buffer, require_bufferCount, require_bufferTime, require_bufferToggle, require_bufferWhen, require_catchError, require_reduce, require_toArray, require_combineLatestAll, require_combineAll,
|
|
8942
|
+
export { require_refCount, require_observeOn, require_subscribeOn, require_timeout, require_map, require_mergeMap, require_mergeAll, require_concatAll, require_argsOrArgArray, require_not, require_filter, require_audit, require_auditTime, require_buffer, require_bufferCount, require_bufferTime, require_bufferToggle, require_bufferWhen, require_catchError, require_reduce, require_toArray, require_combineLatestAll, require_combineAll, require_combineLatest, require_combineLatestWith, require_concatMap, require_concatMapTo, require_concat, require_concatWith, require_connect, require_count, require_debounce, require_debounceTime, require_defaultIfEmpty, require_take, require_ignoreElements, require_mapTo, require_delayWhen, require_delay, require_dematerialize, require_distinct, require_distinctUntilChanged, require_distinctUntilKeyChanged, require_throwIfEmpty, require_elementAt, require_endWith, require_every, require_exhaustMap, require_exhaustAll, require_exhaust, require_expand, require_finalize, require_find, require_findIndex, require_first, require_groupBy, require_isEmpty, require_takeLast, require_last, require_materialize, require_max, require_flatMap, require_mergeMapTo, require_mergeScan, require_merge, require_mergeWith, require_min, require_multicast, require_onErrorResumeNextWith, require_pairwise, require_pluck, require_publish, require_publishBehavior, require_publishLast, require_publishReplay, require_raceWith, require_repeat, require_repeatWhen, require_retry, require_retryWhen, require_sample, require_sampleTime, require_scan, require_sequenceEqual, require_share, require_shareReplay, require_single, require_skip, require_skipLast, require_skipUntil, require_skipWhile, require_startWith, require_switchMap, require_switchAll, require_switchMapTo, require_switchScan, require_takeUntil, require_takeWhile, require_tap, require_throttle, require_throttleTime, require_timeInterval, require_timeoutWith, require_timestamp, require_window, require_windowCount, require_windowTime, require_windowToggle, require_windowWhen, require_withLatestFrom, require_zipAll, require_zip, require_zipWith, require_cjs };
|
|
8943
8943
|
|
|
8944
|
-
//# debugId=
|
|
8944
|
+
//# debugId=6A71EFC34161654064756E2164756E21
|