import * as i0 from '@angular/core';
import { Pipe, NgModule } from '@angular/core';
import { isNil, declinationOfNumber, checkValueIsEmpty, isNotNil, isTrue, checkValueIsFilled } from '@angular-ru/cdk/utils';
import { coerceBoolean } from '@angular-ru/cdk/coercion';
import { dateStringToDate } from '@angular-ru/cdk/date';
import { getValueByPath, isObject, isSimpleObject, isIterable } from '@angular-ru/cdk/object';
import { takeSecondItem, takeThirdItem, uniqueArrayOf, takeFirstItem, hasAtMostOneItem, hasItems, hasManyItems, hasNoItems, hasOneItem } from '@angular-ru/cdk/array';
import { isString, toStringValue } from '@angular-ru/cdk/string';
import { DatePipe } from '@angular/common';
import { isFunctionLike } from '@angular-ru/cdk/function';
import { isRegexpStr, ensureRegexp } from '@angular-ru/cdk/regexp';
import * as i1 from '@angular/platform-browser';
import { numberFormat, toNumber } from '@angular-ru/cdk/number';

class AtPipe {
    transform(array, index) {
        if (isNil(array)) {
            return undefined;
        }
        let limitedIndex = index;
        limitedIndex = Math.trunc(limitedIndex) || 0;
        if (limitedIndex < 0) {
            limitedIndex += array.length;
        }
        if (limitedIndex < 0 || limitedIndex >= array.length) {
            return undefined;
        }
        return array[limitedIndex];
    }
}
/** @nocollapse */ AtPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AtPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ AtPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AtPipe, name: "at" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AtPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'at' }]
        }] });

class AtPipeModule {
}
/** @nocollapse */ AtPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AtPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ AtPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AtPipeModule, declarations: [AtPipe], exports: [AtPipe] });
/** @nocollapse */ AtPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AtPipeModule, providers: [AtPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AtPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [AtPipe],
                    providers: [AtPipe],
                    exports: [AtPipe]
                }]
        }] });

class BracePipe {
    transform(value) {
        return `(${value})`;
    }
}
/** @nocollapse */ BracePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: BracePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ BracePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: BracePipe, name: "brace" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: BracePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'brace' }]
        }] });

class BracePipeModule {
}
/** @nocollapse */ BracePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: BracePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ BracePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: BracePipeModule, declarations: [BracePipe], exports: [BracePipe] });
/** @nocollapse */ BracePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: BracePipeModule, providers: [BracePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: BracePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [BracePipe],
                    providers: [BracePipe],
                    declarations: [BracePipe]
                }]
        }] });

class CoerceBooleanPipe {
    transform(value) {
        return coerceBoolean(value);
    }
}
/** @nocollapse */ CoerceBooleanPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CoerceBooleanPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ CoerceBooleanPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CoerceBooleanPipe, name: "coerceBoolean" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CoerceBooleanPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'coerceBoolean' }]
        }] });

class CoerceBooleanPipeModule {
}
/** @nocollapse */ CoerceBooleanPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CoerceBooleanPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ CoerceBooleanPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CoerceBooleanPipeModule, declarations: [CoerceBooleanPipe], exports: [CoerceBooleanPipe] });
/** @nocollapse */ CoerceBooleanPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CoerceBooleanPipeModule, providers: [CoerceBooleanPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CoerceBooleanPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [CoerceBooleanPipe],
                    providers: [CoerceBooleanPipe],
                    declarations: [CoerceBooleanPipe]
                }]
        }] });

class DateToNativePipe {
    transform(value) {
        return dateStringToDate(value);
    }
}
/** @nocollapse */ DateToNativePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DateToNativePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ DateToNativePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DateToNativePipe, name: "dateNative" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DateToNativePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'dateNative' }]
        }] });

class DateToNativePipeModule {
}
/** @nocollapse */ DateToNativePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DateToNativePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ DateToNativePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DateToNativePipeModule, declarations: [DateToNativePipe], exports: [DateToNativePipe] });
/** @nocollapse */ DateToNativePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DateToNativePipeModule, providers: [DateToNativePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DateToNativePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [DateToNativePipe],
                    providers: [DateToNativePipe],
                    declarations: [DateToNativePipe]
                }]
        }] });

class DeclinationOfNumberPipe {
    transform(numberValue, dictionary) {
        return declinationOfNumber(numberValue, dictionary);
    }
}
/** @nocollapse */ DeclinationOfNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeclinationOfNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ DeclinationOfNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeclinationOfNumberPipe, name: "declinationOfNumber" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeclinationOfNumberPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'declinationOfNumber' }]
        }] });

class DeclinationOfNumberPipeModule {
}
/** @nocollapse */ DeclinationOfNumberPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeclinationOfNumberPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ DeclinationOfNumberPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeclinationOfNumberPipeModule, declarations: [DeclinationOfNumberPipe], exports: [DeclinationOfNumberPipe] });
/** @nocollapse */ DeclinationOfNumberPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeclinationOfNumberPipeModule, providers: [DeclinationOfNumberPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeclinationOfNumberPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [DeclinationOfNumberPipe],
                    providers: [DeclinationOfNumberPipe],
                    declarations: [DeclinationOfNumberPipe]
                }]
        }] });

class DeepPathPipe {
    transform(item, path, fallback = '') {
        const result = getValueByPath(item, path);
        return checkValueIsEmpty(result) ? fallback !== null && fallback !== void 0 ? fallback : '' : result;
    }
}
/** @nocollapse */ DeepPathPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeepPathPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ DeepPathPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeepPathPipe, name: "deepPath" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeepPathPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'deepPath' }]
        }] });

class DeepPathPipeModule {
}
/** @nocollapse */ DeepPathPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeepPathPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ DeepPathPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeepPathPipeModule, declarations: [DeepPathPipe], exports: [DeepPathPipe] });
/** @nocollapse */ DeepPathPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeepPathPipeModule, providers: [DeepPathPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DeepPathPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [DeepPathPipe],
                    providers: [DeepPathPipe],
                    declarations: [DeepPathPipe]
                }]
        }] });

class DefaultValuePipe {
    transform(item, fallback = '-') {
        return checkValueIsEmpty(item) ? fallback : item;
    }
}
/** @nocollapse */ DefaultValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ DefaultValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultValuePipe, name: "defaultValue" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultValuePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'defaultValue' }]
        }] });

class DefaultValuePipeModule {
}
/** @nocollapse */ DefaultValuePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultValuePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ DefaultValuePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultValuePipeModule, declarations: [DefaultValuePipe], exports: [DefaultValuePipe] });
/** @nocollapse */ DefaultValuePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultValuePipeModule, providers: [DefaultValuePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DefaultValuePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [DefaultValuePipe],
                    providers: [DefaultValuePipe],
                    declarations: [DefaultValuePipe]
                }]
        }] });

class DetectBrowserPipe {
    static getBrowserMatchers(userAgent) {
        var _a;
        const ua = userAgent !== null && userAgent !== void 0 ? userAgent : navigator.userAgent;
        return (_a = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)) !== null && _a !== void 0 ? _a : [];
    }
    static ensureInternetExplorer(ua) {
        var _a;
        const matcher = /\brv[ :]+(\d+)/g.exec(ua) || [];
        return (_a = `IE ${takeSecondItem(matcher)}`) !== null && _a !== void 0 ? _a : '';
    }
    static ensureChrome(ua) {
        return ua
            .match(/\b(OPR|Edge?)\/(\d+)/)
            .slice(1)
            .join(' ')
            .replace('OPR', 'Opera')
            .replace('Edg ', 'Edge ');
    }
    static ensureOtherBrowser(matchers, ua) {
        var _a;
        const matcher = ua.match(/version\/(\d+)/i);
        const otherMatchers = isNotNil(takeThirdItem(matchers))
            ? [takeSecondItem(matchers), takeThirdItem(matchers)]
            : // TODO: need refactor deprecated method
                // eslint-disable-next-line deprecation/deprecation
                [navigator.appName, navigator.appVersion, '-?'];
        if (matcher !== null) {
            otherMatchers === null || otherMatchers === void 0 ? void 0 : otherMatchers.splice(1, 1, takeSecondItem(matcher));
        }
        return (_a = otherMatchers === null || otherMatchers === void 0 ? void 0 : otherMatchers.join(' ')) !== null && _a !== void 0 ? _a : '';
    }
    transform(userAgent, options) {
        let browser;
        const ua = userAgent !== null && userAgent !== void 0 ? userAgent : navigator.userAgent;
        const matchers = DetectBrowserPipe.getBrowserMatchers(ua);
        if (/trident/i.test(takeSecondItem(matchers))) {
            browser = DetectBrowserPipe.ensureInternetExplorer(ua);
        }
        else if (takeSecondItem(matchers) === 'Chrome' && ua.match(/\b(OPR|Edge?)\/(\d+)/) !== null) {
            browser = DetectBrowserPipe.ensureChrome(ua);
        }
        else {
            browser = DetectBrowserPipe.ensureOtherBrowser(matchers, ua);
        }
        return isTrue(options === null || options === void 0 ? void 0 : options.kebabCase)
            ? browser === null || browser === void 0 ? void 0 : browser.toLowerCase().replace(/\d+/, '').trim().replace(/\s/, '-')
            : browser;
    }
}
/** @nocollapse */ DetectBrowserPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DetectBrowserPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ DetectBrowserPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DetectBrowserPipe, name: "detectBrowser" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DetectBrowserPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'detectBrowser' }]
        }] });

class DetectBrowserPipeModule {
}
/** @nocollapse */ DetectBrowserPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DetectBrowserPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ DetectBrowserPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DetectBrowserPipeModule, declarations: [DetectBrowserPipe], exports: [DetectBrowserPipe] });
/** @nocollapse */ DetectBrowserPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DetectBrowserPipeModule, providers: [DetectBrowserPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DetectBrowserPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [DetectBrowserPipe],
                    providers: [DetectBrowserPipe],
                    declarations: [DetectBrowserPipe]
                }]
        }] });

class DisplayItemPipe {
    static invalidDisplayKey(displayKey) {
        return Boolean(checkValueIsEmpty(displayKey)) || typeof displayKey !== 'string';
    }
    static parseObject(item, displayKey) {
        var _a;
        if (DisplayItemPipe.invalidDisplayKey(displayKey)) {
            throw new Error('attribute "displayKey" can not be empty if input item has "object" type');
        }
        const value = (_a = getValueByPath(item, displayKey)) !== null && _a !== void 0 ? _a : '';
        return Array.isArray(value) ? '' : value;
    }
    static parseNotObject(item) {
        return isString(item) ? item : '';
    }
    transform(item, displayKey) {
        return Boolean(isObject(item)) && !Array.isArray(item)
            ? DisplayItemPipe.parseObject(item, displayKey)
            : DisplayItemPipe.parseNotObject(item);
    }
}
/** @nocollapse */ DisplayItemPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DisplayItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ DisplayItemPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DisplayItemPipe, name: "displayItem" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DisplayItemPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'displayItem' }]
        }] });

class DisplayItemPipeModule {
}
/** @nocollapse */ DisplayItemPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DisplayItemPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ DisplayItemPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DisplayItemPipeModule, declarations: [DisplayItemPipe], exports: [DisplayItemPipe] });
/** @nocollapse */ DisplayItemPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DisplayItemPipeModule, providers: [DisplayItemPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DisplayItemPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [DisplayItemPipe],
                    providers: [DisplayItemPipe],
                    declarations: [DisplayItemPipe]
                }]
        }] });

class EntrySingleSetPipe {
    transform(key, listKeys) {
        return isTrue(listKeys === null || listKeys === void 0 ? void 0 : listKeys.has(key));
    }
}
/** @nocollapse */ EntrySingleSetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: EntrySingleSetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ EntrySingleSetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: EntrySingleSetPipe, name: "entrySingleSet" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: EntrySingleSetPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'entrySingleSet' }]
        }] });

class EntrySingleSetPipeModule {
}
/** @nocollapse */ EntrySingleSetPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: EntrySingleSetPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ EntrySingleSetPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: EntrySingleSetPipeModule, declarations: [EntrySingleSetPipe], exports: [EntrySingleSetPipe] });
/** @nocollapse */ EntrySingleSetPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: EntrySingleSetPipeModule, providers: [EntrySingleSetPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: EntrySingleSetPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [EntrySingleSetPipe],
                    providers: [EntrySingleSetPipe],
                    declarations: [EntrySingleSetPipe]
                }]
        }] });

class FileSizePipe {
    constructor() {
        this.units = ['bytes', 'Kb', 'Mb', 'Gb', 'Tb', 'Pb'];
        this.commonPrecision = 2;
        this.byteSize = 1024;
    }
    transform(bytes = 0, precision = this.commonPrecision) {
        let result;
        let calculatedBytes = bytes;
        if (isNaN(parseFloat(String(calculatedBytes))) || !isFinite(calculatedBytes)) {
            result = '?';
        }
        else {
            let unit = 0;
            while (calculatedBytes >= this.byteSize) {
                calculatedBytes /= this.byteSize;
                unit++;
            }
            result = `${calculatedBytes.toFixed(Number(precision))} ${this.units[unit]}`;
        }
        return result;
    }
}
/** @nocollapse */ FileSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FileSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ FileSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FileSizePipe, name: "fileSize" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FileSizePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'fileSize' }]
        }] });

class FileSizePipeModule {
}
/** @nocollapse */ FileSizePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FileSizePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ FileSizePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FileSizePipeModule, declarations: [FileSizePipe], exports: [FileSizePipe] });
/** @nocollapse */ FileSizePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FileSizePipeModule, providers: [FileSizePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FileSizePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [FileSizePipe],
                    providers: [FileSizePipe],
                    declarations: [FileSizePipe]
                }]
        }] });

class FilterUniquePipe {
    transform(values, path = '') {
        return uniqueArrayOf(values, path);
    }
}
/** @nocollapse */ FilterUniquePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FilterUniquePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ FilterUniquePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FilterUniquePipe, name: "filterUnique" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FilterUniquePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'filterUnique' }]
        }] });

class FilterUniquePipeModule {
}
/** @nocollapse */ FilterUniquePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FilterUniquePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ FilterUniquePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FilterUniquePipeModule, declarations: [FilterUniquePipe], exports: [FilterUniquePipe] });
/** @nocollapse */ FilterUniquePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FilterUniquePipeModule, providers: [FilterUniquePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FilterUniquePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [FilterUniquePipe],
                    providers: [FilterUniquePipe],
                    declarations: [FilterUniquePipe]
                }]
        }] });

class FormatDatePipe {
    transform(value, options) {
        var _a, _b, _c, _d;
        let result = value;
        if (isString(result)) {
            result = (_a = takeFirstItem(result.split('+'))) !== null && _a !== void 0 ? _a : '';
        }
        return ((_d = new DatePipe((_b = options === null || options === void 0 ? void 0 : options.locale) !== null && _b !== void 0 ? _b : 'en-US').transform(result, (_c = options === null || options === void 0 ? void 0 : options.dateFormat) !== null && _c !== void 0 ? _c : 'dd.MM.yyyy', options === null || options === void 0 ? void 0 : options.timezone)) !== null && _d !== void 0 ? _d : '');
    }
}
/** @nocollapse */ FormatDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormatDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ FormatDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormatDatePipe, name: "formatDate" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormatDatePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'formatDate' }]
        }] });

class FormatDatePipeModule {
}
/** @nocollapse */ FormatDatePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormatDatePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ FormatDatePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormatDatePipeModule, declarations: [FormatDatePipe], exports: [FormatDatePipe] });
/** @nocollapse */ FormatDatePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormatDatePipeModule, providers: [FormatDatePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormatDatePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [FormatDatePipe],
                    providers: [FormatDatePipe],
                    declarations: [FormatDatePipe]
                }]
        }] });

class HasPipe {
    transform(set, entry) {
        var _a;
        return (_a = set === null || set === void 0 ? void 0 : set.has(entry)) !== null && _a !== void 0 ? _a : false;
    }
}
/** @nocollapse */ HasPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ HasPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasPipe, name: "has" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasPipe, decorators: [{
            type: Pipe,
            args: [{
                    name: 'has'
                }]
        }] });

class HasPipeModule {
}
/** @nocollapse */ HasPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ HasPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasPipeModule, declarations: [HasPipe], exports: [HasPipe] });
/** @nocollapse */ HasPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasPipeModule, providers: [HasPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [HasPipe],
                    providers: [HasPipe],
                    exports: [HasPipe]
                }]
        }] });

class HasAtMostOneItemPipe {
    transform(array) {
        return hasAtMostOneItem(array);
    }
}
/** @nocollapse */ HasAtMostOneItemPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasAtMostOneItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ HasAtMostOneItemPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasAtMostOneItemPipe, name: "hasAtMostOneItem" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasAtMostOneItemPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'hasAtMostOneItem' }]
        }] });

class HasAtMostOneItemPipeModule {
}
/** @nocollapse */ HasAtMostOneItemPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasAtMostOneItemPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ HasAtMostOneItemPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasAtMostOneItemPipeModule, declarations: [HasAtMostOneItemPipe], exports: [HasAtMostOneItemPipe] });
/** @nocollapse */ HasAtMostOneItemPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasAtMostOneItemPipeModule, providers: [HasAtMostOneItemPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasAtMostOneItemPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [HasAtMostOneItemPipe],
                    providers: [HasAtMostOneItemPipe],
                    exports: [HasAtMostOneItemPipe]
                }]
        }] });

class HasItemsPipe {
    transform(array) {
        return hasItems(array);
    }
}
/** @nocollapse */ HasItemsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasItemsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ HasItemsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasItemsPipe, name: "hasItems" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasItemsPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'hasItems' }]
        }] });

class HasItemsPipeModule {
}
/** @nocollapse */ HasItemsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasItemsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ HasItemsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasItemsPipeModule, declarations: [HasItemsPipe], exports: [HasItemsPipe] });
/** @nocollapse */ HasItemsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasItemsPipeModule, providers: [HasItemsPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasItemsPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [HasItemsPipe],
                    providers: [HasItemsPipe],
                    exports: [HasItemsPipe]
                }]
        }] });

class HasManyItemsPipe {
    transform(array) {
        return hasManyItems(array);
    }
}
/** @nocollapse */ HasManyItemsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasManyItemsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ HasManyItemsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasManyItemsPipe, name: "hasManyItems" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasManyItemsPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'hasManyItems' }]
        }] });

class HasManyItemsPipeModule {
}
/** @nocollapse */ HasManyItemsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasManyItemsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ HasManyItemsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasManyItemsPipeModule, declarations: [HasManyItemsPipe], exports: [HasManyItemsPipe] });
/** @nocollapse */ HasManyItemsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasManyItemsPipeModule, providers: [HasManyItemsPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasManyItemsPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [HasManyItemsPipe],
                    providers: [HasManyItemsPipe],
                    exports: [HasManyItemsPipe]
                }]
        }] });

class HasNoItemsPipe {
    transform(array) {
        return hasNoItems(array);
    }
}
/** @nocollapse */ HasNoItemsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasNoItemsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ HasNoItemsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasNoItemsPipe, name: "hasNoItems" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasNoItemsPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'hasNoItems' }]
        }] });

class HasNoItemsPipeModule {
}
/** @nocollapse */ HasNoItemsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasNoItemsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ HasNoItemsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasNoItemsPipeModule, declarations: [HasNoItemsPipe], exports: [HasNoItemsPipe] });
/** @nocollapse */ HasNoItemsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasNoItemsPipeModule, providers: [HasNoItemsPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasNoItemsPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [HasNoItemsPipe],
                    providers: [HasNoItemsPipe],
                    exports: [HasNoItemsPipe]
                }]
        }] });

class HasOneItemPipe {
    transform(array) {
        return hasOneItem(array);
    }
}
/** @nocollapse */ HasOneItemPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasOneItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ HasOneItemPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasOneItemPipe, name: "hasOneItem" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasOneItemPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'hasOneItem' }]
        }] });

class HasOneItemPipeModule {
}
/** @nocollapse */ HasOneItemPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasOneItemPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ HasOneItemPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasOneItemPipeModule, declarations: [HasOneItemPipe], exports: [HasOneItemPipe] });
/** @nocollapse */ HasOneItemPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasOneItemPipeModule, providers: [HasOneItemPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasOneItemPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [HasOneItemPipe],
                    providers: [HasOneItemPipe],
                    exports: [HasOneItemPipe]
                }]
        }] });

class HttpReplacerPipe {
    transform(value) {
        let result = value;
        if (isString(result)) {
            result = result === null || result === void 0 ? void 0 : result.replace(/^(http|https):\/\//, '').replace(/\/$/, '').replace('www.', '').replace('/index.php', '').toLocaleLowerCase();
        }
        return result !== null && result !== void 0 ? result : '';
    }
}
/** @nocollapse */ HttpReplacerPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HttpReplacerPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ HttpReplacerPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HttpReplacerPipe, name: "httpReplacer" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HttpReplacerPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'httpReplacer' }]
        }] });

class HttpReplacerPipeModule {
}
/** @nocollapse */ HttpReplacerPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HttpReplacerPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ HttpReplacerPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HttpReplacerPipeModule, declarations: [HttpReplacerPipe], exports: [HttpReplacerPipe] });
/** @nocollapse */ HttpReplacerPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HttpReplacerPipeModule, providers: [HttpReplacerPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HttpReplacerPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [HttpReplacerPipe],
                    providers: [HttpReplacerPipe],
                    declarations: [HttpReplacerPipe]
                }]
        }] });

class IncludesPipe {
    transform(array, entry) {
        var _a;
        return (_a = array === null || array === void 0 ? void 0 : array.includes(entry)) !== null && _a !== void 0 ? _a : false;
    }
}
/** @nocollapse */ IncludesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IncludesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ IncludesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IncludesPipe, name: "includes" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IncludesPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'includes' }]
        }] });

class IncludesPipeModule {
}
/** @nocollapse */ IncludesPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IncludesPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IncludesPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IncludesPipeModule, declarations: [IncludesPipe], exports: [IncludesPipe] });
/** @nocollapse */ IncludesPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IncludesPipeModule, providers: [IncludesPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IncludesPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [IncludesPipe],
                    providers: [IncludesPipe],
                    exports: [IncludesPipe]
                }]
        }] });

class IsArrayPipe {
    transform(value) {
        return Array.isArray(value);
    }
}
/** @nocollapse */ IsArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ IsArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsArrayPipe, name: "isArray" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsArrayPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'isArray' }]
        }] });

class IsArrayPipeModule {
}
/** @nocollapse */ IsArrayPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsArrayPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IsArrayPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsArrayPipeModule, declarations: [IsArrayPipe], exports: [IsArrayPipe] });
/** @nocollapse */ IsArrayPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsArrayPipeModule, providers: [IsArrayPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsArrayPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [IsArrayPipe],
                    providers: [IsArrayPipe],
                    declarations: [IsArrayPipe]
                }]
        }] });

class IsFilledPipe {
    constructor() {
        this.transform = checkValueIsFilled;
    }
}
/** @nocollapse */ IsFilledPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsFilledPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ IsFilledPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsFilledPipe, name: "isFilled" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsFilledPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'isFilled' }]
        }] });

class IsFilledPipeModule {
}
/** @nocollapse */ IsFilledPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsFilledPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IsFilledPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsFilledPipeModule, declarations: [IsFilledPipe], exports: [IsFilledPipe] });
/** @nocollapse */ IsFilledPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsFilledPipeModule, providers: [IsFilledPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsFilledPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [IsFilledPipe],
                    providers: [IsFilledPipe],
                    exports: [IsFilledPipe]
                }]
        }] });

class IsNilPipe {
    transform(value) {
        return isNil(value);
    }
}
/** @nocollapse */ IsNilPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNilPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ IsNilPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNilPipe, name: "isNil" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNilPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'isNil' }]
        }] });

class IsNilPipeModule {
}
/** @nocollapse */ IsNilPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNilPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IsNilPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNilPipeModule, declarations: [IsNilPipe], exports: [IsNilPipe] });
/** @nocollapse */ IsNilPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNilPipeModule, providers: [IsNilPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNilPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [IsNilPipe],
                    providers: [IsNilPipe],
                    declarations: [IsNilPipe]
                }]
        }] });

class IsNotNullPipe {
    transform(value) {
        return !isNil(value);
    }
}
/** @nocollapse */ IsNotNullPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNotNullPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ IsNotNullPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNotNullPipe, name: "isNotNull" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNotNullPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'isNotNull' }]
        }] });

class IsNotNullPipeModule {
}
/** @nocollapse */ IsNotNullPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNotNullPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IsNotNullPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNotNullPipeModule, declarations: [IsNotNullPipe], exports: [IsNotNullPipe] });
/** @nocollapse */ IsNotNullPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNotNullPipeModule, providers: [IsNotNullPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsNotNullPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [IsNotNullPipe],
                    providers: [IsNotNullPipe],
                    declarations: [IsNotNullPipe]
                }]
        }] });

class IsObjectPipe {
    transform(value) {
        return isSimpleObject(value);
    }
}
/** @nocollapse */ IsObjectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsObjectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ IsObjectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsObjectPipe, name: "isObject" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsObjectPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'isObject' }]
        }] });

class IsObjectPipeModule {
}
/** @nocollapse */ IsObjectPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsObjectPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IsObjectPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsObjectPipeModule, declarations: [IsObjectPipe], exports: [IsObjectPipe] });
/** @nocollapse */ IsObjectPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsObjectPipeModule, providers: [IsObjectPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsObjectPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [IsObjectPipe],
                    providers: [IsObjectPipe],
                    declarations: [IsObjectPipe]
                }]
        }] });

class IsStringPipe {
    transform(value) {
        return isString(value);
    }
}
/** @nocollapse */ IsStringPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ IsStringPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsStringPipe, name: "isString" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsStringPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'isString' }]
        }] });

class IsStringPipeModule {
}
/** @nocollapse */ IsStringPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsStringPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IsStringPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsStringPipeModule, declarations: [IsStringPipe], exports: [IsStringPipe] });
/** @nocollapse */ IsStringPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsStringPipeModule, providers: [IsStringPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: IsStringPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [IsStringPipe],
                    providers: [IsStringPipe],
                    declarations: [IsStringPipe]
                }]
        }] });

class JoinPipe {
    constructor() {
        this.defaultSeparator = ',';
    }
    transform(input, { separator, mapTransformer } = {}) {
        let result = '';
        if (checkValueIsEmpty(input)) {
            return result;
        }
        const currentSeparator = separator !== null && separator !== void 0 ? separator : this.defaultSeparator;
        if (isFunctionLike(mapTransformer)) {
            // eslint-disable-next-line max-params-no-constructor/max-params-no-constructor
            result = input.reduce((prev, next, index, arr) => {
                const transformed = mapTransformer(next, index, arr);
                const separatorOrEmpty = arr.length - 1 === index ? '' : currentSeparator;
                return prev ? `${prev}${transformed}${separatorOrEmpty}` : `${transformed}${separatorOrEmpty}`;
            }, '');
        }
        else {
            result = input.join(currentSeparator);
        }
        return result;
    }
}
/** @nocollapse */ JoinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: JoinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ JoinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: JoinPipe, name: "join" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: JoinPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'join' }]
        }] });

class JoinPipeModule {
}
/** @nocollapse */ JoinPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: JoinPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ JoinPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: JoinPipeModule, declarations: [JoinPipe], exports: [JoinPipe] });
/** @nocollapse */ JoinPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: JoinPipeModule, providers: [JoinPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: JoinPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [JoinPipe],
                    providers: [JoinPipe],
                    exports: [JoinPipe]
                }]
        }] });

class MarkByFilterPipe {
    constructor(sanitizer) {
        this.sanitizer = sanitizer;
    }
    transform(value, filter, color = '#ffdd2d') {
        return isNotNil(filter) ? this.search(value, filter, color) : value;
    }
    search(value, filter, color) {
        if (isNotNil(value)) {
            const highlighted = this.highLightingString(toStringValue(value), toStringValue(filter), color);
            return this.sanitizer.bypassSecurityTrustHtml(highlighted);
        }
        else {
            return '';
        }
    }
    highLightingString(value, filter, color) {
        var _a;
        try {
            const regexp = isRegexpStr(filter)
                ? new RegExp(ensureRegexp(filter), 'ig')
                : new RegExp(filter, 'i');
            return (_a = value === null || value === void 0 ? void 0 : value.toString()) === null || _a === void 0 ? void 0 : _a.replace(regexp, (founded) => `<span style="background: ${color}">${founded}</span>`);
        }
        catch (_b) {
            return value;
        }
    }
}
/** @nocollapse */ MarkByFilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MarkByFilterPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ MarkByFilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MarkByFilterPipe, name: "markByFilter" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MarkByFilterPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'markByFilter' }]
        }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });

class MarkByFilterPipeModule {
}
/** @nocollapse */ MarkByFilterPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MarkByFilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ MarkByFilterPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MarkByFilterPipeModule, declarations: [MarkByFilterPipe], exports: [MarkByFilterPipe] });
/** @nocollapse */ MarkByFilterPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MarkByFilterPipeModule, providers: [MarkByFilterPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MarkByFilterPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [MarkByFilterPipe],
                    providers: [MarkByFilterPipe],
                    declarations: [MarkByFilterPipe]
                }]
        }] });

class MergeCssClassesPipe {
    transform(...descriptors) {
        return Object.assign({}, ...descriptors.map(this.convertToPlainObject.bind(this)));
    }
    convertToPlainObject(descriptor) {
        if (isNil(descriptor)) {
            return {};
        }
        else if (isString(descriptor)) {
            return this.makePlainObjectOfTrues(descriptor.split(/\s+/));
        }
        else if (isIterable(descriptor)) {
            return this.makePlainObjectOfTrues(Array.from(descriptor));
        }
        return descriptor;
    }
    makePlainObjectOfTrues(array) {
        return array.reduce((object, item) => Object.assign(object, { [item]: true }), {});
    }
}
/** @nocollapse */ MergeCssClassesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MergeCssClassesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ MergeCssClassesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MergeCssClassesPipe, name: "mergeCssClasses" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MergeCssClassesPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'mergeCssClasses' }]
        }] });

class MergeCssClassesPipeModule {
}
/** @nocollapse */ MergeCssClassesPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MergeCssClassesPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ MergeCssClassesPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MergeCssClassesPipeModule, declarations: [MergeCssClassesPipe], exports: [MergeCssClassesPipe] });
/** @nocollapse */ MergeCssClassesPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MergeCssClassesPipeModule, providers: [MergeCssClassesPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MergeCssClassesPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [MergeCssClassesPipe],
                    exports: [MergeCssClassesPipe],
                    providers: [MergeCssClassesPipe]
                }]
        }] });

class MutableTypePipe {
    transform(value) {
        return value;
    }
}
/** @nocollapse */ MutableTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutableTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ MutableTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutableTypePipe, name: "mutable" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutableTypePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'mutable' }]
        }] });

class MutableTypePipeModule {
}
/** @nocollapse */ MutableTypePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutableTypePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ MutableTypePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutableTypePipeModule, declarations: [MutableTypePipe], exports: [MutableTypePipe] });
/** @nocollapse */ MutableTypePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutableTypePipeModule, providers: [MutableTypePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MutableTypePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [MutableTypePipe],
                    providers: [MutableTypePipe],
                    declarations: [MutableTypePipe]
                }]
        }] });

class NumberFormatPipe {
    transform(value, options) {
        return numberFormat(value, options);
    }
}
/** @nocollapse */ NumberFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ NumberFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberFormatPipe, name: "numberFormat" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberFormatPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'numberFormat' }]
        }] });

class NumberFormatPipeModule {
}
/** @nocollapse */ NumberFormatPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberFormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ NumberFormatPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberFormatPipeModule, declarations: [NumberFormatPipe], exports: [NumberFormatPipe] });
/** @nocollapse */ NumberFormatPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberFormatPipeModule, providers: [NumberFormatPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberFormatPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [NumberFormatPipe],
                    providers: [NumberFormatPipe],
                    declarations: [NumberFormatPipe]
                }]
        }] });

class ObjectSizePipe {
    transform(object) {
        return isNil(object) ? 0 : Object.keys(object).length;
    }
}
/** @nocollapse */ ObjectSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ObjectSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ ObjectSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ObjectSizePipe, name: "objectSize" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ObjectSizePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'objectSize' }]
        }] });

class ObjectSizePipeModule {
}
/** @nocollapse */ ObjectSizePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ObjectSizePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ ObjectSizePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ObjectSizePipeModule, declarations: [ObjectSizePipe], exports: [ObjectSizePipe] });
/** @nocollapse */ ObjectSizePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ObjectSizePipeModule, providers: [ObjectSizePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ObjectSizePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [ObjectSizePipe],
                    providers: [ObjectSizePipe],
                    declarations: [ObjectSizePipe]
                }]
        }] });

class SafePipe {
    constructor(sanitizer) {
        this.sanitizer = sanitizer;
    }
    // eslint-disable-next-line complexity
    transform(value, type) {
        const prepared = value !== null && value !== void 0 ? value : '';
        switch (type) {
            case "html" /* HTML */:
                return this.sanitizer.bypassSecurityTrustHtml(prepared);
            case "style" /* STYLE */:
                return this.sanitizer.bypassSecurityTrustStyle(prepared);
            case "script" /* SCRIPT */:
                return this.sanitizer.bypassSecurityTrustScript(prepared);
            case "url" /* URL */:
                return this.sanitizer.bypassSecurityTrustUrl(prepared);
            case "resourceUrl" /* RESOURCE_URL */:
                return this.sanitizer.bypassSecurityTrustResourceUrl(prepared);
            default:
                throw new Error(`Invalid safe type specified: ${type}`);
        }
    }
}
/** @nocollapse */ SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SafePipe, name: "safe" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SafePipe, decorators: [{
            type: Pipe,
            args: [{ name: 'safe' }]
        }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });

class SafePipeModule {
}
/** @nocollapse */ SafePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SafePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ SafePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SafePipeModule, declarations: [SafePipe], exports: [SafePipe] });
/** @nocollapse */ SafePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SafePipeModule, providers: [SafePipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SafePipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [SafePipe],
                    providers: [SafePipe],
                    declarations: [SafePipe]
                }]
        }] });

class TakeFirstItemPipe {
    transform(value) {
        return takeFirstItem(value);
    }
}
/** @nocollapse */ TakeFirstItemPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeFirstItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ TakeFirstItemPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeFirstItemPipe, name: "takeFirstItem" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeFirstItemPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'takeFirstItem' }]
        }] });

class TakeFirstItemPipeModule {
}
/** @nocollapse */ TakeFirstItemPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeFirstItemPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ TakeFirstItemPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeFirstItemPipeModule, declarations: [TakeFirstItemPipe], exports: [TakeFirstItemPipe] });
/** @nocollapse */ TakeFirstItemPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeFirstItemPipeModule, providers: [TakeFirstItemPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeFirstItemPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [TakeFirstItemPipe],
                    providers: [TakeFirstItemPipe],
                    declarations: [TakeFirstItemPipe]
                }]
        }] });

class TakeSecondItemPipe {
    transform(value) {
        return takeSecondItem(value);
    }
}
/** @nocollapse */ TakeSecondItemPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeSecondItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ TakeSecondItemPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeSecondItemPipe, name: "takeSecondItem" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeSecondItemPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'takeSecondItem' }]
        }] });

class TakeSecondItemPipeModule {
}
/** @nocollapse */ TakeSecondItemPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeSecondItemPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ TakeSecondItemPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeSecondItemPipeModule, declarations: [TakeSecondItemPipe], exports: [TakeSecondItemPipe] });
/** @nocollapse */ TakeSecondItemPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeSecondItemPipeModule, providers: [TakeSecondItemPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TakeSecondItemPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [TakeSecondItemPipe],
                    providers: [TakeSecondItemPipe],
                    declarations: [TakeSecondItemPipe]
                }]
        }] });

class ToNumberPipe {
    transform(value, locale = 'ru-RU') {
        return toNumber(value, locale);
    }
}
/** @nocollapse */ ToNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ ToNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToNumberPipe, name: "toNumber" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToNumberPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'toNumber' }]
        }] });

class ToNumberPipeModule {
}
/** @nocollapse */ ToNumberPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToNumberPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ ToNumberPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToNumberPipeModule, declarations: [ToNumberPipe], exports: [ToNumberPipe] });
/** @nocollapse */ ToNumberPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToNumberPipeModule, providers: [ToNumberPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToNumberPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [ToNumberPipe],
                    providers: [ToNumberPipe],
                    declarations: [ToNumberPipe]
                }]
        }] });

class ToStringPipe {
    transform(value, converter) {
        return isNotNil(value) ? toStringValue(value, converter) : '';
    }
}
/** @nocollapse */ ToStringPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ ToStringPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToStringPipe, name: "toString" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToStringPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'toString' }]
        }] });

class ToStringPipeModule {
}
/** @nocollapse */ ToStringPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToStringPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ ToStringPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToStringPipeModule, declarations: [ToStringPipe], exports: [ToStringPipe] });
/** @nocollapse */ ToStringPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToStringPipeModule, providers: [ToStringPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ToStringPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [ToStringPipe],
                    providers: [ToStringPipe],
                    declarations: [ToStringPipe]
                }]
        }] });

class TypeAsPipe {
    transform(value, _typedValue) {
        return value;
    }
}
/** @nocollapse */ TypeAsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TypeAsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
/** @nocollapse */ TypeAsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TypeAsPipe, name: "typeAs" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TypeAsPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'typeAs' }]
        }] });

class TypeAsPipeModule {
}
/** @nocollapse */ TypeAsPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TypeAsPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ TypeAsPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TypeAsPipeModule, declarations: [TypeAsPipe], exports: [TypeAsPipe] });
/** @nocollapse */ TypeAsPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TypeAsPipeModule, providers: [TypeAsPipe] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TypeAsPipeModule, decorators: [{
            type: NgModule,
            args: [{
                    exports: [TypeAsPipe],
                    providers: [TypeAsPipe],
                    declarations: [TypeAsPipe]
                }]
        }] });

/**
 * Generated bundle index. Do not edit.
 */

export { AtPipe, AtPipeModule, BracePipe, BracePipeModule, CoerceBooleanPipe, CoerceBooleanPipeModule, DateToNativePipe, DateToNativePipeModule, DeclinationOfNumberPipe, DeclinationOfNumberPipeModule, DeepPathPipe, DeepPathPipeModule, DefaultValuePipe, DefaultValuePipeModule, DetectBrowserPipe, DetectBrowserPipeModule, DisplayItemPipe, DisplayItemPipeModule, EntrySingleSetPipe, EntrySingleSetPipeModule, FileSizePipe, FileSizePipeModule, FilterUniquePipe, FilterUniquePipeModule, FormatDatePipe, FormatDatePipeModule, HasAtMostOneItemPipe, HasAtMostOneItemPipeModule, HasItemsPipe, HasItemsPipeModule, HasManyItemsPipe, HasManyItemsPipeModule, HasNoItemsPipe, HasNoItemsPipeModule, HasOneItemPipe, HasOneItemPipeModule, HasPipe, HasPipeModule, HttpReplacerPipe, HttpReplacerPipeModule, IncludesPipe, IncludesPipeModule, IsArrayPipe, IsArrayPipeModule, IsFilledPipe, IsFilledPipeModule, IsNilPipe, IsNilPipeModule, IsNotNullPipe, IsNotNullPipeModule, IsObjectPipe, IsObjectPipeModule, IsStringPipe, IsStringPipeModule, JoinPipe, JoinPipeModule, MarkByFilterPipe, MarkByFilterPipeModule, MergeCssClassesPipe, MergeCssClassesPipeModule, MutableTypePipe, MutableTypePipeModule, NumberFormatPipe, NumberFormatPipeModule, ObjectSizePipe, ObjectSizePipeModule, SafePipe, SafePipeModule, TakeFirstItemPipe, TakeFirstItemPipeModule, TakeSecondItemPipe, TakeSecondItemPipeModule, ToNumberPipe, ToNumberPipeModule, ToStringPipe, ToStringPipeModule, TypeAsPipe, TypeAsPipeModule };
//# sourceMappingURL=angular-ru-cdk-pipes.mjs.map
