Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.117.132.79
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
rxjs /
_esm5 /
operators /
Delete
Unzip
Name
Size
Permission
Date
Action
audit.js
4.71
KB
-rw-rw-r--
2022-08-30 11:49
audit.js.map
2.07
KB
-rw-rw-r--
2022-08-30 11:49
auditTime.js
2.39
KB
-rw-rw-r--
2022-08-30 11:49
auditTime.js.map
424
B
-rw-rw-r--
2022-08-30 11:49
buffer.js
2.95
KB
-rw-rw-r--
2022-08-30 11:49
buffer.js.map
1.12
KB
-rw-rw-r--
2022-08-30 11:49
bufferCount.js
5.43
KB
-rw-rw-r--
2022-08-30 11:49
bufferCount.js.map
2.72
KB
-rw-rw-r--
2022-08-30 11:49
bufferTime.js
8.59
KB
-rw-rw-r--
2022-08-30 11:49
bufferTime.js.map
5.43
KB
-rw-rw-r--
2022-08-30 11:49
bufferToggle.js
6.24
KB
-rw-rw-r--
2022-08-30 11:49
bufferToggle.js.map
3.6
KB
-rw-rw-r--
2022-08-30 11:49
bufferWhen.js
4.75
KB
-rw-rw-r--
2022-08-30 11:49
bufferWhen.js.map
2.41
KB
-rw-rw-r--
2022-08-30 11:49
catchError.js
4.03
KB
-rw-rw-r--
2022-08-30 11:49
catchError.js.map
1.42
KB
-rw-rw-r--
2022-08-30 11:49
combineAll.js
307
B
-rw-rw-r--
2022-08-30 11:49
combineAll.js.map
294
B
-rw-rw-r--
2022-08-30 11:49
combineLatest.js
5.92
KB
-rw-rw-r--
2022-08-30 11:49
combineLatest.js.map
3.16
KB
-rw-rw-r--
2022-08-30 11:49
concat.js
2.51
KB
-rw-rw-r--
2022-08-30 11:49
concat.js.map
473
B
-rw-rw-r--
2022-08-30 11:49
concatAll.js
1.99
KB
-rw-rw-r--
2022-08-30 11:49
concatAll.js.map
266
B
-rw-rw-r--
2022-08-30 11:49
concatMap.js
2.97
KB
-rw-rw-r--
2022-08-30 11:49
concatMap.js.map
336
B
-rw-rw-r--
2022-08-30 11:49
concatMapTo.js
2.86
KB
-rw-rw-r--
2022-08-30 11:49
concatMapTo.js.map
346
B
-rw-rw-r--
2022-08-30 11:49
count.js
4.02
KB
-rw-rw-r--
2022-08-30 11:49
count.js.map
1.57
KB
-rw-rw-r--
2022-08-30 11:49
debounce.js
5.18
KB
-rw-rw-r--
2022-08-30 11:49
debounce.js.map
2.33
KB
-rw-rw-r--
2022-08-30 11:49
debounceTime.js
4.8
KB
-rw-rw-r--
2022-08-30 11:49
debounceTime.js.map
1.89
KB
-rw-rw-r--
2022-08-30 11:49
defaultIfEmpty.js
3.02
KB
-rw-rw-r--
2022-08-30 11:49
defaultIfEmpty.js.map
1.1
KB
-rw-rw-r--
2022-08-30 11:49
delay.js
5.28
KB
-rw-rw-r--
2022-08-30 11:49
delay.js.map
3.04
KB
-rw-rw-r--
2022-08-30 11:49
delayWhen.js
7.94
KB
-rw-rw-r--
2022-08-30 11:49
delayWhen.js.map
4
KB
-rw-rw-r--
2022-08-30 11:49
dematerialize.js
2.89
KB
-rw-rw-r--
2022-08-30 11:49
dematerialize.js.map
727
B
-rw-rw-r--
2022-08-30 11:49
distinct.js
4.74
KB
-rw-rw-r--
2022-08-30 11:49
distinct.js.map
2
KB
-rw-rw-r--
2022-08-30 11:49
distinctUntilChanged.js
4.04
KB
-rw-rw-r--
2022-08-30 11:49
distinctUntilChanged.js.map
2
KB
-rw-rw-r--
2022-08-30 11:49
distinctUntilKeyChanged.js
2.32
KB
-rw-rw-r--
2022-08-30 11:49
distinctUntilKeyChanged.js.map
503
B
-rw-rw-r--
2022-08-30 11:49
elementAt.js
3.82
KB
-rw-rw-r--
2022-08-30 11:49
elementAt.js.map
1.53
KB
-rw-rw-r--
2022-08-30 11:49
every.js
2.79
KB
-rw-rw-r--
2022-08-30 11:49
every.js.map
1.59
KB
-rw-rw-r--
2022-08-30 11:49
exhaust.js
3.53
KB
-rw-rw-r--
2022-08-30 11:49
exhaust.js.map
1.27
KB
-rw-rw-r--
2022-08-30 11:49
exhaustMap.js
5.9
KB
-rw-rw-r--
2022-08-30 11:49
exhaustMap.js.map
2.66
KB
-rw-rw-r--
2022-08-30 11:49
expand.js
6.19
KB
-rw-rw-r--
2022-08-30 11:49
expand.js.map
3.42
KB
-rw-rw-r--
2022-08-30 11:49
filter.js
3.61
KB
-rw-rw-r--
2022-08-30 11:49
filter.js.map
1.3
KB
-rw-rw-r--
2022-08-30 11:49
finalize.js
1.69
KB
-rw-rw-r--
2022-08-30 11:49
finalize.js.map
772
B
-rw-rw-r--
2022-08-30 11:49
find.js
3.76
KB
-rw-rw-r--
2022-08-30 11:49
find.js.map
1.88
KB
-rw-rw-r--
2022-08-30 11:49
findIndex.js
1.67
KB
-rw-rw-r--
2022-08-30 11:49
findIndex.js.map
377
B
-rw-rw-r--
2022-08-30 11:49
first.js
5.76
KB
-rw-rw-r--
2022-08-30 11:49
first.js.map
3
KB
-rw-rw-r--
2022-08-30 11:49
groupBy.js
10.08
KB
-rw-rw-r--
2022-08-30 11:49
groupBy.js.map
5.6
KB
-rw-rw-r--
2022-08-30 11:49
ignoreElements.js
1.72
KB
-rw-rw-r--
2022-08-30 11:49
ignoreElements.js.map
671
B
-rw-rw-r--
2022-08-30 11:49
isEmpty.js
1.5
KB
-rw-rw-r--
2022-08-30 11:49
isEmpty.js.map
866
B
-rw-rw-r--
2022-08-30 11:49
last.js
4.37
KB
-rw-rw-r--
2022-08-30 11:49
last.js.map
2.83
KB
-rw-rw-r--
2022-08-30 11:49
map.js
3.34
KB
-rw-rw-r--
2022-08-30 11:49
map.js.map
1.35
KB
-rw-rw-r--
2022-08-30 11:49
mapTo.js
2.25
KB
-rw-rw-r--
2022-08-30 11:49
mapTo.js.map
829
B
-rw-rw-r--
2022-08-30 11:49
materialize.js
3.73
KB
-rw-rw-r--
2022-08-30 11:49
materialize.js.map
1.09
KB
-rw-rw-r--
2022-08-30 11:49
max.js
1.48
KB
-rw-rw-r--
2022-08-30 11:49
max.js.map
497
B
-rw-rw-r--
2022-08-30 11:49
merge.js
2.51
KB
-rw-rw-r--
2022-08-30 11:49
merge.js.map
469
B
-rw-rw-r--
2022-08-30 11:49
mergeAll.js
2.29
KB
-rw-rw-r--
2022-08-30 11:49
mergeAll.js.map
370
B
-rw-rw-r--
2022-08-30 11:49
mergeMap.js
6.56
KB
-rw-rw-r--
2022-08-30 11:49
mergeMap.js.map
3.42
KB
-rw-rw-r--
2022-08-30 11:49
mergeMapTo.js
6.48
KB
-rw-rw-r--
2022-08-30 11:49
mergeMapTo.js.map
3.41
KB
-rw-rw-r--
2022-08-30 11:49
mergeScan.js
4.82
KB
-rw-rw-r--
2022-08-30 11:49
mergeScan.js.map
3.04
KB
-rw-rw-r--
2022-08-30 11:49
min.js
1.48
KB
-rw-rw-r--
2022-08-30 11:49
min.js.map
497
B
-rw-rw-r--
2022-08-30 11:49
multicast.js
2.56
KB
-rw-rw-r--
2022-08-30 11:49
multicast.js.map
1.19
KB
-rw-rw-r--
2022-08-30 11:49
observeOn.js
5.57
KB
-rw-rw-r--
2022-08-30 11:49
observeOn.js.map
1.71
KB
-rw-rw-r--
2022-08-30 11:49
onErrorResumeNext.js
5.89
KB
-rw-rw-r--
2022-08-30 11:49
onErrorResumeNext.js.map
2.05
KB
-rw-rw-r--
2022-08-30 11:49
pairwise.js
2.72
KB
-rw-rw-r--
2022-08-30 11:49
pairwise.js.map
919
B
-rw-rw-r--
2022-08-30 11:49
partition.js
2.44
KB
-rw-rw-r--
2022-08-30 11:49
partition.js.map
448
B
-rw-rw-r--
2022-08-30 11:49
pluck.js
1.86
KB
-rw-rw-r--
2022-08-30 11:49
pluck.js.map
993
B
-rw-rw-r--
2022-08-30 11:49
publish.js
1.08
KB
-rw-rw-r--
2022-08-30 11:49
publish.js.map
372
B
-rw-rw-r--
2022-08-30 11:49
publishBehavior.js
454
B
-rw-rw-r--
2022-08-30 11:49
publishBehavior.js.map
350
B
-rw-rw-r--
2022-08-30 11:49
publishLast.js
314
B
-rw-rw-r--
2022-08-30 11:49
publishLast.js.map
304
B
-rw-rw-r--
2022-08-30 11:49
publishReplay.js
725
B
-rw-rw-r--
2022-08-30 11:49
publishReplay.js.map
642
B
-rw-rw-r--
2022-08-30 11:49
race.js
1.15
KB
-rw-rw-r--
2022-08-30 11:49
race.js.map
607
B
-rw-rw-r--
2022-08-30 11:49
reduce.js
3.15
KB
-rw-rw-r--
2022-08-30 11:49
reduce.js.map
906
B
-rw-rw-r--
2022-08-30 11:49
refCount.js
3.41
KB
-rw-rw-r--
2022-08-30 11:49
refCount.js.map
1.87
KB
-rw-rw-r--
2022-08-30 11:49
repeat.js
2.54
KB
-rw-rw-r--
2022-08-30 11:49
repeat.js.map
1.56
KB
-rw-rw-r--
2022-08-30 11:49
repeatWhen.js
4.69
KB
-rw-rw-r--
2022-08-30 11:49
repeatWhen.js.map
2.74
KB
-rw-rw-r--
2022-08-30 11:49
retry.js
2.65
KB
-rw-rw-r--
2022-08-30 11:49
retry.js.map
1.25
KB
-rw-rw-r--
2022-08-30 11:49
retryWhen.js
4.27
KB
-rw-rw-r--
2022-08-30 11:49
retryWhen.js.map
2.57
KB
-rw-rw-r--
2022-08-30 11:49
sample.js
3.33
KB
-rw-rw-r--
2022-08-30 11:49
sample.js.map
1.29
KB
-rw-rw-r--
2022-08-30 11:49
sampleTime.js
3.64
KB
-rw-rw-r--
2022-08-30 11:49
sampleTime.js.map
1.45
KB
-rw-rw-r--
2022-08-30 11:49
scan.js
4.37
KB
-rw-rw-r--
2022-08-30 11:49
scan.js.map
2.01
KB
-rw-rw-r--
2022-08-30 11:49
sequenceEqual.js
6.07
KB
-rw-rw-r--
2022-08-30 11:49
sequenceEqual.js.map
3.12
KB
-rw-rw-r--
2022-08-30 11:49
share.js
1.01
KB
-rw-rw-r--
2022-08-30 11:49
share.js.map
415
B
-rw-rw-r--
2022-08-30 11:49
shareReplay.js
1.43
KB
-rw-rw-r--
2022-08-30 11:49
shareReplay.js.map
1.29
KB
-rw-rw-r--
2022-08-30 11:49
single.js
3.38
KB
-rw-rw-r--
2022-08-30 11:49
single.js.map
2.03
KB
-rw-rw-r--
2022-08-30 11:49
skip.js
1.72
KB
-rw-rw-r--
2022-08-30 11:49
skip.js.map
893
B
-rw-rw-r--
2022-08-30 11:49
skipLast.js
3.32
KB
-rw-rw-r--
2022-08-30 11:49
skipLast.js.map
1.6
KB
-rw-rw-r--
2022-08-30 11:49
skipUntil.js
2.71
KB
-rw-rw-r--
2022-08-30 11:49
skipUntil.js.map
1.41
KB
-rw-rw-r--
2022-08-30 11:49
skipWhile.js
2.4
KB
-rw-rw-r--
2022-08-30 11:49
skipWhile.js.map
1.32
KB
-rw-rw-r--
2022-08-30 11:49
startWith.js
1.84
KB
-rw-rw-r--
2022-08-30 11:49
startWith.js.map
1.1
KB
-rw-rw-r--
2022-08-30 11:49
subscribeOn.js
1.22
KB
-rw-rw-r--
2022-08-30 11:49
subscribeOn.js.map
662
B
-rw-rw-r--
2022-08-30 11:49
switchAll.js
260
B
-rw-rw-r--
2022-08-30 11:49
switchAll.js.map
242
B
-rw-rw-r--
2022-08-30 11:49
switchMap.js
5.93
KB
-rw-rw-r--
2022-08-30 11:49
switchMap.js.map
2.67
KB
-rw-rw-r--
2022-08-30 11:49
switchMapTo.js
5.41
KB
-rw-rw-r--
2022-08-30 11:49
switchMapTo.js.map
2.34
KB
-rw-rw-r--
2022-08-30 11:49
take.js
3.18
KB
-rw-rw-r--
2022-08-30 11:49
take.js.map
1.38
KB
-rw-rw-r--
2022-08-30 11:49
takeLast.js
4.03
KB
-rw-rw-r--
2022-08-30 11:49
takeLast.js.map
1.99
KB
-rw-rw-r--
2022-08-30 11:49
takeUntil.js
2.94
KB
-rw-rw-r--
2022-08-30 11:49
takeUntil.js.map
992
B
-rw-rw-r--
2022-08-30 11:49
takeWhile.js
3.52
KB
-rw-rw-r--
2022-08-30 11:49
takeWhile.js.map
1.35
KB
-rw-rw-r--
2022-08-30 11:49
tap.js
4.44
KB
-rw-rw-r--
2022-08-30 11:49
tap.js.map
1.92
KB
-rw-rw-r--
2022-08-30 11:49
throttle.js
5.87
KB
-rw-rw-r--
2022-08-30 11:49
throttle.js.map
2.96
KB
-rw-rw-r--
2022-08-30 11:49
throttleTime.js
4.77
KB
-rw-rw-r--
2022-08-30 11:49
throttleTime.js.map
2.28
KB
-rw-rw-r--
2022-08-30 11:49
timeInterval.js
1.94
KB
-rw-rw-r--
2022-08-30 11:49
timeInterval.js.map
1.2
KB
-rw-rw-r--
2022-08-30 11:49
timeout.js
6.58
KB
-rw-rw-r--
2022-08-30 11:49
timeout.js.map
2.22
KB
-rw-rw-r--
2022-08-30 11:49
timeoutWith.js
6.27
KB
-rw-rw-r--
2022-08-30 11:49
timeoutWith.js.map
2.31
KB
-rw-rw-r--
2022-08-30 11:49
timestamp.js
810
B
-rw-rw-r--
2022-08-30 11:49
timestamp.js.map
522
B
-rw-rw-r--
2022-08-30 11:49
toArray.js
326
B
-rw-rw-r--
2022-08-30 11:49
toArray.js.map
426
B
-rw-rw-r--
2022-08-30 11:49
window.js
4.29
KB
-rw-rw-r--
2022-08-30 11:49
window.js.map
2
KB
-rw-rw-r--
2022-08-30 11:49
windowCount.js
5.41
KB
-rw-rw-r--
2022-08-30 11:49
windowCount.js.map
2.72
KB
-rw-rw-r--
2022-08-30 11:49
windowTime.js
6.64
KB
-rw-rw-r--
2022-08-30 11:49
windowTime.js.map
5.28
KB
-rw-rw-r--
2022-08-30 11:49
windowToggle.js
7.13
KB
-rw-rw-r--
2022-08-30 11:49
windowToggle.js.map
4.3
KB
-rw-rw-r--
2022-08-30 11:49
windowWhen.js
5.1
KB
-rw-rw-r--
2022-08-30 11:49
windowWhen.js.map
2.53
KB
-rw-rw-r--
2022-08-30 11:49
withLatestFrom.js
5.21
KB
-rw-rw-r--
2022-08-30 11:49
withLatestFrom.js.map
2.75
KB
-rw-rw-r--
2022-08-30 11:49
zip.js
9.42
KB
-rw-rw-r--
2022-08-30 11:49
zip.js.map
6.86
KB
-rw-rw-r--
2022-08-30 11:49
zipAll.js
237
B
-rw-rw-r--
2022-08-30 11:49
zipAll.js.map
280
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
/** PURE_IMPORTS_START .._Subscriber,.._Subscription,.._Observable,.._Subject,.._util_Map,.._util_FastMap PURE_IMPORTS_END */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; import { Subscriber } from '../Subscriber'; import { Subscription } from '../Subscription'; import { Observable } from '../Observable'; import { Subject } from '../Subject'; import { Map } from '../util/Map'; import { FastMap } from '../util/FastMap'; /* tslint:enable:max-line-length */ /** * Groups the items emitted by an Observable according to a specified criterion, * and emits these grouped items as `GroupedObservables`, one * {@link GroupedObservable} per group. * * <img src="./img/groupBy.png" width="100%"> * * @example <caption>Group objects by id and return as array</caption> * Observable.of<Obj>({id: 1, name: 'aze1'}, * {id: 2, name: 'sf2'}, * {id: 2, name: 'dg2'}, * {id: 1, name: 'erg1'}, * {id: 1, name: 'df1'}, * {id: 2, name: 'sfqfb2'}, * {id: 3, name: 'qfs3'}, * {id: 2, name: 'qsgqsfg2'} * ) * .groupBy(p => p.id) * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], [])) * .subscribe(p => console.log(p)); * * // displays: * // [ { id: 1, name: 'aze1' }, * // { id: 1, name: 'erg1' }, * // { id: 1, name: 'df1' } ] * // * // [ { id: 2, name: 'sf2' }, * // { id: 2, name: 'dg2' }, * // { id: 2, name: 'sfqfb2' }, * // { id: 2, name: 'qsgqsfg2' } ] * // * // [ { id: 3, name: 'qfs3' } ] * * @example <caption>Pivot data on the id field</caption> * Observable.of<Obj>({id: 1, name: 'aze1'}, * {id: 2, name: 'sf2'}, * {id: 2, name: 'dg2'}, * {id: 1, name: 'erg1'}, * {id: 1, name: 'df1'}, * {id: 2, name: 'sfqfb2'}, * {id: 3, name: 'qfs1'}, * {id: 2, name: 'qsgqsfg2'} * ) * .groupBy(p => p.id, p => p.name) * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], ["" + group$.key])) * .map(arr => ({'id': parseInt(arr[0]), 'values': arr.slice(1)})) * .subscribe(p => console.log(p)); * * // displays: * // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } * // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } * // { id: 3, values: [ 'qfs1' ] } * * @param {function(value: T): K} keySelector A function that extracts the key * for each item. * @param {function(value: T): R} [elementSelector] A function that extracts the * return element for each item. * @param {function(grouped: GroupedObservable<K,R>): Observable<any>} [durationSelector] * A function that returns an Observable to determine how long each group should * exist. * @return {Observable<GroupedObservable<K,R>>} An Observable that emits * GroupedObservables, each of which corresponds to a unique key value and each * of which emits those items from the source Observable that share that key * value. * @method groupBy * @owner Observable */ export function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) { return function (source) { return source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector)); }; } var GroupByOperator = /*@__PURE__*/ (/*@__PURE__*/ function () { function GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector) { this.keySelector = keySelector; this.elementSelector = elementSelector; this.durationSelector = durationSelector; this.subjectSelector = subjectSelector; } GroupByOperator.prototype.call = function (subscriber, source) { return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector)); }; return GroupByOperator; }()); /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ var GroupBySubscriber = /*@__PURE__*/ (/*@__PURE__*/ function (_super) { __extends(GroupBySubscriber, _super); function GroupBySubscriber(destination, keySelector, elementSelector, durationSelector, subjectSelector) { _super.call(this, destination); this.keySelector = keySelector; this.elementSelector = elementSelector; this.durationSelector = durationSelector; this.subjectSelector = subjectSelector; this.groups = null; this.attemptedToUnsubscribe = false; this.count = 0; } GroupBySubscriber.prototype._next = function (value) { var key; try { key = this.keySelector(value); } catch (err) { this.error(err); return; } this._group(value, key); }; GroupBySubscriber.prototype._group = function (value, key) { var groups = this.groups; if (!groups) { groups = this.groups = typeof key === 'string' ? new FastMap() : new Map(); } var group = groups.get(key); var element; if (this.elementSelector) { try { element = this.elementSelector(value); } catch (err) { this.error(err); } } else { element = value; } if (!group) { group = this.subjectSelector ? this.subjectSelector() : new Subject(); groups.set(key, group); var groupedObservable = new GroupedObservable(key, group, this); this.destination.next(groupedObservable); if (this.durationSelector) { var duration = void 0; try { duration = this.durationSelector(new GroupedObservable(key, group)); } catch (err) { this.error(err); return; } this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this))); } } if (!group.closed) { group.next(element); } }; GroupBySubscriber.prototype._error = function (err) { var groups = this.groups; if (groups) { groups.forEach(function (group, key) { group.error(err); }); groups.clear(); } this.destination.error(err); }; GroupBySubscriber.prototype._complete = function () { var groups = this.groups; if (groups) { groups.forEach(function (group, key) { group.complete(); }); groups.clear(); } this.destination.complete(); }; GroupBySubscriber.prototype.removeGroup = function (key) { this.groups.delete(key); }; GroupBySubscriber.prototype.unsubscribe = function () { if (!this.closed) { this.attemptedToUnsubscribe = true; if (this.count === 0) { _super.prototype.unsubscribe.call(this); } } }; return GroupBySubscriber; }(Subscriber)); /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ var GroupDurationSubscriber = /*@__PURE__*/ (/*@__PURE__*/ function (_super) { __extends(GroupDurationSubscriber, _super); function GroupDurationSubscriber(key, group, parent) { _super.call(this, group); this.key = key; this.group = group; this.parent = parent; } GroupDurationSubscriber.prototype._next = function (value) { this.complete(); }; /** @deprecated internal use only */ GroupDurationSubscriber.prototype._unsubscribe = function () { var _a = this, parent = _a.parent, key = _a.key; this.key = this.parent = null; if (parent) { parent.removeGroup(key); } }; return GroupDurationSubscriber; }(Subscriber)); /** * An Observable representing values belonging to the same group represented by * a common key. The values emitted by a GroupedObservable come from the source * Observable. The common key is available as the field `key` on a * GroupedObservable instance. * * @class GroupedObservable<K, T> */ export var GroupedObservable = /*@__PURE__*/ (/*@__PURE__*/ function (_super) { __extends(GroupedObservable, _super); function GroupedObservable(key, groupSubject, refCountSubscription) { _super.call(this); this.key = key; this.groupSubject = groupSubject; this.refCountSubscription = refCountSubscription; } /** @deprecated internal use only */ GroupedObservable.prototype._subscribe = function (subscriber) { var subscription = new Subscription(); var _a = this, refCountSubscription = _a.refCountSubscription, groupSubject = _a.groupSubject; if (refCountSubscription && !refCountSubscription.closed) { subscription.add(new InnerRefCountSubscription(refCountSubscription)); } subscription.add(groupSubject.subscribe(subscriber)); return subscription; }; return GroupedObservable; }(Observable)); /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ var InnerRefCountSubscription = /*@__PURE__*/ (/*@__PURE__*/ function (_super) { __extends(InnerRefCountSubscription, _super); function InnerRefCountSubscription(parent) { _super.call(this); this.parent = parent; parent.count++; } InnerRefCountSubscription.prototype.unsubscribe = function () { var parent = this.parent; if (!parent.closed && !this.closed) { _super.prototype.unsubscribe.call(this); parent.count -= 1; if (parent.count === 0 && parent.attemptedToUnsubscribe) { parent.unsubscribe(); } } }; return InnerRefCountSubscription; }(Subscription)); //# sourceMappingURL=groupBy.js.map